:root {
  --blue: #2257F5;
  --blue-d: #1641C8;
  --blue-dd: #0E2C8E;
  --blue-50: #F2F6FF;
  --blue-100: #E2EAFF;
  --blue-200: #C6D5FF;
  --ink: #0B1A3D;
  --muted: #5D6B8A;
  --line: #E4EAF6;
  --bg: #FFFFFF;
  --soft: #F7F9FE;
  --ok: #12996B;
  --ok-bg: #E6F7F0;
  --ko: #D6404E;
  --ko-bg: #FDECEE;
  --r: 20px;
  --shadow: 0 1px 2px rgba(11, 26, 61, .05), 0 8px 24px rgba(34, 87, 245, .08);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--blue); text-decoration: none; }
svg.i { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.sm { width: 16px; height: 16px; vertical-align: -3px; }
.desk-only { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 2px; border-radius: 10px; }

/* ---------- Animated background ---------- */
.bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg::before { content: ''; position: absolute; inset: -20%;
  background: radial-gradient(40% 35% at 15% 20%, rgba(34, 87, 245, .10), transparent 70%),
              radial-gradient(35% 30% at 85% 80%, rgba(34, 87, 245, .10), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
.bg span { position: absolute; color: var(--blue); opacity: .16; animation: float var(--d, 14s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
.bg span svg.i { width: var(--s, 30px); height: var(--s, 30px); stroke-width: 1.6; }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(var(--x, 20px), var(--y, -30px)) rotate(var(--rot, 12deg)); } }
@keyframes drift { to { transform: translate(4%, -3%) scale(1.05); } }

/* ---------- Layout primitives ---------- */
.screen { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; animation: enter .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.center { flex: 1; display: grid; place-items: center; padding: 24px 16px calc(24px + var(--safe-b)); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--blue); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(34, 87, 245, .35); }
.logo-mark svg.i { width: 20px; height: 20px; }
.logo b { color: var(--blue); font-weight: 800; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 16px; font-weight: 700; font-size: 16px; transition: transform .12s, background .2s, box-shadow .2s; user-select: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(34, 87, 245, .30); }
.btn-primary:hover { background: var(--blue-d); }
.btn-primary[disabled] { background: var(--blue-200); box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: var(--blue-50); color: var(--blue); }
.btn-ghost:hover { background: var(--blue-100); }
.btn-line { border: 1.5px solid var(--line); background: #fff; }
.btn-line:hover { border-color: var(--blue-200); }
.btn-white { background: #fff; color: var(--blue); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.link { color: var(--blue); font-weight: 600; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--ink); }
.icon-btn:hover { background: var(--blue-50); }

/* ---------- Login ---------- */
.login-card { width: 100%; max-width: 400px; padding: 32px 24px; text-align: center; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .92); }
.login-card h1 { margin: 22px 0 8px; }
.btn-google { width: 100%; min-height: 56px; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 12px; transition: border-color .2s, box-shadow .2s; }
.btn-google:hover { border-color: var(--blue-200); box-shadow: 0 6px 16px rgba(34, 87, 245, .12); }
.btn-google svg { width: 22px; height: 22px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.legal { font-size: 12px; color: var(--muted); margin-top: 18px; }
.demo-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-50); padding: 6px 10px; border-radius: 99px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--blue-100); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Onboarding ---------- */
.ob-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 16px; max-width: 1100px; width: 100%; margin: 0 auto; }
.steps { display: flex; gap: 6px; }
.steps i { width: 22px; height: 6px; border-radius: 9px; background: var(--blue-100); transition: background .3s, width .3s; }
.steps i.on { background: var(--blue); width: 34px; }
.steps i.done { background: var(--blue); }
.drop { width: min(78vw, 320px); aspect-ratio: 1; border-radius: 36px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(34, 87, 245, .35); transition: transform .2s; animation: breathe 4s ease-in-out infinite; }
.drop:hover, .drop.over { transform: scale(1.03); }
.drop::before, .drop::after { content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); inset: 18%; animation: ripple 3.2s ease-out infinite; }
.drop::after { animation-delay: 1.6s; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes breathe { 50% { box-shadow: 0 30px 80px rgba(34, 87, 245, .5); } }
.drop .big-ico { width: 84px; height: 84px; border-radius: 26px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; position: relative; z-index: 1; animation: bob 2.4s ease-in-out infinite; }
.drop .big-ico svg.i { width: 42px; height: 42px; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.drop strong { font-size: 24px; font-weight: 800; position: relative; z-index: 1; letter-spacing: -.02em; }
.drop small { position: relative; z-index: 1; opacity: .85; font-size: 14px; }
.under { margin-top: 22px; text-align: center; }

/* Analyse */
.orb { width: 132px; height: 132px; position: relative; display: grid; place-items: center; margin: 0 auto; }
.orb::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--blue), var(--blue-100), var(--blue)); animation: spin 1.6s linear infinite; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px)); mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px)); }
.orb .core { width: 92px; height: 92px; border-radius: 30px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px rgba(34, 87, 245, .35); }
.orb .core svg.i { width: 40px; height: 40px; }
.orb.done::before { animation: none; background: var(--blue); }
.msg { min-height: 64px; display: grid; place-items: center; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: -.01em; max-width: 340px; margin: 0 auto; }
.msg span { animation: enter .5s; }
.bar { height: 8px; background: var(--blue-100); border-radius: 9px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 9px; transition: width .5s ease; }
.hint { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--blue-50); color: var(--blue-dd); font-size: 14px; text-align: left; }
.hint svg.i { color: var(--blue); margin-top: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { padding: 8px 12px; border-radius: 99px; background: var(--blue-50); color: var(--blue-dd); font-size: 14px; font-weight: 600; animation: enter .4s backwards; }

/* Sites */
.wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 8px 16px calc(120px + var(--safe-b)); position: relative; z-index: 1; }
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.site { display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'av ck' 'nm nm'; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: left; transition: border-color .2s, background .2s; min-height: 64px; }
.site .av { grid-area: av; width: 36px; height: 36px; border-radius: 11px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.site .nm { grid-area: nm; font-weight: 700; font-size: 14px; line-height: 1.25; min-width: 0; overflow-wrap: break-word; }
.site .ck { grid-area: ck; justify-self: end; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--blue-200); display: grid; place-items: center; flex: none; color: #fff; }
.site .ck svg.i { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.site.on { border-color: var(--blue); background: var(--blue-50); }
.site.on .ck { background: var(--blue); border-color: var(--blue); }
.site.on .ck svg.i { opacity: 1; }
.url-add { display: flex; gap: 8px; }
.input { width: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; background: #fff; outline: none; transition: border-color .2s; }
.input:focus { border-color: var(--blue); }
.toggle-all { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: var(--soft); font-weight: 700; }
.switch { width: 50px; height: 30px; border-radius: 99px; background: var(--blue-200); position: relative; transition: background .2s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch.on { background: var(--blue); }
.switch.on::after { transform: translateX(20px); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + var(--safe-b)); background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0)); }
.sticky-cta .inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }

/* Install */
.split { flex: 1; display: grid; grid-template-columns: 1fr; position: relative; z-index: 1; }
.split .art { display: none; }
.split .side { display: flex; flex-direction: column; justify-content: center; padding: 24px 16px calc(24px + var(--safe-b)); gap: 18px; max-width: 460px; margin: 0 auto; width: 100%; }
.phone { width: 230px; height: 460px; border-radius: 38px; background: #fff; border: 8px solid var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); position: relative; overflow: hidden; margin: 0 auto; }
.phone .ph-in { position: absolute; inset: 0; background: var(--blue-50); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.phone .ph-ico { width: 70px; height: 70px; border-radius: 20px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(34, 87, 245, .4); animation: bob 2.4s ease-in-out infinite; }
.phone .ph-ico svg.i { width: 34px; height: 34px; }
.install-ico { width: 72px; height: 72px; border-radius: 22px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(34, 87, 245, .35); }
.install-ico svg.i { width: 34px; height: 34px; }
.perks { display: grid; gap: 10px; }
.perk { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.perk .dot { width: 36px; height: 36px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.perk .dot svg.i { width: 18px; height: 18px; }

/* ---------- App shell ---------- */
.shell { min-height: 100dvh; display: flex; flex-direction: column; background: var(--soft); }
.side-nav { display: none; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(247, 249, 254, .9); backdrop-filter: blur(10px); }
.topbar h1 { font-size: 20px; flex: 1; }
.main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 4px 16px calc(96px + var(--safe-b)); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--muted); border-radius: 12px; }
.tabbar a.on { color: var(--blue); }
.tabbar a.on svg.i { stroke-width: 2.4; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }

/* Home */
.hello { padding: 8px 0 18px; }
.hello h1 { font-size: 26px; }
.hero { background: var(--blue); color: #fff; border-radius: 26px; padding: 22px; position: relative; overflow: hidden; box-shadow: 0 20px 44px rgba(34, 87, 245, .32); }
.hero::before { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%; background: rgba(255, 255, 255, .10); }
.hero::after { content: ''; position: absolute; width: 160px; height: 160px; right: 40px; bottom: -90px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.hero > * { position: relative; z-index: 1; }
.hero h2 { color: #fff; margin: 6px 0 4px; }
.hero p { opacity: .85; font-size: 15px; }
.hero .btn { margin-top: 18px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.kpi { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.kpi b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi.accent b { color: var(--blue); }
.section-t { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 10px; }
.section-t h3 { font-size: 16px; }
.next { display: flex; gap: 14px; align-items: center; padding: 16px; }
.date-tile { width: 56px; height: 60px; border-radius: 16px; background: var(--blue-50); color: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.date-tile b { font-size: 22px; font-weight: 800; line-height: 1; }
.date-tile span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shortcut { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-align: left; transition: border-color .2s, transform .15s; }
.shortcut:hover { border-color: var(--blue-200); transform: translateY(-1px); }
.shortcut .sq { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.shortcut b { font-size: 15px; }

/* Lists */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; padding: 9px 14px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.filter.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.list { display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: left; width: 100%; transition: border-color .2s; }
.item:hover { border-color: var(--blue-200); }
.co { width: 44px; height: 44px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; flex: none; }
.item .t { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .s { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; flex: none; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-envoyee { background: var(--blue-50); color: var(--blue); }
.st-entretien { background: #FFF4E0; color: #B26A00; }
.st-acceptee { background: var(--ok-bg); color: var(--ok); }
.st-refusee { background: var(--ko-bg); color: var(--ko); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

/* Detail */
.detail-head { text-align: center; padding: 8px 0 18px; }
.detail-head .co { width: 64px; height: 64px; border-radius: 20px; font-size: 24px; margin: 0 auto 12px; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.seg button { min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.seg button.on { border-color: currentColor; }
.seg button.on.st-envoyee { background: var(--blue-50); }
.seg button.on.st-entretien { background: #FFF4E0; }
.seg button.on.st-acceptee { background: var(--ok-bg); }
.seg button.on.st-refusee { background: var(--ko-bg); }
.box { padding: 16px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { text-align: right; }
.doc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.doc-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-align: left; }
.doc-btn .sq { width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: 5px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.timeline li::after { content: ''; position: absolute; left: 9px; top: 18px; bottom: 0; width: 2px; background: var(--blue-100); }
.timeline li:last-child::after { display: none; }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head h3 { text-transform: capitalize; }
.cal { padding: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 0; }
.cal-day { aspect-ratio: 1; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 14px; font-weight: 600; position: relative; }
.cal-day.out { color: #B8C2D6; }
.cal-day.today { color: var(--blue); font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--blue-200); }
.cal-day.sel { background: var(--blue); color: #fff; box-shadow: none; }
.cal-day .dots { display: flex; gap: 3px; height: 6px; }
.cal-day .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.cal-day .dots i.iv { background: #F59E0B; }
.cal-day.sel .dots i { background: #fff; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin: 12px 4px 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.legend i.iv { background: #F59E0B; }

/* Jobs */
.job { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; text-align: left; width: 100%; transition: border-color .2s, background .2s; align-items: flex-start; }
.job.on { border-color: var(--blue); background: var(--blue-50); }
.job .ck { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--blue-200); display: grid; place-items: center; flex: none; color: #fff; margin-top: 10px; }
.job .ck svg.i { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.job.on .ck { background: var(--blue); border-color: var(--blue); }
.job.on .ck svg.i { opacity: 1; }
.job .t { font-weight: 700; font-size: 15px; line-height: 1.3; }
.job .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: var(--soft); color: var(--muted); }
.match { font-size: 13px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.match-ring { --p: 90; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--blue-100) 0); display: grid; place-items: center; flex: none; }
.match-ring span { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--blue); }

/* ---------- AI session ---------- */
#glow { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0; transition: opacity .6s; border-radius: 0;
  box-shadow: inset 0 0 0 3px rgba(34, 87, 245, .9), inset 0 0 26px 4px rgba(34, 87, 245, .45); }
body.ai #glow { opacity: 1; animation: glow 2.6s ease-in-out infinite; }
body.ai.paused #glow { animation: none; box-shadow: inset 0 0 0 3px rgba(245, 158, 11, .9), inset 0 0 40px 6px rgba(245, 158, 11, .35); }
@keyframes glow { 50% { box-shadow: inset 0 0 0 4px rgba(34, 87, 245, 1), inset 0 0 44px 8px rgba(34, 87, 245, .5); } }
.sess { height: 100dvh; display: flex; flex-direction: column; background: var(--soft); overflow: hidden; }
.sess-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 7px 12px; border-radius: 99px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 1.2s infinite; }
.paused .live { color: #B26A00; background: #FFF4E0; }
.paused .live i { background: #F59E0B; animation: none; }
@keyframes pulse { 50% { opacity: .3; } }
.sess-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 12px 12px; }
.browser { display: flex; flex-direction: column; background: #fff; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; min-height: 0; box-shadow: var(--shadow); }
.b-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #FBFCFF; }
.b-dots { display: flex; gap: 6px; }
.b-dots i { width: 10px; height: 10px; border-radius: 50%; background: #DCE3F2; }
.b-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--soft); font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-url svg.i { width: 14px; height: 14px; color: var(--ok); }
.b-load { height: 3px; background: transparent; }
.b-load i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .6s ease; }
.b-page { flex: 1; overflow: auto; padding: 18px; position: relative; }
.site-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.site-head .co { width: 48px; height: 48px; }
.f-field { margin-bottom: 12px; }
.f-field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.f-input { min-height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.f-input.active { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.f-input.filled { border-color: var(--blue-200); }
.f-input .caret { display: inline-block; width: 2px; height: 16px; background: var(--blue); vertical-align: -3px; animation: pulse .8s infinite; }
.f-file { display: flex; align-items: center; gap: 10px; }
.f-file .pdf { width: 30px; height: 34px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.f-submit { margin-top: 6px; width: 100%; min-height: 46px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; transition: transform .15s, background .2s; }
.f-submit.press { transform: scale(.97); background: var(--blue); }
.cursor { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 5; transition: left .7s cubic-bezier(.5, 0, .2, 1), top .7s cubic-bezier(.5, 0, .2, 1); filter: drop-shadow(0 3px 6px rgba(34, 87, 245, .4)); }
.sent-ok { position: absolute; inset: 0; background: rgba(255, 255, 255, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; animation: enter .35s; text-align: center; padding: 20px; }
.sent-ok .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.sent-ok .ok svg.i { width: 36px; height: 36px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.3); } }
.gate { max-width: 340px; margin: 10px auto; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.gate .f-input { text-align: left; color: #B8C2D6; }
.robot { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; text-align: left; font-size: 14px; font-weight: 600; }
.robot .bx { width: 26px; height: 26px; border-radius: 6px; border: 2px solid #B8C2D6; }
.panel { display: none; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px calc(12px + var(--safe-b)); }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; text-align: center; }
.metric b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.metric span { font-size: 11px; color: var(--muted); font-weight: 600; }
.metric.accent b { color: var(--blue); }
.now { display: flex; align-items: center; gap: 10px; padding: 0 16px 10px; font-size: 14px; }
.now .spinner { width: 16px; height: 16px; border-width: 2px; }

.toast { position: fixed; left: 12px; right: 12px; bottom: calc(96px + var(--safe-b)); z-index: 120; max-width: 460px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 50px rgba(11, 26, 61, .35); animation: up .4s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.toast .row { align-items: flex-start; }
.toast .ti { width: 40px; height: 40px; border-radius: 12px; background: #F59E0B; color: #fff; display: grid; place-items: center; flex: none; }
.toast p { font-size: 14px; opacity: .8; }

/* End */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; background: var(--blue); animation: fall var(--d, 3s) linear forwards; animation-delay: var(--delay, 0s); opacity: .9; }
@keyframes fall { to { transform: translate(var(--x, 0), 110vh) rotate(var(--r, 360deg)); } }
.big-num { font-size: 84px; font-weight: 800; color: var(--blue); letter-spacing: -.04em; line-height: 1; }
.big-check { width: 96px; height: 96px; border-radius: 32px; background: var(--blue); color: #fff; display: grid; place-items: center; margin: 0 auto; box-shadow: 0 20px 50px rgba(34, 87, 245, .4); animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.big-check svg.i { width: 48px; height: 48px; stroke-width: 2.6; }

/* Modal / sheet */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(11, 26, 61, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 640px; max-height: 92dvh; background: #fff; border-radius: 26px 26px 0 0; display: flex; flex-direction: column; animation: up .3s cubic-bezier(.2, .9, .3, 1); }
.sheet-h { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sheet-h h3 { flex: 1; }
.sheet-b { overflow: auto; padding: 16px; background: var(--soft); }
.paper { background: #fff; border-radius: 6px; box-shadow: 0 4px 20px rgba(11, 26, 61, .12); padding: 26px 22px; font-size: 12px; line-height: 1.5; max-width: 560px; margin: 0 auto; }
.paper h4 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.paper .role { color: var(--blue); font-weight: 700; font-size: 13px; margin: 2px 0 6px; }
.paper .sec { margin-top: 14px; }
.paper .sec > b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); border-bottom: 1.5px solid var(--blue-100); padding-bottom: 4px; margin-bottom: 6px; }
.paper .ln { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 10px; }
.paper .ln span { color: var(--muted); white-space: nowrap; }
.paper .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.paper .tags i { font-style: normal; background: var(--blue-50); color: var(--blue-dd); padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.paper p + p { margin-top: 10px; }
.custom-note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--blue-dd); background: var(--blue-50); padding: 10px 12px; border-radius: 12px; margin: 0 auto 12px; max-width: 560px; }
.custom-note svg.i { width: 18px; height: 18px; color: var(--blue); }

.dt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dt-row .input { min-width: 0; padding: 0 10px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  h1 { font-size: 34px; }
  .split { grid-template-columns: 1.05fr 1fr; }
  .split .art { display: grid; place-items: center; background: var(--blue); position: relative; overflow: hidden; }
  .split .art::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .08); top: -160px; left: -160px; }
  .split .art::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .06); bottom: -140px; right: -100px; }
  .split .art .phone { z-index: 1; width: 260px; height: 520px; }
  .split .side { padding: 48px; }
  .ob-top.on-split { position: absolute; left: 0; right: 0; max-width: none; }
  .ob-top.on-split .logo { color: #fff; }
  .ob-top.on-split .logo-mark { background: #fff; color: var(--blue); }
  .drop { width: 340px; }

  .shell { flex-direction: row; }
  .side-nav { display: flex; flex-direction: column; gap: 4px; width: 248px; flex: none; padding: 20px 14px; background: #fff; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100dvh; }
  .side-nav .logo { padding: 4px 10px 22px; }
  .side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; font-weight: 600; color: var(--muted); }
  .side-nav a:hover { background: var(--soft); }
  .side-nav a.on { background: var(--blue-50); color: var(--blue); }
  .side-nav .btn { margin-top: auto; white-space: nowrap; font-size: 15px; padding: 0 14px; color: #fff; }
  .side-nav .btn:hover { background: var(--blue-d); }
  .mob-only { display: none; }
  .desk-only { display: inline; }
  .tabbar { display: none; }
  .shell-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .topbar { padding: 22px 32px 10px; }
  .topbar h1 { font-size: 26px; }
  .main { padding: 8px 32px 48px; max-width: 980px; margin: 0; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .home-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
  .home-grid .section-t:first-child { margin-top: 0; }
  .sticky-cta { left: 248px; }
  .sticky-cta.full { left: 0; }

  .sess-body { grid-template-columns: 1fr 340px; padding: 0 16px 16px; gap: 16px; }
  .panel { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
  .panel .q { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
  .q-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
  .q-item .co { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
  .q-item.cur { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
  .q-item .stt { width: 24px; height: 24px; display: grid; place-items: center; flex: none; }
  .q-item .stt svg.i { width: 18px; height: 18px; }
  .q-item.ok .stt { color: var(--ok); }
  .q-item.wait { opacity: .65; }
  .sess .metrics.mob { display: none; }
  .sess .now { display: none; }
  .panel .metrics { padding: 0; }
  .toast { left: 0; right: 356px; bottom: 32px; }
  .overlay { align-items: center; }
  .sheet { border-radius: 26px; max-height: 88dvh; }
  .paper { padding: 40px 44px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
