/* Exact Theme Studio 1.3 token maps. Sky backdrop is resolved by theme-boot.js. */
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--radius-sm:8px;--radius-md:16px;--radius-lg:24px;--radius-pill:999px;--font-body:Inter,system-ui,-apple-system,sans-serif;--text-xs:12px;--text-sm:14px;--text-base:16px;--text-lg:20px;--text-xl:28px;--text-display:56px;--line-height:1.6;--weight-normal:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--duration-fast:160ms;--duration-soft:320ms;--ease:cubic-bezier(.2,.7,.3,1);--content-max:1280px;--icon-size:20px;--control-height:48px;--font-heading:Inter,system-ui,-apple-system,sans-serif;--brand:#38bdf8;--brand-ink:#020617;--font-sans:Inter,system-ui,-apple-system,sans-serif;--font-mono:"JetBrains Mono","Fira Code",monospace;--icon-secondary:16px;--surface-oled:#000000;--surface-slate-950:#020617;--surface-slate-900:#0f172a;--text-hero-clock:60px;--text-hero-temp:72px;--text-metric-val:30px;--text-card-header:12px;--text-label:11px;--weight-black:900;--weight-heavy:800;--line-hero:1;--tracking-temp:-.05em;--tracking-header:.05em;--blur-glass-panel:16px;--blur-glass-glow:20px;--shadow-glow-sky:0 0 25px -5px rgba(56, 189, 248, 0.2);--shadow-glow-rose:0 0 25px -5px rgba(244, 63, 94, 0.3);--night-filter:sepia(100%) hue-rotate(300deg) saturate(600%) contrast(120%);--bar-height:6px;--chart-stroke:3px;--chart-width:600;--chart-height:90;--phone-width:320px;--hud-radius:18px;--hud-radius-small:14px;--hud-blur:16px;--hud-blur-small:12px;--hud-font-features:"tnum" 1, "zero" 1;--hud-shell-radius:34px;--hud-screen-radius:22px;--hud-shell-border-width:6px;--hud-shell-padding:12px;--hud-tablet-width:1024px;--hud-tablet-ratio:16 / 10;--hud-hero-size:60px;--hud-mobile-hero-size:48px;--hud-gap:12px;--improved-radius:1rem;--improved-blur:16px;--improved-blur-glow:20px;--improved-track-height:6px;--improved-range-width:48px;--improved-hour-width:80px;--improved-chart-height:90;--improved-chart-stroke:3px;--improved-chart-bar-width:8px;--improved-chart-bar-radius:2px;--improved-hero-size:72px;--improved-frame-gap:16px;}
:root[data-theme="dark"]{--canvas:#000000;--surface:#0f172a;--surface-high:#1c2c44;--surface-low:#07101f;--ink:#e2e8f0;--muted:#94a3b8;--subtle:#a5b4c9;--line:#243449;--control-border:#7187a3;--accent:#38bdf8;--gradient-start:#38bdf8;--gradient-end:#22d3ee;--gradient:linear-gradient(115deg,#38bdf8,#22d3ee);--button-gradient:linear-gradient(115deg,#38bdf8,#22d3ee);--on-accent:#020617;--on-button:#020617;--focus:#7dd3fc;--success:#10b981;--danger:#fb7185;--warning:#f59e0b;--track:#30425b;--shadow:0 8px 28px #00000033;--glow:0 0 25px -5px rgba(56,189,248,.2);--scrim:#000000b3;--chart-fill:#38bdf84d;--hero:#071d2c;--hero-ink:#e2e8f0;--hero-muted:#a5c8db;--glass-bg:rgba(15,23,42,0.75);--glass-glow-bg:rgba(15,23,42,0.85);--glass-border:rgba(255,255,255,0.08);--glass-glow-border:rgba(56,189,248,0.25);--neon-sky:#38bdf8;--neon-cyan:#22d3ee;--neon-amber:#f59e0b;--neon-emerald:#10b981;--neon-rose:#f43f5e;--chart-precipitation:rgba(56,189,248,0.3);--hud-outer-canvas:#050608;--hud-canvas:#07090e;--hud-shell-fill:#18181b;--hud-shell-border:#27272a;--hud-fill:linear-gradient(135deg, rgba(22, 27, 39, 0.78) 0%, rgba(13, 17, 24, 0.88) 100%);--hud-small-fill:linear-gradient(135deg, rgba(20, 25, 36, 0.72) 0%, rgba(11, 15, 22, 0.82) 100%);--hud-border:rgba(255, 255, 255, 0.08);--hud-edge:rgba(255, 255, 255, 0.16);--hud-small-border:rgba(255, 255, 255, 0.07);--hud-small-edge:rgba(255, 255, 255, 0.14);--hud-shadow:0 8px 32px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);--hud-small-shadow:0 4px 20px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);--hud-glow-amber:drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));--hud-glow-sky:drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));--improved-canvas:#000000;--improved-fill:rgba(15, 23, 42, 0.75);--improved-glow-fill:rgba(15, 23, 42, 0.85);--improved-border:rgba(255, 255, 255, 0.08);--improved-glow-border:rgba(56, 189, 248, 0.25);--improved-shadow:0 10px 25px -5px rgba(0,0,0,0.1);--improved-glow-shadow:0 0 25px -5px rgba(56, 189, 248, 0.2);--improved-ink:#f8fafc;--improved-muted:#94a3b8;--improved-row-fill:rgba(15,23,42,0.4);--improved-row-border:rgba(30,41,59,0.6);--improved-chart-rain:rgba(56, 189, 248, 0.25);}
:root[data-theme="light"]{--canvas:#eef4f8;--surface:#ffffff;--surface-high:#deedf6;--surface-low:#f3f7fb;--ink:#102536;--muted:#465d70;--subtle:#50677a;--line:#c9dbe8;--control-border:#647c91;--accent:#086b94;--gradient-start:#38bdf8;--gradient-end:#22d3ee;--gradient:linear-gradient(115deg,#38bdf8,#22d3ee);--button-gradient:linear-gradient(115deg,#38bdf8,#22d3ee);--on-accent:#020617;--on-button:#020617;--focus:#086b94;--success:#047857;--danger:#b51e40;--warning:#935200;--track:#c0d5e4;--shadow:0 8px 28px #0f172a08;--glow:0 0 25px -5px rgba(56,189,248,.15);--scrim:#10253699;--chart-fill:#086b9433;--hero:#e4f3fb;--hero-ink:#102536;--hero-muted:#3d5c72;--glass-bg:rgba(255,255,255,0.82);--glass-glow-bg:rgba(255,255,255,0.92);--glass-border:rgba(15,23,42,0.16);--glass-glow-border:rgba(8,107,148,0.4);--neon-sky:#086b94;--neon-cyan:#076d80;--neon-amber:#935200;--neon-emerald:#047857;--neon-rose:#b51e40;--chart-precipitation:rgba(8,107,148,0.3);--hud-outer-canvas:#e8f0f5;--hud-canvas:#f2f7fa;--hud-shell-fill:#d9e5ed;--hud-shell-border:#c4d3df;--hud-fill:linear-gradient(135deg,rgba(255,255,255,0.9) 0%,rgba(232,241,248,0.96) 100%);--hud-small-fill:linear-gradient(135deg,rgba(255,255,255,0.88) 0%,rgba(226,237,245,0.94) 100%);--hud-border:rgba(15,23,42,0.16);--hud-edge:rgba(255,255,255,0.95);--hud-small-border:rgba(15,23,42,0.16);--hud-small-edge:rgba(255,255,255,0.95);--hud-shadow:0 8px 32px 0 rgba(15,23,42,0.08),inset 0 1px 0 0 rgba(255,255,255,0.9);--hud-small-shadow:0 4px 20px 0 rgba(15,23,42,0.06),inset 0 1px 0 0 rgba(255,255,255,0.9);--hud-glow-amber:drop-shadow(0 0 10px rgba(147,82,0,0.12));--hud-glow-sky:drop-shadow(0 0 10px rgba(8,107,148,0.12));--improved-canvas:#f1f5f9;--improved-fill:rgba(255, 255, 255, 0.85);--improved-glow-fill:rgba(255, 255, 255, 0.95);--improved-border:rgba(0, 0, 0, 0.1);--improved-glow-border:rgba(56, 189, 248, 0.5);--improved-shadow:0 10px 25px -5px rgba(0, 0, 0, 0.05);--improved-glow-shadow:0 10px 30px -5px rgba(56, 189, 248, 0.2);--improved-ink:#0f172a;--improved-muted:#465d70;--improved-row-fill:rgba(226,237,245,0.7);--improved-row-border:rgba(100,124,145,0.3);--improved-chart-rain:rgba(8,107,148,0.25);}
:root[data-theme="sky"]{--canvas:#0f172a;--surface:#0f172a;--surface-high:#1c2c44;--surface-low:#07101f;--ink:#e2e8f0;--muted:#94a3b8;--subtle:#a5b4c9;--line:#243449;--control-border:#7187a3;--accent:#38bdf8;--gradient-start:#38bdf8;--gradient-end:#22d3ee;--gradient:linear-gradient(115deg,#38bdf8,#22d3ee);--button-gradient:linear-gradient(115deg,#38bdf8,#22d3ee);--on-accent:#020617;--on-button:#020617;--focus:#7dd3fc;--success:#10b981;--danger:#fb7185;--warning:#f59e0b;--track:#30425b;--shadow:0 8px 28px #00000033;--glow:0 0 25px -5px rgba(56,189,248,.2);--scrim:#000000b3;--chart-fill:#38bdf84d;--hero:#071d2c;--hero-ink:#e2e8f0;--hero-muted:#a5c8db;--glass-bg:rgba(15,23,42,0.75);--glass-glow-bg:rgba(15,23,42,0.85);--glass-border:rgba(255,255,255,0.08);--glass-glow-border:rgba(56,189,248,0.25);--neon-sky:#38bdf8;--neon-cyan:#22d3ee;--neon-amber:#f59e0b;--neon-emerald:#10b981;--neon-rose:#f43f5e;--chart-precipitation:rgba(56,189,248,0.3);--hud-outer-canvas:#050608;--hud-canvas:#07090e;--hud-shell-fill:#18181b;--hud-shell-border:#27272a;--hud-fill:linear-gradient(135deg, rgba(22, 27, 39, 0.78) 0%, rgba(13, 17, 24, 0.88) 100%);--hud-small-fill:linear-gradient(135deg, rgba(20, 25, 36, 0.72) 0%, rgba(11, 15, 22, 0.82) 100%);--hud-border:rgba(255, 255, 255, 0.08);--hud-edge:rgba(255, 255, 255, 0.16);--hud-small-border:rgba(255, 255, 255, 0.07);--hud-small-edge:rgba(255, 255, 255, 0.14);--hud-shadow:0 8px 32px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);--hud-small-shadow:0 4px 20px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);--hud-glow-amber:drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));--hud-glow-sky:drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));--improved-canvas:linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0369a1 100%);--improved-fill:rgba(15, 23, 42, 0.6);--improved-glow-fill:rgba(15, 23, 42, 0.85);--improved-border:rgba(56, 189, 248, 0.2);--improved-glow-border:rgba(56, 189, 248, 0.25);--improved-shadow:0 10px 25px -5px rgba(0,0,0,0.1);--improved-glow-shadow:0 0 25px -5px rgba(56, 189, 248, 0.2);--improved-ink:#f8fafc;--improved-muted:#94a3b8;--improved-row-fill:rgba(15,23,42,0.4);--improved-row-border:rgba(30,41,59,0.6);--improved-chart-rain:rgba(56, 189, 248, 0.25);}
:root[data-theme="night"]{--canvas:#080000;--surface:#1e0000;--surface-high:#350606;--surface-low:#120000;--ink:#ffc9c9;--muted:#f49b9b;--subtle:#e78c8c;--line:#5e2020;--control-border:#bd6666;--accent:#ff3333;--gradient-start:#ff3333;--gradient-end:#ff7777;--gradient:linear-gradient(115deg,#ff3333,#ff7777);--button-gradient:linear-gradient(115deg,#ff3333,#ff7777);--on-accent:#080000;--on-button:#080000;--focus:#ffaaaa;--success:#ff7777;--danger:#ff8e8e;--warning:#ff9999;--track:#622222;--shadow:0 8px 28px #00000033;--glow:0 0 25px -5px rgba(255,51,51,.2);--scrim:#080000cc;--chart-fill:#ff33334d;--hero:#200000;--hero-ink:#ffc9c9;--hero-muted:#f49b9b;--glass-bg:rgba(30,0,0,0.85);--glass-glow-bg:rgba(30,0,0,0.85);--glass-border:rgba(255,51,51,0.2);--glass-glow-border:rgba(255,51,51,0.5);--neon-sky:#ff3333;--neon-cyan:#ff7777;--neon-amber:#ff9999;--neon-emerald:#ff5555;--neon-rose:#ff8e8e;--chart-precipitation:rgba(255,51,51,0.3);--hud-outer-canvas:#080000;--hud-canvas:#0b0000;--hud-shell-fill:#1e0000;--hud-shell-border:#4b1515;--hud-fill:linear-gradient(135deg,rgba(36,8,8,0.9) 0%,rgba(20,0,0,0.96) 100%);--hud-small-fill:linear-gradient(135deg,rgba(30,4,4,0.9) 0%,rgba(15,0,0,0.96) 100%);--hud-border:rgba(255,100,100,0.2);--hud-edge:rgba(255,150,150,0.3);--hud-small-border:rgba(255,100,100,0.2);--hud-small-edge:rgba(255,150,150,0.3);--hud-shadow:0 8px 32px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);--hud-small-shadow:0 4px 20px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);--hud-glow-amber:drop-shadow(0 0 10px rgba(255,100,100,0.25));--hud-glow-sky:drop-shadow(0 0 10px rgba(255,51,51,0.25));--improved-canvas:#080000;--improved-fill:rgba(30,0,0,0.85);--improved-glow-fill:rgba(30,0,0,0.95);--improved-border:rgba(255,100,100,0.2);--improved-glow-border:rgba(255,100,100,0.5);--improved-shadow:0 10px 25px -5px rgba(0,0,0,0.1);--improved-glow-shadow:0 0 25px -5px rgba(255,51,51,0.2);--improved-ink:#ffc9c9;--improved-muted:#f49b9b;--improved-row-fill:rgba(40,0,0,0.7);--improved-row-border:rgba(255,100,100,0.2);--improved-chart-rain:rgba(255,51,51,0.25);}
