/*! Eclipse UI · Terra: 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: 1.0498rem;
  --background: oklch(0.95 0.018 73.1);
  --foreground: oklch(0.23 0.024 54.9);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.23 0.024 54.9);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.23 0.024 54.9);
  --primary: oklch(0.554 0.115 44.2);
  --primary-foreground: oklch(0.981 0.012 59.6);
  --secondary: oklch(0.912 0.019 67.6);
  --secondary-foreground: oklch(0.23 0.024 54.9);
  --muted: oklch(0.912 0.019 67.6);
  --muted-foreground: oklch(0.495 0.042 48.7);
  --accent: oklch(0.974 0.002 67.8);
  --accent-foreground: oklch(0.23 0.024 54.9);
  --destructive: oklch(0.529 0.146 29.1);
  --destructive-foreground: oklch(0.95 0.018 73.1);
  --border: oklch(0.847 0.023 63.2);
  --input: oklch(0.847 0.023 63.2);
  --ring: oklch(0.479 0.115 43.7);
  --chart-1: oklch(0.554 0.115 44.2);
  --chart-2: oklch(0.517 0.064 153.8);
  --chart-3: oklch(0.663 0.111 78.4);
  --chart-4: oklch(0.495 0.042 48.7);
  --chart-5: oklch(0.529 0.146 29.1);
  --sidebar: oklch(0.925 0.019 67.6);
  --sidebar-foreground: oklch(0.23 0.024 54.9);
  --sidebar-primary: oklch(0.554 0.115 44.2);
  --sidebar-primary-foreground: oklch(0.981 0.012 59.6);
  --sidebar-accent: oklch(0.974 0.002 67.8);
  --sidebar-accent-foreground: oklch(0.23 0.024 54.9);
  --sidebar-border: oklch(0.847 0.023 63.2);
  --sidebar-ring: oklch(0.479 0.115 43.7);
  /* Las fuentes de la personalidad (Google Fonts, o las de /v1/fonts). */
  --font-sans: "Nunito", system-ui, -apple-system, sans-serif;
  --font-heading: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.dark {
  --background: oklch(0.23 0.024 54.9);
  --foreground: oklch(0.95 0.018 73.1);
  --card: oklch(0.29 0.026 54.2);
  --card-foreground: oklch(0.95 0.018 73.1);
  --popover: oklch(0.29 0.026 54.2);
  --popover-foreground: oklch(0.95 0.018 73.1);
  --primary: oklch(0.554 0.115 44.2);
  --primary-foreground: oklch(0.981 0.012 59.6);
  --secondary: oklch(0.29 0.026 54.2);
  --secondary-foreground: oklch(0.95 0.018 73.1);
  --muted: oklch(0.29 0.026 54.2);
  --muted-foreground: oklch(0.694 0.041 51.5);
  --accent: oklch(0.318 0.027 57.1);
  --accent-foreground: oklch(0.95 0.018 73.1);
  --destructive: oklch(0.713 0.132 28.2);
  --destructive-foreground: oklch(0.23 0.024 54.9);
  --border: oklch(0.355 0.028 53.6);
  --input: oklch(0.355 0.028 53.6);
  --ring: oklch(0.78 0.115 43.9);
  --chart-1: oklch(0.554 0.115 44.2);
  --chart-2: oklch(0.676 0.057 157.1);
  --chart-3: oklch(0.757 0.1 77.2);
  --chart-4: oklch(0.694 0.041 51.5);
  --chart-5: oklch(0.713 0.132 28.2);
  --sidebar: oklch(0.255 0.025 58.2);
  --sidebar-foreground: oklch(0.95 0.018 73.1);
  --sidebar-primary: oklch(0.554 0.115 44.2);
  --sidebar-primary-foreground: oklch(0.981 0.012 59.6);
  --sidebar-accent: oklch(0.318 0.027 57.1);
  --sidebar-accent-foreground: oklch(0.95 0.018 73.1);
  --sidebar-border: oklch(0.355 0.028 53.6);
  --sidebar-ring: oklch(0.78 0.115 43.9);
}
