:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #172b36;
  background: #f3f5f7;
}
* { box-sizing: border-box; }
body { max-width: 640px; margin: 0 auto; padding: 0 18px; overflow-wrap: anywhere; }
a { color: #154e83; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 4px solid #1c54c5; outline-offset: 4px; }
.saltar { position: absolute; top: -100px; background: white; padding: 16px; z-index: 5; }
.saltar:focus { top: 8px; }
.cabecera { position: sticky; top: 0; z-index: 2; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f3f5f7; border-bottom: 1px solid #b7c3cb; margin-bottom: 24px; }
.cabecera a { min-height: 64px; display: flex; align-items: center; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 24px 0; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 28px 0 16px; }
h3 { font-size: 1.15rem; line-height: 1.4; margin: 0 0 12px; }
p { margin: 12px 0; }
section { margin: 28px 0; }
.tarjeta, .cartel { border: 1px solid #bbc8d0; border-radius: 16px; background: white; padding: 20px; margin: 16px 0; }
.cartel { display: block; font-weight: 750; text-decoration: none; border-width: 2px; }
.verde { background: #e8f5eb; color: #15542c; border-color: #28743c; }
.amarillo { background: #fff3cf; color: #624600; border-color: #886300; }
.rojo { background: #ffeded; color: #8f2027; border-color: #b22b34; }
.gris { background: #e9ecef; color: #454e56; border-color: #6c757d; }
.venta { border-left-width: 7px; }
.venta a { color: inherit; }
.fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.monto { font-size: 1.25rem; }
.nota { font-size: .95rem; padding: 12px 0 0; border-top: 1px solid currentColor; }
.nota.amarillo { padding: 12px; border-radius: 8px; }
.ayuda, .marca { color: #52616b; }
.detalle { white-space: pre-line; }
.resumen { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-width: 1px; border-style: solid; border-radius: 24px; padding: 7px 12px; font-size: .95rem; }
button, .boton { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; border: 2px solid #154e83; border-radius: 12px; color: white; background: #154e83; font: inherit; font-weight: 700; line-height: 1.35; text-decoration: none; cursor: pointer; text-align: center; }
button:hover, .boton:hover { filter: brightness(.94); }
.secundario { color: #154e83; background: white; }
.menu { display: grid; gap: 16px; }
.menu-extra { margin-top: 28px; }
summary { cursor: pointer; min-height: 64px; padding: 16px 0; }
.menu-boton { justify-content: space-between; min-height: 92px; background: white; color: #173e60; font-size: 1.15rem; text-align: left; }
.globito { border-radius: 50%; min-width: 36px; min-height: 36px; padding: 3px 8px; background: #8f2027; color: white; text-align: center; }
.enlace { display: flex; align-items: center; min-height: 64px; margin: 20px 0; }
label { display: block; font-weight: 700; margin: 20px 0 8px; }
input, select, textarea { width: 100%; min-height: 64px; font: inherit; padding: 12px; color: #172b36; background: white; border: 2px solid #657783; border-radius: 8px; }
textarea { resize: vertical; }
input[type=hidden] { display: none; }
.formulario > button { margin-top: 24px; }
.formulario > label:first-of-type { margin-top: 0; }
.sino { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 12px; }
.sino button { min-height: 112px; font-size: 1.7rem; }
.si { background: #196232; border-color: #196232; }
.no { background: #a6252e; border-color: #a6252e; }
.como-enlace { background: transparent; border-color: transparent; color: #154e83; font-weight: 400; text-decoration: underline; }
.opcion { min-height: 80px; margin: 16px 0; }
.numeros { display: grid; gap: 16px; }
.numeros .tarjeta { margin: 0; }
.numeros h2 { margin: 0; font-size: 1.3rem; }
.numero { font-size: 2.2rem; line-height: 1.2; font-weight: 800; margin: 16px 0; }
.importe { font-size: 1.65rem; }
.grafico { overflow-x: auto; border: 1px solid #bbc8d0; border-radius: 12px; padding: 12px; background: white; }
svg { display: block; width: 100%; min-width: 560px; }
svg text { font: 20px system-ui, sans-serif; fill: #172b36; }
.barra { fill: #196232; }
ul { padding-left: 24px; }
li + li { margin-top: 8px; }
footer { border-top: 1px solid #bbc8d0; margin-top: 40px; padding: 24px 0; }
.marca { text-align: center; font-size: .95rem; }
@media (min-width: 520px) { .numeros { grid-template-columns: 1fr 1fr; } }
@media (max-width: 340px) { .sino { grid-template-columns: 1fr; } body { padding: 0 12px; } }
.cabecera { flex-wrap: wrap; padding: 8px 0; }
.nombre { font-size: 1.3rem; }
.cabecera form { margin: 0; }
.personas button { min-height: 96px; font-size: 1.5rem; }
