/* ==========================================================================
   PALETTE: Tailwind Dark Gray
   Pure neutral gray primary on dark background
   ========================================================================== */

[data-palette="tailwind-dark-gray"] {
  --background: oklch(0.15 0.015 260);
  --foreground: oklch(0.95 0.005 260);
  --card: oklch(0.20 0.015 260);
  --card-foreground: oklch(0.95 0.005 260);
  --popover: oklch(0.20 0.015 260);
  --popover-foreground: oklch(0.95 0.005 260);
  --primary: oklch(0.80 0.015 260);
  --primary-foreground: oklch(0.15 0.015 260);
  --secondary: oklch(0.25 0.02 260);
  --secondary-foreground: oklch(0.95 0.005 260);
  --muted: oklch(0.25 0.02 260);
  --muted-foreground: oklch(0.60 0.02 260);
  --accent: oklch(0.25 0.02 260);
  --accent-foreground: oklch(0.95 0.005 260);
  --destructive: oklch(0.64 0.25 19.69);
  --border: oklch(0.95 0.005 260 / 15%);
  --input: oklch(0.08 0.015 260);
  --ring: oklch(0.80 0.015 260);
  --chart-1: oklch(0.80 0.015 260);
  --chart-2: oklch(0.70 0.013 255);
  --chart-3: oklch(0.60 0.01 260);
  --chart-4: oklch(0.50 0.008 260);
  --chart-5: oklch(0.40 0.005 263);
  --sidebar: oklch(0.20 0.015 260);
  --sidebar-foreground: oklch(0.95 0.005 260);
  --sidebar-primary: oklch(0.80 0.015 260);
  --sidebar-primary-foreground: oklch(0.15 0.015 260);
  --sidebar-accent: oklch(0.25 0.02 260);
  --sidebar-accent-foreground: oklch(0.95 0.005 260);
  --sidebar-border: oklch(0.95 0.005 260 / 15%);
  --sidebar-ring: oklch(0.80 0.015 260);
  --radius: 0.25rem;
  --rating: oklch(0.83 0.16 84.43);
}

/* Contrast on — intentionally identical to base: this palette has no contrasted sections */
[data-palette="tailwind-dark-gray"].contrast-on,
[data-palette="tailwind-dark-gray"] .contrast-on {
  --background: oklch(0.15 0.015 260);
  --foreground: oklch(0.95 0.005 260);
  --card: oklch(0.20 0.015 260);
  --card-foreground: oklch(0.95 0.005 260);
  --popover: oklch(0.20 0.015 260);
  --popover-foreground: oklch(0.95 0.005 260);
  --primary: oklch(0.80 0.015 260);
  --primary-foreground: oklch(0.15 0.015 260);
  --secondary: oklch(0.25 0.02 260);
  --secondary-foreground: oklch(0.95 0.005 260);
  --muted: oklch(0.25 0.02 260);
  --muted-foreground: oklch(0.60 0.02 260);
  --accent: oklch(0.25 0.02 260);
  --accent-foreground: oklch(0.95 0.005 260);
  --destructive: oklch(0.64 0.25 19.69);
  --border: oklch(0.95 0.005 260 / 15%);
  --input: oklch(0.08 0.015 260);
  --ring: oklch(0.80 0.015 260);
  --chart-1: oklch(0.80 0.015 260);
  --chart-2: oklch(0.70 0.013 255);
  --chart-3: oklch(0.60 0.01 260);
  --chart-4: oklch(0.50 0.008 260);
  --chart-5: oklch(0.40 0.005 263);
  --sidebar: oklch(0.20 0.015 260);
  --sidebar-foreground: oklch(0.95 0.005 260);
  --sidebar-primary: oklch(0.80 0.015 260);
  --sidebar-primary-foreground: oklch(0.15 0.015 260);
  --sidebar-accent: oklch(0.25 0.02 260);
  --sidebar-accent-foreground: oklch(0.95 0.005 260);
  --sidebar-border: oklch(0.95 0.005 260 / 15%);
  --sidebar-ring: oklch(0.80 0.015 260);
  --rating: oklch(0.83 0.16 84.43);
}

/* Contrast off - explicit reset to default mode (e.g., inside contrast-on parents) */
[data-palette="tailwind-dark-gray"].contrast-off,
[data-palette="tailwind-dark-gray"] .contrast-off {
  --background: oklch(0.15 0.015 260);
  --foreground: oklch(0.95 0.005 260);
  --card: oklch(0.20 0.015 260);
  --card-foreground: oklch(0.95 0.005 260);
  --popover: oklch(0.20 0.015 260);
  --popover-foreground: oklch(0.95 0.005 260);
  --primary: oklch(0.80 0.015 260);
  --primary-foreground: oklch(0.15 0.015 260);
  --secondary: oklch(0.25 0.02 260);
  --secondary-foreground: oklch(0.95 0.005 260);
  --muted: oklch(0.25 0.02 260);
  --muted-foreground: oklch(0.60 0.02 260);
  --accent: oklch(0.25 0.02 260);
  --accent-foreground: oklch(0.95 0.005 260);
  --destructive: oklch(0.64 0.25 19.69);
  --border: oklch(0.95 0.005 260 / 15%);
  --input: oklch(0.08 0.015 260);
  --ring: oklch(0.80 0.015 260);
  --chart-1: oklch(0.80 0.015 260);
  --chart-2: oklch(0.70 0.013 255);
  --chart-3: oklch(0.60 0.01 260);
  --chart-4: oklch(0.50 0.008 260);
  --chart-5: oklch(0.40 0.005 263);
  --sidebar: oklch(0.20 0.015 260);
  --sidebar-foreground: oklch(0.95 0.005 260);
  --sidebar-primary: oklch(0.80 0.015 260);
  --sidebar-primary-foreground: oklch(0.15 0.015 260);
  --sidebar-accent: oklch(0.25 0.02 260);
  --sidebar-accent-foreground: oklch(0.95 0.005 260);
  --sidebar-border: oklch(0.95 0.005 260 / 15%);
  --sidebar-ring: oklch(0.80 0.015 260);
  --radius: 0.25rem;
  --rating: oklch(0.83 0.16 84.43);}
