/* Takeroom design tokens: generated from the Takeroom design system (tokens.json). Edit there, then regenerate. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-sunken: #f3f2ec;
  --border: #e4e2d9;
  --border-strong: #8f8c80;
  --ink: #1c1b16;
  --ink-muted: #5c5a50;
  --ink-subtle: #6f6c61;
  --accent: #3a7d1e;
  --accent-hover: #2c6115;
  --accent-soft: #ebf4e3;
  --on-accent: #ffffff;
  --wave: #cfccc1;
  --wave-played: #34332b;
  --success: var(--accent);
  --success-soft: var(--accent-soft);
  --warning: #8a5300;
  --warning-soft: #fbf0dc;
  --danger: #b42318;
  --danger-soft: #fbe9e7;
  --on-danger: #ffffff;
  --band-accent: var(--accent);
  --on-band-accent: var(--on-accent);
  --shadow-overlay: 0 8px 24px rgba(21,25,24,0.12), 0 1px 3px rgba(21,25,24,0.08);
  color-scheme: light;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* Dark: follows the device unless the person picked Light; data-theme="dark" forces it. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12130f;
    --surface: #1a1b16;
    --surface-sunken: #0d0e0b;
    --border: #2b2c25;
    --border-strong: #6b6c61;
    --ink: #ecebe4;
    --ink-muted: #aba99d;
    --ink-subtle: #8f8d81;
    --accent: #86d45f;
    --accent-hover: #a4e283;
    --accent-soft: #1e3315;
    --on-accent: #0b1a04;
    --wave: #3c3d34;
    --wave-played: #d0cfc5;
    --success: var(--accent);
    --success-soft: var(--accent-soft);
    --warning: #f0b55a;
    --warning-soft: #33260f;
    --danger: #ff8b7d;
    --danger-soft: #3a1714;
    --on-danger: #2a0805;
    --band-accent: var(--accent);
    --on-band-accent: var(--on-accent);
    --shadow-overlay: 0 8px 24px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #12130f;
  --surface: #1a1b16;
  --surface-sunken: #0d0e0b;
  --border: #2b2c25;
  --border-strong: #6b6c61;
  --ink: #ecebe4;
  --ink-muted: #aba99d;
  --ink-subtle: #8f8d81;
  --accent: #86d45f;
  --accent-hover: #a4e283;
  --accent-soft: #1e3315;
  --on-accent: #0b1a04;
  --wave: #3c3d34;
  --wave-played: #d0cfc5;
  --success: var(--accent);
  --success-soft: var(--accent-soft);
  --warning: #f0b55a;
  --warning-soft: #33260f;
  --danger: #ff8b7d;
  --danger-soft: #3a1714;
  --on-danger: #2a0805;
  --band-accent: var(--accent);
  --on-band-accent: var(--on-accent);
  --shadow-overlay: 0 8px 24px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
  color-scheme: dark;
}
