/* Design tokens. The brand colors (--color-primario, --color-oscuro, --color-accion) are
   rewritten at start from /api/empresa; what is here is the neutral seed. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../vendor/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --color-primario: #2870ff;      /* borders, halo, focus: never text */
  --color-accion: #1c5be0;        /* fills with white text and links: AA on white */
  --color-oscuro: #010c66;        /* top bar and headings */
  --ink: #000024;
  --fondo: #f1f5ff;
  --palido: #d9e5ff;
  --linea: #ccd6f2;               /* decoration: dividers and cards, never a control's edge */
  --borde-control: #737d9e;       /* the edge of a field, button or chip: 3:1 on white and on --fondo */
  --apagado: #4a5170;             /* secondary text: AA on every surface */
  --blanco: #ffffff;

  --ok-fondo: #e9f9e7;
  --ok-borde: #1f9d55;
  --ok-texto: #064e20;
  --aviso-fondo: #fff6d6;
  --aviso-borde: #f2a900;
  --aviso-texto: #6b4e00;
  --error-fondo: #fde8ee;
  --error-borde: #b4234d;
  --error-texto: #7a0b2d;
  --info-fondo: #e8f0ff;
  --info-texto: #10337a;

  --halo: 0 0 0 3px rgba(40, 112, 255, 0.16);
  --sombra-panel: 0 24px 70px rgba(1, 12, 102, 0.1);
  --sombra-tarjeta: 0 8px 24px rgba(1, 12, 102, 0.06);

  --radio-panel: 26px;
  --radio-tarjeta: 18px;
  --radio-control: 12px;
  --alto-control: 44px;
  --ancho-pagina: 1180px;
  --gutter: 20px;

  --fuente: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
    --radio-panel: 20px;
  }
}
