:root{--dark:#102d31;--dark2:#1b4144;--teal:#257d71;--ink:#1c3037;--muted:#788a8f;--line:#e1e9e8;--canvas:#f4f7f6;--white:#fff;--amber:#e2ac58;--red:#ad524a}*{box-sizing:border-box}html,body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.hidden{display:none!important}.shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;width:244px;flex:0 0 244px;background:var(--dark);color:white;display:flex;flex-direction:column;padding:24px 16px}.side-brand{display:flex;align-items:center;gap:11px;padding:2px 8px 40px}.side-brand strong{font-size:17px;letter-spacing:-.45px}.side-brand small{display:block;font-size:10px;letter-spacing:1.8px;color:#8dbbb1;margin-top:4px}.brand-logo{width:56px;height:56px;border-radius:17px;background:#d8eee7;color:#125a52;display:grid;place-items:center;font-size:19px;font-weight:900;letter-spacing:-1px}.brand-logo.mini{width:39px;height:39px;border-radius:12px;font-size:14px}nav{display:grid;gap:5px}.navbtn{border:0;text-align:left;padding:12px 14px;color:#adcbca;border-radius:9px;background:transparent;font-weight:600;display:flex;align-items:center;gap:14px}.navbtn:hover,.navbtn.active{background:#275356;color:white}.navico{font-size:19px;min-width:23px;text-align:center}.side-bottom{margin-top:auto;border-top:1px solid #31575b;padding:20px 8px 0}.userline{display:flex;align-items:center;gap:10px;margin-bottom:14px}.userline strong,.userline small{display:block}.userline small{font-size:12px;color:#98b8b7;margin-top:3px}.avatar{width:38px;height:38px;border-radius:50%;background:#376b66;color:#e3ffef;display:grid;place-items:center;font-weight:bold}.subtle{border:0;color:#b7d3d0;background:none;display:flex;justify-content:space-between;width:100%;padding:8px 0}.main{min-width:0;flex:1;padding:38px 42px 20px;max-width:1600px;margin:0 auto}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--teal);font-weight:800}.header h1{font-size:31px;letter-spacing:-1.2px;margin:7px 0 0;font-weight:760}.header-right{display:flex;gap:23px;align-items:center}.live{font-size:12px;color:#397e6c;white-space:nowrap}.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4bbca2;margin-right:5px}.date-control{font-size:12px;color:var(--muted);display:flex;gap:10px;align-items:center}.date-control input{background:white;border:1px solid var(--line);border-radius:8px;padding:10px 12px;color:var(--ink)}.content{display:grid;gap:20px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat{background:white;border:1px solid var(--line);padding:23px 21px;border-radius:13px;min-width:0}.stat small{font-weight:650;letter-spacing:.1px;color:#526a70;display:block;font-size:12px}.stat b{display:block;font-size:29px;letter-spacing:-1.2px;margin:17px 0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat b em{font-size:17px;color:#a4b3b4;font-style:normal}.stat span{font-size:11px;color:#85979a}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:23px 23px 18px;min-width:0}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.panel h2{font-size:17px;margin:0 0 5px;letter-spacing:-.4px}.panel p{color:#839398;margin:0;font-size:12px;line-height:1.6}.muted{color:#84969a!important;padding:12px 0}.task-item{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid #f0f3f3;gap:10px}.task-item:first-child{border-top:0}.task-item strong{white-space:nowrap;color:#2d4549}.item-title{font-weight:650;margin-bottom:5px}.task-item small{font-size:12px;color:var(--muted)}.pill{display:inline-block;border-radius:20px;padding:5px 9px;background:#edf3f3;color:#5d757b;font-size:11px;font-weight:750;white-space:nowrap}.pill.activo,.pill.completada,.pill.reportado,.pill.disponible{color:#1c8068;background:#e5f5ee}.pill.pendiente,.pill.limpieza,.pill.en_curso{color:#9d7537;background:#fff2da}.pill.mantenimiento{color:#b45a51;background:#fae8e7}.rooms{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.room{border:1px solid #e5ebeb;background:#fbfcfc;border-radius:12px;padding:14px;min-width:0}.room.occupied{background:#eff9f5;border-color:#cce9dc}.room.reserved{background:#fffbf0;border-color:#f6e7bd}.room-top{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap}.room-top>span:first-child{font-size:9px;letter-spacing:.7px;color:#85969b;font-weight:750}.room strong{display:block;font-size:26px;margin:17px 0 4px}.room small{display:block;color:#7d9696;font-size:11px;min-height:28px}.room select{margin-top:12px;max-width:100%}.tiny{max-width:180px;width:100%;font-size:12px;padding:7px;border:1px solid var(--line);border-radius:7px;background:white}.smallbtn{border:1px solid #cde1db;background:#eaf5f1;border-radius:8px;padding:8px 11px;color:#237165;font-size:12px;font-weight:750;white-space:nowrap}.smallbtn:hover{background:#d7ece4}.smallbtn.danger{color:#a64a41;background:#fff0ef;border-color:#f4d2cd}.smallbtn.ghost{background:white;color:#4f7072}.tablewrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;color:#839599;letter-spacing:.25px;font-weight:700;padding:13px 12px;background:#f8faf9;white-space:nowrap}td{border-bottom:1px solid #eff3f2;padding:13px 12px;font-size:12px;vertical-align:middle}td strong{font-size:12px}.cellsub{display:block;color:#8a9da0;margin-top:5px}.actionstack{display:flex;flex-wrap:wrap;gap:6px}.stocklow{color:#bc6d4c;font-weight:700}.hint{font-size:12px;color:#839599;padding-top:16px}.main footer{padding:25px 0 12px;font-size:11px;color:#93a5a8}.primary{background:#1e7466;border:0;color:#fff;border-radius:10px;padding:13px 16px;font-weight:700}.primary:hover{background:#145f54}.primary.full{width:100%}.login-screen{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at top right,#e2f0e7,#f3f7f5 50%)}.login-card{width:min(400px,100%);padding:36px 35px;background:white;border-radius:20px;box-shadow:0 12px 50px #143a3a15}.login-card .brand-logo{margin-bottom:25px}.login-card h1{font-size:32px;margin:7px 0}.login-card p{font-size:14px;color:#789094;line-height:1.6;margin-bottom:26px}.login-card form{display:grid;gap:15px}.login-card small{display:block;color:#96a6a9;text-align:center;margin-top:25px;font-size:11px}label{display:block;font-size:12px;font-weight:670;color:#455f64}label input,label select{display:block;width:100%;margin-top:8px;background:white;border:1px solid #dce7e5;border-radius:8px;padding:11px 12px;color:#213e41}input:focus,select:focus{outline:2px solid #7bc1b1;outline-offset:1px}#toast{position:fixed;right:20px;bottom:20px;padding:14px 19px;background:#163f40;color:white;border-radius:10px;box-shadow:0 10px 30px #0003;opacity:0;pointer-events:none;transition:.2s;z-index:20;max-width:min(400px,90vw)}#toast.show{opacity:1}#toast.bad{background:#9e514b}dialog{border:1px solid #d9e8e5;border-radius:14px;width:min(540px,94vw);padding:30px;box-shadow:0 24px 70px #071a1b50;color:var(--ink)}dialog::backdrop{background:#0d262c99}dialog h2{margin:0 30px 24px 0;font-size:22px}.xbutton{position:absolute;right:16px;top:13px;border:none;background:#edf3f1;width:32px;height:32px;border-radius:50%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .wide{grid-column:1/-1}.form-grid>button{margin-top:6px}.notice{background:#f0f7f3;border:1px solid #d6e9de;border-radius:10px;padding:15px;line-height:1.5}.notice p{font-size:12px;color:#597174;margin:8px 0}.qr{display:block;width:220px;max-width:100%;margin:auto}.linkbox{overflow-wrap:anywhere;color:#527e7a;background:#f4f8f7;padding:12px;border-radius:8px;font-size:12px}.guest-body{background:linear-gradient(160deg,#eff7f2 0%,#fbfdfb 70%);min-height:100vh;padding:40px 16px}.guest-container{max-width:640px;margin:auto;background:white;border:1px solid #e1ebe7;border-radius:18px;padding:32px;box-shadow:0 10px 40px #102f3210}.guest-container .brand-logo{margin-bottom:20px}.guest-container h1{font-size:26px;margin:7px 0 10px}.guest-container>p{font-size:13px;color:#70858a;line-height:1.7;margin-bottom:26px}.guest-container label small{display:block;font-weight:400;color:#879a9e;margin-top:7px}.sign{display:block;width:100%;height:130px;border:1px dashed #abbfb7;background:#fdfefd;touch-action:none;border-radius:8px;margin-top:9px}.linklike{border:0;background:none;padding:8px 0;color:#277769}.notice .check{display:flex;align-items:flex-start;gap:9px;font-weight:500}.check input{width:17px;height:17px;margin:0;flex:none}.legal-foot{text-align:center;color:#a4b1b2;font-size:11px;margin-top:25px}.alert{background:#e9f6f0;color:#277568;border-radius:9px;padding:15px;margin-bottom:12px}.alert.error{background:#fff1ed;color:#ad5850}@media(max-width:1300px){.rooms{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.sidebar{width:72px;flex-basis:72px;padding:18px 10px}.side-brand{padding:0 3px 22px}.side-brand>div:last-child,.navbtn:not(.active),.side-bottom{display:none}.navbtn{font-size:0;justify-content:center;padding:13px 8px}.navbtn.active{font-size:0}.navico{font-size:21px}.main{padding:26px 20px}.header h1{font-size:26px}.twocol{grid-template-columns:1fr}}@media(max-width:600px){.shell{display:block;padding-bottom:66px}.sidebar{position:fixed;top:auto;bottom:0;width:100%;height:65px;z-index:9;padding:8px;background:#102d31}.side-brand,.side-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:2px}.navbtn,.navbtn:not(.active){display:flex;font-size:9px;flex-direction:column;gap:1px;padding:3px 6px;align-items:center;border-radius:7px}.navico{font-size:18px}.main{padding:22px 13px}.header{display:block;margin-bottom:21px}.header-right{margin-top:15px;justify-content:space-between}.stats{grid-template-columns:1fr 1fr;gap:8px}.stat{padding:16px 12px}.stat b{font-size:21px;margin:12px 0 8px}.stat b em{font-size:13px}.stat span{font-size:10px}.panel{padding:17px 13px}.rooms{grid-template-columns:repeat(2,1fr);gap:8px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.guest-container{padding:21px}.guest-body{padding:10px}.panel-head{flex-wrap:wrap}.live{font-size:11px}dialog{padding:25px 18px}}

.companion{display:grid;grid-template-columns:2fr 1fr 1.5fr auto;gap:8px;padding:12px 0;border-bottom:1px solid #e4edea;align-items:end}.companion button{margin-bottom:1px}.companion input,.companion select{min-width:0}@media(max-width:600px){.companion{grid-template-columns:1fr 1fr}.companion label:first-child{grid-column:1/-1}}
/* Vista de habitación y consultas rápidas de administración. */
.room-link{display:block;width:100%;margin-top:10px;white-space:normal;text-align:center;line-height:1.35}
.roomfolio{margin:18px 0;padding:15px 0;border-top:1px solid #dce7e5}
.roomfolio h3{margin:0 0 12px;font-size:15px}
.roomfolio p{font-size:13px;line-height:1.65;margin:8px 0 14px}
.roomfolio-balance{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 16px}
.roomfolio-balance span{background:#f3f8f6;border-radius:8px;padding:12px;font-size:11px;color:#587477}
.roomfolio-balance strong{display:block;font-size:17px;margin-top:7px;color:#1b4144}
@media(max-width:600px){.sidebar nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}.navbtn,.navbtn:not(.active){flex:0 0 76px;min-width:76px}.roomfolio-balance{grid-template-columns:1fr 1fr}}

/* Piloto de usabilidad: controles accesibles en móvil y salida de sesión visible. */
#account-button,#header-logout{white-space:nowrap;min-height:40px}
.task-deck-actions button{min-height:48px}
.navbtn:focus-visible,.smallbtn:focus-visible,.primary:focus-visible{outline:3px solid #f9ac5a;outline-offset:2px}
@media(max-width:600px){.header-right{gap:7px;flex-wrap:wrap}.header-right .date-control{order:2;width:100%;justify-content:space-between}.header-right .live{flex:1}.header-right .smallbtn{font-size:12px;padding:9px}.navbtn{min-height:50px}.task-deck-actions button{min-height:54px}}

/* Tarjetas de tareas: un gesto / un botón por acción; adaptadas a teléfonos. */
.progress-track{width:100%;height:10px;background:#e6f0ec;overflow:hidden;border-radius:100px;margin:14px 0 19px}
.progress-track>div{height:100%;background:#2c927a;width:0;transition:width .25s;border-radius:100px}
.task-deck-card{touch-action:pan-y;user-select:none;background:linear-gradient(145deg,#f1f8f5,#fff);border:2px solid #d3e9df;border-radius:19px;padding:24px;min-height:260px;display:flex;flex-direction:column;gap:14px;box-shadow:0 8px 24px #173f3820}
.task-card-top{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;color:#52766a;font-weight:750;font-size:12px}
.task-deck-card h2{font-size:clamp(24px,4vw,36px);line-height:1.13;letter-spacing:-.6px;color:#173b35;margin:14px 0 4px}
.task-deck-card p{font-size:14px;color:#607e78;margin:0}
.task-deck-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin-top:auto}
.task-deck-actions button{border-radius:12px;font-size:16px;font-weight:750;padding:13px 10px;border:1px solid #c4ddd5}
.task-deck-actions .donebtn{background:#1e7466;color:white;border-color:#1e7466}
.task-deck-actions .skipbtn{background:white;color:#3b7770}
.task-deck-card>small{color:#8ba39b;line-height:1.4}
.task-groups{display:grid;gap:18px;margin-top:22px}
.task-group{background:#fcfefd;border:1px solid #e6eeeb;border-radius:14px;padding:13px 15px}
.task-group h3{font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:#5f8278;margin:2px 0 8px}
.task-mini{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf3ef}
.task-mini:last-child{border-bottom:0}
.task-mini>span{font-size:22px;color:#349480}
.task-mini>div{flex:1;min-width:0}
.task-mini strong{display:block;font-size:13px}
.task-mini small{display:block;font-size:11px;color:#728a84;margin-top:4px}
.task-mini.isdone strong{text-decoration:line-through;color:#8b9d96}
.empty-success{background:#e6f5ec;color:#1c785c;border-radius:13px;padding:26px;text-align:center;font-weight:800;font-size:18px}
.room-detail{display:grid;gap:7px;min-height:51px;font-size:11px;color:#5c7774}
.room-detail b{font-weight:750}
.inventory-status{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:12px 0}
.inventory-status>div{border:1px solid #dcece6;background:#f5faf7;border-radius:10px;padding:14px;display:grid;gap:7px}
.inventory-status strong{font-size:13px}
.inventory-status span{color:#657f75;font-size:11px}
.demo-banner{border:1px solid #c9d7f2;background:#f2f5fd;color:#345178;border-radius:10px;padding:12px 15px;line-height:1.5;font-size:13px}
@media(max-width:600px){.task-deck-card{min-height:310px;padding:20px}.task-deck-card h2{font-size:27px}.task-deck-card>small{font-size:11px}.task-group{padding:13px 10px}.room-detail{min-height:auto}}

.brand-hamacas{display:block;max-width:100%;width:265px;height:auto;margin-bottom:15px}.brand-hamacas-small{width:54px;height:auto;object-fit:contain}.side-brand{gap:9px}@media(max-width:900px){.brand-hamacas-small{width:48px}}
#recovery-list { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; max-width: 100%; }

.roster-toolbar {display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin-bottom:20px}.roster-toolbar label{min-width:160px}.roster-week{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px}.roster-day{background:#f6f9f8;border:1px solid #dce6e1;border-radius:12px;padding:14px;min-width:0}.roster-day h3,.roster-month h3{text-transform:capitalize}.roster-shift{padding:12px;margin:10px 0;background:white;border:1px solid #dce6e1;border-radius:10px;overflow-wrap:anywhere}.roster-shift ul{padding-left:18px;font-size:13px}.roster-shift.cancelled{opacity:.65}.roster-leave{padding:9px;border-radius:8px;background:#fff2ce;font-size:12px}.roster-leave.aprobada{background:#d7eee4}.roster-year{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:16px}.roster-month{padding:14px;border:1px solid #dce6e1;border-radius:12px;min-width:0}.month-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.month-days b{font-size:11px}.calendar-day{background:#f3f6f5;border:1px solid transparent;border-radius:5px;min-height:36px;cursor:pointer;color:#163e3a;font-size:12px;padding:2px}.calendar-day.blocked{background:#cbe5d9;border-color:#398164}.calendar-day.pending{background:#ffe6ae;border-color:#ac7b21}.calendar-day small{display:block;font-size:9px}.calendar-day:focus-visible{outline:3px solid #184c6b;outline-offset:1px}fieldset.wide{border:1px solid #dce6e1;border-radius:8px;padding:10px}.roster-shift .actionstack{margin-top:10px}@media(max-width:480px){.roster-toolbar label{min-width:0;width:100%}.roster-week{grid-template-columns:minmax(0,1fr)}.roster-year{grid-template-columns:minmax(0,1fr)}}

/* Display only the original oval; the source logo remains unchanged. */
.brand-oval{display:inline-block;flex:none;width:44px;height:35px;background:url('/static/hotel-hamacas-logo.png') left center / 91px 35px no-repeat}.login-oval{width:80px;height:64px;background-size:166px 64px;margin-bottom:15px}.side-brand{align-items:center}.overview-filters{display:flex;gap:20px;align-items:center;margin:15px 0}.overview-filters label{min-width:160px}.overview-filters p{font-size:13px;color:#5b716c}.overview-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-stats .stat{min-width:0}.overview-stats b{font-size:28px;overflow-wrap:anywhere}.overview-chart{display:grid;gap:8px;max-height:280px;overflow:auto;padding:4px 6px}.overview-bar-row{display:grid;grid-template-columns:64px minmax(30px,1fr) 110px;gap:10px;align-items:center;font-size:12px}.overview-bar-row strong{text-align:right}.overview-track{height:14px;border-radius:4px;background:#edf2ef}.overview-bar{height:100%;border-radius:4px;background:#227c70}.panel details{font-size:13px;margin:12px 0}.panel summary{cursor:pointer}@media(max-width:650px){.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-stats b{font-size:22px}.overview-filters{align-items:stretch;flex-direction:column;gap:4px}.overview-bar-row{grid-template-columns:52px minmax(20px,1fr) 90px;gap:6px}}

.room-readiness-label{font-size:12px;line-height:1.45;font-weight:600}

/* Navegación adaptable: lateral completo, cajón en tablet y accesos rápidos móviles. */
.nav-toggle,.nav-close,.mobile-nav,.nav-scrim{display:none}
.sidebar{height:100dvh;min-height:0}
.sidebar #nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start}
.side-brand{flex:none;padding-bottom:22px}
.side-bottom{flex:none;margin-top:12px;padding-top:12px}
.navbtn{min-height:44px;flex-shrink:0}
.nav-label{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.sidebar .navbtn.active{font-size:14px}
.navbtn:focus-visible,.nav-close:focus-visible,.nav-toggle:focus-visible{outline:3px solid #f9ac5a;outline-offset:-3px}
@media(max-width:1100px){
 .shell{display:block;padding-bottom:0}
 .main{width:100%;padding:22px 20px}
 .nav-toggle{display:inline-flex;align-items:center;min-height:44px;margin-bottom:18px}
 .sidebar{position:fixed;inset:0 auto 0 0;bottom:0;top:0;width:min(320px,calc(100vw - 32px));height:100dvh;z-index:31;padding:18px 16px;transform:translateX(-100%);visibility:hidden;pointer-events:none;overflow:hidden}
 .navigation-open .sidebar{transform:none;visibility:visible;pointer-events:auto;box-shadow:12px 0 35px #071a1b50}
 .sidebar .side-brand{display:flex;padding:2px 8px 22px}
 .sidebar .side-brand>div:last-child{display:block}
 .sidebar .side-bottom{display:block}
 .sidebar #nav{display:grid;gap:5px;white-space:normal;overflow-x:hidden;overflow-y:auto;justify-content:stretch}
 .sidebar .navbtn,.sidebar .navbtn:not(.active),.sidebar .navbtn.active{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;padding:11px 12px;font-size:14px;min-width:0;width:100%;min-height:46px;flex:auto;text-align:left}
 .sidebar .navico{font-size:20px}
 .nav-close{display:block;align-self:flex-end;flex:none;color:#fff;background:#275356;border:1px solid #6d9693;border-radius:8px;min-height:44px;padding:9px 12px;margin-bottom:12px}
 .nav-scrim:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100dvh;border:0;background:#0d262c99;z-index:30}
 .shell.navigation-open{height:100dvh;overflow:hidden}
 body:has(.navigation-open){overflow:hidden}
 .header{flex-wrap:wrap;gap:16px}
 .header-right{flex-wrap:wrap;gap:12px;max-width:100%}
 .header h1{overflow-wrap:anywhere}
 .panel-head>div{min-width:0}
 .task-item{flex-wrap:wrap}
 .task-item strong{white-space:normal}
 .smallbtn{white-space:normal;overflow-wrap:anywhere}
 dialog{max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain}
 .form-grid>label{min-width:0}
}
@media(max-width:600px){
 .shell{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .main{padding:20px 13px}
 .nav-toggle{display:none}
 .mobile-nav{position:fixed;inset:auto 0 0;z-index:20;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;align-items:stretch;min-height:74px;padding:6px max(6px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px));background:var(--dark);border-top:1px solid #31575b;white-space:normal;overflow:visible}
 .mobile-nav .navbtn,.mobile-nav .navbtn:not(.active),.mobile-nav .navbtn.active{min-width:0;width:100%;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:auto;padding:5px 3px;font-size:11px;text-align:center;white-space:normal}
 .mobile-nav .nav-label{width:100%;overflow-wrap:anywhere;white-space:normal;line-height:1.25}
 .mobile-nav .navico{font-size:21px;line-height:1.1}
 .header-right{gap:7px;width:100%}
 #toast{bottom:calc(88px + env(safe-area-inset-bottom,0px))}
 .roster-toolbar input,.roster-toolbar select{max-width:100%}
}

/* Lectura cómoda: texto secundario oscuro y tamaños relativos ampliables. */
:root{--muted:#485f64;--teal:#176657}
html{font-size:100%}
body{font-size:1rem;line-height:1.55}
button,input,select,textarea{font:inherit;line-height:1.4}
small{font-size:.875rem}
.eyebrow{font-size:.8125rem;letter-spacing:.1em;color:#176657}
.header h1{font-size:2rem;line-height:1.2;letter-spacing:-.02em}
.panel h2{font-size:1.25rem;line-height:1.35}
.panel p,.muted,.hint,.cellsub,.main footer,.legal-foot,.login-card small,.login-card p,.guest-container>p,.guest-container label small{font-size:.875rem;color:#485f64;line-height:1.6}
.muted{color:#485f64!important}
.live,.date-control{font-size:.875rem;color:#315f54}
label{font-size:.875rem;color:#263f45;line-height:1.5}
label input,label select,textarea{font-size:1rem;min-height:48px;border-color:#7d9593}
input::placeholder,textarea::placeholder{color:#566b70;opacity:1}
.smallbtn{font-size:.875rem;min-height:44px;line-height:1.4;color:#176354;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.date-control{min-width:0;max-width:100%;flex-wrap:wrap}
.date-control input{min-width:0;max-width:100%;flex:1 1 11rem;width:100%}
input,select,textarea{min-width:0;max-width:100%}
.smallbtn.ghost{color:#3e585e}
.smallbtn.danger{color:#8b342e}
.primary{font-size:1rem;min-height:48px;line-height:1.4}
.xbutton{width:2.75rem;height:2.75rem;color:#26484b;font-size:1rem;display:grid;place-items:center}
dialog h2{font-size:1.375rem;margin-right:3.5rem;line-height:1.3}
.stat small{font-size:.875rem;color:#3e585e}
.stat span{font-size:.875rem;color:#485f64;line-height:1.5}
.stat b{font-size:1.75rem;line-height:1.3;letter-spacing:-.02em;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.stat b em{font-size:1rem;color:#485f64}
th{font-size:.875rem;color:#405a60;letter-spacing:normal}
td,td strong{font-size:.875rem;line-height:1.55}
.pill{font-size:.8125rem;line-height:1.4;color:#3e555b}
.pill.activo,.pill.completada,.pill.reportado,.pill.disponible{color:#126449}
.pill.pendiente,.pill.limpieza,.pill.en_curso{color:#795010}
.pill.mantenimiento{color:#8c352e}
.stocklow{color:#8d3d24}
.alert{color:#185f4f}
.alert.error{color:#8b342e}
.empty-success{color:#126449}
#toast.bad{background:#873d34;color:#fff}
.room small,.room-detail,.room-readiness-label{font-size:.875rem;color:#435c61;line-height:1.55}
.room-top>span:first-child{font-size:.75rem;color:#485f64;letter-spacing:.03em}
.room small{min-height:0;overflow-wrap:anywhere}
.room-detail{min-height:0}
.tiny{font-size:.875rem}
.roomfolio p,.roomfolio-balance span{font-size:.875rem;color:#435c61}
.roomfolio-balance strong{font-size:1.125rem}
.task-item small,.task-mini small,.task-deck-card>small,.inventory-status span{font-size:.875rem;color:#435c61}
.inventory-status{grid-template-columns:repeat(2,minmax(0,1fr))}
.inventory-status>div{min-width:0;overflow-wrap:anywhere}
.task-mini strong,.task-group h3,.task-card-top,.inventory-status strong{font-size:1rem;color:#314f49}
.task-mini.isdone strong{color:#485f64}
.task-deck-card p{font-size:1rem;color:#435c61}
.task-deck-card h2{font-size:clamp(1.75rem,4vw,2.25rem);line-height:1.25}
.notice p,.notice,.panel details,.roster-leave,.roster-shift ul,.overview-filters p,.overview-bar-row,.demo-banner{font-size:.875rem;line-height:1.6}
.notice p,.overview-filters p{color:#435c61}
.overview-stats b{font-size:1.75rem}
.roster-shift.cancelled{opacity:1;background:#f1f3f3;border-style:dashed}
.calendar-day{font-size:.875rem;min-height:44px;line-height:1.3}
.calendar-day small,.month-days b{font-size:.8125rem}
.sidebar .navbtn,.sidebar .navbtn:not(.active),.sidebar .navbtn.active{font-size:1rem;color:#d7e8e5;line-height:1.45}
.sidebar .navbtn.active,.sidebar .navbtn:hover{color:#fff}
.side-brand strong{font-size:1.125rem}
.side-brand small{font-size:.75rem;color:#b9d8cf}
.userline small,.subtle{font-size:.875rem;color:#c4dcd7}
.login-card .subtle{color:#185f54;min-height:44px}
button:disabled{opacity:1;color:#526167;background:#e7ecec;border-color:#b9c7c7}
button:focus-visible,input:focus,select:focus,textarea:focus,a:focus-visible,summary:focus-visible{outline:3px solid #155d53;outline-offset:2px}
.sidebar button:focus-visible,.mobile-nav button:focus-visible{outline-color:#ffd166;outline-offset:-3px}
@media(max-width:600px){
 .panel p,.notice,.notice p,.task-item,.task-item small,.task-mini strong,.task-deck-card p,.roster-shift ul,.roster-leave,.panel details,.overview-filters p,label,th,td,td strong{font-size:1rem}
 .smallbtn,.header-right .smallbtn{font-size:1rem;min-height:44px}
 .room small,.room-detail,.room-readiness-label,.inventory-status strong{font-size:1rem}
 .stat small,.stat span,.task-mini small,.inventory-status span,.cellsub,.hint,.demo-banner{font-size:.875rem}
 .pill{font-size:.875rem}
 .header h1{font-size:1.75rem}
 .sidebar .navbtn,.sidebar .navbtn:not(.active),.sidebar .navbtn.active{font-size:1.0625rem}
 .mobile-nav .navbtn,.mobile-nav .navbtn:not(.active),.mobile-nav .navbtn.active{font-size:.875rem;min-height:4.25rem;color:#d7e8e5}
 .mobile-nav .navbtn.active{color:white}
 .mobile-nav .nav-label{line-height:1.35;word-break:normal;overflow-wrap:anywhere}
 .mobile-nav{min-height:5.25rem;gap:2px;padding-left:4px;padding-right:4px}
 .shell{padding-bottom:calc(5.75rem + env(safe-area-inset-bottom,0px))}
 #toast{bottom:calc(6.25rem + env(safe-area-inset-bottom,0px))}
 .room .pill{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .task-deck-actions{grid-template-columns:minmax(0,1fr)}
 .overview-chart{padding-inline:0}
 .overview-bar-row{font-size:.875rem;grid-template-columns:48px minmax(16px,1fr) 96px;gap:5px}
}
@media(max-width:380px){
 .stats,.rooms,.inventory-status{grid-template-columns:minmax(0,1fr)}
 .mobile-nav .navbtn,.mobile-nav .navbtn:not(.active),.mobile-nav .navbtn.active{padding-inline:1px}
}

/* Acceso: visibilidad de contraseña y sesión recordada. */
.password-entry{display:flex;gap:8px;align-items:stretch;min-width:0}
.password-entry input{flex:1;min-width:0;width:0}
.password-entry button{flex:none;min-width:80px;min-height:48px;border:1px solid #637d7b;border-radius:8px;background:#edf5f2;color:#174e46;font-weight:700;padding:8px 12px}
.login-card .remember-device{display:flex;align-items:center;gap:10px;line-height:1.4;font-size:1rem}
.login-card .remember-device input{width:22px;height:22px;min-height:22px;flex:none;margin:0;accent-color:#176657}
.login-card .remember-help{font-size:.875rem;color:#485f64;margin:0 0 8px;line-height:1.5}

/* Recuento: un producto por fila, separado de los datos generales del formulario. */
.inventory-count-section{min-width:0}
.inventory-count-section>p{margin:0 0 12px;color:#485f64;font-size:1rem}
.inventory-count-list{list-style:none;margin:0;padding:0;border:1px solid #c1d1cd;border-radius:12px;overflow:hidden}
.inventory-count-row{display:grid;grid-template-columns:minmax(0,1fr) 108px;align-items:center;gap:16px;padding:14px 16px;background:#fff}
.inventory-count-row:nth-child(even){background:#f0f6f3}
.inventory-count-row+.inventory-count-row{border-top:1px solid #cbd9d5}
.inventory-count-product{min-width:0}
.inventory-count-product strong{display:block;font-size:1rem;line-height:1.45;overflow-wrap:anywhere}
.inventory-count-product small{display:block;margin-top:5px;font-size:.875rem;color:#485f64}
.inventory-count-row .inventory-count-input{display:grid;gap:5px;font-size:.875rem;margin:0;color:#314e51}
.inventory-count-input input{width:100%;min-width:0;min-height:48px;text-align:center;font-size:1rem;background:#fff}
@media(max-width:600px){.inventory-count-row{grid-template-columns:minmax(0,1fr) 88px;gap:12px;padding:12px}.inventory-count-row .inventory-count-input{font-size:.875rem}}

.beverage-count-row{grid-template-columns:minmax(0,1fr) 110px 110px}.beverage-count-row input{font-size:16px;min-height:48px}@media(max-width:600px){.beverage-count-row{grid-template-columns:1fr 1fr}.beverage-count-row .inventory-count-product{grid-column:1/-1}.beverage-count-row .inventory-count-input{width:100%}}

.inventory-status{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.inventory-status{grid-template-columns:minmax(0,1fr)}}

.occupancy-legend{padding:16px;margin:0 0 18px;border:1px solid #cbd9d9;border-radius:12px;background:#f8fafb;color:#293e42}.occupancy-legend>strong{font-size:1rem}.occupancy-legend ul{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.occupancy-legend li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.9375rem;line-height:1.5}.occupancy-legend p{font-size:.875rem;line-height:1.6;color:#435c61;margin:12px 0 0}.occupancy-badge{display:inline-block;border:1px solid;border-radius:8px;padding:6px 9px;font-size:.9375rem;font-weight:700;line-height:1.4;white-space:normal;min-width:66px}.occ-free{background:#e1f3e7;color:#165735;border-color:#8eb99e}.occ-reserved{background:#ffdfb0;color:#773000;border-color:#ba650b}.occ-occupied{background:#d7e9ff;color:#123e73;border-color:#7098c6}.occ-monthly{background:#eee0fa;color:#583071;border-color:#a587bc}.occ-review{background:#fff2bd;color:#654900;border-color:#ab8a27}.occ-repair{background:#fbe1e2;color:#802027;border-color:#c68289}.occupancy-warning{display:block;margin-top:6px}@media(max-width:700px){.occupancy-legend ul{grid-template-columns:minmax(0,1fr)}.occupancy-badge{font-size:1rem}.occupancy-legend li{font-size:1rem}}

/* Existing catalog choices grouped without changing other forms. */
.form-grid label.plan-task-choice{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;padding:10px 0;border-bottom:1px solid #dce6e1;font-size:16px;line-height:1.5;font-weight:400}
.plan-task-choice:last-child{border-bottom:0}.plan-task-choice input[type="checkbox"]{width:20px;height:20px;margin:3px 0 0;min-height:0}.plan-task-choice span{min-width:0}.plan-task-choice strong{font-size:16px;font-weight:600;overflow-wrap:anywhere}.plan-task-choice small{display:block;font-size:14px;font-weight:400;color:#405b62;line-height:1.5}
.profile-identity{display:flex;align-items:center;gap:10px;min-height:48px;max-width:100%;min-width:0;border:1px solid #b5ceca;border-radius:14px;background:#fff;color:#173b40;padding:6px 12px;text-align:left}.profile-identity strong{font-size:16px;overflow-wrap:anywhere}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.profile-identity .avatar{flex-shrink:0}.profile-preview{display:flex;align-items:center;gap:16px}.profile-preview .avatar{width:72px;height:72px;flex-shrink:0}.profile-preview p{margin:0;color:#354f55}.connection-banner{position:sticky;top:0;z-index:1000;background:#fff0c2;color:#473000;border-bottom:2px solid #a96f00;font-size:17px;line-height:1.5;padding:12px 18px}.connection-banner[hidden]{display:none}@media(max-width:600px){.header-right .profile-identity{width:100%;order:-1;justify-content:flex-start}.profile-preview{align-items:flex-start;flex-direction:column}.profile-identity strong{font-size:17px}}
.install-guide p{font-size:16px;line-height:1.65;color:#354f55}.install-guide h2{font-size:22px;margin-top:24px;margin-bottom:12px}
.profile-form label,.profile-form p,.profile-form input,.profile-form button{font-size:16px}.form-grid label.profile-remove-control{display:flex;align-items:center;gap:10px}.profile-remove-control input{width:22px;min-height:22px;flex:none}
