/* ─── One Light (default) / One Dark (dark) ──────────────────────────────── */

:root {
  --bg: #fafafa;
  --bg-subtle: #ebebec;
  --surface: #dcdcdd;
  --border: #c9c9ca;
  --text: #242529;
  --text-muted: #a2a3a7;
  --accent: #5c78e2;
  --code-bg: #ebebec;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #282c33;
    --bg-subtle: #2f343e;
    --surface: #3b414d;
    --border: #464b57;
    --text: #acb2be;
    --text-muted: #5d636f;
    --accent: #74ade8;
    --code-bg: #2f343e;
  }
}

/* ─── Print: ignore theming, force legible dark-on-white ─────────────────── */
@media print {
  :root {
    --bg: #ffffff;
    --bg-subtle: #ffffff;
    --surface: #ffffff;
    --border: #999999;
    --text: #000000;
    --text-muted: #333333;
    --accent: #000000;
    --code-bg: #f5f5f5;
  }
}
