:root {
  --bg-main: #F5F2EB;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FAF8F4;
  --bg-muted: #EBE6DC;
  --text-primary: #171614;
  --text-secondary: #423F39;
  --text-muted: #666158;
  --border-subtle: #DDD7CA;
  --border-strong: #26231F;
  --border-box: #171614;
  --accent-color: #B83A1B;
  --accent-hover: #992D12;
  --accent-soft: rgba(184, 58, 27, 0.12);
  --accent-contrast: #FFFFFF;
  --pencil-ink: #1F4E79;
  --success-color: #1D6B42;
  --success-soft: rgba(29, 107, 66, 0.12);
  --error-color: #B91C1C;
  --error-soft: rgba(185, 28, 28, 0.14);
  --cell-given-bg: #F3EFE6;
  --cell-selected: rgba(184, 58, 27, 0.18);
  --cell-peer: rgba(23, 22, 20, 0.05);
  --cell-same: rgba(31, 78, 121, 0.14);
  --cell-conflict: rgba(185, 28, 28, 0.16);
  --font-display: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 1px 2px rgba(23, 22, 20, 0.06);
}

[data-theme="dark"] {
  --bg-main: #121210;
  --bg-surface: #1B1A17;
  --bg-elevated: #23211D;
  --bg-muted: #2A2822;
  --text-primary: #F2EFE9;
  --text-secondary: #CFCAC0;
  --text-muted: #9D978C;
  --border-subtle: #312E27;
  --border-strong: #EAE4D7;
  --border-box: #D8D1C5;
  --accent-color: #E05A36;
  --accent-hover: #EE6E4B;
  --accent-soft: rgba(224, 90, 54, 0.18);
  --accent-contrast: #121210;
  --pencil-ink: #7FB3E6;
  --success-color: #4ADE80;
  --success-soft: rgba(74, 222, 128, 0.14);
  --error-color: #F87171;
  --error-soft: rgba(248, 113, 113, 0.18);
  --cell-given-bg: #22201C;
  --cell-selected: rgba(224, 90, 54, 0.25);
  --cell-peer: rgba(242, 239, 233, 0.06);
  --cell-same: rgba(127, 179, 230, 0.18);
  --cell-conflict: rgba(248, 113, 113, 0.22);
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.35);
}
