:root{--hud-bg:#030b17;--hud-bg-rgb:3 11 23;--hud-ink:#eef6ff;--hud-muted:#a8bdd4;--hud-accent:#8fc7ff;--hud-accent-rgb:143 199 255;--hud-warm:#8fc7ff;--hud-line:rgb(86 112 128/.55);--hud-panel:rgb(16 34 53/.97);color-scheme:dark}
:root[data-obia-theme="paper"]{--hud-bg:#f1eadf;--hud-bg-rgb:241 234 223;--hud-ink:#302d28;--hud-muted:#746c61;--hud-accent:#98452f;--hud-accent-rgb:152 69 47;--hud-warm:#806943;--hud-line:rgb(83 71 56/.2);--hud-panel:rgb(250 246 238/.98);color-scheme:light}
:root[data-obia-theme="radio"]{--hud-bg:#20271e;--hud-bg-rgb:32 39 30;--hud-ink:#f2edd5;--hud-muted:#b7b49b;--hud-accent:#e6d689;--hud-accent-rgb:230 214 137;--hud-warm:#d99c64;--hud-line:rgb(230 214 137/.2);--hud-panel:rgb(31 39 29/.98)}
:root[data-obia-theme="aura"]{--hud-bg:#eeeaf2;--hud-bg-rgb:238 234 242;--hud-ink:#332b3b;--hud-muted:#675d70;--hud-accent:#725886;--hud-accent-rgb:114 88 134;--hud-warm:#a46572;--hud-line:rgb(114 88 134/.18);--hud-panel:rgb(248 244 249/.98);color-scheme:light}
:root[data-obia-theme="pulse"]{--hud-bg:#173dc7;--hud-bg-rgb:23 61 199;--hud-ink:#fff;--hud-muted:#d2dcff;--hud-accent:#e5fb8e;--hud-accent-rgb:229 251 142;--hud-warm:#ffca65;--hud-line:rgb(229 251 142/.28);--hud-panel:rgb(15 43 157/.98)}
:root[data-obia-theme="presque"]{--hud-bg:#d7cbb6;--hud-bg-rgb:215 203 182;--hud-ink:#342f29;--hud-muted:#6d6459;--hud-accent:#9a3426;--hud-accent-rgb:154 52 38;--hud-warm:#886137;--hud-line:rgb(74 96 80/.28);--hud-panel:rgb(231 220 199/.98);color-scheme:light}
html,body{background:var(--hud-bg);color:var(--hud-ink);overflow:hidden}.backdrop,.backdrop-veil,.preview-banner,.topbar,.pilot-home,.column,.ambient-results,.ambient-query,.ambient-thread,.command-bar,.subscription-notice{display:none!important}.cockpit{position:fixed!important;inset:0!important;min-height:100dvh!important;pointer-events:none!important;background:transparent!important}.cockpit .graph-layer{display:none!important}.auth-gate{z-index:1000}
.hud-screen{position:fixed;z-index:20;inset:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:100dvh;padding:calc(22px + env(safe-area-inset-top)) clamp(20px,4vw,52px) calc(18px + env(safe-area-inset-bottom));overflow:hidden;background:radial-gradient(circle at 50% 43%,rgb(var(--hud-accent-rgb)/.075),transparent 35%),var(--hud-bg);font-family:Inter,"Segoe UI",sans-serif;color:var(--hud-ink)}
.hud-screen button,.hud-screen input{font:inherit}.hud-top{z-index:2;display:flex;align-items:center;justify-content:space-between}.hud-brand{color:rgb(var(--hud-accent-rgb)/.78);font-size:19px;font-weight:420;letter-spacing:-.045em;text-decoration:none}.hud-top span{color:var(--hud-muted);font-size:12px;letter-spacing:.02em}
#hud-conversation{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;outline:none}.ambient{position:relative;width:min(98vw,600px);height:min(70vh,680px);transition:width .6s cubic-bezier(.2,.75,.25,1),height .6s cubic-bezier(.2,.75,.25,1),transform .6s}.halo{position:absolute;left:50%;top:48%;width:132%;height:110%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,rgb(var(--hud-accent-rgb)/.21) 0,rgb(var(--hud-accent-rgb)/.105) 28%,rgb(var(--hud-accent-rgb)/.032) 55%,transparent 78%);filter:blur(38px)}.constellation{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 16px rgb(var(--hud-accent-rgb)/.14));transform:translateY(-24px) scale(1.5);transform-origin:50% 50%}.constellation-link{fill:none;stroke:rgb(var(--hud-accent-rgb)/.105);stroke-width:.46;opacity:0;vector-effect:non-scaling-stroke;transition:stroke .35s,opacity .45s,filter .35s}.constellation-spoke{fill:none;stroke:rgb(var(--hud-accent-rgb)/.22);stroke-width:.48;opacity:0;vector-effect:non-scaling-stroke;transition:opacity .45s}.constellation-node{fill:rgb(var(--hud-accent-rgb)/.72);stroke:rgb(235 249 255/.28);stroke-width:.5;vector-effect:non-scaling-stroke;transition:fill .35s,opacity .35s,filter .35s}.constellation-node.is-hub{fill:#e8f8ff;filter:url(#constellation-glow)}.constellation-node.depth-0{opacity:.34}.constellation-node.depth-1{opacity:.7}.constellation-node.depth-2{opacity:.98}.constellation-speck{fill:rgb(var(--hud-accent-rgb)/.42);stroke:none}.constellation-speck.depth-0{opacity:.13;filter:url(#constellation-soft)}.constellation-speck.depth-1{opacity:.24}.constellation-speck.depth-2{opacity:.46;filter:url(#constellation-soft)}.constellation-route{opacity:0;transition:opacity .45s}.constellation-route.is-active,.constellation-route.is-complete{opacity:1}.constellation-route-link{fill:none;stroke:#fff;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 .8px #fff) drop-shadow(0 0 3px #dff4ff) drop-shadow(0 0 8px rgb(var(--hud-accent-rgb)/1)) drop-shadow(0 0 16px rgb(var(--hud-accent-rgb)/.52))}.constellation-route.is-active .constellation-route-link{animation:route-pulse 1.6s ease-in-out infinite alternate}.constellation-route-node{fill:#fff;stroke:rgb(var(--hud-accent-rgb)/.95);stroke-width:1;filter:url(#constellation-glow);transform-box:fill-box;transform-origin:center}.constellation-route.is-active .constellation-route-node{animation:route-node 1.5s ease-out both}.constellation-link.is-searching,.constellation[data-searching="true"] .constellation-link.is-route{stroke:rgb(var(--hud-accent-rgb)/.58);stroke-width:.9;opacity:.72}.constellation-node.is-searching,.constellation-node.is-route{fill:#fff;stroke:#fff;filter:url(#constellation-glow)}.constellation-node.is-new{transform-box:fill-box;transform-origin:center;animation:node-grow 1.65s cubic-bezier(.16,.84,.3,1) both}.constellation-link.is-new{stroke:var(--hud-accent);stroke-dasharray:1;stroke-dashoffset:1;animation:link-grow 1.45s .18s ease-out both}.constellation[data-searching="true"] .constellation-link:not(.is-searching){opacity:.32}.constellation[data-searching="true"] .constellation-spoke{opacity:.62}.constellation[data-searching="true"] .constellation-node:not(.is-searching){opacity:.7}.constellation[data-searching="true"] .constellation-speck{animation:dust-breathe 2.8s ease-in-out infinite alternate}
.spoken-caption{z-index:2;display:flex;min-width:44px;min-height:44px;flex-direction:column;align-items:center;max-width:680px;margin-top:-22px;padding:0;border:0;background:transparent;color:inherit;text-align:center;cursor:pointer;touch-action:manipulation}.spoken-caption:disabled{cursor:default;opacity:1}.spoken-caption:not(:disabled):focus-visible{outline:2px solid var(--hud-accent);outline-offset:6px;border-radius:12px}.spoken-caption:not(:disabled):active{opacity:.78}.spoken-caption #hud-title{margin:0;color:var(--hud-ink);font-size:clamp(19px,3.6vw,25px);font-weight:450;line-height:1.15;letter-spacing:-.035em}.answer-stream{display:block;max-width:570px;margin:12px 0 0;color:var(--hud-muted);font-size:clamp(14px,2.2vw,16px);line-height:1.55}.hud-expand-hint,#hud-expand-hint{margin-top:8px;color:rgb(var(--hud-accent-rgb)/.8);font-size:11px;letter-spacing:.03em}
.voice-dock{z-index:4;display:flex;flex-direction:column;align-items:center;gap:13px}.voice-controls{display:grid;grid-template-columns:52px 82px 52px;align-items:center;gap:52px}.quiet-control,.voice-key,#hud-composer button,.hud-panel header button{display:grid;place-items:center;border:1px solid transparent;background:transparent;color:var(--hud-muted)}.quiet-control{width:52px;height:52px;border:1px solid rgb(var(--hud-accent-rgb)/.24);border-radius:50%;background:rgb(var(--hud-accent-rgb)/.025)}.voice-key{width:82px;height:82px;border-radius:50%;color:#eafaff;border-color:rgb(var(--hud-accent-rgb)/.82);background:radial-gradient(circle,rgb(var(--hud-accent-rgb)/.24),rgb(var(--hud-accent-rgb)/.07) 62%,transparent);box-shadow:0 0 0 8px rgb(var(--hud-accent-rgb)/.035),0 0 24px rgb(var(--hud-accent-rgb)/.34),0 18px 50px rgb(0 0 0/.3)}.quiet-control svg{width:23px}.voice-key svg{width:28px}.hud-screen svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.voice-hint{min-height:18px;color:var(--hud-muted);font-size:12px;letter-spacing:.02em}
#hud-composer{display:grid;grid-template-columns:minmax(0,1fr) 48px;width:min(90vw,580px);margin-bottom:3px;padding:5px 6px 5px 18px;border:1px solid var(--hud-line);border-radius:30px;background:rgb(var(--hud-bg-rgb)/.88);backdrop-filter:blur(18px)}#hud-composer[hidden]{display:none}#hud-composer input{min-width:0;border:0;outline:0;background:transparent;color:var(--hud-ink);font-size:16px}#hud-composer input::placeholder{color:var(--hud-muted)}#hud-composer button{width:44px;height:44px;border-radius:50%;color:var(--hud-accent)}
.thinking .spoken-caption #hud-title,.tooling .spoken-caption #hud-title{font-size:18px;font-weight:400;letter-spacing:.04em}.listening .halo{animation:glow-listen 1.8s ease-in-out infinite}.thinking .halo,.tooling .halo{animation:glow-search 2.2s ease-in-out infinite}.speaking .halo{animation:glow-speak 1.25s ease-in-out infinite}.answer .ambient,.speaking .ambient{flex:0 0 auto;transform:none}.answer .spoken-caption,.speaking .spoken-caption{position:absolute;z-index:3;left:50%;bottom:6px;width:min(86%,520px);margin:0;padding:40px 12px 8px;transform:translateX(-50%);background:linear-gradient(180deg,transparent,rgb(var(--hud-bg-rgb)/.92) 40%)}.answer .answer-stream,.speaking .answer-stream{width:100%;max-height:4.7em;margin:0;overflow:hidden;scroll-behavior:smooth;color:var(--hud-ink);font-size:clamp(14px,2.2vw,16px);line-height:1.55;text-wrap:pretty}
.hud-scrim{position:fixed;z-index:40;inset:0;background:rgb(0 0 0/.55);backdrop-filter:blur(4px)}.hud-scrim[hidden],.hud-panel[hidden]{display:none}.hud-panel{position:fixed;z-index:41;left:50%;bottom:0;display:flex;flex-direction:column;width:min(100%,680px);max-height:min(84dvh,820px);transform:translateX(-50%);border:1px solid var(--hud-line);border-bottom:0;border-radius:28px 28px 0 0;background:var(--hud-panel);box-shadow:0 -24px 80px rgb(0 0 0/.36);color:var(--hud-ink)}.hud-panel header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;padding:18px 18px 10px}.hud-panel header h2{margin:0;text-align:center;font-size:19px;font-weight:560}.hud-panel header button{width:44px;height:44px;border-radius:50%}.hud-panel header svg{width:22px}#hud-panel-body{padding:8px 24px calc(28px + env(safe-area-inset-bottom));overflow:auto}.hud-lead{white-space:pre-wrap;color:var(--hud-ink);font-size:17px;line-height:1.6}.hud-action{display:flex;width:100%;flex-direction:column;gap:4px;margin:8px 0;padding:17px 18px;text-align:left;border:1px solid var(--hud-line);border-radius:16px;background:rgb(var(--hud-accent-rgb)/.045);color:var(--hud-ink)}.hud-action span{font-size:16px}.hud-action small{color:var(--hud-muted);font-size:12px;line-height:1.4}.hud-history article{margin:8px 0;padding:16px;border-left:1px solid var(--hud-line);color:var(--hud-ink);line-height:1.55}
.hud-source-check{margin:6px 0 18px;color:var(--hud-muted);font-size:12px;line-height:1.45}
.hud-detail,.hud-lead{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}
body[data-hud-panel="map"] .hud-scrim{background:rgb(var(--hud-bg-rgb)/.22)}body[data-hud-panel="map"] .cockpit{z-index:39!important;pointer-events:auto!important}body[data-hud-panel="map"] .cockpit .graph-layer{display:block!important;inset:72px 0 42vh!important;opacity:.82}.settings,.overlay-panel,.ambient-subject,dialog,.intake-tray{z-index:100!important;color:var(--hud-ink)!important;background:var(--hud-panel)!important;border-color:var(--hud-line)!important}.scrim{z-index:99!important}.setting-row,.connector-status,.telemetry-widget{border-color:var(--hud-line)!important}.settings select,.settings input,.settings button{color:var(--hud-ink)}.settings select{background:rgb(var(--hud-bg-rgb)/.76);border-color:var(--hud-line)}
@keyframes glow-listen{50%{opacity:.7;transform:translate(-50%,-50%) scale(1.08)}}@keyframes glow-search{50%{opacity:.9;transform:translate(-50%,-50%) scale(1.06)}}@keyframes glow-speak{50%{opacity:.8;transform:translate(-50%,-50%) scale(1.04)}}@keyframes dust-breathe{to{opacity:.7}}@keyframes route-pulse{to{opacity:.68}}@keyframes route-node{0%{opacity:0;transform:scale(.2)}55%{opacity:1;transform:scale(1.8)}100%{transform:scale(1)}}@keyframes path-search{to{stroke-dashoffset:-32}}@keyframes node-grow{0%{opacity:0;transform:scale(0)}55%{opacity:1;transform:scale(2.3)}100%{transform:scale(1)}}@keyframes link-grow{to{stroke-dashoffset:0}}
@media(max-width:620px){.hud-screen{padding-inline:20px}.ambient{width:min(98vw,560px);height:min(70vh,650px)}.voice-controls{grid-template-columns:48px 78px 48px;gap:44px}.voice-key{width:78px;height:78px}.hud-panel{border-radius:24px 24px 0 0}.spoken-caption #hud-title{font-size:clamp(19px,5vw,24px)}.answer .spoken-caption,.speaking .spoken-caption{width:min(88%,500px)}}
@media(max-height:640px){.ambient{width:min(40vh,245px);height:min(54vh,335px)}.voice-key{width:64px;height:64px}.voice-controls{grid-template-columns:46px 64px 46px}.spoken-caption #hud-title{font-size:22px}.answer .answer-stream,.speaking .answer-stream{max-height:3.1em}}
@media(prefers-reduced-motion:reduce){.hud-screen *{animation:none!important;transition:none!important}}

.hud-question{position:absolute;z-index:4;top:10px;left:50%;width:min(82vw,520px);margin:0;transform:translateX(-50%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;color:rgb(var(--hud-accent-rgb)/.76);font-size:12px;letter-spacing:.02em}
