/**
 * Tweakcn theme: Claude + (cmdght103000n04lh3e2ae93r)
 * https://tweakcn.com/themes/cmdght103000n04lh3e2ae93r
 * Tokens in HSL (shadcn / Tailwind v4 style).
 */

html[data-theme="light"] {
  --background: hsl(48 33.3333% 97.0588%);
  --foreground: hsl(60 2.5641% 7.6471%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(60 2.5641% 7.6471%);
  --popover: hsl(0 0% 100%);
  --popover-foreground: hsl(60 2.5641% 7.6471%);
  --primary: hsl(14.7692 63.1068% 59.6078%);
  --primary-foreground: hsl(60 2.5641% 7.6471%);
  --secondary: hsl(48 33.3333% 97.0588%);
  --secondary-foreground: hsl(60 2.5641% 7.6471%);
  --muted: hsl(48 20% 92%);
  --muted-foreground: hsl(51.4286 8.8608% 40%);
  --accent: hsl(48 15% 90%);
  --accent-foreground: hsl(60 2.5641% 7.6471%);
  --destructive: hsl(0 84.2365% 60.1961%);
  --destructive-foreground: hsl(0 0% 100%);
  --border: hsl(52.5000 5.1282% 82%);
  --input: hsl(52.5000 5.1282% 82%);
  --ring: hsl(14.7692 63.1068% 59.6078%);
  --radius: 1rem;
  --chart-1: hsl(14.7692 63.1068% 59.6078%);
  --chart-2: hsl(173 58% 39%);
  --chart-3: hsl(197 37% 24%);
  --chart-4: hsl(43 74% 66%);
  --chart-5: hsl(27 87% 67%);
}

html:not([data-theme="light"]) {
  --background: hsl(60 2.7027% 14.5098%);
  --foreground: hsl(60 6.6667% 94.1176%);
  --card: hsl(60 1.1494% 17.0588%);
  --card-foreground: hsl(48 33.3333% 97.0588%);
  --popover: hsl(60 1.1494% 19%);
  --popover-foreground: hsl(48 33.3333% 97.0588%);
  --primary: hsl(14.7692 63.1068% 59.6078%);
  --primary-foreground: hsl(60 2.5641% 7.6471%);
  --secondary: hsl(48 33.3333% 97.0588%);
  --secondary-foreground: hsl(60 2.5641% 7.6471%);
  --muted: hsl(60 3.8462% 10.1961%);
  --muted-foreground: hsl(51.4286 8.8608% 69.0196%);
  --accent: hsl(48 10.6383% 9.2157%);
  --accent-foreground: hsl(51.4286 25.9259% 94.7059%);
  --destructive: hsl(0 84.2365% 60.1961%);
  --destructive-foreground: hsl(60 6.6667% 94.1176%);
  --border: hsl(60 5.0847% 23.1373%);
  --input: hsl(52.5000 5.1282% 30.5882%);
  --ring: hsl(14.7692 63.1068% 59.6078%);
  --radius: 1rem;
  --chart-1: hsl(14.7692 63.1068% 59.6078%);
  --chart-2: hsl(160 60% 45%);
  --chart-3: hsl(30 80% 55%);
  --chart-4: hsl(280 65% 60%);
  --chart-5: hsl(340 75% 55%);
}

/* Bridge → variabili legacy dashboard (Pietra & Oro → Tweakcn) */
html {
  --black: var(--background);
  --black-2: var(--card);
  --black-3: var(--muted);
  --white: var(--foreground);
  --text: var(--foreground);
  --text-muted: var(--muted-foreground);
  --gold: var(--primary);
  --gold-light: hsl(14.7692 63.1068% 68%);
  --gold-dark: hsl(14.7692 63.1068% 48%);
  --success: hsl(142 71% 45%);
  --danger: var(--destructive);
  --warning: hsl(38 92% 50%);
  --info: hsl(199 89% 48%);
  --dash-surface-elevated: color-mix(in srgb, var(--card) 92%, var(--foreground) 8%);
  --ra-primary-04: color-mix(in srgb, var(--primary) 4%, transparent);
  --ra-primary-05: color-mix(in srgb, var(--primary) 5%, transparent);
  --ra-primary-08: color-mix(in srgb, var(--primary) 8%, transparent);
  --ra-primary-10: color-mix(in srgb, var(--primary) 10%, transparent);
  --ra-primary-12: color-mix(in srgb, var(--primary) 12%, transparent);
  --ra-primary-15: color-mix(in srgb, var(--primary) 15%, transparent);
  --ra-primary-18: color-mix(in srgb, var(--primary) 18%, transparent);
  --ra-primary-20: color-mix(in srgb, var(--primary) 20%, transparent);
  --ra-primary-25: color-mix(in srgb, var(--primary) 25%, transparent);
  --ra-primary-28: color-mix(in srgb, var(--primary) 28%, transparent);
  --ra-primary-30: color-mix(in srgb, var(--primary) 30%, transparent);
  --ra-primary-35: color-mix(in srgb, var(--primary) 35%, transparent);
  --ra-primary-40: color-mix(in srgb, var(--primary) 40%, transparent);
  --ra-primary-45: color-mix(in srgb, var(--primary) 45%, transparent);
}
