/* GENERADO por scripts/build-design.ps1 desde Design/. NO editar a mano. */
/* Temas seleccionables en runtime: document.documentElement.dataset.theme = "<tema>". */

/* Tema: duimet */
:root[data-theme="duimet"] {
--background: oklch(0.9679 0.0027 264.5424);
  --foreground: oklch(0.2064 0.0388 265.5472);
  --card: oklch(1 0 89.8756);
  --card-foreground: oklch(0.2064 0.0388 265.5472);
  --popover: oklch(1 0 89.8756);
  --popover-foreground: oklch(0.2064 0.0388 265.5472);
  --primary: oklch(0.5525 0.2039 277.3624);
  --primary-foreground: oklch(1 0 89.8756);
  --secondary: oklch(0.9684 0.0068 247.8951);
  --secondary-foreground: oklch(0.2064 0.0388 265.5472);
  --muted: oklch(0.9684 0.0068 247.8951);
  --muted-foreground: oklch(0.49 0.0398 256.8166);
  --accent: oklch(0.9313 0.0327 272.2625);
  --accent-foreground: oklch(0.4376 0.2638 269.8174);
  --destructive: oklch(0.5756 0.2082 25.3782);
  --destructive-foreground: oklch(0.9848 0 89.8756);
  --success: oklch(0.5305 0.192 149.4926);
  --success-foreground: oklch(1 0 89.8756);
  --warning: oklch(0.7697 0.1645 70.6063);
  --warning-foreground: oklch(0.2635 0.0529 94.8655);
  --info: oklch(0.5661 0.1859 259.5957);
  --info-foreground: oklch(1 0 89.8756);
  --border: oklch(0.9258 0.0132 255.0276);
  --input: oklch(0.9258 0.0132 255.0276);
  --input-border: oklch(0.50 0 0);
  --contrast-light: oklch(1 0 0);
  --contrast-dark: oklch(0 0 0);
  --control-invalid: oklch(0.5756 0.2082 25.3782);
  --control-valid: oklch(0.5305 0.192 149.4926);
  --gradient-start: oklch(0.5525 0.2039 277.3624);
  --gradient-end: oklch(0.5661 0.1859 259.5957);
  --gradient-foreground: oklch(1 0 0);
  --ring: oklch(0.5875 0.2039 277.3624);
  --sidebar: oklch(0.56 0.1732 276.2379);
  --sidebar-foreground: oklch(1 0 89.8756);
  --sidebar-primary: oklch(1 0 89.8756);
  --sidebar-primary-foreground: oklch(0.5127 0.2441 272.9812);
  --sidebar-accent: oklch(0.5 0.1301 279.3333); /* mas oscuro que --sidebar: se distingue y da AA con texto blanco */
  --sidebar-accent-foreground: oklch(1 0 89.8756);
  --sidebar-border: oklch(0.5156 0.1587 276.9743);
  --sidebar-ring: oklch(1 0 89.8756);
  --footer: oklch(0.2811 0.0835 275.7291); /* violeta oscuro (igual que el sidebar en dark); oscura constante en claro y oscuro */
  --footer-foreground: oklch(0.84 0.04 285); /* lavanda-gris suave */
  --neutral: oklch(0.21 0.006 285.885); /* CTA neutro solido: gris oscuro en claro / claro en oscuro (alto contraste) */
  --neutral-foreground: oklch(0.985 0 0);
  --input-background: oklch(1 0 89.8756); /* fondo comun de todos los controles (blanco en claro) */
  --summary-link: oklch(0.5 0.18 25.4); /* link del validation summary (rojo amigable, no el link azul/violeta) */
  /* Paleta categorica (Tol muted, color-blind safe) para acentos de IDENTIDAD (no status). Hasta 9. */
  --chart-1: oklch(0.3475 0.1592 281.83);
  --chart-1-foreground: oklch(1 0 0);
  --chart-2: oklch(0.8121 0.0837 230.83);
  --chart-2-foreground: oklch(0.12 0 0);
  --chart-3: oklch(0.6737 0.0978 180.39);
  --chart-3-foreground: oklch(0.12 0 0);
  --chart-4: oklch(0.4993 0.1354 148.62);
  --chart-4-foreground: oklch(1 0 0);
  --chart-5: oklch(0.6634 0.1226 109.32);
  --chart-5-foreground: oklch(0.12 0 0);
  --chart-6: oklch(0.8411 0.1077 98.29);
  --chart-6-foreground: oklch(0.12 0 0);
  --chart-7: oklch(0.6349 0.1299 11.00);
  --chart-7-foreground: oklch(0.12 0 0);
  --chart-8: oklch(0.4319 0.1446 354.46);
  --chart-8-foreground: oklch(1 0 0);
  --chart-9: oklch(0.5528 0.1674 334.61);
  --chart-9-foreground: oklch(1 0 0);
  --font-sans: Inter, system-ui, sans-serif;
  --font-serif: 'Source Serif 4', ui-serif, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 0.625rem;
  --radius-sheet: 1.25rem;
  --shadow-sheet: 0 12px 30px color-mix(in srgb, var(--foreground) 6%, transparent);
  --spacing: 0.25rem;
  --tracking-normal: -0.01em;
  /* Movimiento: duraciones y curvas. Los componentes usan estas variables, no tiempos sueltos. */
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-moderate: 300ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-emphasized: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Capas (z-index) que apilan contra la pagina. El apilado interno de un componente (0-30) es local. */
  --z-sticky: 20;
  --z-backdrop: 40;
  --z-dropdown: 50;
  --z-floating: 60;
  --z-modal: 80;
  --z-dialog: 90;
  --z-toast: 9999;
  /* Escala tipografica (mismas variables que lee Tailwind: text-xs ... text-3xl). */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --shadow-x: 0px;
  --shadow-y: 1px;
  --shadow-blur: 3px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.1;
  --shadow-color: hsl(0 0% 0%);
  --shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs:  0px 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm:  0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px 0px hsl(0 0% 0% / 0.1);
  --shadow:     0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px 0px hsl(0 0% 0% / 0.1);
  --shadow-md:  0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 2px 4px 0px hsl(0 0% 0% / 0.1);
  --shadow-lg:  0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 4px 6px 0px hsl(0 0% 0% / 0.1);
  --shadow-xl:  0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 8px 10px 0px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.25);
}
:root[data-theme="duimet"].dark {
--background: oklch(0.2064 0.0388 265.5472);
  --foreground: oklch(0.9838 0.0035 247.8583);
  --card: oklch(0.2753 0.0364 259.6978);
  --card-foreground: oklch(0.9838 0.0035 247.8583);
  --popover: oklch(0.2753 0.0364 259.6978);
  --popover-foreground: oklch(0.9838 0.0035 247.8583);
  --primary: oklch(0.7075 0.2039 277.3624);
  --primary-foreground: oklch(0.24 0.04 277.3624);
  --secondary: oklch(0.2753 0.0364 259.6978);
  --secondary-foreground: oklch(0.9838 0.0035 247.8583);
  --muted: oklch(0.3038 0.0417 259.6818);
  --muted-foreground: oklch(0.71 0.0348 256.7872);
  --accent: oklch(0.3408 0.0486 259.6656);
  --accent-foreground: oklch(0.9838 0.0035 247.8583);
  --destructive: oklch(0.5786 0.2137 27.1659);
  --destructive-foreground: oklch(0.9848 0 89.8756);
  --success: oklch(0.5326 0.1902 149.6);
  --success-foreground: oklch(1 0 89.8756);
  --warning: oklch(0.7697 0.1645 70.6063);
  --warning-foreground: oklch(0.2635 0.0529 94.8655);
  --info: oklch(0.5661 0.1859 259.5957);
  --info-foreground: oklch(1 0 89.8756);
  --border: oklch(0.3408 0.0486 259.6656);
  --input: oklch(0.3408 0.0486 259.6656);
  --input-border: oklch(0.75 0 0);
  --contrast-light: oklch(1 0 0);
  --contrast-dark: oklch(0 0 0);
  --control-invalid: oklch(0.75 0.2137 27.1659);
  --control-valid: oklch(0.75 0.1902 149.6);
  --gradient-start: oklch(0.7075 0.2039 277.3624);
  --gradient-end: oklch(0.5661 0.1859 259.5957);
  --gradient-foreground: oklch(0 0 0);
  --ring: oklch(0.75 0.12 270);
  --sidebar: oklch(0.2811 0.0835 275.7291);
  --sidebar-foreground: oklch(0.9838 0.0035 247.8583);
  --sidebar-primary: oklch(0.5775 0.2039 277.3624);
  --sidebar-primary-foreground: oklch(1 0 89.8756);
  --sidebar-accent: oklch(0.3484 0.0963 276.2763);
  --sidebar-accent-foreground: oklch(0.9838 0.0035 247.8583);
  --sidebar-border: oklch(0.3401 0.0797 277.3524);
  --sidebar-ring: oklch(0.5875 0.2039 277.3624);
  --footer: oklch(0.2811 0.0835 275.7291);
  --footer-foreground: oklch(0.84 0.04 285);
  --neutral: oklch(0.92 0.004 286.32);
  --neutral-foreground: oklch(0.21 0.006 285.885);
  --input-background: oklch(0.2753 0.0364 259.6978);
  --summary-link: oklch(0.72 0.16 25);
  /* Paleta categorica (Tol muted) en oscuro: mismo hue, mayor luminosidad para contraste. */
  --chart-1: oklch(0.6200 0.1464 281.83);
  --chart-1-foreground: oklch(0.12 0 0);
  --chart-2: oklch(0.8800 0.0770 230.83);
  --chart-2-foreground: oklch(0.12 0 0);
  --chart-3: oklch(0.8337 0.0899 180.39);
  --chart-3-foreground: oklch(0.12 0 0);
  --chart-4: oklch(0.6593 0.1246 148.62);
  --chart-4-foreground: oklch(0.12 0 0);
  --chart-5: oklch(0.8234 0.1128 109.32);
  --chart-5-foreground: oklch(0.12 0 0);
  --chart-6: oklch(0.8800 0.0991 98.29);
  --chart-6-foreground: oklch(0.12 0 0);
  --chart-7: oklch(0.7949 0.1195 11.00);
  --chart-7-foreground: oklch(0.12 0 0);
  --chart-8: oklch(0.6200 0.1331 354.46);
  --chart-8-foreground: oklch(0.12 0 0);
  --chart-9: oklch(0.7128 0.1540 334.61);
  --chart-9-foreground: oklch(0.12 0 0);
  --font-sans: Inter, system-ui, sans-serif;
  --font-serif: 'Source Serif 4', ui-serif, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 0.625rem;
  --radius-sheet: 1.25rem;
  --shadow-sheet: 0 12px 30px color-mix(in srgb, var(--foreground) 6%, transparent);
  --spacing: 0.25rem;
  --tracking-normal: -0.01em;
  /* Movimiento: duraciones y curvas. Los componentes usan estas variables, no tiempos sueltos. */
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-moderate: 300ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-emphasized: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Capas (z-index) que apilan contra la pagina. El apilado interno de un componente (0-30) es local. */
  --z-sticky: 20;
  --z-backdrop: 40;
  --z-dropdown: 50;
  --z-floating: 60;
  --z-modal: 80;
  --z-dialog: 90;
  --z-toast: 9999;
  /* Escala tipografica (mismas variables que lee Tailwind: text-xs ... text-3xl). */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --shadow-x: 0px;
  --shadow-y: 1px;
  --shadow-blur: 3px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.1;
  --shadow-color: hsl(0 0% 0%);
  --shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs:  0px 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm:  0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px 0px hsl(0 0% 0% / 0.1);
  --shadow:     0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px 0px hsl(0 0% 0% / 0.1);
  --shadow-md:  0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 2px 4px 0px hsl(0 0% 0% / 0.1);
  --shadow-lg:  0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 4px 6px 0px hsl(0 0% 0% / 0.1);
  --shadow-xl:  0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 8px 10px 0px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.25);
}


