/* Dirección B "Orejas". Único archivo con colores y tipografía: para cambiar de dirección se reemplaza solo este. */
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-display: swap; src: url('fonts/BeVietnamPro-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 700; font-display: swap; src: url('fonts/BeVietnamPro-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap; src: url('fonts/AtkinsonHyperlegible-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap; src: url('fonts/AtkinsonHyperlegible-Bold.ttf') format('truetype'); }

/* Cifras sin cero con barra: los dígitos salen de la fuente de títulos; las letras, de la de texto. */
@font-face { font-family: 'Cifras'; font-weight: 400; font-display: swap; unicode-range: U+0030-0039; src: url('fonts/BeVietnamPro-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Cifras'; font-weight: 700; font-display: swap; unicode-range: U+0030-0039; src: url('fonts/BeVietnamPro-Bold.ttf') format('truetype'); }

:root {
  /* valores de marca (marca/b/tokens.css) */
  --vdg-noche: #12294A; --vdg-clinico: #1D5FA8; --vdg-mandarina: #F08A24;
  --vdg-hielo: #E8F0F8; --vdg-fondo: #F8FAFC; --vdg-pizarra: #47596E;
  --vdg-fuente-titulo: 'Be Vietnam Pro', system-ui, sans-serif;
  --vdg-fuente-texto: 'Atkinson Hyperlegible', system-ui, sans-serif;

  /* roles que usa la interfaz */
  --c-fondo: var(--vdg-fondo);
  --c-superficie: #FFFFFF;
  --c-superficie-2: var(--vdg-hielo);    /* paso de tono: filas resaltadas, chips */
  --c-texto: var(--vdg-noche);
  --c-suave: var(--vdg-pizarra);
  --c-primario: var(--vdg-clinico);
  --c-primario-hover: #174E8B;
  --c-sobre-primario: #FFFFFF;
  --c-menu: var(--vdg-noche);
  --c-sobre-menu: var(--vdg-fondo);
  --c-menu-activo: var(--vdg-hielo);
  --c-sobre-menu-activo: var(--vdg-noche);
  --c-cta: var(--vdg-mandarina);         /* botón principal del menú */
  --c-sobre-cta: var(--vdg-noche);
  --c-acento: #9A4A00;                   /* texto de atención (vencido, gasto): mandarina oscurecida para AA */
  --c-acento-fondo: #FDEBD6;
  --c-alerta: #B3261E;                   /* alergias y errores */
  --c-alerta-fondo: #FDECEA;
  --c-error: #B3261E;
  --c-linea: #D6E0EB;                    /* separadores decorativos */
  --c-campo: #7A8CA0;                    /* borde de campos y botones (3:1 o más) */
  --c-foco: #1D5FA8;
  --c-foco-menu: #FFFFFF;
  --c-scrim: rgb(18 41 74 / .55);

  --f-titulo: var(--vdg-fuente-titulo);
  --f-texto: 'Cifras', var(--vdg-fuente-texto);
  --peso-titulo: 700;
  --radio: 6px;
}
