:root {
  color-scheme: light;
  --caliche: #f3efe7; --piedra: #e8e1d3; --basalto: #16181b; --cobre: #c4622d;
  --patina: #2e8f7c; --borde: #c6c1b6;
  font: 100%/1.55 Geist, system-ui, sans-serif;
  background: var(--caliche); color: var(--basalto);
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0 }
header { border-bottom: 1px solid var(--borde) }
.franja, main, footer { width: min(74rem, calc(100% - 2rem)); margin: auto }
.franja { display: flex; justify-content: space-between; align-items: center; min-height: 4.5rem }
.marca { font-size: 1.5rem; font-weight: 650; letter-spacing: -.04em }
.marca span { font-size: .9rem; letter-spacing: .06em; border-left: 1px solid var(--borde); padding-left: .5rem }
main { padding: clamp(1.5rem, 5vw, 4rem) 0; min-height: 75vh }
footer { border-top: 1px solid var(--borde); padding: 1.5rem 0; font-size: .9rem }
h1,h2,h3,p { margin: 0 0 .75rem; overflow-wrap: anywhere }
h1,h2,h3 { letter-spacing: -.025em; line-height: 1.18 }
h1 { font-size: clamp(2rem,4vw,3rem) } h2 { font-size: 1.55rem } h3 { font-size: 1.15rem }
.etiqueta { font-size: .9rem; font-weight: 600 }
.panel, .fila { background: white; border: 1px solid var(--piedra); border-radius: 1rem; padding: clamp(1rem,3vw,2rem); margin: 1rem 0 }
.fila { padding: 1rem 1.25rem } .acceso { max-width: 32rem }
.grupo, nav { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: .75rem 0 }
nav { border-bottom: 1px solid var(--borde); padding-bottom: .75rem }
button, select, input, textarea { font: inherit; color: inherit; border: 1px solid #827e76; border-radius: .75rem; min-height: 44px; padding: .6rem .9rem; max-width: 100% }
button { cursor: pointer; background: white; font-weight: 550; overflow-wrap: anywhere }
button:hover:enabled { border-color: var(--basalto); background: var(--piedra) }
button.principal, button[aria-current="page"] { color: white; background: var(--basalto); border-color: var(--basalto) }
button.principal:hover:enabled { background: #373737 }
button.aprobar { border: 2px solid var(--cobre) }
button:disabled, fieldset:disabled button { cursor: default; opacity: .58 }
input, select, textarea { background: white; width: min(100%,32rem); display: block }
label { display: grid; gap: .25rem; margin: .75rem 0; font-weight: 550 }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0 }
legend { font-size: 1.25rem; font-weight: 600 }
:focus-visible { outline: 3px solid #1f6f60; outline-offset: 3px }
.salto { position: absolute; transform: translateY(-120%); background: white; padding: .75rem }
.salto:focus { transform: none }
#aviso:not(:empty), .nota { padding: .75rem 1rem; border-inline-start: .25rem solid var(--patina); background: white }
.tabla { overflow-x: auto } table { width: 100%; border-collapse: collapse; text-align: left }
th,td { min-width: 6rem; padding: .65rem; border-bottom: 1px solid var(--piedra); vertical-align: top; font-variant-numeric: tabular-nums }
.texto { white-space: pre-wrap; overflow-wrap: anywhere; unicode-bidi: plaintext }
.mensaje { border-bottom: 1px solid var(--piedra); padding: .75rem 0 }
img.qr { width: min(15rem,100%); background: white }
.contador { font-variant-numeric: tabular-nums; color: #41423f }
dialog { max-width: min(34rem,92vw); border: 1px solid var(--borde); border-radius: 1rem; padding: 1.5rem; color: var(--basalto) }
dialog::backdrop { background: rgb(22 24 27 / .5) }
