/* Tirar Cifra: blue studio palette. Token names remain shared with the app. */
:root,
[data-theme="light"] {
  color-scheme: light;
  --font-sans: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  --font-display: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  
  --font-chord: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  
  --canvas: #f2f7fc;
  --canvas-secondary: #e6eff9;
  --surface: #ffffff;
  --surface-2: #edf3fa;
  --surface-hover: #e0ebf7;
  --surface-elevated: #ffffff;

  
  --ink: #172e58;
  --ink-secondary: #465b78;
  --ink-tertiary: #5c6e87;
  --stroke: #d6e1ee;
  --stroke-strong: #b8cbdf;

  
  --accent: #2456c7;
  --accent-hover: #204bb2;
  --accent-on: #ffffff;
  --accent-soft: #e8efff;
  --accent-rgb: 36, 86, 199;
  --accent-alt: #214ba4;
  
  --accent-strong: #1d4399;

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

  
  --player-h: 64px;
  --player-bg: #172e58;
  --player-ink: #f2f7fc;
  --player-track: #405b83;

  --wave-start: #2456c7;
  --wave-end: #6fa7ed;
  --wave-inactive: #ceddec;

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

  --header-bg: rgba(242, 247, 252, .96);
  --glow-one: rgba(36, 86, 199, .10);
  --glow-two: rgba(47, 158, 91, .06);

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

  --radius-xs: 5px;
  --radius-sm: 9px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --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: #101e34;
  --canvas-secondary: #14253f;
  --surface: #192c48;
  --surface-2: #203553;
  --surface-hover: #2a4162;
  --surface-elevated: #253b59;

  --ink: #edf4ff;
  --ink-secondary: #bdcde2;
  --ink-tertiary: #9eafc7;
  --stroke: #304967;
  --stroke-strong: #496484;

  --accent: #8ab6ff;
  --accent-hover: #a5c7ff;
  
  --accent-on: #102143;
  --accent-soft: #213c68;
  --accent-rgb: 138, 182, 255;
  --accent-alt: #bbd5ff;
  
  --accent-strong: var(--accent);

  --now-bg: #293e60;
  --now-bar: var(--accent);

  --player-bg: #0a1527;
  --player-ink: #edf4ff;
  --player-track: #405677;

  --wave-start: #8ab6ff;
  --wave-end: #bcdbff;
  --wave-inactive: #3f5572;

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

  --header-bg: rgba(16, 30, 52, .96);
  --glow-one: rgba(138, 182, 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);
}