@font-face { font-family: Archivo; src: url(/fonts/archivo-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Archivo; src: url(/fonts/archivo-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Plex; src: url(/fonts/plex-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Plex; src: url(/fonts/plex-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: PlexMono; src: url(/fonts/mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --papel: #F2F2F1; --hoja: #FFFFFF; --tinta: #0D1620; --gris: #5B6670; --filete: #D3D6D8;
  --navy: #0F385E; --naranja: #ED6731; --naranja-osc: #CE4E14; --ok: #1F7A4D; --alerta: #B54708; --mal: #B42318;
  --titulo: Archivo, "Arial Narrow", system-ui, sans-serif;
  --cuerpo: Plex, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: PlexMono, ui-monospace, Menlo, monospace;
  --radio: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--papel); color: var(--tinta); font: 16px/1.45 var(--cuerpo); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 .4em; }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.etiqueta { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
[hidden] { display: none !important; }

button, .boton {
  font: 600 16px/1 var(--cuerpo); border: 0; border-radius: var(--radio); cursor: pointer;
  min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff; text-decoration: none;
}
button.principal { background: var(--naranja); }
button.principal:active { background: var(--naranja-osc); }
button.secundario, .boton.secundario { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
button.chico { min-height: 36px; padding: 0 12px; font-size: 14px; }
button:disabled { opacity: .5; cursor: default; }
input, select {
  font: 16px var(--cuerpo); width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--radio);
  border: 1.5px solid var(--filete); background: var(--hoja); color: var(--tinta);
}
input:focus, select:focus { outline: 2px solid var(--naranja); outline-offset: 1px; border-color: transparent; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }

.aviso { border-radius: var(--radio); padding: 12px 14px; font-size: 15px; }
.aviso.mal { background: #FDECEA; color: var(--mal); }
.aviso.alerta { background: #FEF3E2; color: var(--alerta); }
.aviso.ok { background: #E7F4EC; color: var(--ok); }

.logo { display: block; height: 40px; width: auto; }
