:root,:root[data-theme=light]{--bg:#f4f5fb;--bg-glow:radial-gradient(60rem 28rem at 85% -10%, #6366f124, transparent 60%), radial-gradient(48rem 24rem at -5% 0%, #14b8a61a, transparent 60%);--surface:#fff;--surface-2:#f0f2fa;--text:#1a1d2e;--muted:#5b6078;--border:#dfe2f0;--border-strong:#c3c8de;--primary:#4f46e5;--primary-hover:#4338ca;--primary-soft:#ececff;--on-primary:#fff;--accent:#0d9488;--ok:#15803d;--ok-soft:#e4f6ea;--warn:#92400e;--warn-soft:#fff4dc;--error:#b42318;--error-soft:#fdeceb;--shadow:0 1px 2px #1a1d2e0d, 0 8px 24px #1a1d2e0f;--focus:#4f46e5;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0e1020;--bg-glow:radial-gradient(60rem 28rem at 85% -10%, #6366f138, transparent 60%), radial-gradient(48rem 24rem at -5% 0%, #2dd4bf1a, transparent 60%);--surface:#171a2e;--surface-2:#1f2340;--text:#eceefb;--muted:#a5abc7;--border:#2b3052;--border-strong:#3d4472;--primary:#6366f1;--primary-hover:#7578f5;--primary-soft:#25285a;--on-primary:#fff;--accent:#2dd4bf;--ok:#4ade80;--ok-soft:#16301f;--warn:#fbbf24;--warn-soft:#382c10;--error:#ff8b82;--error-soft:#3b1b1a;--shadow:0 1px 2px #0000004d, 0 10px 30px #00000059;--focus:#a5a8ff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;margin:0}html{-webkit-text-size-adjust:100%}body{min-height:100vh;color:var(--text);background:var(--bg) var(--bg-glow) no-repeat;-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:1rem;line-height:1.6}h1{letter-spacing:-.02em;font-size:clamp(1.9rem,4vw,2.6rem);font-weight:800;line-height:1.15}h2{letter-spacing:-.01em;font-size:1.3rem;line-height:1.3}h3,h4{font-size:1rem}a{color:var(--primary)}:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:6px}[tabindex="-1"]:focus:not(:focus-visible){outline:none}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--primary);color:var(--on-primary);border-radius:8px;padding:.5rem 1rem;position:absolute;top:-4rem;left:1rem}.skip-link:focus{top:.75rem}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}main{flex-direction:column;gap:1.25rem;max-width:50rem;margin:0 auto;padding:2rem 1rem 4rem;display:flex}.lead{color:var(--muted);max-width:40rem;font-size:1.1rem}.eyebrow{letter-spacing:.1em;text-transform:uppercase;color:var(--primary);font-size:.78rem;font-weight:700}.hint{color:var(--muted);font-size:.875rem}.back-link{color:var(--muted);font-size:.9rem;text-decoration:none}.back-link:hover{color:var(--primary)}.app-header{z-index:50;background:color-mix(in srgb, var(--surface) 85%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);position:sticky;top:0}.app-header-inner{align-items:center;gap:1rem;max-width:62rem;margin:0 auto;padding:.6rem 1rem;display:flex}.brand{color:var(--text);letter-spacing:-.01em;align-items:center;gap:.6rem;font-weight:800;text-decoration:none;display:flex}.brand-mark{background:linear-gradient(135deg, var(--primary), var(--accent));color:#fff;border-radius:10px;place-items:center;width:2rem;height:2rem;font-size:.8rem;font-weight:800;display:grid}.nav{gap:.25rem;margin-left:.5rem;display:flex}.nav-link{color:var(--muted);border-radius:999px;padding:.35rem .75rem;font-size:.92rem;font-weight:600;text-decoration:none}.nav-link:hover{color:var(--text);background:var(--surface-2)}.nav-link[aria-current=page]{color:var(--primary);background:var(--primary-soft)}.header-end{align-items:center;gap:.6rem;margin-left:auto;display:flex}.account-bar{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;font-size:.875rem;display:flex}.avatar{background:var(--primary-soft);width:1.9rem;height:1.9rem;color:var(--primary);border-radius:50%;place-items:center;font-size:.75rem;font-weight:800;display:grid}.account-bar button,.icon-button{font:inherit;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);cursor:pointer;border-radius:999px;padding:.3rem .8rem;font-size:.85rem}.icon-button{width:2.1rem;height:2.1rem;padding:0;font-size:1rem;line-height:1}.account-bar button:hover,.icon-button:hover{background:var(--surface-2)}.account-bar button:disabled{opacity:.6;cursor:not-allowed}@media (max-width:40rem){.brand-name,.account-name{display:none}}.hero{flex-direction:column;gap:.75rem;padding:.5rem 0 .25rem;display:flex}.journey{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.75rem;margin-top:.75rem;padding:0;list-style:none;display:grid}.journey li{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:14px;flex-direction:column;gap:.25rem;padding:.9rem;display:flex}.journey-n{background:var(--primary);width:1.7rem;height:1.7rem;color:var(--on-primary);border-radius:50%;place-items:center;font-size:.85rem;font-weight:800;display:grid}.auth-layout{grid-template-columns:1.1fr 1fr;align-items:start;gap:2rem;max-width:62rem;padding-top:3rem;display:grid}.auth-intro{flex-direction:column;gap:1rem;display:flex}@media (max-width:52rem){.auth-layout{grid-template-columns:1fr;padding-top:1.5rem}}.status{color:var(--muted);align-items:center;gap:.75rem;font-size:.85rem;display:flex}.status strong:before{content:"";background:var(--muted);border-radius:50%;width:.55rem;height:.55rem;margin-right:.4rem;display:inline-block}.status[data-state=ok] strong{color:var(--ok)}.status[data-state=ok] strong:before{background:var(--ok)}.status[data-state=degraded] strong{color:var(--warn)}.status[data-state=degraded] strong:before{background:var(--warn)}.status[data-state=unreachable] strong{color:var(--error)}.status[data-state=unreachable] strong:before{background:var(--error)}.status button{font:inherit;cursor:pointer;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);border-radius:999px;padding:.1rem .6rem}.card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;gap:1rem;padding:1.4rem;display:flex}.card form{flex-direction:column;gap:1rem;display:flex}.card dl{grid-template-columns:max-content 1fr;gap:.35rem 1.25rem;display:grid}.card dt{color:var(--muted)}.card dd{overflow-wrap:anywhere;font-weight:500}.field{flex-direction:column;gap:.3rem;display:flex}.field label{font-size:.92rem;font-weight:600}.field input,.field select,.field textarea,.fact-edit input{font:inherit;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);border-radius:10px;padding:.6rem .75rem;transition:border-color .15s,box-shadow .15s}.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--primary)}.field input:focus,.field select:focus,.field textarea:focus,.fact-edit input:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);outline:none}.field input[aria-invalid=true]{border-color:var(--error)}.field textarea{resize:vertical;min-height:10rem;line-height:1.55}.field.checkbox{flex-direction:row;align-items:center;gap:.6rem}.field.checkbox input{width:1.15rem;height:1.15rem;accent-color:var(--primary)}.field.checkbox label{font-weight:500}.field-error,.form-error{color:var(--error);font-size:.875rem}.form-error{background:var(--error-soft);border-radius:10px;padding:.5rem .75rem}.actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.actions button,.card>button,.button-link{font:inherit;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);cursor:pointer;border-radius:10px;align-self:flex-start;padding:.55rem 1.1rem;font-weight:600;transition:background .15s,border-color .15s,transform 50ms}.actions button:hover:not(:disabled),.card>button:hover:not(:disabled),.button-link:hover{background:var(--surface-2);border-color:var(--primary)}.actions button:active:not(:disabled){transform:translateY(1px)}.actions button.primary,.actions button[type=submit]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.actions button.primary:hover:not(:disabled),.actions button[type=submit]:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}.actions button.danger{color:var(--error);border-color:color-mix(in srgb, var(--error) 50%, var(--border))}.actions button.danger:hover:not(:disabled){background:var(--error-soft);border-color:var(--error)}.actions button:disabled{opacity:.55;cursor:not-allowed}.button-link{background:var(--primary);border-color:var(--primary);color:var(--on-primary);text-decoration:none;display:inline-block}.button-link:hover{background:var(--primary-hover);color:var(--on-primary)}.card button.link,button.link{font:inherit;color:var(--primary);cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.card button.link.danger{color:var(--error)}.actions.secondary{border-top:1px solid var(--border);padding-top:1rem}.badge{background:var(--surface-2);border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:.05rem .55rem;font-size:.72rem;font-weight:600}.resume{border-top:1px solid var(--border);flex-direction:column;gap:.75rem;padding-top:1rem;display:flex}.resume header{flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem;display:flex}.resume header .link{margin-left:auto}.notice{background:var(--warn-soft);color:var(--text);border-left:4px solid var(--warn);border-radius:8px;padding:.55rem .8rem;font-size:.92rem}.fact-group ul{flex-direction:column;gap:.5rem;margin-top:.5rem;padding:0;list-style:none;display:flex}.fact{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:.25rem;padding:.6rem .8rem;display:flex}.fact-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.fact-value{overflow-wrap:anywhere;font-weight:600}.fact .actions{margin-left:auto}.fact .actions button{border-radius:999px;padding:.15rem .7rem;font-size:.85rem}.fact-edit{flex-wrap:wrap;gap:.5rem;display:flex}.fact-edit input{flex:12rem}.fact[data-status=APPROVED]{border-color:color-mix(in srgb, var(--ok) 55%, var(--border));background:color-mix(in srgb, var(--ok-soft) 55%, var(--surface))}.fact[data-status=APPROVED] .badge{color:var(--ok);background:0 0;border-color:currentColor}.fact[data-status=REJECTED] .fact-value{color:var(--muted);text-decoration:line-through}.provenance{color:var(--muted);overflow-wrap:anywhere;white-space:pre-line}.timer{background:var(--primary-soft);border-radius:999px;flex-wrap:wrap;align-self:flex-start;align-items:baseline;gap:.25rem .75rem;padding:.35rem .9rem;font-size:.92rem;display:flex}.question{background:var(--surface-2);border:1px solid var(--border);border-left:5px solid var(--primary);border-radius:14px;flex-direction:column;gap:.4rem;padding:1.1rem 1.2rem;display:flex}.question-text{overflow-wrap:anywhere;white-space:pre-wrap;letter-spacing:-.01em;font-size:1.3rem;font-weight:700;line-height:1.45}.consent{border-left:4px solid var(--primary);background:var(--primary-soft);border-radius:8px;flex-direction:column;gap:.5rem;padding:.7rem .9rem;display:flex}.interview section{border-top:1px solid var(--border);flex-direction:column;gap:.5rem;padding-top:1rem;display:flex}.plain-list{overflow-wrap:anywhere;flex-direction:column;gap:.5rem;padding-left:1.25rem;display:flex}ul.plain-list{list-style:outside}.quotes{border-left:3px solid var(--primary);color:var(--muted);white-space:pre-wrap;margin-top:.25rem;padding-left:.75rem;list-style:none}.evidence{flex-direction:column;gap:.5rem;display:flex}.history{margin:0;padding:0;list-style:none}.history-item{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding:.85rem 0;display:flex}.history-item .actions{margin:0}.export-actions{margin:.5rem 0 1rem}.voice-setup,.camera{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:.6rem;padding:1rem 1.1rem;display:flex}.interview .voice-setup,.interview .camera{border-top:1px solid var(--border)}.voice-toggle{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.voice-toggle button{font:inherit;border:1px solid var(--primary);background:var(--primary-soft);color:var(--primary);cursor:pointer;border-radius:999px;padding:.45rem .95rem;font-weight:600}.voice-stage{border:1px solid var(--border);background:linear-gradient(135deg, var(--primary-soft), var(--surface));border-radius:14px;align-items:flex-start;gap:1.1rem;padding:1rem 1.1rem;display:flex}.voice-body{flex-direction:column;flex:1;gap:.6rem;min-width:0;display:flex}.voice-status{font-weight:700}.voice-settings summary{cursor:pointer;color:var(--muted);font-size:.88rem}.voice-settings-grid{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.75rem;margin-top:.6rem;display:grid}.voice-interim{font-style:italic}.voice-metrics{background:var(--surface-2);border-radius:8px;padding:.4rem .6rem}@media (max-width:34rem){.voice-stage{flex-direction:column}}.camera h3{font-size:.98rem}.camera-row{flex-wrap:wrap;align-items:flex-start;gap:1rem;display:flex}.camera-info{flex-direction:column;flex:14rem;gap:.5rem;min-width:0;display:flex}.camera-frame{border:3px solid var(--border);background:#000;border-radius:14px;flex:none;line-height:0;position:relative;overflow:hidden}.camera-frame[data-live=true]{border-color:var(--accent)}.camera-preview{aspect-ratio:4/3;background:#000;width:190px;max-width:100%;display:block;transform:scaleX(-1)}.camera-live{color:#fff;background:#0000008c;border-radius:999px;padding:.25rem .55rem;font-size:.72rem;font-weight:700;line-height:1;position:absolute;top:8px;left:8px}.camera-status{color:var(--muted);font-size:.875rem}.look-bars{flex-direction:column;gap:.3rem;padding:0;list-style:none;display:flex}.look-bars li{grid-template-columns:7.5rem 1fr 2.6rem;align-items:center;gap:.5rem;font-size:.82rem;display:grid}.look-track{background:var(--surface-2);border-radius:999px;height:.55rem;overflow:hidden}.look-fill{border-radius:inherit;background:linear-gradient(90deg, var(--primary), var(--accent));height:100%;transition:width .4s;display:block}.look-pct{text-align:right;color:var(--muted)}.bg-blobs{z-index:-1;pointer-events:none;position:fixed;inset:0;overflow:hidden}.bg-blobs span{opacity:.55;will-change:transform;border-radius:50%;width:38rem;height:38rem;position:absolute}.bg-blobs span:first-child{background:radial-gradient(closest-side, color-mix(in srgb, var(--primary) 34%, transparent), transparent);animation:26s ease-in-out infinite alternate drift-a;top:-10rem;left:-12rem}.bg-blobs span:nth-child(2){background:radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent);animation:32s ease-in-out infinite alternate drift-b;top:8rem;right:-14rem}.bg-blobs span:nth-child(3){background:radial-gradient(closest-side,#ec489933,#0000);animation:38s ease-in-out infinite alternate-reverse drift-a;bottom:-20rem;left:30%}@keyframes drift-a{to{transform:translate(8rem,6rem)scale(1.15)}}@keyframes drift-b{to{transform:translate(-9rem,5rem)scale(.9)}}main>*{animation:.65s cubic-bezier(.2,.75,.2,1) both rise}main>:nth-child(2){animation-delay:70ms}main>:nth-child(3){animation-delay:.14s}main>:nth-child(4){animation-delay:.21s}main>:nth-child(5){animation-delay:.28s}main>:nth-child(n+6){animation-delay:.34s}@keyframes rise{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.journey li{transform:perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .18s ease-out,box-shadow .2s,border-color .2s}.journey li:hover{border-color:var(--primary);box-shadow:0 12px 34px color-mix(in srgb, var(--primary) 25%, transparent)}.actions button.primary,.actions button[type=submit],.button-link{position:relative;overflow:hidden}.actions button.primary:after,.actions button[type=submit]:after,.button-link:after{content:"";background:linear-gradient(110deg,#0000 30%,#ffffff59 50%,#0000 70%);position:absolute;inset:0;transform:translate(-120%)}.actions button.primary:hover:not(:disabled):after,.actions button[type=submit]:hover:not(:disabled):after,.button-link:hover:after{transition:transform .7s;transform:translate(120%)}.hero{grid-template-columns:1fr auto;align-items:center;gap:.5rem 1.5rem;display:grid}.hero .journey{grid-column:1/-1}.hero-text{flex-direction:column;gap:.75rem;display:flex}@media (max-width:44rem){.hero{grid-template-columns:1fr}.core3d-hero{order:-1;justify-self:center}}.core3d{--core-1:var(--primary);--core-2:var(--accent);perspective:60em;pointer-events:none;flex:none;width:20em;height:20em;position:relative}.core3d-hero{font-size:14px}.core3d-login{align-self:center;margin-bottom:-2rem;font-size:10px}.core3d-sm{font-size:4.2px}.core3d-scene{transform-style:preserve-3d;transform:rotateX(calc(var(--my,0) * -16deg)) rotateY(calc(var(--mx,0) * 22deg));transition:transform .25s ease-out;position:absolute;inset:0}.core3d-sphere,.core3d-halo,.core3d-ring,.core3d-orbit{transform-style:preserve-3d;border-radius:50%;margin:auto;position:absolute;inset:0}.core3d-sphere{background:radial-gradient(circle at 50% 50%, var(--core-1) 0%, var(--core-2) 120%);width:8em;height:8em;box-shadow:inset -1.1em -1.4em 2.2em #080a2873, inset .7em .8em 1.4em #ffffff59, 0 0 4.5em color-mix(in srgb, var(--core-1) 55%, transparent);animation:5s ease-in-out infinite core-float}.core3d-gloss{filter:blur(.2em);background:radial-gradient(closest-side,#ffffffd9,#0000);border-radius:50%;width:36%;height:26%;position:absolute;top:12%;left:18%}.core3d-halo{background:radial-gradient(closest-side, color-mix(in srgb, var(--core-1) 40%, transparent), transparent);width:15em;height:15em;animation:4s ease-in-out infinite core-pulse}.core3d-ring{border:.2em solid color-mix(in srgb, var(--core-1) 75%, transparent);border-top-color:var(--core-2);box-shadow:0 0 1.4em color-mix(in srgb, var(--core-1) 40%, transparent);border-bottom-color:#0000}.core3d-ring.r1{width:14em;height:14em;animation:9s linear infinite ring-1}.core3d-ring.r2{width:17em;height:17em;animation:13s linear infinite ring-2}.core3d-ring.r3{border-width:.12em;width:19.5em;height:19.5em;animation:19s linear infinite reverse ring-3}.core3d-orbit{width:1px;height:1px;animation:16s linear infinite core-orbit}.core3d-shard{background:linear-gradient(135deg, var(--core-2), var(--core-1));width:1.4em;height:1.4em;box-shadow:0 0 1em color-mix(in srgb, var(--core-2) 60%, transparent);transform:rotateY(calc(var(--i) * 60deg)) translateZ(9.4em);animation:6s linear infinite shard-spin;animation-delay:calc(var(--i) * -1s);border-radius:.3em;position:absolute;top:-.7em;left:-.7em}@keyframes ring-1{0%{transform:rotateX(72deg)rotate(0)}to{transform:rotateX(72deg)rotate(360deg)}}@keyframes ring-2{0%{transform:rotateY(72deg)rotate(0)}to{transform:rotateY(72deg)rotate(360deg)}}@keyframes ring-3{0%{transform:rotateX(48deg)rotateY(48deg)rotate(0)}to{transform:rotateX(48deg)rotateY(48deg)rotate(360deg)}}@keyframes core-orbit{0%{transform:rotateX(14deg)rotateY(0)}to{transform:rotateX(14deg)rotateY(360deg)}}@keyframes shard-spin{to{rotate:360deg}}@keyframes core-float{0%,to{transform:translateY(-.5em)}50%{transform:translateY(.5em)}}@keyframes core-pulse{0%,to{opacity:.7;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}@keyframes core-speak{0%,to{transform:scale(1)}50%{transform:scale(1.16)}}@keyframes core-listen{0%{opacity:.8;transform:scale(.8)}to{opacity:0;transform:scale(1.5)}}.core3d[data-state=speaking] .core3d-sphere{animation:.85s ease-in-out infinite core-speak}.core3d[data-state=speaking] .core3d-ring.r1{animation-duration:3s}.core3d[data-state=speaking] .core3d-ring.r2{animation-duration:4.5s}.core3d[data-state=speaking] .core3d-orbit{animation-duration:6s}.core3d[data-state=speaking] .core3d-halo{animation-duration:.85s}.core3d[data-state=listening]{--core-1:var(--accent);--core-2:var(--primary)}.core3d[data-state=listening] .core3d-halo:before,.core3d[data-state=listening] .core3d-halo:after{content:"";border:.18em solid var(--accent);border-radius:50%;animation:1.8s ease-out infinite core-listen;position:absolute;inset:0}.core3d[data-state=listening] .core3d-halo:after{animation-delay:.9s}@media (max-width:34rem){.core3d-login{display:none}}@media print{.app-header,.skip-link{display:none}body{background:#fff}}
