/* Saca Acordes: rehearsal blue. Token names remain compatible with the shared app. */
:root,
[data-theme="light"] {
  color-scheme: light;
  --font-sans: "Avenir Next", "Trebuchet MS", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  
  --font-chord: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  
  --canvas: #f3f6fc;
  --canvas-secondary: #e8eef9;
  --surface: #ffffff;
  --surface-2: #eff3fb;
  --surface-hover: #e4ebf8;
  --surface-elevated: #ffffff;

  
  --ink: #14274b;
  --ink-secondary: #4b5e7a;
  --ink-tertiary: #61728b;
  --stroke: #dce4f0;
  --stroke-strong: #c4d0e5;

  
  --accent: #245bd6;
  --accent-hover: #1e4db9;
  --accent-on: #ffffff;
  --accent-soft: #e9f0ff;
  --accent-rgb: 36, 91, 214;
  --accent-alt: #1a49ac;
  
  --accent-strong: #1947a5;

  
  --chord: var(--accent);
  --lyric: var(--ink);
  
  --now-bg: #e8efff;
  --now-bar: var(--accent);
  
  --sheet-size: 17px;

  
  --player-h: 64px;
  --player-bg: #14274b;
  --player-ink: #f3f6fc;
  --player-track: #38517a;

  --wave-start: #245bd6;
  --wave-end: #6d9aff;
  --wave-inactive: #cbd7ed;

  --positive: #2f9e5b;
  --positive-soft: #e8f6ee;
  
  --positive-strong: #1f7a45;
  --warning: #a9700f;
  --warning-soft: #fdf3e2;
  --danger: #b3261e;
  --danger-soft: #fdeeec;

  --header-bg: rgba(255, 255, 255, .88);
  --glow-one: rgba(36, 91, 214, .10);
  --glow-two: rgba(47, 158, 91, .06);

  --shadow-sm: 0 1px 2px rgba(20, 39, 75, .05), 0 4px 14px rgba(20, 39, 75, .045);
  --shadow-md: 0 10px 28px rgba(20, 39, 75, .08);
  --shadow-lg: 0 24px 60px rgba(20, 39, 75, .12);

  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --container: 1180px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --ease: cubic-bezier(.22, .7, .2, 1);
  --motion-fast: 150ms;
  --motion-med: 240ms;
}

[data-theme="dark"] {
  color-scheme: dark;
  
  --canvas: #101c33;
  --canvas-secondary: #14213b;
  --surface: #192944;
  --surface-2: #203352;
  --surface-hover: #293e60;
  --surface-elevated: #243959;

  --ink: #edf3ff;
  --ink-secondary: #b8c9e5;
  --ink-tertiary: #94aaca;
  --stroke: #304363;
  --stroke-strong: #40577b;

  --accent: #91b5ff;
  --accent-hover: #b3ccff;
  
  --accent-on: #102448;
  --accent-soft: #223b66;
  --accent-rgb: 145, 181, 255;
  --accent-alt: #b3ccff;
  
  --accent-strong: var(--accent);

  --now-bg: #223b66;
  --now-bar: var(--accent);

  --player-bg: #0b1529;
  --player-ink: #edf3ff;
  --player-track: #3f567b;

  --wave-start: #91b5ff;
  --wave-end: #c1d5ff;
  --wave-inactive: #3a5072;

  --positive: #5cc98a;
  --positive-soft: #16311f;
  --positive-strong: var(--positive);
  --warning: #e8b25f;
  --warning-soft: #33280f;
  --danger: #ff8b7d;
  --danger-soft: #3a1a16;

  --header-bg: rgba(16, 28, 51, .88);
  --glow-one: rgba(145, 181, 255, .10);
  --glow-two: rgba(92, 201, 138, .05);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
}