/*! Eclipse UI · Carbón: shadcn.css
 *  Las variables de shadcn/ui (Tailwind v4) con los valores de esta personalidad,
 *  en claro y oscuro. Reemplaza tus bloques :root y .dark de globals.css.
 *  Lo que shadcn no tiene (densidad, movimiento, la voz de los botones) vive
 *  en eclipse-ui.css; DESIGN.md lo explica. Licencia: LICENCIA.md.
 *  Texto sobre bg-destructive: text-destructive-foreground, no text-white
 *  (en oscuro el rojo es claro, para leerse como texto sobre el fondo).
 */
:root {
  --radius: 0.9375rem;
  --background: oklch(0.985 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.145 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.967 0.001 286.4);
  --secondary-foreground: oklch(0.145 0 0);
  --muted: oklch(0.967 0.001 286.4);
  --muted-foreground: oklch(0.442 0.015 285.8);
  --accent: oklch(0.967 0.001 286.4);
  --accent-foreground: oklch(0.145 0 0);
  --destructive: oklch(0.529 0.146 29.1);
  --destructive-foreground: oklch(0.985 0 0);
  --border: oklch(0.92 0.004 286.3);
  --input: oklch(0.92 0.004 286.3);
  --ring: oklch(0.588 0.139 242);
  --chart-1: oklch(0.145 0 0);
  --chart-2: oklch(0.517 0.064 153.8);
  --chart-3: oklch(0.663 0.111 78.4);
  --chart-4: oklch(0.442 0.015 285.8);
  --chart-5: oklch(0.529 0.146 29.1);
  --sidebar: oklch(0.958 0.001 286.4);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.145 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.967 0.001 286.4);
  --sidebar-accent-foreground: oklch(0.145 0 0);
  --sidebar-border: oklch(0.92 0.004 286.3);
  --sidebar-ring: oklch(0.588 0.139 242);
  /* Las fuentes de la personalidad (Google Fonts, o las de /v1/fonts). */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
}

.dark {
  --background: oklch(0.179 0.004 286);
  --foreground: oklch(0.961 0.001 286.4);
  --card: oklch(0.228 0.006 285.9);
  --card-foreground: oklch(0.961 0.001 286.4);
  --popover: oklch(0.228 0.006 285.9);
  --popover-foreground: oklch(0.961 0.001 286.4);
  --primary: oklch(0.961 0.001 286.4);
  --primary-foreground: oklch(0.179 0.004 286);
  --secondary: oklch(0.245 0.006 286);
  --secondary-foreground: oklch(0.961 0.001 286.4);
  --muted: oklch(0.245 0.006 286);
  --muted-foreground: oklch(0.711 0.007 286.2);
  --accent: oklch(0.245 0.006 286);
  --accent-foreground: oklch(0.961 0.001 286.4);
  --destructive: oklch(0.713 0.132 28.2);
  --destructive-foreground: oklch(0.145 0 0);
  --border: oklch(0.282 0.005 286);
  --input: oklch(0.282 0.005 286);
  --ring: oklch(0.512 0.088 231.8);
  --chart-1: oklch(0.961 0.001 286.4);
  --chart-2: oklch(0.676 0.057 157.1);
  --chart-3: oklch(0.757 0.1 77.2);
  --chart-4: oklch(0.711 0.007 286.2);
  --chart-5: oklch(0.713 0.132 28.2);
  --sidebar: oklch(0.21 0.004 286.1);
  --sidebar-foreground: oklch(0.961 0.001 286.4);
  --sidebar-primary: oklch(0.961 0.001 286.4);
  --sidebar-primary-foreground: oklch(0.179 0.004 286);
  --sidebar-accent: oklch(0.245 0.006 286);
  --sidebar-accent-foreground: oklch(0.961 0.001 286.4);
  --sidebar-border: oklch(0.282 0.005 286);
  --sidebar-ring: oklch(0.512 0.088 231.8);
}
