@font-face{font-family:Inter;src:url(Inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
*{box-sizing:border-box}
body{margin:0;height:100vh;height:100dvh;display:flex;flex-direction:column;font:300 16px/1.45 Inter,system-ui,sans-serif;color:#30271f;background:white}
header{background:#c94c00;color:white;padding:10px max(16px,calc((100vw - 760px)/2));display:flex;justify-content:space-between;align-items:center;gap:12px}
header span{font-size:1.3rem}body strong,body b,body h1,body h2,body h3,button{font-weight:300}
main{flex:1;min-height:0;overflow:hidden;width:min(100% - 32px,760px);margin:12px auto}
#pages{height:100%;column-width:var(--column,100vw);column-gap:24px;column-fill:auto;overflow-wrap:anywhere}
article :is(h2,h3){line-height:1.15;margin:0 0 .55em;break-after:avoid}
article label,article button,article input,article select,article summary,article textarea{break-inside:avoid}
label{display:block;margin:.4em 0}
input,textarea,select,button{font:inherit;max-width:100%;border-radius:6px;padding:8px;border:1px solid #bca899}
input:not([type=checkbox]),textarea,select{width:100%}
textarea{height:5rem}button{background:#aa4000;color:white;cursor:pointer}button:disabled{opacity:.45}
a{color:#923700}#pager,.bottom{display:flex;align-items:center;justify-content:center;gap:16px;padding:5px}
.bottom{border-top:1px solid #eaded6;padding-bottom:max(7px,env(safe-area-inset-bottom));font-size:.88rem}
.bottom a{padding:5px 0}#pager[hidden]{display:none}
article table{width:100%;table-layout:fixed;font-size:.85rem}article td{overflow-wrap:anywhere}
article .admin-list,article .admin-menu{display:block}article .admin-menu a{display:block;margin-bottom:.5rem}

/* La ventana permanece fija; sólo los botones cambian la columna visible. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
body{position:fixed;inset:0 0 auto;height:var(--app-height,100dvh);top:var(--keyboard-offset,0px);min-height:0}
header,.bottom,#pager{flex:none}
#viewport{position:relative;overflow:clip;min-width:0;padding:0}
#pages{width:100%;max-width:100%;column-count:1;column-width:auto;transform:translateX(var(--page-shift,0px))}
#pages :is(input,select,textarea){font-size:max(16px,1em)}
#pages :is(.admin-list,.admin-menu,.admin-filtros){display:block}
#pages .admin-filtros label{margin-bottom:8px}
#pages .solicitud-card form{display:block}
body:has(.admin-list) #viewport{padding:0}
#pages textarea{resize:none}
@media(max-height:560px){header{padding-block:4px}.bottom,#pager{padding-block:2px}}
