:root{--brand:#0F766E;--brand-strong:#115E59;--brand-tint:#E7F4F2;--page:#F9F9F7;--surface:#FCFCFB;--ink:#0B0B0B;--ink2:#52514E;--muted:#898781;--hairline:#E1E0D9;--border:rgba(11,11,11,.10);--good:#0CA30C;--good-text:#006300;--warn:#FAB219;--serious:#EC835A;--critical:#D03B3B;--s1:#2A78D6;--s2:#EB6834;--s3:#7C4DBE;--s4:#4F46E5;--r:12px;--shadow:0 1px 2px rgba(0,0,0,.05)}*{box-sizing:border-box}body,html{margin:0}body{background:var(--page);color:var(--ink);font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}.money{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}.enlace{border:0;background:none;padding:0;font:inherit;color:var(--brand);cursor:pointer}.enlace:hover{text-decoration:underline}.shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.side{background:var(--surface);border-right:1px solid var(--hairline);padding:16px 12px;position:-webkit-sticky;position:sticky;top:0;height:100vh;overflow:auto}.logo{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:10px 8px 18px}.mono{width:36px;height:36px;border-radius:10px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}.marklogo{width:120px;height:auto;flex:none}.logo b{font-size:15px;line-height:1.2}.logo span{display:block;font-size:11.5px;color:var(--muted);font-weight:400}.marca-movil{display:none}@media (max-width:900px){.marca-movil{display:flex;align-items:center;justify-content:center;gap:14px;text-align:left}.marca-movil .marklogo{width:64px}.marca-movil b{display:block;font-size:15.5px;line-height:1.25}.marca-movil .cap{display:block;font-size:12px;line-height:1.35}}.navgrp{font-size:11px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase;padding:14px 10px 6px}.nav{display:flex;flex-direction:column;gap:2px}.nav a,.nav button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:9px 10px;border:0;background:none;border-radius:9px;font:inherit;font-size:14px;color:var(--ink2);cursor:pointer}.nav a svg,.nav button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav a:hover,.nav button:hover{background:#f1f1ee}.nav a.act,.nav button.act{background:var(--brand-tint);color:var(--brand-strong);font-weight:600}.shell:not([data-role=admin]) .admin-only,.shell:not([data-role=tenant]) .tenant-only,.shell[data-role=tenant] .owner-only{display:none}.main{padding:0 28px 60px;min-width:0}.top{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:14px 0;border-bottom:1px solid var(--hairline);margin-bottom:22px;position:-webkit-sticky;position:sticky;top:0;background:var(--page);z-index:5}.top h1{font-size:20px;margin:0;font-weight:650;overflow-wrap:break-word}.top .tit,.top h1{flex:1 1 auto;min-width:min(100%,max-content)}.identidad{display:flex;align-items:center;gap:14px;margin-left:auto}.roleswitch{display:flex;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:var(--surface)}.roleswitch button{border:0;background:none;padding:7px 14px;font:inherit;font-size:13px;color:var(--ink2);cursor:pointer}.roleswitch button.act{background:var(--brand);color:#fff;font-weight:600}.avatar{width:34px;height:34px;border-radius:999px;background:var(--brand-tint);color:var(--brand-strong);display:grid;place-items:center;font-size:12px;font-weight:700;cursor:pointer}.usermenu{position:absolute;right:0;top:42px;width:216px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 14px;box-shadow:0 10px 26px rgba(0,0,0,.14);z-index:60}.who{font-size:12.5px;color:var(--muted);text-align:right;line-height:1.3}.mandos{display:flex;align-items:center;gap:4px}.mando{width:26px;height:26px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--ink2);cursor:pointer;line-height:1;padding:0;display:grid;place-items:center;flex:none}.mando,a.mando:hover{text-decoration:none}.solo-nuevo{display:none}.grid{display:grid;grid-gap:16px;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow);padding:18px;overflow-x:auto}.main>.card+.card{margin-top:14px}.card h3{margin:0 0 4px;font-size:13px;font-weight:600;color:var(--ink2)}.card h3.mayor{font-size:15px;color:var(--ink)}.hero{font-size:28px;font-weight:700;letter-spacing:-.01em}.cap{font-size:12.5px;color:var(--muted)}.chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:999px;padding:3px 10px;white-space:nowrap}.chip.good{background:#e8f6e8;color:var(--good-text)}.chip.warn{background:#fdf3d8;color:#7a5600}.chip.serious{background:#fdeae2;color:#8a3413}.chip.critical{background:#fbe5e5;color:#8f1f1f}.chip.neutral{background:#f1f1ee;color:var(--ink2)}.chip.brand{background:var(--brand-tint);color:var(--brand-strong)}.chip.bloque{display:block;white-space:normal}.btn{display:inline-block;border:0;border-radius:9px;padding:9px 14px;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;background:var(--brand);color:#fff}.btn:hover{background:var(--brand-strong)}.btn.ghost{background:none;color:var(--brand-strong);border:1px solid var(--hairline)}.btn[disabled]{background:#d7d6d0;color:#8b8a85;cursor:not-allowed}.btn.sm{padding:5px 10px;font-size:12.5px}.scaninput.campo{margin-top:4px;width:100%}a.btn,a.pill{text-decoration:none}table{width:100%;border-collapse:collapse;font-size:13.5px}th{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600;text-align:left;padding:8px 10px}td,th{border-bottom:1px solid var(--hairline)}td{padding:10px;vertical-align:top}tr:last-child td{border-bottom:0}td.num,th.num{text-align:right}td.num{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pillrow{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.pill{border:1px solid var(--hairline);background:var(--surface);border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;color:var(--ink2);cursor:pointer}.pill.act{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}.acciones>summary{display:inline-flex;align-items:center;gap:7px;list-style:none}.acciones>summary::-webkit-details-marker{display:none}.acciones>summary:after{content:"▾";font-size:9px;line-height:1}.acciones[open]>summary{background:var(--brand-tint);border-color:var(--brand-tint);color:var(--brand-strong)}.acciones[open]>summary:after{content:"▴"}.accionespanel{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin-top:9px}.filtro{position:relative}.filtro>summary{display:inline-flex;align-items:center;gap:8px;list-style:none;cursor:pointer}.filtro>summary::-webkit-details-marker{display:none}.filtro>summary:after{content:"▾";font-size:9px;line-height:1;color:var(--muted)}.filtro[open]>summary:after{content:"▴"}.filtropanel{position:absolute;z-index:10;top:100%;left:0;margin-top:6px;background:var(--surface);border:1px solid var(--hairline);border-radius:10px;box-shadow:var(--shadow);padding:12px;min-width:290px;max-height:340px;overflow:auto}.filtropanel label{display:flex;gap:8px;align-items:baseline;padding:5px 2px;cursor:pointer}.scaninput{width:100%;border:1px solid var(--hairline);background:var(--surface);border-radius:9px;padding:10px 12px;font:inherit;font-size:14.5px;color:var(--ink)}.scaninput:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}.sechead{display:flex;align-items:center;gap:10px;margin:26px 0 12px}.sechead h2{font-size:16px;margin:0}.sechead .cap{flex:1 1}.note{font-size:12.5px;color:var(--muted);border-left:3px solid var(--hairline);padding:2px 0 2px 10px;margin-top:14px}.progress{height:8px;background:#eeeeea;border-radius:999px;overflow:hidden}.progress i{display:block;height:100%;background:var(--brand);border-radius:999px}.thumb{width:64px;height:48px;border-radius:8px;background:#ececec;border:1px solid var(--hairline);display:inline-grid;place-items:center;color:var(--muted);font-size:16px;margin-right:6px}img.thumb{object-fit:cover;display:inline-block;vertical-align:top}.cover{width:100%;height:110px;object-fit:cover;border-radius:8px;margin:8px 0 10px;border:1px solid var(--hairline);display:block}.scrollwrap{max-height:430px;overflow:auto}.ficha>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:5px}.ficha>summary::-webkit-details-marker{display:none}.ficha>summary:after{content:"▾";font-size:9px;color:var(--muted)}.ficha[open]>summary:after{content:"▴"}tr.registral{display:none}tr:has(.ficha[open])+tr.registral{display:table-row}tr.registral>td{background:var(--page)}.fichareg{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));grid-gap:10px 18px;gap:10px 18px;padding:4px 2px}.fichareg>div{display:flex;flex-direction:column;gap:1px;min-width:0}.fichareg b{font-size:13px;overflow-wrap:anywhere}.visor{position:fixed;inset:0;z-index:100;background:rgba(24,24,22,.6);display:flex;align-items:center;justify-content:center;padding:14px}.visorcaja{background:var(--surface);border:1px solid var(--hairline);border-radius:12px;width:min(1100px,100%);height:100%;display:flex;flex-direction:column;overflow:hidden;box-shadow:var(--shadow)}.visorbarra{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--hairline);flex-wrap:wrap}.visorbarra b{flex:1 1;min-width:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visor iframe{width:100%;border:0}.visor iframe,.visorimagen{flex:1 1;background:var(--page)}.visorimagen{overflow:auto;padding:10px;display:flex}.visorimagen img{margin:auto;max-width:100%;height:auto;border-radius:6px;background:var(--surface)}.pdfscroll{flex:1 1;overflow:auto;background:var(--page);padding:10px}.pdfpagina{background:var(--surface);border:1px solid var(--hairline);border-radius:6px;margin:0 auto 10px;max-width:900px;overflow:hidden}.pdfpagina canvas{display:block;width:100%;height:auto}.pdfaviso{text-align:center;padding:14px}.apartado>summary{display:flex;gap:10px;align-items:baseline;list-style:none;cursor:pointer;padding:11px 2px;border-bottom:1px solid var(--hairline);color:var(--ink)}.apartado>summary::-webkit-details-marker{display:none}.apartado>summary:before{content:"▸";color:var(--muted);font-size:12px}.apartado[open]>summary:before{content:"▾"}.apartado[open]>summary{font-weight:700}.nota>summary{list-style:none;cursor:default}.nota>summary::-webkit-details-marker{display:none}@media (max-width:640px){.visor{padding:0}.visorcaja{border-radius:0;border:0}}.scrollwrap th{position:-webkit-sticky;position:sticky;top:0;background:var(--surface);z-index:1}.feed li{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--hairline);font-size:13.5px;align-items:baseline}.feed li:last-child{border:0}.feed{list-style:none;margin:0;padding:0}.legend{display:flex;flex-wrap:wrap;gap:16px;font-size:12.5px;color:var(--ink2);margin-bottom:8px}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.cardhead{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.cardhead .cap{flex:1 1}.sintocar fieldset,.sintocar-suelto{border:0;padding:0;margin:0;min-width:0}.sintocar-suelto{display:inline}.sintocar fieldset:disabled,.sintocar-suelto:disabled{opacity:.58}.sintocar-aviso{font-size:12px;color:#7a5600;background:#fdf3d8;border:1px solid #f2d38b;border-radius:8px;padding:5px 10px;margin-bottom:8px;display:inline-block}.hbar{display:grid;grid-template-columns:150px 1fr 92px;grid-gap:10px;gap:10px;align-items:center;font-size:13px;padding:5px 0}.hbar .bar{height:14px;border-radius:0 4px 4px 0;background:var(--s2)}.hbar .v{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--ink2)}.footer{margin-top:44px;font-size:12px;color:var(--muted);border-top:1px solid var(--hairline);padding-top:14px}.calbig{display:grid;grid-template-columns:repeat(7,1fr);grid-gap:4px;gap:4px;font-size:12px}.calbig b.dh{text-align:center;color:var(--muted);font-weight:600;padding:2px 0}.calbig .d{min-height:62px;background:#f6f6f3;border-radius:8px;padding:4px 5px}.calbig .d .dn{font-size:11px;color:var(--muted);font-weight:600}.calbig .d.off{background:none}.calbig .d.today{outline:2px solid var(--brand);background:var(--brand-tint)}.calbig a.d{display:block;color:inherit;text-decoration:none}.calbig a.d:hover{outline:2px solid var(--brand-tint)}.feed li{position:relative}.feed .ancla{position:absolute;top:0;left:0;width:0;height:0;scroll-margin-top:96px}.solo-telefono{display:none}.evt{display:block;margin-top:3px;border-radius:5px;padding:1.5px 6px;font-size:10.5px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal{display:grid;grid-template-columns:repeat(7,1fr);grid-gap:4px;gap:4px;font-size:12px;text-align:center;color:#b6b5af}.cal b{color:var(--muted);font-weight:600}.cal span{padding:7px 0;background:#f4f4f1;border-radius:7px}.tilerow{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));grid-gap:12px;gap:12px;margin-bottom:16px}.tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:12px 14px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px}.tile .cap{font-size:11.5px}.tile .v{font-size:19px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.alertbar{display:flex;gap:10px;align-items:center;background:#fdf3d8;border:1px solid #f2d38b;color:#7a5600;border-radius:10px;padding:10px 14px;margin:-6px 0 20px;font-size:13.5px}.alertbar a{color:#7a5600;font-weight:600;text-decoration:underline}.alertbar button{background:none;border:0;cursor:pointer;color:inherit;font-size:14px;margin-left:auto;padding:2px 6px}.mobilebar,.sheet{display:none}.sheet{position:fixed;inset:0;background:rgba(20,20,16,.42);z-index:40}.sheet.open{display:block}.sheetpanel{position:absolute;left:0;right:0;bottom:0;background:var(--surface);border-radius:16px 16px 0 0;padding:8px 12px 88px;max-height:80vh;overflow:auto;box-shadow:0 -8px 30px rgba(0,0,0,.16)}.sheetgrab{width:38px;height:4px;border-radius:99px;background:var(--border);margin:6px auto 10px}.sheetpanel .navgrp{padding:12px 6px 4px}.sheetgrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px}.sheetgrid button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:11px;padding:11px 12px;font:inherit;font-size:13.5px;color:var(--ink2);cursor:pointer}.sheetgrid button.act{background:var(--brand-tint);border-color:var(--brand);color:var(--brand-strong);font-weight:600}.sheetgrid button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.modal{display:none;position:fixed;inset:0;background:rgba(20,20,16,.42);z-index:50;padding:24px}.modal.open{display:flex;align-items:center;justify-content:center}.modalpanel{background:var(--surface);border-radius:var(--r);width:100%;max-width:620px;max-height:86vh;overflow:auto;padding:18px 20px 20px;box-shadow:0 18px 50px rgba(0,0,0,.22)}.modalhead{display:flex;align-items:flex-start;gap:12px}.modalhead h3{margin:0;flex:1 1;font-size:17px}.modalhead .x{border:0;background:none;font:inherit;font-size:17px;line-height:1;color:var(--muted);cursor:pointer;padding:2px 4px}.girando{width:26px;height:26px;border-radius:50%;border:3px solid var(--hairline);border-top-color:var(--brand);animation:gira .8s linear infinite}@media (prefers-reduced-motion:reduce){.girando{animation-duration:2.4s}}.fichagrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:12px;gap:12px;margin:14px 0 4px;padding:12px 0;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline)}.subtit{font-size:12.5px;font-weight:700;margin:16px 0 8px}.resena{border-left:2px solid var(--brand-tint);padding:2px 0 2px 11px;margin-bottom:11px}.resena .quien{font-size:12.5px;font-weight:600}.avisobox{background:#fdf3d8;border:1px solid #f2d38b;color:#7a5600;border-radius:10px;padding:10px 12px;font-size:13px;margin-top:14px}@media (max-width:900px){.shell{grid-template-columns:minmax(0,1fr)}.side{display:none}.main{padding:0 14px 90px}.g2,.g3{grid-template-columns:1fr}.tilerow{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tilerow .tile .v{font-size:18px}.top{gap:4px 10px}.top h1{font-size:19px}.identidad{gap:10px}.filas-a-tarjetas thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.filas-a-tarjetas,.filas-a-tarjetas tbody,.filas-a-tarjetas td,.filas-a-tarjetas tr{display:block;width:auto}.filas-a-tarjetas tr{border:1px solid var(--hairline);border-radius:10px;padding:8px 10px;margin-bottom:10px}.filas-a-tarjetas td{border:0;padding:4px 0;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:right}.filas-a-tarjetas td:before{content:attr(data-rotulo);color:var(--ink2);font-size:12px;text-align:left;flex:0 0 auto}.filas-a-tarjetas td .cap{text-align:right}.filas-a-tarjetas td.entera{display:block;text-align:left}.filas-a-tarjetas td.entera:before{content:none}.filas-a-tarjetas td.entera .cap{text-align:left}.fichas-cuenta tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-column-gap:10px;column-gap:10px;align-items:center}.fichas-cuenta td.persona{grid-area:1/1/2/2}.fichas-cuenta td.estado{grid-area:1/2/2/3;justify-content:flex-end}.fichas-cuenta td.papel{grid-area:2/1/3/3}.fichas-cuenta td.filiales{grid-area:3/1/4/2}.fichas-cuenta td.mandos{grid-area:3/2/4/3;display:flex;justify-content:flex-end}.fichas-cuenta td.estado:before,.fichas-cuenta td.mandos:before{content:none}.fichas-cuenta td.mandos:has(details[open]){grid-area:4/1/5/-1;justify-content:flex-start}.roleswitch{max-width:100%;overflow-x:auto}.roleswitch button{white-space:nowrap}.chip{white-space:normal}.who{display:block;font-size:11px;max-width:55vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--hairline);z-index:20}.mobilebar button{flex:1 1;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;font:inherit;font-size:11px;color:var(--ink2);padding:8px 0 10px;cursor:pointer}.mobilebar button.act{color:var(--brand-strong);font-weight:700}.mobilebar button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.calbig{grid-template-columns:repeat(7,minmax(0,1fr));font-size:11px}.calbig .d{min-height:64px;padding:3px}.calbig .evt{font-size:9.5px;padding:1px 3px}.calbig .d .evt{display:inline-block;width:8px;height:8px;padding:0;margin:4px 3px 0 0;border-radius:50%;font-size:0;line-height:0;overflow:hidden;vertical-align:top}.solo-telefono{display:block}.legend{gap:8px 12px;justify-content:center}.legend span{white-space:nowrap;font-size:11px}.cardhead{flex-direction:column;align-items:center;text-align:center;gap:8px}.cardhead .cap{flex:none}.hbar{grid-template-columns:110px 1fr 84px}.modal{padding:0}.modal.open{align-items:flex-end}.modalpanel{border-radius:16px 16px 0 0;max-height:88vh;padding-bottom:80px}}.mobilebar a,.nav a,.nav a:hover{text-decoration:none}.mobilebar a{flex:1 1;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;font:inherit;font-size:11px;color:var(--ink2);padding:8px 0 10px}.mobilebar a.act{color:var(--brand-strong);font-weight:700}.mobilebar a svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav button[disabled]{background:none;color:var(--ink2)}.sheetgrid a{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:11px;padding:11px 12px;font-size:13.5px;color:var(--ink2);text-decoration:none}.sheetgrid a.act{background:var(--brand-tint);border-color:var(--brand);color:var(--brand-strong);font-weight:600}.sheetgrid a svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}mark{background:#fdf3d8;color:inherit;padding:0 2px;border-radius:3px}.mapa li{align-items:flex-start}.mapa li svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;margin-top:1px}@media (max-width:900px){.nota>summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;overflow:hidden;cursor:pointer}.nota[open]>summary{-webkit-line-clamp:unset;line-clamp:unset}}.mobilemenu{display:none}@media (max-width:900px){.mobilemenu{display:flex;flex:1 1;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;border:0;background:none;font:inherit;font-size:11px;color:var(--ink2);padding:8px 0 10px;cursor:pointer}.mobilemenu svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}}.graf-compacta{display:block}.graf-ancha{display:none}@media (min-width:901px){.graf-compacta{display:none}.graf-ancha{display:block}}.rot-corto{display:none}@media (max-width:900px){.rot-largo{display:none}.rot-corto{display:inline}}.dialogo{border:1px solid var(--border);border-radius:14px;padding:18px 20px;max-width:520px;width:calc(100% - 32px);background:var(--surface);color:var(--ink);box-shadow:0 10px 26px rgba(0,0,0,.14)}.dialogo::-webkit-backdrop{background:rgba(0,0,0,.35)}.dialogo::backdrop{background:rgba(0,0,0,.35)}.dialogo table td{padding:4px 8px 4px 0;vertical-align:top}.puertas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px;margin-top:12px}@media (max-width:1180px){.puertas{grid-template-columns:repeat(2,minmax(0,1fr))}}.puerta{position:relative;display:flex;flex-direction:column;padding:0;border:1px solid var(--border);border-radius:var(--r);background:var(--surface);box-shadow:var(--shadow);cursor:pointer;font:inherit;color:var(--ink);text-align:left;overflow:hidden;transition:transform .08s,box-shadow .12s}.puerta:hover{box-shadow:0 4px 16px rgba(0,0,0,.09)}.puerta:active{transform:scale(.985)}.puerta:focus-visible{outline:3px solid var(--brand);outline-offset:2px}.puerta .foto{display:block;width:100%;aspect-ratio:4/3;background:#e9eee6}.puerta .foto svg{display:block;width:100%;height:100%}.puerta .pie{padding:12px 14px 14px;display:flex;flex:1 1;flex-direction:column;gap:2px}.puerta .nombre{font-size:17px;font-weight:700;line-height:1.2}.puerta .donde{font-size:12.5px;color:var(--muted);margin-bottom:10px}.puerta .accion{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:11px 12px;font-weight:700;font-size:14.5px;background:var(--brand);color:#fff;transition:background .15s}.puerta:hover .accion{background:var(--brand-strong)}.puerta .accion svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}.puerta[data-estado=abriendo]{cursor:progress}.puerta[data-estado=abriendo] .accion{background:var(--brand-strong)}.puerta[data-estado=abierta] .accion,.puerta[data-estado=abierta]:hover .accion{background:#e8f6e8;color:var(--good-text)}.puerta[data-estado=caduco] .accion,.puerta[data-estado=caduco]:hover .accion,.puerta[data-estado=fallo] .accion,.puerta[data-estado=fallo]:hover .accion{background:#fbe5e5;color:#8f1f1f}.puerta .aviso{font-size:12px;color:var(--muted);margin-top:6px;min-height:1.25em}.puerta[aria-disabled=true]{cursor:not-allowed}.puerta[aria-disabled=true] .donde,.puerta[aria-disabled=true] .foto,.puerta[aria-disabled=true] .nombre{opacity:.45}.puerta[aria-disabled=true] .accion,.puerta[aria-disabled=true]:hover .accion{background:#d7d6d0;color:#8b8a85}.puerta[aria-disabled=true]:active{transform:none}.puerta[data-estado=quedo_abierta]{border-color:#f2d38b;box-shadow:0 0 0 3px #fdf3d8;cursor:default}.puerta[data-estado=quedo_abierta] .donde,.puerta[data-estado=quedo_abierta] .foto,.puerta[data-estado=quedo_abierta] .nombre{opacity:1}.puerta[data-estado=quedo_abierta] .accion,.puerta[data-estado=quedo_abierta]:hover .accion{background:#fdf3d8;color:#7a5600}.puerta[data-estado=quedo_abierta]:active{transform:none}.gira{width:16px;height:16px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:gira .8s linear infinite;flex:none}@keyframes gira{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.gira{animation-duration:2s}}@media (max-width:900px){.puertas{gap:10px}.puerta .nombre{font-size:15px}.puerta .pie{padding:10px 11px 12px}.puerta .accion{font-size:13.5px;padding:10px}}.formas li{align-items:center}.formas li .chip{margin-left:auto}.emergencia{border-left:3px solid var(--critical);margin-top:16px}.emergencia .cardhead{margin-bottom:14px}.emergencia .fila{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}.btn.panico{background:var(--critical);font-size:16px;padding:14px 26px;border-radius:12px}.btn.panico:hover{background:#b02f2f}.btn.panico.contando,.btn.panico.contando:hover{background:#7a5600}.pan{display:none;position:fixed;inset:0;background:rgba(20,20,16,.42);z-index:60;padding:24px;align-items:center;justify-content:center}.pan.open{display:flex}.panpanel{background:var(--surface);border-radius:14px;padding:20px 22px;max-width:440px;width:100%;box-shadow:0 12px 40px rgba(0,0,0,.25);border-top:4px solid var(--critical)}.panpanel h3{margin:0 0 8px;font-size:17px}.panpanel p{margin:0;font-size:14.5px;line-height:1.5}.panacciones{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;align-items:center}html:not(.clasica){--brand:#0F766E;--brand-strong:#0B5F58;--brand-tint:#E3F2EF;--brand-soft:#F0F8F6;--page:#F2F5F4;--surface:#FFFFFF;--surface2:#F7F9F8;--ink:#13201E;--ink2:#465451;--muted:#7A8683;--hairline:#E3E9E7;--border:rgba(19,32,30,.08);--r:16px;--shadow:0 1px 2px rgba(16,32,28,.04),0 4px 16px rgba(16,32,28,.05);--shadow-lg:0 18px 48px rgba(16,32,28,.18);--ring:0 0 0 4px rgba(15,118,110,.18)}:where(html:not(.clasica)) body{font:15px/1.55 system-ui,Segoe UI Variable Text,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}:where(html:not(.clasica)) :focus-visible{outline:2px solid var(--brand);outline-offset:2px}@media (min-width:901px){:where(html:not(.clasica)) .shell{grid-template-columns:264px minmax(0,1fr)}}:where(html:not(.clasica)) .side{background:var(--surface);border-right:1px solid var(--hairline);padding:18px 14px 24px;scrollbar-width:thin}:where(html:not(.clasica)) .logo{padding:8px 8px 14px}:where(html:not(.clasica)) .logo b{font-size:15.5px;letter-spacing:-.01em}:where(html:not(.clasica)) .navgrp{font-size:10.5px;font-weight:700;letter-spacing:.1em;padding:18px 12px 6px;color:var(--muted)}:where(html:not(.clasica)) .nav{gap:2px}:where(html:not(.clasica)) .nav a,:where(html:not(.clasica)) .nav button{gap:12px;padding:6px 10px;border-radius:12px;font-size:14px;color:var(--ink2);transition:background .15s,color .15s}:where(html:not(.clasica)) .nav a svg,:where(html:not(.clasica)) .nav button svg{width:30px;height:30px;padding:6px;border-radius:9px;stroke-width:1.9;background:color-mix(in srgb,currentColor 11%,transparent)}:where(html:not(.clasica)) .nav a:hover,:where(html:not(.clasica)) .nav button:hover{background:var(--surface2);color:var(--ink)}:where(html:not(.clasica)) .nav a.act,:where(html:not(.clasica)) .nav button.act{background:var(--brand-tint);color:var(--brand-strong);font-weight:650}:where(html:not(.clasica)) .nav a.act svg{background:var(--surface);box-shadow:0 1px 3px rgba(16,32,28,.1)}:where(html:not(.clasica)) .main{padding:0 32px 64px;width:100%;max-width:1304px;justify-self:center}:where(html:not(.clasica)) .top{margin-bottom:22px;gap:8px 16px;border-bottom:0;background:var(--page);box-shadow:0 1px 0 var(--hairline),0 10px 14px -12px rgba(16,32,28,.18);margin-left:-32px;margin-right:-32px;padding:18px 32px 14px}:where(html:not(.clasica)) .top h1{font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.25}:where(html:not(.clasica)) .identidad{gap:12px}:where(html:not(.clasica)) .identidad>.mandos,:where(html:not(.clasica)) .identidad>.who{display:none}:where(html:not(.clasica)) .solo-nuevo{display:block}:where(html:not(.clasica)) .who{font-size:12.5px;line-height:1.35}:where(html:not(.clasica)) .who b{color:var(--ink)}:where(html:not(.clasica)) .mandos{gap:6px}:where(html:not(.clasica)) .mando{width:34px;height:34px;border-radius:11px;border:1px solid var(--hairline);background:var(--surface);box-shadow:0 1px 2px rgba(16,32,28,.04);transition:background .15s,border-color .15s}:where(html:not(.clasica)) .mando:hover{background:var(--brand-soft);border-color:var(--brand-tint);color:var(--brand-strong)}:where(html:not(.clasica)) .mando[disabled]{opacity:.45;cursor:default}:where(html:not(.clasica)) .avatar{width:38px;height:38px;font-size:13px;color:#fff;background:linear-gradient(135deg,#14B8A6,var(--brand));box-shadow:0 2px 8px rgba(15,118,110,.3)}:where(html:not(.clasica)) .usermenu{top:46px;width:260px;border-radius:16px;padding:14px 16px;border:1px solid var(--border);box-shadow:var(--shadow-lg)}:where(html:not(.clasica)) .grid{gap:18px}:where(html:not(.clasica)) .card{border-radius:var(--r);border:1px solid var(--border);box-shadow:var(--shadow);padding:20px 22px}:where(html:not(.clasica)) .main>.card+.card{margin-top:18px}:where(html:not(.clasica)) .main>.card+.grid,:where(html:not(.clasica)) .main>.grid+.card,:where(html:not(.clasica)) .main>.grid+.grid{margin-top:18px}:where(html:not(.clasica)) .emergencia{border-left:3px solid var(--critical)}:where(html:not(.clasica)) .card h3{font-size:14px;font-weight:650;color:var(--ink);margin:0 0 6px}:where(html:not(.clasica)) .card h3.mayor{font-size:16.5px;letter-spacing:-.01em}:where(html:not(.clasica)) .hero{font-size:32px;font-weight:750;letter-spacing:-.025em;line-height:1.15}:where(html:not(.clasica)) .cap{color:var(--muted)}:where(html:not(.clasica)) .sechead{margin:30px 0 14px}:where(html:not(.clasica)) .sechead h2{font-size:18px;letter-spacing:-.01em}:where(html:not(.clasica)) .chip{padding:4px 11px;font-weight:600;letter-spacing:.005em}:where(html:not(.clasica)) .chip.good{background:#E4F5E8;color:#17692A}:where(html:not(.clasica)) .chip.neutral{background:#EDF1F0;color:var(--ink2)}:where(html:not(.clasica)) .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 16px;border-radius:12px;font-size:14px;font-weight:600;box-shadow:0 1px 2px rgba(15,118,110,.25),inset 0 1px 0 rgba(255,255,255,.12);transition:background .15s,box-shadow .15s,transform .05s}:where(html:not(.clasica)) .btn:hover{background:var(--brand-strong);text-decoration:none}:where(html:not(.clasica)) .btn:active{transform:translateY(1px)}:where(html:not(.clasica)) .btn:focus-visible{outline:none;box-shadow:var(--ring)}:where(html:not(.clasica)) .btn.ghost{background:var(--surface);color:var(--brand-strong);border:1px solid var(--hairline);box-shadow:0 1px 2px rgba(16,32,28,.04)}:where(html:not(.clasica)) .btn.ghost:hover{background:var(--brand-soft);border-color:var(--brand-tint)}:where(html:not(.clasica)) .btn[disabled],:where(html:not(.clasica)) .btn[disabled]:hover{background:#E4E9E7;color:#8E9895;box-shadow:none;transform:none}:where(html:not(.clasica)) .btn.sm{min-height:32px;padding:5px 12px;font-size:13px;border-radius:10px}:where(html:not(.clasica)) .scaninput{min-height:44px;border-radius:12px;padding:10px 14px;border:1px solid #d9e0de;background:var(--surface);transition:border-color .15s,box-shadow .15s}:where(html:not(.clasica)) .scaninput:hover{border-color:#C4CECB}:where(html:not(.clasica)) .scaninput:focus{outline:none;border-color:var(--brand);box-shadow:var(--ring)}:where(html:not(.clasica)) textarea.scaninput{min-height:88px}:where(html:not(.clasica)) th{font-size:11px;letter-spacing:.07em;padding:10px 12px;background:var(--surface2);border-bottom:1px solid var(--hairline)}:where(html:not(.clasica)) td{padding:12px;border-bottom:1px solid var(--hairline)}:where(html:not(.clasica)) tbody tr{transition:background .12s}:where(html:not(.clasica)) tbody tr:hover>td{background:var(--brand-soft)}:where(html:not(.clasica)) .scrollwrap th{background:var(--surface2)}:where(html:not(.clasica)) .pillrow{gap:8px;margin-bottom:18px}:where(html:not(.clasica)) .pill{padding:7px 16px;border:1px solid var(--hairline);background:var(--surface);font-weight:500;transition:all .15s}:where(html:not(.clasica)) .pill:hover{border-color:var(--brand);color:var(--brand-strong)}:where(html:not(.clasica)) .pill.act{box-shadow:0 2px 8px rgba(15,118,110,.25)}:where(html:not(.clasica)) .tilerow{gap:14px;margin-bottom:20px}@media (min-width:901px){:where(html:not(.clasica)) .tilerow{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}:where(html:not(.clasica)) .tile{border-radius:var(--r);border:1px solid var(--border);box-shadow:var(--shadow);padding:20px 22px;gap:6px}:where(html:not(.clasica)) .tile .cap{font-size:12.5px;font-weight:500}:where(html:not(.clasica)) .tile .v{font-size:24px;font-weight:750;letter-spacing:-.02em;line-height:1.2}:where(html:not(.clasica)) .note{border-left:3px solid var(--brand-tint);padding:4px 0 4px 12px}:where(html:not(.clasica)) .progress{height:10px;background:#E7ECEA}:where(html:not(.clasica)) .alertbar{border-radius:14px;padding:12px 16px}:where(html:not(.clasica)) .avisobox{border-radius:14px;padding:12px 14px}:where(html:not(.clasica)) .feed li{padding:12px 0}:where(html:not(.clasica)) .footer{margin-top:52px}:where(html:not(.clasica)) .calbig{gap:6px}:where(html:not(.clasica)) .calbig .d{border-radius:12px;background:var(--surface2);border:1px solid var(--hairline)}:where(html:not(.clasica)) .calbig .d.off{border:0}:where(html:not(.clasica)) .calbig .d.today{outline:2px solid var(--brand);outline-offset:-1px}:where(html:not(.clasica)) .evt{border-radius:6px}:where(html:not(.clasica)) .cal span{border-radius:9px}:where(html:not(.clasica)) .filtropanel{border-radius:14px;box-shadow:var(--shadow-lg);padding:14px}:where(html:not(.clasica)) .modal{background:rgba(15,25,23,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}:where(html:not(.clasica)) .modalpanel{border-radius:20px;padding:22px 24px 24px;box-shadow:var(--shadow-lg)}:where(html:not(.clasica)) .modalhead h3{font-size:18px;letter-spacing:-.01em}:where(html:not(.clasica)) .dialogo{border-radius:20px;box-shadow:var(--shadow-lg)}:where(html:not(.clasica)) .visorcaja{border-radius:18px}:where(html:not(.clasica)) .puerta{border-radius:18px}:where(html:not(.clasica)) .puerta .accion{border-radius:12px}:where(html:not(.clasica)) .entrada{background:radial-gradient(1000px 560px at 50% -10%,#C4E6DD 0,transparent 64%),radial-gradient(760px 520px at 100% 108%,#DCEBCF 0,transparent 60%),radial-gradient(600px 420px at -5% 95%,#D9ECE8 0,transparent 60%),var(--page)}:where(html:not(.clasica)) .entrada img{width:112px}:where(html:not(.clasica)) .entrada>.card{padding:30px 30px 26px;border-radius:24px;border:1px solid rgba(19,32,30,.06);box-shadow:0 24px 60px rgba(16,32,28,.12),0 2px 6px rgba(16,32,28,.04);background:linear-gradient(90deg,#14B8A6,var(--brand)) top /100% 5px no-repeat,var(--surface)}:where(html:not(.clasica)) .entrada h1{letter-spacing:-.01em}@media (max-width:900px){:where(html:not(.clasica)) .main{padding:0 16px calc(112px + env(safe-area-inset-bottom))}:where(html:not(.clasica)) .top{padding:12px 16px 10px;margin:0 -16px 16px}:where(html:not(.clasica)) .top h1{font-size:21px}:where(html:not(.clasica)) .card{padding:16px;border-radius:18px}:where(html:not(.clasica)) .main>.card+.card,:where(html:not(.clasica)) .main>.card+.grid,:where(html:not(.clasica)) .main>.grid+.card,:where(html:not(.clasica)) .main>.grid+.grid{margin-top:14px}:where(html:not(.clasica)) .grid{gap:14px}:where(html:not(.clasica)) .tilerow{gap:10px}:where(html:not(.clasica)) .tile{padding:16px 14px}:where(html:not(.clasica)) .tilerow .tile .v{font-size:20px}:where(html:not(.clasica)) .hero{font-size:28px}:where(html:not(.clasica)) .mobilebar{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));border:1px solid var(--border);border-radius:24px;padding:6px 4px;background:color-mix(in srgb,var(--surface) 88%,transparent);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);box-shadow:0 10px 32px rgba(16,32,28,.16)}:where(html:not(.clasica)) .mobilebar .mobilemenu,:where(html:not(.clasica)) .mobilebar a{padding:4px 2px 5px;gap:3px;font-size:11px;font-weight:500;text-align:center;line-height:1.2}:where(html:not(.clasica)) .mobilebar .mobilemenu svg,:where(html:not(.clasica)) .mobilebar a svg{width:22px;height:22px;box-sizing:content-box;padding:4px 16px;border-radius:999px;transition:background .2s}:where(html:not(.clasica)) .mobilebar a.act svg{background:var(--brand-tint)}:where(html:not(.clasica)) .mobilebar a.act{color:var(--brand-strong);font-weight:700}:where(html:not(.clasica)) .sheet{background:rgba(15,25,23,.42);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}:where(html:not(.clasica)) .sheetpanel{border-radius:26px 26px 0 0;padding:6px 14px calc(104px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(16,32,28,.18)}:where(html:not(.clasica)) .sheetgrab{width:44px;height:5px;margin:8px auto 12px;background:#D5DCDA}:where(html:not(.clasica)) .sheetgrid{gap:8px}:where(html:not(.clasica)) .sheetgrid a,:where(html:not(.clasica)) .sheetgrid button{border-radius:14px;padding:10px;gap:10px;border:1px solid var(--border);font-size:13.5px;min-height:52px}:where(html:not(.clasica)) .sheetgrid a svg,:where(html:not(.clasica)) .sheetgrid button svg{width:30px;height:30px;padding:6px;border-radius:10px;background:color-mix(in srgb,currentColor 11%,transparent)}:where(html:not(.clasica)) .sheetgrid a.act{background:var(--brand-tint);border-color:transparent}:where(html:not(.clasica)) .sheetgrid a.act svg{background:var(--surface)}:where(html:not(.clasica)) .modalpanel{border-radius:26px 26px 0 0;padding:20px 18px calc(84px + env(safe-area-inset-bottom))}:where(html:not(.clasica)) .filas-a-tarjetas tr{border-radius:14px;padding:10px 12px;border:1px solid var(--border);box-shadow:var(--shadow)}:where(html:not(.clasica)) tbody tr:hover>td{background:none}:where(html:not(.clasica)) th{padding:9px 8px}:where(html:not(.clasica)) td{padding:10px 8px}}