:root {
  --bg: #f8f6f1;
  --surface: #ffffff;
  --surface-subtle: #f2efe8;
  --ink: #181b20;
  --ink-muted: #525965;
  --ink-faint: #6c7380;
  --rule: #ddd7cc;
  --rule-strong: #c6bfb1;

  --accent: #0f5c6e;
  --accent-strong: #09414f;
  --accent-fill: rgba(15, 92, 110, 0.14);
  --accent-bar: rgba(15, 92, 110, 0.22);

  --peer: #525b68;
  --peer-fill: rgba(82, 91, 104, 0.12);
  --peer-bar: rgba(82, 91, 104, 0.18);

  --overlap-bg: rgba(180, 114, 24, 0.13);
  --overlap-stroke: rgba(164, 96, 12, 0.45);
  --overlap-ink: #7d4707;
  --overlap-pill-bg: #fcf2e2;
  --overlap-pill-border: #e5c99c;

  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-card: 10px;
  --shadow-card: 0 2px 10px rgba(20, 24, 30, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --surface: #1c2026;
    --surface-subtle: #232830;
    --ink: #eff2f6;
    --ink-muted: #b6bec9;
    --ink-faint: #8c95a3;
    --rule: #2e343e;
    --rule-strong: #434b59;

    --accent: #4fb3c8;
    --accent-strong: #85d1e1;
    --accent-fill: rgba(79, 179, 200, 0.22);
    --accent-bar: rgba(79, 179, 200, 0.28);

    --peer: #9aa4b2;
    --peer-fill: rgba(154, 164, 178, 0.18);
    --peer-bar: rgba(154, 164, 178, 0.22);

    --overlap-bg: rgba(235, 168, 68, 0.15);
    --overlap-stroke: rgba(235, 168, 68, 0.5);
    --overlap-ink: #f3c16e;
    --overlap-pill-bg: #2e2415;
    --overlap-pill-border: #6e5226;

    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
  }
}
