:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #898781;
  --gridline: #e1e0d9;
  --border: rgba(11, 11, 11, 0.10);
  --accent: #2a78d6;
  --accent-track: #cde2fb;
  --accent-cs: #9333ea;
  --good: #0ca30c;
  --warning: #fab219;
  --critical: #d03b3b;
  --heat-1: #cde2fb;
  --heat-2: #6da7ec;
  --heat-3: #2a78d6;
  --heat-4: #184f95;
  --ops-grey: #e9e8e3;
}

/* Follows the OS/browser setting only — no manual toggle. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0d0d0d;
    --surface: #1a1a19;
    --text-primary: #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted: #898781;
    --gridline: #2c2c2a;
    --border: rgba(255, 255, 255, 0.10);
    --accent: #3987e5;
    --accent-track: #184f95;
    --accent-cs: #c084fc;
    --good: #0ca30c;
    --warning: #fab219;
    --critical: #e66767;
    --heat-1: #184f95;
    --heat-2: #2a78d6;
    --heat-3: #5598e7;
    --heat-4: #86b6ef;
    --ops-grey: #232322;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text-primary);
  min-height: 100vh;
}
