:root{color-scheme:dark;--bg:#06141e;--ink:#edf6fa;--muted:#9ab4c4;--accent:#00c7ed;--line:#214557;--nav:104px;font-family:'Segoe UI',Tahoma,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 32% 35%,#12354b 0,transparent 52%),linear-gradient(145deg,#07131e,#04121b 80%);color:var(--ink);min-height:100vh}button,select{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);background:#0b2534;border-radius:8px;padding:10px 16px}button:hover,button:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:disabled{opacity:.6;cursor:default}em{color:var(--accent);font-style:normal}h1,h2,h3,p{margin:0}h1{font-size:clamp(29px,3.1vw,54px);line-height:1.25;letter-spacing:-.035em}h2{font-size:24px}h3{font-size:16px}p{line-height:1.65}.topbar{height:80px;display:flex;justify-content:space-between;align-items:center;padding:0 32px;border-bottom:1px solid var(--line);direction:ltr}.brand,.top-actions{display:flex;align-items:center;gap:14px}.brand strong{font-size:clamp(16px,2vw,26px);letter-spacing:.025em}.brand small{display:block;color:var(--muted);font-size:12px;letter-spacing:.06em;margin-top:4px}.lab{font-size:11px;letter-spacing:.05em;color:#f2cc87;border:1px solid #705b37;border-radius:30px;padding:5px 10px;white-space:nowrap}nav{position:fixed;left:0;top:80px;bottom:0;width:var(--nav);border-right:1px solid var(--line);background:#061722;display:flex;flex-direction:column;padding-top:18px;gap:4px;z-index:2}nav button{background:none;border:0;border-radius:0;display:grid;justify-items:center;gap:5px;color:var(--muted);padding:12px 4px}nav button span{font-size:25px;line-height:1}nav button b{font-size:12px;font-weight:500}nav button[aria-current]{color:#eafcff;background:linear-gradient(90deg,#087a9a55,transparent);box-shadow:inset 3px 0 var(--accent)}main{margin-left:var(--nav);padding:36px clamp(24px,4vw,62px) 24px;min-height:calc(100vh - 130px)}section[hidden]{display:none!important}.deck{display:grid;grid-template-columns:1.25fr 1fr;gap:38px;align-items:center;direction:ltr}.hero{position:relative;min-width:0}.hero h1,.hero p:not(.eyebrow){text-align:start;direction:rtl}html[lang=en] .hero h1,html[lang=en] .hero p:not(.eyebrow){direction:ltr}.hero h1{margin:12px 0}.hero p:not(.eyebrow){color:var(--muted);font-size:17px}.eyebrow{color:var(--accent);font-size:11px;letter-spacing:.22em;font-weight:600;direction:ltr}.hero picture{display:block;margin-top:16px;position:relative}.hero picture img{width:100%;height:auto;display:block;mask-image:linear-gradient(to bottom,transparent 0,#000 12%,#000 76%,transparent 100%);object-fit:cover}.flight-caption{display:block;font-size:11px;letter-spacing:.22em;color:#92cadd;position:relative;margin-top:-26px}.instruments{direction:rtl;min-width:0}html[lang=en] .instruments{direction:ltr}.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}.sub{font-size:13px;color:var(--muted)}.gauges{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.gauge{position:relative;text-align:center;min-width:0}.gauge svg{width:100%;max-width:160px;display:block;margin:auto;overflow:visible}.gauge .track{stroke:#1d4255;fill:none;stroke-width:8;stroke-linecap:round}.gauge .value{stroke:#00d5f1;fill:none;stroke-width:8;stroke-linecap:round;filter:drop-shadow(0 0 5px #00bfff66);transition:stroke-dasharray .25s}.gauge strong{display:block;font-size:clamp(21px,2.4vw,34px);margin-top:-39%;position:relative}.gauge small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.trend{width:100%;height:110px;display:block}.gridline{stroke:#1b394b;stroke-width:.65;fill:none}.cpu-line,.ram-line{fill:none;stroke:#00d4ef;stroke-width:2;stroke-linejoin:round}.ram-line{stroke:#558cab;stroke-width:1.4}.status-line{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:8px;padding:14px 0;font-size:14px}.primary{background:linear-gradient(115deg,#06546b,#00c1e5 150%);border:1px solid #00a7ce;box-shadow:0 0 22px #00bfff22;border-radius:30px;padding:12px 25px;font-weight:600}.instruments .primary{width:100%}.quiet{background:none;border:0;color:#7dd9f0;text-decoration:underline;text-underline-offset:4px;font-size:13px}.privacy-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);margin-top:34px;padding-top:24px;gap:24px}.privacy-strip>div{padding-inline-start:18px;border-inline-start:1px solid var(--line)}.privacy-strip>div:first-child{border:0;padding-inline-start:0}.privacy-strip h3{margin:8px 0}.privacy-strip p{font-size:13px;color:var(--muted)}.symbol{color:var(--accent);font-size:24px}footer{margin-left:var(--nav);border-top:1px solid var(--line);padding:14px 24px;display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;letter-spacing:.05em}section:not(#home){max-width:960px;margin:auto}section:not(#home) h1{margin:12px 0 18px}section:not(#home)>p{margin-bottom:18px}label{display:block;margin:20px 0 8px}select{background:#0a2636;border:1px solid var(--line);border-radius:8px;padding:12px;max-width:100%;margin-inline-end:12px}.readout,.field-list{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.readout h2{margin-bottom:12px}.field-list>div{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}code{font-size:12px;color:#8fd9ea;overflow-wrap:anywhere;direction:ltr}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;direction:ltr}th,td{text-align:start;padding:14px 8px;border-bottom:1px solid var(--line)}th{color:var(--muted)}[hidden]{display:none!important}@media(max-width:900px){.deck{grid-template-columns:1fr;gap:24px}.hero picture img{max-height:380px;object-fit:cover}.gauges{max-width:520px;margin:20px auto}.instruments{margin-top:14px}}@media(max-width:650px){:root{--nav:0px}.topbar{height:70px;padding:0 14px;gap:8px}.brand{gap:7px}.brand img{width:30px;height:30px}.brand strong{font-size:15px}.brand small{font-size:9px;letter-spacing:0}.top-actions{gap:5px}.top-actions .lab{display:none}.top-actions button{padding:7px 9px;font-size:12px}nav{top:auto;bottom:0;left:0;right:0;width:auto;flex-direction:row;justify-content:space-around;gap:0;padding:6px 0 max(6px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line)}nav button{flex:1;padding:7px 2px;min-width:0}nav button span{font-size:20px}nav button b{font-size:10px}nav button[aria-current]{box-shadow:inset 0 3px var(--accent);background:#0b2b3b}main{margin:0;padding:26px 19px 20px;min-height:calc(100vh - 150px)}.hero h1,.hero p:not(.eyebrow){text-align:center}.hero .eyebrow{text-align:center}.hero picture{margin-inline:-19px}.hero picture img{min-height:170px;object-fit:cover}.flight-caption{margin-top:-17px;font-size:9px;text-align:center}.gauges{gap:7px}.gauge strong{font-size:24px}.privacy-strip{gap:12px;padding-top:18px}.privacy-strip>div{padding-inline-start:8px}.privacy-strip h3{font-size:13px}.privacy-strip p{font-size:11px}footer{margin:0 0 66px;padding:12px 15px;font-size:9px;flex-wrap:wrap}.field-list>div{flex-wrap:wrap}select{margin-bottom:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.gauge strong{position:absolute;top:48%;left:0;right:0;margin:0;transform:translateY(-35%)}.gauge small{margin-top:0}.gauge svg{max-width:160px}.hero picture img{mask-image:radial-gradient(ellipse at 50% 45%,#000 44%,transparent 88%)}
:root{font-size:16px;--nav:142px;--bg:#08131d;--ink:#f0f6fa;--muted:#b4c9d5;--line:#244355;--accent:#00bfff}
body{background:radial-gradient(ellipse at 75% 0,#132c40 0,transparent 55%),#08131d}
.brand-word{font-size:32px!important;letter-spacing:.08em!important}.brand small{font-size:13px}.lab{font-size:13px}nav button b{font-size:15px}nav button{padding:15px 5px}.sub,.quiet,.privacy-strip p{font-size:16px}.privacy-strip h3{font-size:19px}.privacy-strip{margin-top:30px}.eyebrow{font-size:13px}h1{font-size:clamp(29px,3vw,43px);letter-spacing:0}h2{font-size:25px}h3{font-size:20px}section:not(#home):not(.welcome):not(.startup){max-width:1050px}.dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px}.dashboard-intro p{color:var(--muted);font-size:18px;margin-top:9px}.deck{display:block;direction:inherit}.instruments{margin:0}.gauges{max-width:800px;margin:24px auto 30px;gap:24px}.gauge svg{max-width:190px}.gauge small{font-size:16px}.gauge strong{font-size:clamp(25px,3vw,40px)}.chart-block{border-top:1px solid var(--line);padding:18px 0 12px}.trend{height:155px}.status-line{font-size:17px}.instruments .primary{width:auto}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:24px 0}.settings-row h2{font-size:21px;margin-bottom:8px}.settings-row p{margin:0}.startup{position:relative;min-height:100svh;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 100%,#14485b,#07141e 42%,#040a10 75%);max-width:none!important;margin:0!important;isolation:isolate}.launch-halo{position:absolute;inset:auto 10% 11%;height:21%;border-radius:50%;border-top:1px solid #00bfff66;box-shadow:0 -18px 90px #00bfff1a;animation:halo-in 2.8s ease-out both}.launch-full,.launch-short{position:absolute;text-align:center;padding:24px;max-width:100%;color:#eef7fb}.launch-full strong{font-size:clamp(26px,5vw,62px);letter-spacing:.025em}.launch-full p{font-size:clamp(17px,2vw,25px);margin-top:16px;color:#bad0dc}.launch-short strong{font-size:clamp(70px,12vw,156px);letter-spacing:.08em}.launch-short p{font-size:clamp(13px,1.4vw,18px);letter-spacing:.09em;color:#bad0dc}.launch-full{animation:full-in 2.2s ease-in-out both}.launch-short{animation:short-in 3s cubic-bezier(.2,.75,.3,1) both}.skip{position:absolute;bottom:25px;inset-inline-end:25px;background:#071824;color:#c1d2de;border-color:#244355;font-size:14px}.welcome{min-height:100svh;max-width:none!important;margin:0!important;display:grid;grid-template-columns:1fr 1fr;direction:ltr;position:relative;background:#05131f}.welcome-art{position:relative;min-width:0;min-height:100svh;overflow:hidden}.welcome-art img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:47% 50%}.welcome-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 78%,#05131f 100%)}.welcome-copy{align-self:center;max-width:650px;padding:70px clamp(28px,5vw,86px) 45px;direction:rtl}.welcome-copy h1{font-size:clamp(36px,4.2vw,62px);margin:20px 0 10px!important}.welcome-brand{font-weight:800;letter-spacing:.07em;font-size:36px;display:flex;align-items:center;gap:14px;justify-content:flex-end}.welcome-brand small{font-size:12px;letter-spacing:.12em;color:#a0bdce;font-weight:500}.welcome-lead{font-size:clamp(18px,2vw,25px);line-height:1.65;color:#c5d7e1}.welcome-values{list-style:none;padding:22px 0;margin:22px 0 20px;border-top:1px solid #25404d;display:grid;gap:20px;font-size:19px}.welcome-values li{display:flex;align-items:center;gap:14px}.welcome-values svg{width:27px;height:27px;stroke:#00bfff;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.welcome .primary{width:100%;background:#00bfff;color:#041018;font-size:19px;padding:15px 24px;min-height:52px;box-shadow:0 0 24px #00bfff18}.welcome-note{font-size:14px;color:#a0b9c8;text-align:center;margin:14px 0 0!important}.motto{font-size:13px;letter-spacing:.04em;color:#93afc0;text-align:center;margin:23px 0 0!important}.welcome-language{position:absolute;top:22px;right:22px;z-index:1}.welcome-copy:lang(en){direction:ltr}.welcome-copy:lang(en) .welcome-brand{justify-content:flex-start}#app-shell{min-height:100svh}.welcome:not([hidden]),#app-shell:not([hidden]):not(.app-enter):not(.app-settled){animation:screen-in .32s ease-out both}@keyframes full-in{0%{opacity:0;transform:translateY(7px)}25%,67%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-5px)}}@keyframes short-in{0%,54%{opacity:0;transform:scale(.97)}88%,100%{opacity:1;transform:scale(1)}}@keyframes halo-in{from{opacity:0}to{opacity:1}}@keyframes screen-in{from{opacity:0}to{opacity:1}}
@media(max-width:650px){:root{--nav:0px}.brand-word{font-size:28px!important}.brand small{font-size:10px}nav button b{font-size:11px}nav button{padding:8px 2px}.dashboard-intro{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:20px}.dashboard-intro p{font-size:16px}.gauges{gap:12px;margin:20px auto}.gauge strong{font-size:25px}.gauge small{font-size:13px}.trend{height:115px}.privacy-strip{grid-template-columns:1fr;gap:14px}.privacy-strip>div{border:0;border-bottom:1px solid var(--line);padding:0 0 12px!important;display:grid;grid-template-columns:26px 1fr;column-gap:8px}.privacy-strip h3{font-size:17px;margin:0}.privacy-strip p{grid-column:2;font-size:15px}.privacy-strip .symbol{font-size:19px}.welcome{grid-template-columns:1fr;align-content:start}.welcome-art{min-height:0;height:clamp(220px,36svh,340px)}.welcome-art img{object-position:center 53%}.welcome-art:after{background:linear-gradient(0deg,#05131f,transparent 27%)}.welcome-copy{padding:5px 24px 26px;max-width:none}.welcome-copy h1{font-size:36px;margin:12px 0 6px!important}.welcome-brand{font-size:28px}.welcome-lead{font-size:18px}.welcome-values{gap:13px;padding:15px 0;margin:17px 0 12px;font-size:17px}.welcome-language{top:12px;right:12px;background:#071824e8}.settings-row{align-items:flex-start}.settings-row h2{font-size:19px}.settings-row p{font-size:15px}.instruments .primary{width:100%}.instruments .quiet{width:100%;margin-top:5px}}
@media(prefers-reduced-motion:reduce){.startup .launch-full{display:none}.startup .launch-short{opacity:1}.launch-halo,.launch-full,.launch-short,.welcome,#app-shell{animation:none!important}}
@media(min-width:651px){.welcome{grid-template-columns:56% 44%}.welcome-art img{object-fit:contain;object-position:center}.welcome-art{background:radial-gradient(ellipse at 45% 50%,#162e3e,transparent 70%)}.welcome-art:after{background:linear-gradient(90deg,transparent 90%,#05131f 100%)}.welcome-copy{padding-inline:clamp(28px,4vw,64px)}}

@media(min-width:1000px){#home{max-width:1160px;margin-inline:auto}.gauges{max-width:860px;gap:44px}.privacy-strip p{font-size:17px}.privacy-strip h3{font-size:21px}.welcome-art img{object-fit:cover;object-position:48% center}.welcome-art:after{background:linear-gradient(90deg,transparent 74%,#05131f 100%)}}
@media(max-width:650px){.welcome-art img{object-fit:cover;object-position:50% 52%}.welcome-note{font-size:15px}.privacy-strip p{font-size:16px}.top-actions button{min-height:44px}.settings-row button{min-height:44px}.welcome .primary{min-height:52px}}

h1[tabindex="-1"]:focus{outline:none}

.trend path,.trend polyline{vector-effect:non-scaling-stroke}

body.deck-handoff { overflow: hidden; }
.welcome.welcome-exit:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 40;
    overflow: auto;
    max-height: 100svh;
    animation: none;
    pointer-events: none;
    opacity: 1;
    will-change: transform;
}
#app-shell.app-enter:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: hidden;
    height: 100svh;
    animation: none;
    background: radial-gradient(ellipse at 75% 0,#132c40 0,transparent 55%),#08131d;
    transform-origin: top center;
    will-change: transform;
    box-shadow: 0 -12px 45px #0005;
}
#app-shell.app-enter main { animation: none; }

#app-shell.app-settled:not([hidden]) { animation: none; opacity: 1; }
html { scrollbar-gutter: stable; }

:root { --header-height: 80px; --nav: 0px; }
#app-shell .topbar { position: sticky; top: 0; z-index: 20; height: var(--header-height); padding: 0 clamp(18px,3vw,48px); background: #08131df2; backdrop-filter: blur(18px); direction: inherit; gap: 24px; }
#app-shell .brand { flex-shrink: 0; }
#app-shell .brand small { font-size: 11px; }
#app-shell nav { position: static; display: flex; flex-direction: row; align-items: center; justify-content: center; width: auto; background: none; border: 0; padding: 0; gap: clamp(10px,2vw,30px); }
#app-shell nav button { position: relative; display: block; padding: 16px 0; white-space: nowrap; background: none; box-shadow: none; }
#app-shell nav button b { font-size: 15px; }
#app-shell nav button[aria-current] { color: var(--ink); }
#app-shell nav button[aria-current]::after { content: ''; position: absolute; height: 2px; border-radius: 2px; background: var(--accent); inset: auto 16% 7px; box-shadow: 0 0 12px #00bfff70; }
#app-shell .top-actions { flex-shrink: 0; gap: 9px; }
#open-settings { display: flex; gap: 8px; align-items: center; background: transparent; }
#open-settings svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
#app-shell main { margin: 0; padding: 0 clamp(22px,6vw,88px); }
#app-shell main > section { scroll-margin-top: var(--header-height); }
#app-shell main > #home { padding: clamp(32px,5vw,65px) 0 45px; min-height: calc(100svh - var(--header-height)); max-width: 1160px; }
#app-shell .story-section { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(35px,7vw,112px); align-content: center; align-items: center; min-height: calc(100svh - var(--header-height)); padding: 70px 0; max-width: 1160px; border-top: 1px solid var(--line); }
.story-intro h1 { font-size: clamp(38px,4vw,64px); line-height: 1.2; }
.story-intro .eyebrow { direction: ltr; text-align: start; }
html[dir=rtl] .story-intro .eyebrow { text-align: right; }
.story-intro > .sub, .story-intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 38ch; }
.story-content { min-width: 0; }
.story-content .table-wrap { max-height: 44vh; }
.story-content .readout { font-size: 18px; }
#app-shell footer { margin: 0; }
#settings-dialog { color: var(--ink); background: #0b1d29; border: 1px solid var(--line); border-radius: 18px; width: min(620px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: clamp(20px,4vw,36px); box-shadow: 0 24px 90px #0008; }
#settings-dialog::backdrop { background: #020912b8; backdrop-filter: blur(7px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
#settings-dialog h1 { margin: 20px 0; }
@media(max-width:1050px) { :root { --header-height: 116px; } #app-shell .topbar { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 62px 54px; gap: 0 12px; } #app-shell nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 8px; align-self: stretch; border-top: 1px solid #24435566; } #app-shell .top-actions { grid-row: 1; grid-column: 2; } }
@media(max-width:650px) { #app-shell .topbar { padding: 0 14px; } #app-shell .brand small { font-size: 9px; } #app-shell .brand-word { font-size: 25px!important; } #app-shell nav button b { font-size: 13px; } #app-shell .story-section { grid-template-columns: 1fr; gap: 25px; padding: 52px 0; min-height: calc(100svh - var(--header-height)); } .story-intro h1 { font-size: 38px; } .story-content .table-wrap { max-height: 42vh; } #open-settings span { font-size: 12px; } #open-settings { gap: 5px; } #app-shell .privacy-strip { grid-template-columns: 1fr; } #app-shell .privacy-strip > div { border-inline-start: 0; padding-inline-start: 0; } }

#app-shell main > #home { min-height: 0; padding-block: clamp(30px,4vw,54px); }
#app-shell .story-section { min-height: 0; align-content: start; align-items: start; gap: clamp(28px,5vw,76px); padding: clamp(34px,4.5vw,64px) 0; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
#app-shell .story-intro h1 { margin-block: 10px 16px; font-size: clamp(36px,3.4vw,54px); }
#app-shell .story-intro .section-explain, #app-shell .home-explain { max-width: 65ch; color: #c4d6e0; font-size: clamp(16px,1.3vw,19px); line-height: 1.85; }
#app-shell .home-explain { margin: 0 0 22px; }
#app-shell .story-intro .section-note { color: var(--muted); font-size: 14px; max-width: 65ch; margin: 14px 0 0; line-height: 1.7; }
.explain-list { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.explain-list > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.explain-list dt { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.explain-list dd { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.7; }
#app-shell .story-content { padding-top: 4px; }
#app-shell .story-content .readout { margin-top: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.8; }
#app-shell #diagnostic:empty { display: none; }
#app-shell .content-heading { font-size: 21px; margin: 0 0 12px; }
#app-shell .field-list { margin-top: 0; padding-top: 0; }
#app-shell .field-list code { overflow-wrap: anywhere; }
#app-shell .privacy-strip { margin-top: 26px; padding-top: 12px; }
@media(max-width:650px) { #app-shell .story-section { grid-template-columns: 1fr; gap: 24px; padding: 34px 0; } #app-shell .story-intro h1 { font-size: 36px; } #app-shell .story-content { padding-top: 0; } .explain-list { margin-top: 16px; } }

.alert-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.alert-toast { position: fixed; top: calc(var(--header-height) + 14px); inset-inline-end: 22px; width: min(390px, calc(100vw - 44px)); z-index: 35; display: flex; align-items: flex-start; gap: 14px; padding: 18px 18px 17px; background: #102431; border: 1px solid #315363; border-inline-start: 3px solid #e8b568; border-radius: 12px; box-shadow: 0 12px 36px #0006; transform: translateY(-16px); opacity: 0; pointer-events: none; transition: transform .42s cubic-bezier(.2,.75,.25,1), opacity .25s ease; }
.alert-toast[hidden] { display: none; }
.alert-toast.toast-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast-main { flex: 1; min-width: 0; }
.toast-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #e8b568; margin-bottom: 8px; }
.toast-dot { width: 7px; height: 7px; background: #e8b568; border-radius: 50%; flex-shrink: 0; }
.toast-main strong { font-size: 18px; line-height: 1.5; }
.toast-main p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: #c4d6e0; }
#dismiss-toast { padding: 6px 9px; font-size: 13px; background: transparent; color: var(--muted); }
@media(max-width:650px) { .alert-toast { inset-inline-end: 12px; width: calc(100% - 24px); top: calc(var(--header-height) + 8px); } .alert-actions button { width: 100%; } }
@media(prefers-reduced-motion:reduce) { .alert-toast { transform: none; transition: opacity .2s ease; } }

/* Flight instruments and recorder */
#app-shell .gauges{max-width:940px;gap:clamp(8px,3vw,46px);margin:22px auto 26px}
#app-shell .gauge svg{max-width:240px;overflow:visible}
#app-shell .gauge small{font-size:clamp(12px,1.5vw,17px);font-weight:600;letter-spacing:.09em;color:var(--muted);margin-top:2px}
.flight-dial .dial-rim{fill:#071723;stroke:#315466;stroke-width:1.4}
.flight-dial .dial-inner{fill:none;stroke:#173644;stroke-width:1}
.flight-dial .dial-tick{stroke:#557689;stroke-width:1.1;stroke-linecap:round}
.flight-dial .dial-tick.major{stroke:#d4e9f0;stroke-width:2}
.flight-dial .dial-scale{fill:#b4c9d5;font-size:9px;text-anchor:middle;dominant-baseline:central;font-variant-numeric:tabular-nums}
.flight-dial .dial-track{fill:none;stroke:#24495b;stroke-width:4;stroke-linecap:round}
.flight-dial .dial-fill{fill:none;stroke:#00c7ed;stroke-width:4;stroke-linecap:round;transition:stroke-dasharray .4s ease}
.flight-dial .dial-needle{fill:#eafaff;stroke:#00bfff;stroke-width:.7;transition:transform .42s cubic-bezier(.2,.75,.25,1)}
.flight-dial .dial-hub{fill:#0b2332;stroke:#a2d8e7;stroke-width:1.4}
.flight-dial .dial-number{fill:#f0f6fa;font-size:23px;font-weight:700;text-anchor:middle;font-variant-numeric:tabular-nums}
.flight-dial .dial-unit{fill:#83a4b6;font-size:8px;text-anchor:middle;letter-spacing:1px}
#app-shell .log-gauges{gap:10px;margin:8px 0 14px;max-width:none}
#app-shell .log-gauges .gauge svg{max-width:155px}
#app-shell .log-gauges .gauge small{font-size:12px}
.log-live{border-bottom:1px solid var(--line);padding-bottom:12px}
.log-controls{padding:10px 0 14px;border-bottom:1px solid var(--line);margin-bottom:10px}
.log-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.record-indicator{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}
.record-indicator::before{content:'';width:8px;height:8px;border-radius:50%;background:#6d8795;flex-shrink:0}
.record-indicator.is-recording{color:#8be2c7}
.record-indicator.is-recording::before{background:#60dfb7;box-shadow:0 0 10px #60dfb766;animation:record-pulse 1.8s ease-in-out infinite}
@keyframes record-pulse{50%{box-shadow:0 0 0 5px #60dfb71a}}
#logs .table-wrap{max-height: min(300px,40vh)}
#logs table{font-variant-numeric:tabular-nums;font-size:14px}
#logs th{position:sticky;top:0;background:#102432;z-index:1}
#logs #clear-logs:disabled{opacity:.45}
@media(max-width:650px){#app-shell .gauges{gap:5px;margin:12px 0 18px}#app-shell .log-gauges{margin:6px 0 12px}#logs th,#logs td{padding:10px 5px} .log-actions .primary{flex:1}}

#app-shell{position:relative;isolation:isolate} #app-shell::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;filter:blur(2px);background:linear-gradient(180deg,#061421ca 0%,#081722e8 720px,#08131df8 1400px),url('/dashboard.jpg') center top / 100% auto no-repeat; } .identity-story{position:relative;max-width:1160px;margin:auto;padding:clamp(40px,7vw,90px) 0;border-top:1px solid var(--line);background:linear-gradient(90deg,#08131da0,#08131df5),url('/night-flight.jpg') center / cover no-repeat;} .identity-copy{max-width:760px;margin-inline-start:clamp(0px,4vw,48px);padding:18px;} .identity-copy h1{font-size:clamp(34px,5vw,64px);margin:14px 0 26px}.identity-copy>p:not(.eyebrow){font-size:clamp(16px,2vw,20px);line-height:1.9;color:#ccdde7}.identity-credit{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.identity-credit strong{font-size:20px;text-align:start}.identity-credit span,.identity-source{font-size:14px;color:var(--muted)}.identity-source{display:inline-block;margin-top:12px;color:var(--accent)}.ai-launch{position:fixed;bottom:22px;right:22px;z-index:32;display:flex;align-items:center;gap:9px;padding:12px 19px;border-radius:30px;background:#092638;border:1px solid #00c7ed;color:#e9f9ff;box-shadow:0 6px 28px #0007;animation:ai-rise .45s ease-out}.ai-spark{color:#00d6ff;font-size:23px}.ai-panel{position:fixed;bottom:82px;right:22px;z-index:33;width:min(390px,calc(100vw - 28px));max-height:min(600px,calc(100dvh - 105px));display:flex;flex-direction:column;gap:12px;background:#081c2a;border:1px solid #28536a;border-radius:18px;padding:17px;box-shadow:0 12px 48px #0009;animation:ai-rise .4s cubic-bezier(.2,.8,.2,1);overflow:auto}.ai-panel[hidden],.ai-launch[hidden]{display:none!important}.ai-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px}.ai-head h2{font-size:23px;margin:6px 0}.ai-head .eyebrow{font-size:10px;margin:0}.ai-mode,.ai-disclosure,.ai-label{font-size:12px;color:var(--muted);line-height:1.55;margin:0}.ai-head button{font-size:13px;padding:5px 9px}.ai-messages{min-height:100px;max-height:235px;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px}.ai-message{font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:10px 12px;border-radius:12px;background:#123346}.ai-message.user{align-self:flex-end;background:#16485c;max-width:90%}.ai-message.assistant{align-self:flex-start;max-width:96%}.ai-suggestions{display:flex;flex-wrap:wrap;gap:5px}.ai-suggestions button{font-size:12px;padding:5px 8px;border-radius:16px}.ai-input-row{display:flex;gap:8px;margin-top:5px}.ai-input-row input{min-width:0;flex:1;border:1px solid #31556a;background:#07141e;border-radius:10px;color:var(--ink);padding:10px;font:inherit;font-size:16px}.ai-input-row button{width:auto;padding:8px 14px;font-size:14px}.ai-panel form{margin:0}.ai-panel .primary:disabled{opacity:.5}@keyframes ai-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){#app-shell::before{background-size:auto 720px;background-position:center top}.ai-launch{right:14px;bottom:14px}.ai-panel{right:14px;bottom:70px;max-height:calc(100dvh - 90px)}.identity-copy{margin:0}}@media(prefers-reduced-motion:reduce){.ai-panel,.ai-launch{animation:none}}

.saker-mark{width:28px;height:28px;flex:none}.saker-heading{display:flex;gap:9px;align-items:flex-start}.saker-heading>.saker-mark{width:37px;height:37px;margin-top:8px}.saker-tag{font-size:12px;color:#72c9df;margin:5px 0 0}.ai-head h2{font-size:19px}.ai-pending{color:#a8d8e8}

.saker-heritage{font-size:12px;line-height:1.65;color:#b5cbd7;margin:4px 0 0;max-width:265px}.saker-heading>div{min-width:0}.ai-head>button{flex:none}
.replay-box{margin-top:26px;padding:clamp(14px,3vw,24px);border:1px solid var(--line);border-radius:18px;background:#091c28;display:grid;gap:14px;min-width:0}.replay-box h2{font-size:clamp(20px,3vw,28px)}.replay-box select{width:100%;min-width:0}.replay-controls,.replay-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.replay-controls label,.replay-controls select{flex:1 1 100%}.replay-actions button,.replay-controls button{flex:1 1 170px}.replay-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.replay-metrics div{border:1px solid var(--line);background:#0b2635;border-radius:10px;text-align:center;padding:10px;font-size:12px;color:var(--muted)}.replay-metrics strong{display:block;font-size:clamp(20px,3vw,30px);color:var(--ink);margin-top:4px}.replay-chart svg{display:block;width:100%;height:auto;max-height:220px}.replay-legend{display:flex;justify-content:center;gap:16px;color:var(--muted);font-size:12px;margin:4px 0 16px}.replay-legend span::before{content:'';display:inline-block;background:#00c7ed;width:9px;height:9px;border-radius:50%;margin-right:5px}.replay-legend span:nth-child(2)::before{background:#f2bd67}.replay-legend span:nth-child(3)::before{background:#a9a2ff}#replay-slider{width:100%;accent-color:var(--accent);margin:8px 0}#replay-analysis{white-space:pre-line;margin:10px 0}#replay-detail .readout{margin:16px 0;padding:14px}#replay-detail[hidden]{display:none!important}#replay-storage{overflow-wrap:anywhere}


/* V21.1: natural-height, non-blocking readout motion. */
#app-shell .story-content .readout.readout-motion { overflow: hidden; }

/* SAKER conversation motion: minimum display time for pending state; network policy unchanged. */
.ai-panel{animation:none}
.ai-message{flex-shrink:0;overflow-wrap:anywhere}
#ai-messages{overflow-anchor:none}
.ai-message.ai-pending::after{content:' •••';display:inline-block;color:#73cce0;animation:saker-wait 1.15s ease-in-out infinite}
@keyframes saker-wait{0%,100%{opacity:.35}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.ai-message.ai-pending::after{animation:none}}

/* V21.4: prepared dashboard and continuous conversation. */
.launch-full{animation:full-in 3.25s ease-in-out both}
.launch-short{animation:short-in 4.6s cubic-bezier(.2,.75,.3,1) both}
.launch-halo{animation-duration:4.6s}
@keyframes full-in{0%{opacity:0;transform:translateY(7px)}18%,78%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-5px)}}
@keyframes short-in{0%,61%{opacity:0;transform:scale(.97)}79%,100%{opacity:1;transform:scale(1)}}

body.deck-handoff #ai-launch{animation:none!important}
#app-shell.app-preparing,#app-shell.app-preparing *{transition:none!important;animation:none!important}
.welcome.welcome-exit:not([hidden]){z-index:60;will-change:opacity;scrollbar-width:none}
#ai-panel{height:min(600px,calc(100dvh - 105px));overflow:hidden}
#ai-panel > :not(#ai-messages){flex-shrink:0}
#ai-messages{flex:1 1 auto;min-height:65px;max-height:none;overflow-y:auto;overflow-x:hidden;scroll-behavior:auto;overflow-anchor:none}
#ai-messages .ai-message{flex:0 0 auto;max-width:96%;overflow-wrap:anywhere}
#ai-messages .ai-message.user{max-width:90%}
#ai-messages .ai-message.ai-revealing{white-space:pre-wrap}
@media(max-width:600px){#ai-panel{height:min(600px,calc(100dvh - 90px));overflow-y:auto}#ai-messages{min-height:90px}}
@media(max-height:480px){#ai-panel{overflow-y:auto}#ai-messages{min-height:100px}}
@media(prefers-reduced-motion:reduce){.launch-halo,.launch-full,.launch-short{animation:none!important}.welcome-art img{transform:none}}
