/* ==========================================================================
   PALETTE: Tailwind Green
   Green primary from Tailwind CSS
   ========================================================================== */

[data-palette="tailwind-green"] {
  --background: oklch(0.98 0.005 150);
  --foreground: oklch(0.25 0.03 150);
  --card: oklch(1.00 0 0);
  --card-foreground: oklch(0.25 0.03 150);
  --popover: oklch(1.00 0 0);
  --popover-foreground: oklch(0.25 0.03 150);
  --primary: oklch(0.58 0.17 150);
  --primary-foreground: oklch(1.00 0 0);
  --secondary: oklch(0.94 0.01 150);
  --secondary-foreground: oklch(0.35 0.03 150);
  --muted: oklch(0.94 0.008 150);
  --muted-foreground: oklch(0.52 0.02 150);
  --accent: oklch(0.93 0.03 150);
  --accent-foreground: oklch(0.35 0.03 150);
  --destructive: oklch(0.64 0.21 25.39);
  --border: oklch(0.88 0.01 150);
  --input: oklch(1.00 0 0);
  --ring: oklch(0.58 0.17 150);
  --chart-1: oklch(0.58 0.17 150);
  --chart-2: oklch(0.48 0.18 145);
  --chart-3: oklch(0.41 0.16 150);
  --chart-4: oklch(0.34 0.14 150);
  --chart-5: oklch(0.28 0.12 153);
  --sidebar: oklch(0.97 0.005 150);
  --sidebar-foreground: oklch(0.25 0.03 150);
  --sidebar-primary: oklch(0.58 0.17 150);
  --sidebar-primary-foreground: oklch(1.00 0 0);
  --sidebar-accent: oklch(0.93 0.03 150);
  --sidebar-accent-foreground: oklch(0.35 0.03 150);
  --sidebar-border: oklch(0.88 0.01 150);
  --sidebar-ring: oklch(0.58 0.17 150);
  --radius: 0.25rem;
  --rating: oklch(0.83 0.16 84.43);
}

/* Contrast on - contrast sections */
[data-palette="tailwind-green"].contrast-on,
[data-palette="tailwind-green"] .contrast-on {
  --background: oklch(0.22 0.015 150);
  --foreground: oklch(0.94 0.005 150);
  --card: oklch(0.26 0.015 150);
  --card-foreground: oklch(0.94 0.005 150);
  --popover: oklch(0.26 0.015 150);
  --popover-foreground: oklch(0.94 0.005 150);
  --primary: oklch(0.68 0.17 150);
  --primary-foreground: oklch(1.00 0 0);
  --secondary: oklch(0.30 0.01 150);
  --secondary-foreground: oklch(0.94 0.005 150);
  --muted: oklch(0.26 0.015 150);
  --muted-foreground: oklch(0.73 0.005 150);
  --accent: oklch(0.33 0.03 150);
  --accent-foreground: oklch(0.94 0.005 150);
  --destructive: oklch(0.59 0.22 11.39);
  --border: oklch(0.30 0.01 150);
  --input: oklch(0.13 0.015 150);
  --ring: oklch(0.68 0.17 150);
  --chart-1: oklch(0.68 0.17 150);
  --chart-2: oklch(0.58 0.16 145);
  --chart-3: oklch(0.51 0.14 150);
  --chart-4: oklch(0.44 0.12 150);
  --chart-5: oklch(0.38 0.10 153);
  --sidebar: oklch(0.22 0.015 150);
  --sidebar-foreground: oklch(0.94 0.005 150);
  --sidebar-primary: oklch(0.68 0.17 150);
  --sidebar-primary-foreground: oklch(1.00 0 0);
  --sidebar-accent: oklch(0.33 0.03 150);
  --sidebar-accent-foreground: oklch(0.94 0.005 150);
  --sidebar-border: oklch(0.30 0.01 150);
  --sidebar-ring: oklch(0.68 0.17 150);
  --rating: oklch(0.83 0.16 84.43);
}

/* Contrast off - explicit reset to default mode (e.g., inside contrast-on parents) */
[data-palette="tailwind-green"].contrast-off,
[data-palette="tailwind-green"] .contrast-off {
  --background: oklch(0.98 0.005 150);
  --foreground: oklch(0.25 0.03 150);
  --card: oklch(1.00 0 0);
  --card-foreground: oklch(0.25 0.03 150);
  --popover: oklch(1.00 0 0);
  --popover-foreground: oklch(0.25 0.03 150);
  --primary: oklch(0.58 0.17 150);
  --primary-foreground: oklch(1.00 0 0);
  --secondary: oklch(0.94 0.01 150);
  --secondary-foreground: oklch(0.35 0.03 150);
  --muted: oklch(0.94 0.008 150);
  --muted-foreground: oklch(0.52 0.02 150);
  --accent: oklch(0.93 0.03 150);
  --accent-foreground: oklch(0.35 0.03 150);
  --destructive: oklch(0.64 0.21 25.39);
  --border: oklch(0.88 0.01 150);
  --input: oklch(1.00 0 0);
  --ring: oklch(0.58 0.17 150);
  --chart-1: oklch(0.58 0.17 150);
  --chart-2: oklch(0.48 0.18 145);
  --chart-3: oklch(0.41 0.16 150);
  --chart-4: oklch(0.34 0.14 150);
  --chart-5: oklch(0.28 0.12 153);
  --sidebar: oklch(0.97 0.005 150);
  --sidebar-foreground: oklch(0.25 0.03 150);
  --sidebar-primary: oklch(0.58 0.17 150);
  --sidebar-primary-foreground: oklch(1.00 0 0);
  --sidebar-accent: oklch(0.93 0.03 150);
  --sidebar-accent-foreground: oklch(0.35 0.03 150);
  --sidebar-border: oklch(0.88 0.01 150);
  --sidebar-ring: oklch(0.58 0.17 150);
  --radius: 0.25rem;
  --rating: oklch(0.83 0.16 84.43);}
