/* FamilyHub · Tokens Azul y Blanco
   Copiar tal cual. Modo principal claro: <html data-theme="azul" data-mode="light">
   Modo oscuro opcional: data-mode="dark" */

:root[data-theme="azul"][data-mode="light"] {
  /* Fondos */
  --bg-base: #F5F7FB;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --border: #E2E8F0;

  /* Texto */
  --text-1: #0F1B33;
  --text-2: #46546B;
  --text-3: #5F6B80;

  /* Marca */
  --brand: #1F5BD8;        /* botón principal, seleccionado, héroe */
  --brand-strong: #1747B0; /* texto e íconos azules sobre blanco */
  --on-brand: #FFFFFF;

  /* Estados (ninguno usa el azul de marca) */
  --st-pending: #5B6678;
  --st-progress: #0E7490;
  --st-risk: #9A5B00;
  --st-done: #1E7A4C;
  --st-overdue: #B42318;
  --st-elite: #6D4FD8;

  /* Sombras frías y suaves */
  --shadow-1: 0 1px 2px rgb(15 27 51 / 0.06);
  --shadow-2: 0 6px 20px rgb(15 27 51 / 0.08), 0 1px 2px rgb(15 27 51 / 0.06);
  color-scheme: light;
}

:root[data-theme="azul"][data-mode="dark"] {
  --bg-base: #0B1220;
  --bg-surface: #111A2C;
  --bg-elevated: #172238;
  --border: #243149;

  --text-1: #EAF0FA;
  --text-2: #A9B6CB;
  --text-3: #8A98AF;

  --brand: #4C8DFF;
  --brand-strong: #7FAEFF;
  --on-brand: #06122B;

  --st-pending: #8B97AA;
  --st-progress: #22B8CF;
  --st-risk: #F0A93B;
  --st-done: #3FB97A;
  --st-overdue: #F2665E;
  --st-elite: #A78BFA;

  --shadow-1: 0 1px 2px rgb(0 4 14 / 0.5);
  --shadow-2: 0 8px 24px rgb(0 4 14 / 0.5), 0 1px 2px rgb(0 4 14 / 0.4);
  color-scheme: dark;
}

:root[data-theme="azul"] {
  /* Forma: esquinas sobrias */
  --r-tag: 6px;
  --r-control: 8px;
  --r-card: 12px;
  --r-hero: 16px;
  --r-full: 999px;

  /* Espacio (retícula de 8, con 4 para ajustes finos) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;

  /* Tipografía: 12 · 14 · 16 · 20 · 24 · 32 */
  --font-ui: "Inter", system-ui, sans-serif;
  --font-display: "InterDisplay", "Inter", system-ui, sans-serif;
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-32: 32px;

  /* Toque mínimo */
  --touch: 44px;

  /* Movimiento */
  --t-fast: 150ms;
  --t-base: 220ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
