/* Generado por gen_css.py desde tokens.json y tokens-dark.json. No editar a mano. */
:root {
  --color-bg: #ffffff;
  --color-surface: #f7f7f5;
  --color-surface-2: #efefeb;
  --color-border: #e3e3de;
  --color-border-input: #85857e;
  --color-text: #17181a;
  --color-text-muted: #5d5f66;
  --color-accent: #3346c8;
  --color-accent-hover: #2a3bab;
  --color-accent-soft: #eef0fd;
  --color-on-accent: #ffffff;
  --color-focus: #3346c8;
  --color-danger: #b42d1f;
  --color-on-danger: #ffffff;
  --color-danger-soft: #fdf0ee;
  --color-success: #17734a;
  --color-success-soft: #ebf6f0;
  --color-warning: #8f5200;
  --color-warning-soft: #fff4e0;
  --color-info: #2b5d9e;
  --color-info-soft: #edf3fb;
  --color-estimado: #8f5200;
  --color-estimado-soft: #fff4e0;
  --color-oficial: #17734a;
  --color-oficial-soft: #ebf6f0;
  --color-pendiente: #6a46a8;
  --color-pendiente-soft: #f3effa;
  --color-chart-1: #3346c8;
  --color-chart-2: #17734a;
  --color-chart-3: #c47a12;
  --color-chart-4: #b42d1f;
  --color-chart-5: #7b7d86;
  --shadow-card: 0 1px 2px rgba(20,20,18,.05), 0 0 0 1px rgba(20,20,18,.04);
  --shadow-pop: 0 12px 32px rgba(20,20,18,.14), 0 0 0 1px rgba(20,20,18,.05);
  --font-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 320ms;
  --motion-ease: cubic-bezier(.2,.8,.2,1);
  --motion-spring: cubic-bezier(.34,1.56,.64,1);
  --text-xs: 12px; --leading-xs: 16px; --weight-xs: 500;
  --text-sm: 14px; --leading-sm: 20px; --weight-sm: 400;
  --text-base: 16px; --leading-base: 24px; --weight-base: 400;
  --text-lg: 20px; --leading-lg: 28px; --weight-lg: 600;
  --text-xl: 28px; --leading-xl: 34px; --weight-xl: 650;
  --text-display: 40px; --leading-display: 44px; --weight-display: 700;
  --text-kpi: 32px; --leading-kpi: 36px; --weight-kpi: 600;
  --sidebar: 248px; --sidebar-collapsed: 64px; --topbar: 56px; --content-max: 1280px;
}

.dark {
  --color-bg: #0f1012;
  --color-surface: #16171a;
  --color-surface-2: #1e2024;
  --color-border: #2a2c31;
  --color-border-input: #73767f;
  --color-text: #ececee;
  --color-text-muted: #a3a6ae;
  --color-accent: #8b97ff;
  --color-accent-hover: #a3adff;
  --color-accent-soft: #1d2140;
  --color-on-accent: #0f1012;
  --color-focus: #8b97ff;
  --color-danger: #ff8576;
  --color-on-danger: #0f1012;
  --color-danger-soft: #2e1714;
  --color-success: #5ccf94;
  --color-success-soft: #122619;
  --color-warning: #f0b45a;
  --color-warning-soft: #2a1f0e;
  --color-info: #7fb2f0;
  --color-info-soft: #13202f;
  --color-estimado: #f0b45a;
  --color-estimado-soft: #2a1f0e;
  --color-oficial: #5ccf94;
  --color-oficial-soft: #122619;
  --color-pendiente: #c3a6f5;
  --color-pendiente-soft: #221a31;
  --color-chart-1: #8b97ff;
  --color-chart-2: #5ccf94;
  --color-chart-3: #f0b45a;
  --color-chart-4: #ff8576;
  --color-chart-5: #8e919a;
  --shadow-card: 0 0 0 1px rgba(255,255,255,.06);
  --shadow-pop: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --color-bg: #0f1012;
    --color-surface: #16171a;
    --color-surface-2: #1e2024;
    --color-border: #2a2c31;
    --color-border-input: #73767f;
    --color-text: #ececee;
    --color-text-muted: #a3a6ae;
    --color-accent: #8b97ff;
    --color-accent-hover: #a3adff;
    --color-accent-soft: #1d2140;
    --color-on-accent: #0f1012;
    --color-focus: #8b97ff;
    --color-danger: #ff8576;
    --color-on-danger: #0f1012;
    --color-danger-soft: #2e1714;
    --color-success: #5ccf94;
    --color-success-soft: #122619;
    --color-warning: #f0b45a;
    --color-warning-soft: #2a1f0e;
    --color-info: #7fb2f0;
    --color-info-soft: #13202f;
    --color-estimado: #f0b45a;
    --color-estimado-soft: #2a1f0e;
    --color-oficial: #5ccf94;
    --color-oficial-soft: #122619;
    --color-pendiente: #c3a6f5;
    --color-pendiente-soft: #221a31;
    --color-chart-1: #8b97ff;
    --color-chart-2: #5ccf94;
    --color-chart-3: #f0b45a;
    --color-chart-4: #ff8576;
    --color-chart-5: #8e919a;
    --shadow-card: 0 0 0 1px rgba(255,255,255,.06);
    --shadow-pop: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  }
}

@media (prefers-reduced-motion: reduce) { :root { --motion-fast: 0ms; --motion-base: 0ms; --motion-slow: 0ms; } }
