* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { color-scheme: light; --verde: #1b422f; }
body { margin: 0; font: 16px/1.4 system-ui, sans-serif; color: #18251d; background: #eef1ec; }
.ancho { width: min(100%, 660px); margin-inline: auto; padding-inline: 16px; }
.marca { background: #050705; }
.marca .ancho { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 52px; }
.marca img { width: min(158px, 47%); display: block; }
.marca a { color: #d5e2d3; font-weight: 600; font-size: 14px; text-decoration: none; padding-block: 12px; }
main { padding-bottom: calc(134px + env(safe-area-inset-bottom)); }
h1 { font-size: clamp(22px, 4.5vw, 30px); line-height: 1.12; margin: 18px 0 12px; }
label { display: block; font-size: 13px; font-weight: 650; color: #43574a; }
select { width: 100%; height: 44px; background: white; color: #18251d; border: 1px solid #99aa9f; border-radius: 6px; font: inherit; padding: 0 10px; margin: 3px 0 14px; }
.pagina { margin: 0 0 12px; position: relative; background: white; box-shadow: 0 1px 5px #131c141c; }
.pagina img { width: 100%; height: auto; display: block; }
.enlace { display: block; position: absolute; }
.enlace:focus-visible { outline: 3px solid #f5c84b; outline-offset: -4px; }
footer { background: #fafbf8; border-top: 1px solid #a8b8ac; position: fixed; z-index: 2; bottom: 0; left: 0; right: 0; box-shadow: 0 -3px 12px #1225190e; }
footer .ancho { padding-block: 9px calc(9px + env(safe-area-inset-bottom)); }
.acciones { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.resumen { min-width: 0; display: grid; }
.resumen strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resumen span { font-size: 12px; color: #536259; }
button, .boton { background: var(--verde); color: white; text-decoration: none; border: 0; display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; padding: 10px 15px; min-height: 45px; font: 650 16px/1.2 system-ui; border-radius: 7px; cursor: pointer; }
button:disabled { background: #58685d; cursor: progress; }
#estado { margin: 0 0 6px; font-size: 13px; } #estado:empty { display: none; }
#paginas > p { background: white; padding: 18px; }
@media (max-width: 360px) { .ancho { padding-inline: 10px; } button,.boton { padding-inline: 12px; } }
.pdf-original { display: block; padding: 24px; color: var(--verde); }
