/* Visual tokens, direction E (approved 2026-12-05). Light is the default; dark only via the button. */
:root {
  color-scheme: light;
  --paper: #f7f5ef; --surface: #f7f5ef; --ink: #1f1f1f; --ink-2: #67655f; --rule: #e3e0d7;
  --grid: #ebe8e0; --axis: #cac6bb; --goal-zone: #cfe9d5; --goal-wash: #e6f4e9; --goal-line: #b9d9c0;
  --series-1: #1f1f1f; --noise-wash: rgba(0,0,0,.06); --med: #bdbdbd;
  --accent: #5b2a6e; --on-accent: #ffffff;
  --good: #0aac23; --warning: #f5a300; --critical: #dc3c3d; --none: #c8c8c8;
  --focus: #5b2a6e; --tip-bg: #1f1f1f; --tip-ink: #ffffff;
  --font: "Avenir Next W1G", "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --chart-font: var(--font);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #161618; --surface: #161618; --ink: #ededed; --ink-2: #a0a0a0; --rule: #2c2c2e;
  --grid: #232325; --axis: #48484b; --goal-zone: #24503a; --goal-wash: #17241c; --goal-line: #2a4a36;
  --series-1: #ededed; --noise-wash: rgba(255,255,255,.07); --med: #5a5a5d;
  --accent: #c49ad6; --on-accent: #161618; --none: #5a5a5d;
  --focus: #c49ad6; --tip-bg: #ededed; --tip-ink: #161618;
}
