:root {
  color-scheme: dark;
  --bg: #000000; --surface: #121212; --raised: #1e1e1e;
  --text: #ededed; --muted: #a6a6a6; --outline: #2e2e2e;
  --accent: #ff7a1a; --on-accent: #000000; --accent-soft: #301b0e;
  --error: #ff6b5e; --success: #95c39a;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, monospace;
  --body: 1rem; --small: .85rem; --title: 1.35rem; --display: clamp(2rem,4vw,3rem);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --radius: 16px; --radius-small: 8px; --pill: 999px; --edge: clamp(16px,3vw,40px);
  --card-pad: var(--s5); --content-width: 1200px; --sidebar: 248px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f6f3; --surface: #ffffff; --raised: #eeede9;
  --text: #23221f; --muted: #64625d; --outline: #d7d4ce;
  --accent: #a84200; --on-accent: #ffffff; --accent-soft: #fff0e5;
  --error: #b02c21; --success: #366d3d;
}
:root[data-font="large"] { --body: 1.125rem; --small: .95rem; }
:root[data-density="compact"] { --card-pad: var(--s4); }
