/* Kamadaya — variables derivadas de tokens.json (temas: light, dark, contrast) */
:root, [data-theme="light"] {
  --bg: #ffffff; --bg-grouped: #f2f2f7; --bg-raised: #ffffff; --bg-elevated: #ffffff;
  --label: #000000; --label-secondary: rgba(60,60,67,0.6); --label-tertiary: rgba(60,60,67,0.3);
  --separator: rgba(60,60,67,0.29); --separator-opaque: #c6c6c8; --outline: rgba(0,0,0,0);
  --fill: rgba(120,120,128,0.2); --fill-secondary: rgba(120,120,128,0.16); --fill-tertiary: rgba(118,118,128,0.12);
  --blue: #007aff; --green: #34c759; --red: #ff3b30; --orange: #ff9500; --gray: #8e8e93;
  --gray-2: #aeaeb2; --gray-3: #c7c7cc; --gray-4: #d1d1d6; --gray-5: #e5e5ea; --gray-6: #f2f2f7;
  --tint: var(--blue); --link: var(--blue); --on-tint: #ffffff; --tint-soft: rgba(0,122,255,0.15); --destructive: var(--red);
  --material-chrome: rgba(255,255,255,0.6); --material-sheet: rgba(255,255,255,0.8);
  --material-edge: rgba(255,255,255,0.4); --scrim: rgba(0,0,0,0.2);
  --shadow-chip: 0 1px 2px rgba(0,0,0,0.08), 0 1px 1px rgba(0,0,0,0.04);
  --shadow-popover: 0 4px 12px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.12);
  --shadow-sheet: 0 -1px 12px rgba(0,0,0,0.06), 0 -12px 48px rgba(0,0,0,0.12);
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 5px #007aff;
}
[data-theme="dark"] {
  --bg: #000000; --bg-grouped: #000000; --bg-raised: #1c1c1e; --bg-elevated: #2c2c2e;
  --label: #ffffff; --label-secondary: rgba(235,235,245,0.6); --label-tertiary: rgba(235,235,245,0.3);
  --separator: rgba(84,84,88,0.6); --separator-opaque: #38383a; --outline: rgba(0,0,0,0);
  --fill: rgba(120,120,128,0.36); --fill-secondary: rgba(120,120,128,0.32); --fill-tertiary: rgba(118,118,128,0.24);
  --blue: #0a84ff; --green: #30d158; --red: #ff453a; --orange: #ff9f0a; --gray: #8e8e93;
  --gray-2: #636366; --gray-3: #48484a; --gray-4: #3a3a3c; --gray-5: #2c2c2e; --gray-6: #1c1c1e;
  --tint-soft: rgba(10,132,255,0.24);
  --material-chrome: rgba(28,28,30,0.6); --material-sheet: rgba(28,28,30,0.82);
  --material-edge: rgba(255,255,255,0.12); --scrim: rgba(0,0,0,0.48);
  --shadow-chip: 0 1px 2px rgba(0,0,0,0.6);
  --shadow-popover: 0 12px 32px rgba(0,0,0,0.6);
  --shadow-sheet: 0 -12px 48px rgba(0,0,0,0.72);
  --focus-ring: 0 0 0 2px #000000, 0 0 0 5px #0a84ff;
}
[data-theme="contrast"] {
  --label-secondary: #3c3c43; --label-tertiary: rgba(60,60,67,0.6);
  --separator: rgba(60,60,67,0.6); --separator-opaque: #8a8a8e; --outline: rgba(60,60,67,0.6);
  --fill: rgba(60,60,67,0.6);
  --blue: #0036c0; --green: #248a3d; --red: #a00010; --orange: #c93400; --gray: #6c6c70;
  --tint-soft: rgba(0,54,192,0.1);
  --material-chrome: rgba(255,255,255,0.94); --material-sheet: #ffffff;
  --material-edge: rgba(60,60,67,0.6); --scrim: rgba(0,0,0,0.4);
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 5px #0036c0;
}
:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-pill: 9999px;
  --blur-chip: 10px; --blur-bar: 20px; --blur-sheet: 30px; --saturate-material: 180%;
}
