:root, [data-theme="dark"] {
  --surface-canvas: #101418;
  --surface-panel: #171d23;
  --surface-raised: #202830;
  --surface-overlay: #283240;
  --surface-steel-wash: rgba(205,214,221,0.10);
  --line: #36424e;
  --line-strong: #71818f;
  --ink: #eef2f5;
  --ink-muted: #a7b3be;
  --ink-faint: #91a0ad;
  --steel: #cdd6dd;
  --steel-hover: #e2e8ed;
  --on-steel: #101418;
  --signal: #8dbfff;
  --signal-bg: #213245;
  --up: #64d5a4;
  --up-bg: #1b352d;
  --down: #ff9296;
  --down-bg: #39262b;
  --wait: #edc078;
  --wait-bg: #342c20;
  --chart-grid: var(--line);
  --chart-observed: var(--steel);
  --chart-proposed: var(--signal);
  --chart-invalidation: var(--down);
  --shadow-none: none;
  --shadow-overlay: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 1px #36424e;
}
[data-theme="light"] {
  --surface-canvas: #f4f6f7;
  --surface-panel: #ffffff;
  --surface-raised: #e8edf0;
  --surface-overlay: #ffffff;
  --surface-steel-wash: rgba(36,51,64,0.08);
  --line: #d5dce2;
  --line-strong: #75838e;
  --ink: #17212a;
  --ink-muted: #4c5d6a;
  --ink-faint: #5c6973;
  --steel: #243340;
  --steel-hover: #1a2631;
  --on-steel: #ffffff;
  --signal: #005da8;
  --signal-bg: #dcebf8;
  --up: #096844;
  --up-bg: #ddf3e9;
  --down: #ae293a;
  --down-bg: #fbe3e5;
  --wait: #765000;
  --wait-bg: #fbefd6;
  --chart-grid: var(--line);
  --chart-observed: var(--steel);
  --chart-proposed: var(--signal);
  --chart-invalidation: var(--down);
  --shadow-none: none;
  --shadow-overlay: 0 8px 24px rgba(23,33,42,0.16), 0 0 0 1px #d5dce2;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --row-dense: 36px;
  --row-touch: 44px;
  --header-h: 64px;
  --watchlist-w: 224px;
  --inspector-w: 336px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --chamfer: 6px;
  --duration-hover: 160ms;
  --duration-reveal: 200ms;
  --duration-evidence: 180ms;
  --font-display: "Chakra Petch", "Bahnschrift", "DIN Alternate", sans-serif;
  --font-sans: "Geist", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", "Cascadia Mono", "SF Mono", Consolas, monospace;
}
.display-xl{font-family:var(--font-display);font-size:40px;line-height:44px;font-weight:600;letter-spacing:-0.01em;}
.display-lg{font-family:var(--font-display);font-size:28px;line-height:32px;font-weight:600;}
.title{font-family:var(--font-display);font-size:20px;line-height:26px;font-weight:600;}
.ticker{font-family:var(--font-display);font-size:20px;line-height:24px;font-weight:600;letter-spacing:0.04em;}
.overline{font-family:var(--font-display);font-size:11px;line-height:16px;font-weight:500;letter-spacing:0.10em;}
.heading{font-family:var(--font-sans);font-size:16px;line-height:24px;font-weight:600;}
.body-lg{font-family:var(--font-sans);font-size:16px;line-height:24px;font-weight:400;}
.body{font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:400;}
.label{font-family:var(--font-sans);font-size:13px;line-height:18px;font-weight:500;}
.caption{font-family:var(--font-sans);font-size:12px;line-height:16px;font-weight:400;}
.data-lg{font-family:var(--font-mono);font-size:24px;line-height:28px;font-weight:500;}
.data{font-family:var(--font-mono);font-size:14px;line-height:20px;font-weight:500;}
.data-sm{font-family:var(--font-mono);font-size:12px;line-height:16px;font-weight:400;}
