:root{color-scheme:dark;--bg:#0c171b;--surface:#14272b;--surface2:#1c3236;--text:#f4f4e9;--muted:#b9ceca;--line:#42605e;--amber:#f5b84b;--amber-text:#251903;--good:#9ce1bf;--warn:#ffd18a;--bad:#ffb7a9;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text)}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit}
[hidden]{display:none!important}
img,svg{max-width:100%}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.skip{position:absolute;top:-70px;left:12px;z-index:50;background:var(--amber);color:var(--amber-text);padding:12px}
.skip:focus{top:12px}

/* Night Shift's 1180px container with 24px desktop gutters leaves 1132px for content. */
.shell{--shell-gutter:24px;--shell-max:1132px;display:flex;flex-direction:column;min-height:100vh}
.shell-inner{width:min(var(--shell-max),calc(100% - 2 * var(--shell-gutter)));margin-inline:auto}
@media screen and (min-width:781px){html:has(.shell){scrollbar-gutter:stable both-edges}}
.brand img{width:175px;display:block}
.brand-wordmark{display:block;color:var(--text);font-size:19px;font-weight:800;line-height:1.15;letter-spacing:-.03em}
.brand-wordmark small{display:block;color:var(--muted);font-size:14px;font-weight:600;letter-spacing:0;margin-top:5px}
.desktop-nav{display:flex;flex-wrap:wrap;gap:4px}
.desktop-nav a,.bottom a,.more-sheet a{min-height:46px;display:flex;align-items:center;gap:12px;padding:10px 14px;text-decoration:none;border-radius:10px;font-weight:700;font-size:14px}
.desktop-nav a,.bottom a,.bottom button{position:relative;color:var(--text)}
.desktop-nav a{padding:8px;gap:6px}
.nav-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.bottom a[aria-current=page]::after,.bottom button[aria-current=page]::after,.bottom button[aria-expanded=true]::after{content:"";position:absolute;top:2px;width:5px;height:5px;border-radius:50%;background:var(--amber)}
.bottom button[aria-current=page],.bottom button[aria-expanded=true]{color:var(--amber)}
.desktop-nav a:hover,.desktop-nav a[aria-current],.bottom a[aria-current]{background:var(--surface2);color:var(--amber)}
.bottom a:hover,.bottom button:hover{color:var(--amber)}
.top{border-bottom:1px solid var(--line);background:var(--bg)}
.top-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;padding-block:8px}
.top-brand{display:flex;align-items:center;gap:8px;text-decoration:none;font-weight:800}
.top-brand img{flex:none;border-radius:8px}
.top-brand small{display:block;color:var(--muted);font-weight:600}
.top-account{display:flex;align-items:center;gap:10px;min-width:0;margin-left:auto}
.top-account .account{overflow-wrap:anywhere;font-size:14px}
.top-account .pill,.top-account [data-logout]{white-space:nowrap}
.dashboard-footer{border-top:1px solid var(--line);background:var(--surface)}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-block:18px;color:var(--muted);font-size:14px}
.footer-inner [data-plan-badge]{margin-left:auto}
.pill,.badge{border:1px solid var(--line);border-radius:999px;padding:5px 11px;font-size:14px;font-weight:750;color:var(--muted)}
.top [data-help]{font-weight:750}
.main{flex:1;min-width:0;padding:46px 0 90px}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:14px;font-weight:800;color:var(--amber)}
h1,h2,h3,p{margin-top:0}
h1,h2{letter-spacing:-.03em;line-height:1.08}
h1{font-size:clamp(40px,5vw,68px);margin-bottom:13px}
h2{font-size:clamp(24px,3vw,36px)}
h3{font-size:20px}
p{line-height:1.6}
.lead{font-size:18px;color:var(--muted);max-width:660px}
.page-head{margin-bottom:34px}
.section{margin-top:44px}
.panel{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:26px;min-width:0}
.panel+.panel{margin-top:16px}
.rule{border-top:1px solid var(--line);margin:25px 0}
.small{font-size:14px;color:var(--muted)}
.mono,code,time,.readout{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums}
.button{min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:10px 18px;background:var(--surface2);color:var(--text);font-weight:750;text-decoration:none;transition:transform .2s ease-out,background .2s ease-out}
.button:hover{background:#2a4547}
.button.primary{background:var(--amber);border-color:var(--amber);color:var(--amber-text)}
.button.primary:hover{background:#ffd17a}
.button:active{transform:translateY(2px)}
input:not([type=range]):not([type=radio]){min-height:45px;width:100%;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);padding:10px 13px}
input[type=range]{width:100%;accent-color:var(--amber);min-height:44px}
label{display:block;font-weight:700;margin-bottom:8px}
.field{max-width:520px}
.field input{margin-top:8px}
.badge{display:inline-block}
.status{font-weight:800}
.status.good{color:var(--good)}
.status.warn{color:var(--warn)}
.status.bad{color:#ffb7a9}
.bottom,.more-sheet{display:none}

@media(max-width:780px){.shell{--shell-gutter:16px}
.desktop-nav,.dashboard-footer,.top .account,.top-brand small{display:none}
.top-inner{min-height:62px;flex-wrap:nowrap;gap:8px}
.top-brand{font-size:14px;line-height:1.2}
.top-account{flex:none}
.main{padding:32px 0 calc(110px + env(safe-area-inset-bottom))}
.bottom{position:fixed;z-index:20;bottom:0;left:0;right:0;display:block;background:var(--surface);border-top:1px solid var(--line);padding:4px 0 max(4px,env(safe-area-inset-bottom))}
.bottom-inner{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.bottom a,.bottom button{min-height:52px;justify-content:center;padding:4px 0;font-size:14px;text-align:center;flex-direction:column;gap:1px}
.bottom button{border:0;color:var(--text);background:transparent;font-weight:750}
.more-sheet{position:fixed;z-index:21;bottom:calc(65px + env(safe-area-inset-bottom));inset-inline:0;background:var(--surface2);border:1px solid var(--line);border-radius:14px;padding:10px}
.more-sheet.open{display:grid}
.panel{padding:19px}
h1{font-size:42px}
}

@media(max-width:390px){.top .pill{font-size:14px;padding:4px 7px}
}

/* Light variant removed: the owner approved the dark night-shift look (23 Nov 2026). */

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

