:root{--bg:#f3f6fa;--card:#fff;--tx:#0e1a2b;--mu:#55657d;--bd:#dde4ee;--pri:#3b6ea5;--pri2:#2f5d8f;--g:#1f8a5b;--o:#c47f17;--r:#c53b3b;--b:#3b6ea5;--t:#39afd1;--hover:#eef3f9;--r16:16px;--r12:12px;--sh:0 1px 2px rgba(16,24,40,.04),0 6px 18px -10px rgba(16,24,40,.12);--sh2:0 4px 14px rgba(15,23,42,.10),0 12px 32px rgba(15,23,42,.08)}
[data-theme=dark]{--bg:#0b1220;--card:#121b2e;--tx:#e8eef8;--mu:#8fa0bf;--bd:#22304d;--pri:#1e6fd9;--pri2:#0b3d91;--g:#2fbf71;--o:#f0a92b;--r:#ef5b5b;--b:#1e6fd9;--hover:#16213a;--sh:0 1px 2px rgba(0,0,0,.35),0 4px 12px rgba(0,0,0,.25);--sh2:0 10px 30px rgba(0,0,0,.45)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--tx);font-size:14px;transition:background .3s,color .3s}
a{color:var(--pri);text-decoration:none}.muted{color:var(--mu)}.small,small{font-size:12px}
.banner{background:linear-gradient(90deg,#f59e0b,#f97316);color:#fff;text-align:center;padding:6px;font-weight:600;font-size:13px;position:sticky;top:0;z-index:30}.banner .muted{color:#fff9}.banner.sm{border-radius:8px;margin:10px 0}
.layout{display:flex;min-height:calc(100vh - 31px)}
.side{width:248px;background:linear-gradient(180deg,#0f172a,#13203b);color:#cbd5e1;display:flex;flex-direction:column;position:sticky;top:31px;height:calc(100vh - 31px);flex-shrink:0;transition:transform .3s}
.brand{display:flex;gap:10px;align-items:center;padding:18px;color:#fff}.brand img{width:40px}.brand small{display:block;color:#94a3b8}
nav{flex:1;overflow:auto;padding:6px 10px}nav a{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:10px;color:#cbd5e1;margin:2px 0;transition:all .2s}
nav a i{font-size:19px}nav a:hover{background:#ffffff10;color:#fff;transform:translateX(3px)}nav a.on{background:linear-gradient(90deg,var(--pri),var(--pri2));color:#fff;box-shadow:0 4px 14px #0d948855}
.me{display:flex;gap:10px;align-items:center;padding:14px;border-top:1px solid #ffffff14}.me small{display:block;color:#94a3b8}.me a{margin-left:auto;color:#94a3b8;font-size:20px}
.av{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--pri),var(--pri2));display:grid;place-items:center;color:#fff;font-weight:700}
main{flex:1;min-width:0}.top{display:flex;align-items:center;gap:12px;padding:14px 24px;background:var(--card);border-bottom:1px solid var(--bd);position:sticky;top:31px;z-index:10}
.top h1{font-size:20px;margin:0;font-weight:700}.grow{flex:1}.chip{background:var(--bg);border:1px solid var(--bd);padding:5px 10px;border-radius:20px;font-size:12px;color:var(--mu)}
.ib{background:none;border:1px solid var(--bd);color:var(--tx);border-radius:10px;width:36px;height:36px;cursor:pointer;font-size:18px}.top .ib:first-child{display:none}
.content{padding:22px 24px;max-width:1500px}
.fade{animation:fade .45s ease both}@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.cols3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}.cols2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:18px}.span2{grid-column:span 2}
section h3,.card h3{font-size:15px;margin:0 0 10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.card{background:var(--card);border:1px solid var(--bd);border-radius:14px;padding:16px;box-shadow:var(--sh);margin-bottom:18px}
.kpi{background:var(--card);border:1px solid var(--bd);border-radius:14px;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;box-shadow:var(--sh);position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s}
.kpi:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(15,23,42,.12)}.kpi b{font-size:24px;font-weight:800;display:block;letter-spacing:-.5px}.kpi small{color:var(--mu);text-transform:uppercase;letter-spacing:.4px;font-size:11px;font-weight:600}
.kpi>i{font-size:30px;width:52px;height:52px;border-radius:14px;display:grid;place-items:center}.kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px}
.kpi.g b{color:var(--g)}.kpi.g>i{color:var(--g);background:#10b98118}.kpi.g:before{background:var(--g)}
.kpi.o b{color:var(--o)}.kpi.o>i{color:var(--o);background:#f59e0b18}.kpi.o:before{background:var(--o)}
.kpi.r b{color:var(--r)}.kpi.r>i{color:var(--r);background:#ef444418}.kpi.r:before{background:var(--r)}
.kpi.b b{color:var(--b)}.kpi.b>i{color:var(--b);background:#3b82f618}.kpi.b:before{background:var(--b)}
.kpi.t b{color:var(--t)}.kpi.t>i{color:var(--t);background:#0ea5a418}.kpi.t:before{background:var(--t)}
.pulse>i{animation:pl 2s infinite}@keyframes pl{50%{box-shadow:0 0 0 8px #0ea5a400;transform:scale(1.05)}0%{box-shadow:0 0 0 0 #0ea5a455}}
.tbl{overflow:auto;padding:0}.tbl h3{padding:16px 16px 0}table{width:100%;border-collapse:collapse}th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:var(--mu);padding:10px 14px;border-bottom:1px solid var(--bd);background:var(--card);position:sticky;top:0}
td{padding:10px 14px;border-bottom:1px solid var(--bd)}tbody tr{transition:background .15s}tbody tr:hover{background:#0d94880d;cursor:pointer}.r{text-align:right}tr.strong td{font-weight:700}
.tag{display:inline-block;padding:2px 9px;border-radius:20px;font-size:11px;font-weight:600;background:#64748b22;color:var(--mu)}.tag.ok{background:#10b98120;color:#059669}.tag.bad{background:#ef444420;color:#dc2626}.tag.warn{background:#f59e0b22;color:#b45309}
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#94a3b8;margin-right:6px}.dot.on{background:var(--g);box-shadow:0 0 0 3px #10b98133}
.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.search{flex:1;min-width:220px;position:relative}.search i{position:absolute;left:12px;top:11px;color:var(--mu)}.search input{padding-left:36px;width:100%}
input,select{background:var(--bg);color:var(--tx);border:1px solid var(--bd);border-radius:10px;padding:9px 12px;font:inherit;outline:none;transition:border .2s,box-shadow .2s}input:focus,select:focus{border-color:var(--pri);box-shadow:0 0 0 3px #0d948822}
.btn{background:linear-gradient(90deg,var(--pri),var(--pri2));color:#fff;border:0;border-radius:10px;padding:9px 16px;font-weight:600;cursor:pointer;display:inline-flex;gap:6px;align-items:center;transition:transform .15s,opacity .2s;font:inherit;font-weight:600}
.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.ghost{background:var(--bg);color:var(--tx);border:1px solid var(--bd)}.btn.sm{padding:6px 10px;font-size:12px}
.row{display:flex;gap:10px;align-items:center}.wrap{flex-wrap:wrap}
.alert{background:#f59e0b18;border:1px solid #f59e0b55;color:#b45309;padding:10px 14px;border-radius:10px;margin-bottom:14px}.alert.ok{background:#10b98118;border-color:#10b98155;color:#047857}
.dl{display:grid;grid-template-columns:150px 1fr;gap:8px 12px;margin:0}.dl dt{color:var(--mu)}.dl dd{margin:0;font-weight:500;word-break:break-word}
.bar{height:7px;background:var(--bd);border-radius:5px;overflow:hidden;margin-bottom:4px}.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--pri),var(--pri2));animation:grow 1s ease}@keyframes grow{from{width:0!important}}
.chartbox{height:320px}.chartbox.sm{height:240px}.empty{text-align:center;padding:30px;color:var(--mu)}.empty i{font-size:42px}
.form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--mu);margin-bottom:10px}.form.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 14px;align-items:end}.form .wide{grid-column:span 2}.chk{flex-direction:row!important;align-items:center}
dialog{border:0;border-radius:16px;padding:22px;background:var(--card);color:var(--tx);width:min(440px,92vw);box-shadow:0 30px 80px #0006}dialog::backdrop{background:#0f172a88;backdrop-filter:blur(3px)}dialog input,dialog select{width:100%}
.skel{background:linear-gradient(90deg,var(--bd) 25%,var(--bg) 50%,var(--bd) 75%);background-size:200% 100%;animation:sk 1.2s infinite;border-radius:8px;color:transparent!important}@keyframes sk{to{background-position:-200% 0}}
.loginbg{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 20%,#14b8a655,transparent 40%),radial-gradient(circle at 80% 80%,#4f46e555,transparent 40%),#0f172a}
.login{background:var(--card);padding:34px;border-radius:20px;width:min(380px,92vw);text-align:center;box-shadow:0 30px 80px #0008}.login h2{margin:10px 0 2px}.login label{display:block;text-align:left;font-size:12px;color:var(--mu);margin:12px 0}.login input{width:100%;margin-top:4px}.login .btn{width:100%;justify-content:center;margin-top:8px;padding:12px}.err{color:var(--r);margin:8px 0}
@media(max-width:1000px){.cols3{grid-template-columns:1fr 1fr}.span2{grid-column:span 2}}
@media(max-width:767px){.side{position:fixed;z-index:40;transform:translateX(-100%)}.side.open{transform:none}.top .ib:first-child{display:block}.cols3,.cols2,.form.grid{grid-template-columns:1fr}.span2,.form .wide{grid-column:auto}.content{padding:14px}.chip{display:none}.dl{grid-template-columns:110px 1fr}}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--bd);margin-bottom:16px;overflow:auto}.tab{background:none;border:0;padding:10px 16px;color:var(--mu);font:inherit;font-weight:600;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}.tab.on{color:var(--pri);border-color:var(--pri)}
.fgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 16px;animation:fade .3s}.fgrid .full,.fgrid h4{grid-column:1/-1}.fgrid h4{margin:14px 0 4px;color:var(--pri)}.form textarea{background:var(--bg);color:var(--tx);border:1px solid var(--bd);border-radius:10px;padding:9px;font:inherit}
.sw{flex-direction:row!important;align-items:center;gap:10px!important;color:var(--tx)!important;font-size:13px!important;cursor:pointer}.sw input{display:none}.sw span{width:38px;height:22px;border-radius:12px;background:var(--bd);position:relative;transition:.2s;flex-shrink:0}
.sw span:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px #0003}.sw input:checked+span{background:var(--pri)}.sw input:checked+span:after{left:19px}
@media(max-width:767px){.fgrid{grid-template-columns:1fr}}

/* ---- monitor_olt "Claro 3" shell ---- */
body{font-family:Inter,system-ui,"Segoe UI",Roboto,sans-serif}
.top{background:linear-gradient(100deg,#0b1220,#0f1e36);color:#e8eef8;border-bottom:0;box-shadow:0 10px 24px -14px rgba(11,18,32,.7);min-height:64px}
.top h1{color:#e8eef8;font-size:16px}.top h1 a.muted{color:#8193b0}.top .ib{border-color:rgba(255,255,255,.12);color:#e8eef8;background:rgba(255,255,255,.07);border-radius:12px}
.top .chip{background:#1e3a64;color:#cfe0ff;border:0}
.side{background:linear-gradient(180deg,#0b1220 0,#13233f 100%);border-right:1px solid #1d2e4a;width:252px;color:#c9d6ea}
.brand img{width:auto;height:38px;border-radius:8px;background:#fff;padding:2px}.brand small{color:#8193b0}
nav{padding:12px 10px 16px}nav a{min-height:46px;border-radius:14px;padding:10px 14px;gap:14px;font-size:14.5px;color:#c9d6ea}
nav a:hover{background:rgba(255,255,255,.06);color:#fff;transform:none}
nav a.on{background:linear-gradient(90deg,#3b6ea5,#2f5d8f);color:#fff;font-weight:600;box-shadow:inset 3px 0 0 #8cbcff,0 2px 8px rgba(0,0,0,.25)}
.me{border-color:#1d2e4a}.me small{color:#8193b0}.me a{color:#ff9b93}.av{background:#1e3a64;color:#cfe0ff}
.card,.kpi{border-radius:var(--r16);box-shadow:var(--sh);border-color:color-mix(in srgb,var(--bd) 70%,transparent)}
section h3,.card h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mu);font-weight:700}
.kpi{padding:18px 20px;transition:transform .15s ease,box-shadow .15s ease;background-image:linear-gradient(135deg,color-mix(in srgb,var(--pri) 5%,transparent),transparent 60%)}
.kpi:hover{transform:translateY(-1px);box-shadow:var(--sh2)}.kpi:before{opacity:.85}
.kpi b{font-size:30px;line-height:1.1;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.kpi.g{background-image:linear-gradient(135deg,color-mix(in srgb,var(--g) 7%,transparent),transparent 60%)}
.kpi.r{background-image:linear-gradient(135deg,color-mix(in srgb,var(--r) 7%,transparent),transparent 60%)}
.kpi.o{background-image:linear-gradient(135deg,color-mix(in srgb,var(--o) 7%,transparent),transparent 60%)}
.kpi>i{opacity:.55;background:none!important;font-size:34px}
.btn{background:#3b6ea5;border-radius:var(--r12);min-height:40px;padding:9px 16px;box-shadow:0 1px 2px rgba(16,24,40,.08)}
[data-theme=dark] .btn{background:linear-gradient(90deg,#0b3d91,#1e6fd9)}
.btn:hover{filter:brightness(1.05);transform:none}.btn:active{transform:scale(.98)}.btn.sm{min-height:34px;padding:6px 12px;border-radius:10px;font-size:12.5px}
.btn.ghost{background:var(--card);color:var(--tx);border:1px solid var(--bd);box-shadow:0 1px 2px rgba(16,24,40,.05)}
input,select,textarea{border-radius:10px}tbody tr:hover{background:var(--hover)}
.tag.ok{background:#1f8a5b1c;color:var(--g)}.tag.bad{background:#c53b3b1c;color:var(--r)}.tag.warn{background:#c47f171f;color:var(--o)}
nav a.on,.tab.on{color:inherit}.tab.on{color:var(--pri);border-color:var(--pri)}
.banner{background:#f59e0b;color:#111;letter-spacing:.04em;font-weight:700}.banner .muted{color:#111a}
.loginbg{background:linear-gradient(135deg,#0b1220,#13233f)}.login .btn{background:linear-gradient(90deg,#0b3d91,#1e6fd9);font-weight:800}
.login input{padding:12px 13px;border:1px solid #c9d5ea;background:#fff;color:#0f1d33}
@media(max-width:767px){.kpi b{font-size:26px}.btn{min-height:44px}.btn.sm{min-height:38px}}
/* ---- Tema claro por defecto (feedback dueño) ---- */
:root{--bg:#f6f8fb}
html:not([data-theme=dark]) .top{background:#fff;color:#0e1a2b;border-bottom:1px solid #e3e8ef;box-shadow:0 1px 2px rgba(16,24,40,.04),0 4px 12px -6px rgba(16,24,40,.08)}
html:not([data-theme=dark]) .top h1{color:#0e1a2b}html:not([data-theme=dark]) .top h1 a.muted{color:#55657d}
html:not([data-theme=dark]) .top .ib{background:#f7f9fc;border-color:#dde4ee;color:#334155}
html:not([data-theme=dark]) .top .chip{background:#e8f0fb;color:#2f5d8f}
html:not([data-theme=dark]) .side{background:#fff;border-right:1px solid #e3e8ef;color:#334155}
html:not([data-theme=dark]) .brand{color:#0e1a2b}html:not([data-theme=dark]) .brand small{color:#55657d}
html:not([data-theme=dark]) nav a{color:#3b4a5e}
html:not([data-theme=dark]) nav a:hover{background:#f1f4f8;color:#0e1a2b}
html:not([data-theme=dark]) nav a.on{background:#e8f0fb;color:#2f5d8f;box-shadow:inset 3px 0 0 #3b6ea5;font-weight:600}
html:not([data-theme=dark]) .me{border-color:#e3e8ef}html:not([data-theme=dark]) .me small{color:#55657d}html:not([data-theme=dark]) .av{background:#e8f0fb;color:#2f5d8f}
html:not([data-theme=dark]) .me a{color:#c53b3b}
.loginbg{background:linear-gradient(135deg,#f6f8fb 0,#e8f0fb 100%)}
html:not([data-theme=dark]) .login{background:#fff;color:#0e1a2b;border:1px solid #e3e8ef;box-shadow:0 10px 30px -10px rgba(16,24,40,.18)}
.login .btn{background:#3b6ea5}
[data-theme=dark] .loginbg{background:linear-gradient(135deg,#0b1220,#13233f)}
/* ---- Paleta WispHub en tonos claros (muestreada de capturas) ---- */
html:not([data-theme=dark]){--bg:#f6f8fb;--card:#fff;--tx:#2b2d30;--mu:#6b7280;--bd:#e5e8ec;--pri:#2b84ae;--pri2:#236f93;--g:#2b84ae;--o:#f8a326;--r:#f34541;--b:#00acec;--t:#00acec;--pu:#9564e2;--hover:#f3f9f5}
html:not([data-theme=dark]) .top{background:#fff;border-bottom:1px solid #e5e8ec;border-top:3px solid #2b84ae}
html:not([data-theme=dark]) .top .chip{background:#eaf5fa;color:#1f6f96}
html:not([data-theme=dark]) nav a.on{background:#eaf5fa;color:#1f6f96;box-shadow:inset 3px 0 0 #2b84ae}
html:not([data-theme=dark]) nav a:hover{background:#f3f4f6;color:#2b2d30}
html:not([data-theme=dark]) .av{background:#eaf5fa;color:#1f6f96}
html:not([data-theme=dark]) .btn{background:#2b84ae;box-shadow:0 1px 2px rgba(43,132,174,.3)}
html:not([data-theme=dark]) .btn:hover{background:#236f93;filter:none}
html:not([data-theme=dark]) .btn.ghost{background:#fff;color:#2b2d30;border:1px solid #dfe3e8;box-shadow:none}
html:not([data-theme=dark]) .login .btn{background:#2b84ae}
html:not([data-theme=dark]) .loginbg{background:linear-gradient(135deg,#f6f8fb 0,#eaf5fa 100%)}
html:not([data-theme=dark]) th{background:#f4f6f8;color:#2b2d30;border-bottom:2px solid #e5e8ec}
html:not([data-theme=dark]) tr.strong td{background:#e3f1f8}
html:not([data-theme=dark]) .tag.ok{background:#2b84ae;color:#fff}html:not([data-theme=dark]) .tag.warn{background:#f8a326;color:#fff}html:not([data-theme=dark]) .tag.bad{background:#f34541;color:#fff}
html:not([data-theme=dark]) .tab.on{color:#1f6f96;border-color:#2b84ae}
html:not([data-theme=dark]) .alert{background:#d9edf7;border-color:#bce8f1;color:#31708f}html:not([data-theme=dark]) .alert.ok{background:#e3f1f8;border-color:#d0e9c6;color:#3c763d}
html:not([data-theme=dark]) .sw input:checked+span{background:#2b84ae}html:not([data-theme=dark]) .bar span{background:linear-gradient(90deg,#2b84ae,#00acec)}
html:not([data-theme=dark]) input:focus,html:not([data-theme=dark]) select:focus{border-color:#2b84ae;box-shadow:0 0 0 3px #2b84ae26}
html:not([data-theme=dark]) a{color:#00a3e0}html:not([data-theme=dark]) nav a,html:not([data-theme=dark]) .brand,html:not([data-theme=dark]) a.btn{color:inherit}html:not([data-theme=dark]) a.btn:not(.ghost){color:#fff}
html:not([data-theme=dark]) nav a{color:#3b4a5e}html:not([data-theme=dark]) nav a.on{color:#1f6f96}
/* ---- Interacción estilo WispHub ---- */
.side nav{padding:8px}.ngrp>button{display:flex;gap:12px;align-items:center;width:100%;background:none;border:0;font:inherit;color:#3b4a5e;padding:9px 12px;border-radius:10px;cursor:pointer;font-size:14px;min-height:40px}
.ngrp>button:hover{background:#f3f4f6}.ngrp>button i:first-child{font-size:19px}.ngrp>button .chev{margin-left:auto;transition:transform .2s;font-size:14px}
.ngrp.open>button .chev{transform:rotate(180deg)}.ngrp.cur>button{color:#1f6f96;font-weight:600}
.nsub{display:none;padding:2px 0 6px 18px;border-left:2px solid #eaf5fa;margin-left:20px}.ngrp.open .nsub{display:block;animation:fade .25s}
.nsub a{min-height:32px!important;padding:6px 10px!important;font-size:13px!important;border-radius:8px!important;gap:8px!important}.nsub .sublbl{font-size:11px;text-transform:uppercase;color:#9aa3af;padding:8px 10px 2px;letter-spacing:.05em}
nav>a{min-height:40px!important;padding:9px 12px!important;border-radius:10px!important;font-size:14px!important}
.dtw{background:var(--card);border:1px solid var(--bd);border-radius:12px;box-shadow:var(--sh);margin-bottom:18px;overflow:hidden}
.dt-top{padding:12px 14px 0}.dt-bulk{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:6px 0 12px;border-bottom:1px solid var(--bd);margin-bottom:10px}.dt-bulk select{min-width:240px}
.dt-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:10px}.dt-btns{display:flex;gap:0;flex-wrap:wrap}
.dt-btns .bt,.dt-btns .btn-like{background:#2b84ae;color:#fff;border:0;padding:7px 11px;font:inherit;font-size:12.5px;cursor:pointer;border-right:1px solid #236f93;border-radius:0}.dt-btns>:first-child{border-radius:8px 0 0 8px}.dt-btns>.ddw:last-child .bt{border-radius:0 8px 8px 0}
.dt-btns .btn-like option{color:#2b2d30;background:#fff}.dt-btns .bt:hover{background:#236f93}
.ddw{position:relative}.dd{display:none;position:absolute;z-index:20;top:110%;left:0;background:var(--card);border:1px solid var(--bd);border-radius:10px;box-shadow:var(--sh2);padding:8px;min-width:200px;max-height:300px;overflow:auto}.dd.open{display:block;animation:fade .15s}.dd label{display:flex;gap:8px;padding:4px 6px;font-size:13px;cursor:pointer}
.gq{font-weight:700}.gq input{margin-left:6px;padding:6px 10px}
.dt-sc{overflow:auto}table.dt th.sortable{cursor:pointer;user-select:none;white-space:nowrap}table.dt th.sortable:after{content:" ⇅";opacity:.3;font-size:11px}table.dt th.asc:after{content:" ▲";opacity:.8}table.dt th.desc:after{content:" ▼";opacity:.8}
table.dt .frow th{padding:4px 6px;background:var(--card);position:static}table.dt .frow input{width:100%;min-width:70px;padding:5px 7px;font-size:12px;border-radius:6px}
table.dt td{padding:8px 12px;font-size:13px}.ckc{width:34px;text-align:center}.center{text-align:center}
.dt-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 14px;font-size:12.5px}.pgs{display:flex}.pg{border:1px solid var(--bd);background:var(--card);color:var(--tx);padding:6px 11px;font:inherit;font-size:12.5px;cursor:pointer;margin-left:-1px}.pg:first-child{border-radius:8px 0 0 8px}.pg:last-child{border-radius:0 8px 8px 0}.pg.on{background:#2b84ae;color:#fff;border-color:#2b84ae}.pg:disabled{opacity:.45;cursor:default}
.btn.info{background:#00acec!important}.btn.warn{background:#f8a326!important}.btn.danger{background:#f34541!important}.btn.ok{background:#22c55e!important;color:#fff!important}.btn.purple{background:#9564e2!important}.btn.xs{min-height:28px;padding:4px 8px;font-size:12px;border-radius:6px}
.racts{display:flex;gap:4px;white-space:nowrap}.rdd{position:relative;display:inline-block}.rdd>.dd{right:0;left:auto;min-width:170px}.rdd.open>.dd{display:block}.rdd .dd a{display:flex;gap:8px;padding:7px 10px;border-radius:6px;color:var(--tx)!important;font-size:13px}.rdd .dd a:hover{background:var(--hover)}
#toasts{position:fixed;top:80px;right:18px;z-index:200;display:flex;flex-direction:column;gap:8px}.toast{display:flex;gap:10px;align-items:center;background:#fff;border-left:4px solid #2b84ae;box-shadow:var(--sh2);padding:12px 16px;border-radius:10px;min-width:260px;animation:tin .3s ease;font-size:13.5px}.toast i{font-size:20px;color:#2b84ae}.toast.error{border-color:#f34541}.toast.error i{color:#f34541}.toast.out{opacity:0;transform:translateX(30px);transition:.4s}
@keyframes tin{from{opacity:0;transform:translateX(30px)}}
.swal-bg{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:300;display:grid;place-items:center;animation:fade .2s}.swal{background:#fff;color:#2b2d30;border-radius:16px;padding:28px 26px 22px;width:min(440px,92vw);text-align:center;box-shadow:0 30px 80px #0005;animation:pop .25s ease}
@keyframes pop{from{transform:scale(.85);opacity:0}}.swal h2{margin:12px 0 6px;font-size:22px}.swal p{color:#545454;font-size:14.5px}.swal-b{display:flex;gap:10px;justify-content:center;margin-top:18px}
.swal-ic{width:76px;height:76px;border-radius:50%;margin:auto;display:grid;place-items:center;font-size:40px;border:4px solid}.swal-ic.warning{border-color:#facea8;color:#f8bb86}.swal-ic.success{border-color:#a5dc86;color:#2b84ae}.swal-ic.error{border-color:#f27474;color:#f27474}.swal-ic.info{border-color:#9de0f6;color:#3fc3ee}
.pagehead{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.pagehead h2{margin:0;font-size:22px;display:flex;gap:8px;align-items:center}.pagehead h2 i{color:#2b84ae}
.tbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.tbar label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700}
.wtabs{display:flex;gap:2px;border-bottom:2px solid var(--bd);margin-bottom:14px;flex-wrap:wrap}.wtabs a{padding:9px 16px;color:var(--mu)!important;font-weight:600;border-bottom:2px solid transparent;margin-bottom:-2px;border-radius:8px 8px 0 0}.wtabs a.on{color:#1f6f96!important;border-color:#2b84ae;background:#eaf5fa}
.mbg{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:150;display:none;place-items:center}.mbg.open{display:grid;animation:fade .2s}.mbox{background:var(--card);border-radius:14px;padding:18px;width:min(640px,94vw);max-height:80vh;overflow:auto;box-shadow:var(--sh2)}
.iplist{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px}.iplist button{border:1px solid var(--bd);background:#eaf5fa;color:#1f6f96;border-radius:8px;padding:6px;cursor:pointer;font:inherit;font-size:12.5px}.iplist button:hover{background:#2b84ae;color:#fff}
.inpg{display:flex;align-items:stretch;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.inpg input{flex:1 1 auto;min-width:0;width:auto;border-radius:10px 0 0 10px}.inpg button{flex:0 0 auto;border-radius:0 10px 10px 0!important;min-height:auto}
/* ---- Tarjetas compactas estilo WispHub (todas) ---- */
body{font-size:14.5px}
.kpi{padding:10px 14px!important;margin-bottom:8px;border-radius:8px!important;background-image:none!important;box-shadow:0 1px 2px rgba(16,24,40,.06)!important;min-height:0}
.kpi:before{width:3px}.kpi:hover{transform:none;box-shadow:0 2px 8px rgba(16,24,40,.10)!important}
.kpi b{font-size:21px!important;font-weight:600!important;letter-spacing:0;line-height:1.25}
.kpi small{font-size:13px!important;text-transform:uppercase;letter-spacing:.02em;font-weight:500!important;color:#55606e}
.kpi>i{font-size:22px!important;width:auto;height:auto;opacity:.75;background:none!important}
.kpi.pulse>i{animation:none}
section>h3{font-size:16.5px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;color:var(--tx)!important;margin-bottom:8px}
.card h3{font-size:15px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--tx)}
.cols3,.cols2{gap:14px;margin-bottom:10px}
a.kpi{color:inherit;text-decoration:none;cursor:pointer}a.kpi:hover b{text-decoration:underline}
@media(max-width:767px){.kpi b{font-size:19px!important}}
/* ---- Verde WispHub en todo ---- */
html:not([data-theme=dark]){--pri:#2b84ae;--pri2:#236f93}
html:not([data-theme=dark]) a{color:#236f93}html:not([data-theme=dark]) a:hover{color:#1f6f96}
html:not([data-theme=dark]) .btn{background:#2b84ae}html:not([data-theme=dark]) .btn:hover{background:#236f93}
html:not([data-theme=dark]) a.btn:not(.ghost),html:not([data-theme=dark]) nav a{text-decoration:none}
html:not([data-theme=dark]) nav a.on,html:not([data-theme=dark]) .nsub a.on{background:#eaf5fa;color:#1f6f96!important;box-shadow:inset 3px 0 0 #2b84ae}
html:not([data-theme=dark]) .nsub a{color:#4b5563}
/* ---- Tarjetas = WispHub ×1.05 (medido en 01_dashboard.png, 1024px → escala 1280) ---- */
.kpi{min-height:48px!important;padding:6px 11px!important;margin-bottom:4px!important;border-radius:4px!important;border:1px solid #dcdfe3!important;box-shadow:none!important;align-items:center}
.kpi:before{display:none}.kpi:hover{box-shadow:0 1px 4px rgba(16,24,40,.08)!important}
.kpi b{font-size:16px!important;font-weight:600!important;line-height:1.2!important}
.kpi small{font-size:10.5px!important;font-weight:500!important;letter-spacing:.02em;color:#555!important;display:block;margin-top:1px}
.kpi>i{font-size:20px!important;opacity:.9}
section>h3{font-size:16px!important;margin:4px 0 6px!important}
.cols3{gap:16px!important;margin-bottom:6px!important}.cols2{gap:16px!important}
/* ---- Menú lateral moderno ---- */
.ngrp>button{font-size:15px;font-weight:600;color:#374151;padding:9px 12px;border-radius:10px;transition:background .15s,color .15s}
.ngrp>button i:first-child{font-size:19px;color:#6b7280;transition:color .15s}
.ngrp>button:hover{background:#f3f4f6}
.ngrp.cur>button{background:#eaf5fa;color:#1f6f96}.ngrp.cur>button i:first-child{color:#2b84ae}
.ngrp>button .chev{transition:transform .25s ease;color:#9ca3af}.ngrp.open>button .chev{transform:rotate(180deg)}
.nsub{display:block!important;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s;padding:0 0 0 14px!important;margin-left:21px!important;border-left:1px solid #e5e7eb!important}
.ngrp.open .nsub{max-height:900px;padding:4px 0 6px 14px!important;animation:none}
.nsub a{font-size:13.5px!important;font-weight:500;color:#4b5563!important;position:relative}
.nsub a:hover{background:#f3f4f6}
side nav>a{font-weight:600}.side nav>a{font-size:15px!important;font-weight:600;color:#374151}
/* ---- Tabla clientes pulida ---- */
table.dt tbody tr:nth-child(even){background:#fafbfc}table.dt tbody tr:hover{background:#f2f8fb}
table.dt td{padding:7px 10px!important;vertical-align:middle}
.cname{font-weight:600;color:#1f2937!important}.csub{display:block;font-size:12px;color:#6b7280}
.pill{display:inline-block;padding:2px 8px;border-radius:12px;background:#eef2f6;color:#374151;font-size:11.5px;white-space:nowrap}
.chips{display:flex;gap:8px;flex-wrap:wrap}.chip2{display:inline-flex;gap:6px;align-items:center;padding:5px 11px;border-radius:16px;font-size:12.5px;font-weight:600;border:1px solid var(--bd);background:#fff;color:#374151!important;text-decoration:none!important}
.chip2 b{font-weight:700}.chip2.g{background:#eaf5fa;border-color:#cfe7f2;color:#1f6f96!important}.chip2.o{background:#fef3e2;border-color:#fde2b8;color:#b86e00!important}.chip2.b{background:#e3f6fd;border-color:#bfe9fa;color:#0086b8!important}
.racts .btn.xs{width:28px;height:28px;padding:0;justify-content:center}
.dot{background:#c4c9d0}.dot.on{background:#2b84ae}
.cname{white-space:nowrap}td:has(.cname){min-width:210px}table.dt td{line-height:1.3}
td:has(.pill){white-space:nowrap}.racts{justify-content:flex-end}
td .tag{white-space:nowrap}
/* ===== Estilo propio CerroNet: azul del logo (#4ea8cd base, #2b84ae profundo) ===== */
html:not([data-theme=dark]){--pri:#2b84ae;--pri2:#236f93;--g:#2b84ae;--b:#4ea8cd;--t:#4ea8cd;--hover:#f2f8fb;--bg:#f5f8fb;--bd:#e2e8ef}
html:not([data-theme=dark]) .top{border-top:0;box-shadow:0 1px 0 #e2e8ef,0 6px 18px -12px rgba(43,132,174,.35)}
html:not([data-theme=dark]) .top:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,#2b84ae,#4ea8cd 60%,transparent)}
.top{position:sticky}
html:not([data-theme=dark]) .btn{background:linear-gradient(180deg,#3592bd,#2b84ae);border-radius:10px;box-shadow:0 1px 2px rgba(43,132,174,.25),inset 0 1px 0 rgba(255,255,255,.15)}
html:not([data-theme=dark]) .btn:hover{background:#236f93}
html:not([data-theme=dark]) .btn.info{background:#4ea8cd!important}
html:not([data-theme=dark]) .dt-btns .bt,html:not([data-theme=dark]) .dt-btns .btn-like{background:#eaf5fa;color:#1f6f96;border-right:1px solid #cfe7f2}
html:not([data-theme=dark]) .dt-btns .bt:hover{background:#d4ebf5}
html:not([data-theme=dark]) .dt-btns .btn-like option{background:#fff}
html:not([data-theme=dark]) .tag{border-radius:6px;padding:2px 8px;font-weight:600}
html:not([data-theme=dark]) .tag.ok{background:#e3f1f8;color:#1f6f96}
html:not([data-theme=dark]) .tag.est-activo{background:#e3f5e9;color:#13733a}html:not([data-theme=dark]) .tag.warn{background:#fff1dc;color:#b86e00}html:not([data-theme=dark]) .tag.bad{background:#fde7e7;color:#c0392b}
html:not([data-theme=dark]) .dot.on{background:#2b84ae;box-shadow:0 0 0 3px #2b84ae33}
html:not([data-theme=dark]) a{color:#2b84ae}html:not([data-theme=dark]) a:hover{color:#1f6f96}
html:not([data-theme=dark]) .ngrp.cur>button{background:#eaf5fa;color:#1f6f96}html:not([data-theme=dark]) .ngrp.cur>button i:first-child{color:#2b84ae}
html:not([data-theme=dark]) nav a.on,html:not([data-theme=dark]) .nsub a.on{background:#eaf5fa;color:#1f6f96!important;box-shadow:inset 3px 0 0 #4ea8cd}
html:not([data-theme=dark]) .nsub{border-left-color:#d4ebf5!important}
html:not([data-theme=dark]) .chip2.g{background:#eaf5fa;border-color:#cfe7f2;color:#1f6f96!important}
html:not([data-theme=dark]) .kpi{border-color:#e2e8ef!important;border-radius:8px!important}
html:not([data-theme=dark]) .kpi.g b,html:not([data-theme=dark]) .kpi.g>i{color:#2b84ae}
html:not([data-theme=dark]) .kpi.b b,html:not([data-theme=dark]) .kpi.b>i,html:not([data-theme=dark]) .kpi.t b,html:not([data-theme=dark]) .kpi.t>i{color:#4ea8cd}
html:not([data-theme=dark]) .loginbg{background:radial-gradient(circle at 20% 20%,#d4ebf5 0,transparent 45%),linear-gradient(135deg,#f5f8fb,#eaf5fa)}
html:not([data-theme=dark]) .login .btn{background:linear-gradient(180deg,#3592bd,#2b84ae)}
html:not([data-theme=dark]) table.dt tbody tr:hover{background:#f2f8fb}
html:not([data-theme=dark]) th{background:#f7fafc}
html:not([data-theme=dark]) .wtabs a.on{background:#eaf5fa;color:#1f6f96!important;border-color:#2b84ae}
html:not([data-theme=dark]) .pg.on{background:#2b84ae;border-color:#2b84ae}
html:not([data-theme=dark]) .toast{border-left-color:#2b84ae}.toast i{color:#2b84ae}
html:not([data-theme=dark]) .swal-ic.success{border-color:#a9d6ea;color:#2b84ae}
html:not([data-theme=dark]) .alert{background:#eaf5fa;border-color:#cfe7f2;color:#1f6f96}
html:not([data-theme=dark]) .pagehead h2 i{color:#2b84ae}
/* ---- Tarjetas +18% (ajuste 11:16) ---- */
.kpi{min-height:57px!important;padding:8px 13px!important;margin-bottom:6px!important}
.kpi b{font-size:19px!important}.kpi small{font-size:12.4px!important}.kpi>i{font-size:23px!important}
section>h3{font-size:17px!important}
/* ---- Tarjetas modernas (ajuste 11:17) ---- */
.kpi{border-radius:13px!important;border:1px solid #e6edf3!important;background:#fff linear-gradient(135deg,rgba(78,168,205,.07),rgba(255,255,255,0) 55%)!important;
 box-shadow:0 1px 2px rgba(16,24,40,.04),0 4px 12px -6px rgba(43,132,174,.18)!important;transition:transform .2s ease,box-shadow .2s ease!important;position:relative;overflow:hidden}
.kpi:before{display:block!important;content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#4ea8cd!important;opacity:.9}
.kpi.o:before{background:#f0a04b!important}.kpi.r:before{background:#e5534b!important}.kpi.g:before{background:#2b84ae!important}
.kpi:hover{transform:translateY(-3px)!important;box-shadow:0 2px 4px rgba(16,24,40,.05),0 12px 24px -8px rgba(43,132,174,.30)!important}
.kpi b{font-weight:700!important}.kpi small{color:#8a96a3!important}
.kpi>i{width:38px!important;height:38px!important;border-radius:11px;display:grid!important;place-items:center;font-size:20px!important;opacity:1!important;background:#eaf5fa!important;color:#2b84ae!important;flex-shrink:0}
.kpi.o>i{background:#fff3e3!important;color:#e08a2c!important}.kpi.r>i{background:#fde9e8!important;color:#e5534b!important}

/* ===== Diseño D Glass sutil + menú oscuro azul marino (11:28) ===== */
html:not([data-theme=dark]) body{background:radial-gradient(1200px 600px at 100% -10%,#dff0f8 0,transparent 60%),linear-gradient(180deg,#f3f8fb,#eef4f8)!important}
html body .side{background:linear-gradient(180deg,#132f45 0,#0f2a3d 100%)!important;color:#d6e4ee!important;border-right:1px solid #0b2131!important;width:256px!important}
html body .side .brand{display:block;padding:14px 16px 10px;border:0!important;background:none!important}
html body .side .logobox{display:flex;justify-content:center;background:#fff;border-radius:10px;padding:8px 10px;box-shadow:0 4px 14px -6px rgba(0,0,0,.5)}
html body .side .logobox img{height:44px;width:auto;max-width:100%}
html body .side .prof{display:flex;align-items:center;gap:12px;padding:10px 18px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
html body .side .prof .av{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#4ea8cd,#2b84ae);color:#fff;display:grid;place-items:center;font-weight:700;font-size:18px;border:2px solid rgba(255,255,255,.85);flex-shrink:0}
html body .side .prof b{display:block;color:#fff;font-size:15px;font-weight:600}html body .side .prof small{color:#9fb8c9;font-size:12.5px}
html body .side nav{padding:0!important;overflow-y:auto;flex:1}
html body .side nav>a,html body .side .ngrp>button{color:#d6e4ee!important;background:none!important;border-radius:0!important;border-bottom:1px solid rgba(255,255,255,.06)!important;padding:12px 18px!important;min-height:48px;font-size:15px!important;font-weight:500!important;display:flex;gap:14px;align-items:center;width:100%;margin:0!important}
html body .side nav>a i,html body .side .ngrp>button i{color:#9fc3d8!important;font-size:20px}
html body .side nav>a:hover,html body .side .ngrp>button:hover{background:rgba(78,168,205,.10)!important;color:#fff!important}
html body .side nav>a.on,html body .side .ngrp.cur>button{background:rgba(78,168,205,.16)!important;color:#fff!important;box-shadow:inset 4px 0 0 #4ea8cd}
html body .side nav>a.on i,html body .side .ngrp.cur>button i{color:#4ea8cd!important}
html body .side .ngrp .chev{margin-left:auto;font-size:16px!important;transition:transform .2s}html body .side .ngrp.open .chev{transform:rotate(180deg)}
html body .side .nsub{background:#0b2233!important;border:0!important;margin:0!important;padding:4px 0!important}
html body .side .nsub a{color:#b5cad8!important;padding:9px 18px 9px 52px!important;font-size:14px!important;border-radius:0!important;display:block;background:none!important}
html body .side .nsub a:hover{color:#fff!important;background:rgba(78,168,205,.08)!important}html body .side .nsub a.on{color:#4ea8cd!important;font-weight:600}
html body .side .sublbl{color:#6f8ea3!important;padding:8px 18px 4px 52px!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.06em}
html body .side .navout{border-bottom:0!important}
/* Glass contenido */
html:not([data-theme=dark]) .top{background:rgba(255,255,255,.62)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(43,132,174,.15)!important}
html:not([data-theme=dark]) .card,html:not([data-theme=dark]) .panel,html:not([data-theme=dark]) .box{background:rgba(255,255,255,.78);backdrop-filter:blur(8px);border-color:rgba(78,168,205,.22)!important}
html:not([data-theme=dark]) .kpi{background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(234,245,250,.9))!important;border:1px solid rgba(78,168,205,.25)!important}
.mbar,.scrim{display:none}
@media(max-width:767px){
 .banner{font-size:11px}.banner .muted{display:none}
 .mbar{display:flex;align-items:center;position:sticky;top:0;z-index:30;height:56px;background:linear-gradient(90deg,#2b84ae,#4ea8cd);color:#fff;box-shadow:0 2px 10px -4px rgba(15,42,61,.5)}
 .mbar button,.mbar .mhelp{width:56px;height:56px;background:none;border:0;color:#fff;font-size:26px;display:grid;place-items:center;cursor:pointer;text-decoration:none}
 .mbar>a:not(.mhelp){flex:1;text-align:center;color:#fff;font-weight:700;font-size:20px;text-decoration:none}
 .top{position:static!important}.top .ib:first-child{display:none!important}
 html body .side{position:fixed!important;top:0!important;left:0;height:100vh!important;z-index:60;width:82vw!important;max-width:320px;transform:translateX(-102%)!important;transition:transform .28s ease;box-shadow:8px 0 30px rgba(0,0,0,.35)}
 body.dopen .side{transform:none!important}
 .scrim{display:block;position:fixed;inset:0;z-index:55;background:rgba(10,25,38,.45);opacity:0;pointer-events:none;transition:opacity .25s}
 body.dopen .scrim{opacity:1;pointer-events:auto}
}
html body .side .logobox img{height:auto!important;width:100%!important;max-width:200px!important;max-height:64px!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;background:none!important}
/* Buscador inteligente */
.gsearch{position:relative;flex:0 1 380px;display:flex;align-items:center;background:#fff;border:1px solid #cfe3ee;border-radius:12px;padding:0 10px;height:40px;box-shadow:0 2px 8px -4px rgba(43,132,174,.3)}
.gsearch:focus-within{border-color:#4ea8cd;box-shadow:0 0 0 3px rgba(78,168,205,.2)}
.gsearch>i{color:#2b84ae;font-size:18px}.gsearch input{flex:1;border:0!important;outline:0;background:none!important;font:inherit;font-size:14px;padding:0 8px;min-width:0;box-shadow:none!important;height:38px}
.gsearch kbd{font:11px Inter,sans-serif;color:#6b8798;border:1px solid #d6e6ef;border-radius:5px;padding:1px 6px;background:#f4f9fc}
.gsres{display:none;position:absolute;left:0;right:0;top:46px;background:#fff;border:1px solid #d4ebf5;border-radius:12px;box-shadow:0 18px 40px -16px rgba(15,42,61,.45);z-index:70;max-height:420px;overflow:auto;padding:6px}
.gsres.on{display:block}.gsres a{display:block;padding:9px 12px;border-radius:9px;color:#1f2d3a;text-decoration:none}
.gsres a.sel,.gsres a:hover{background:#eaf5fa}.gsres b{display:block;font-size:14px}.gsm{display:block;font-size:12px;color:#6b8193;margin:2px 0 4px}
.gst em{font-style:normal;font-size:11px;padding:2px 8px;border-radius:20px;margin-right:5px;background:#eef3f6;color:#4a5c6a}.gst .ok{background:#e3f6ec;color:#1c7a4a}.gst .wa{background:#fff1dc;color:#b06a00}.gst .p{background:#eaf5fa;color:#1f6f96}.gst .ax{background:#f3ecff;color:#6b46c1}
.gsno{padding:12px;color:#6b8193;font-size:13px}
@media(max-width:767px){.top{flex-wrap:wrap}.gsearch{order:5;flex:1 1 100%;height:44px}.gsearch kbd{display:none}.gsearch input{font-size:16px}.gsres{max-height:60vh}}
/* ===== Colores exactos del menú de monitor_olt (11:30) ===== */
html body .side{background:#0d1830!important;border-right:1px solid #1f2e4d!important;color:#c8d6f0!important}
html body .side .prof{border-bottom:1px solid #1f2e4d}html body .side .prof small{color:#93a7cc}
html body .side .prof .av{background:linear-gradient(90deg,#1e5bd8,#1a46a8)}
html body .side nav{padding:10px 8px!important;display:flex;flex-direction:column;gap:2px}
html body .side nav>a,html body .side .ngrp>button{color:#c8d6f0!important;border-bottom:0!important;border-radius:14px!important;min-height:46px;padding:10px 14px!important;font-size:14.5px!important}
html body .side nav>a i,html body .side .ngrp>button i{color:#9fb6e0!important}
html body .side nav>a:hover,html body .side .ngrp>button:hover{background:#16264a!important;color:#fff!important}
html body .side .ngrp.open>button{background:rgba(255,255,255,.07)!important}
html body .side nav>a.on,html body .side .ngrp.cur>button{background:linear-gradient(90deg,#1e5bd8,#1a46a8)!important;color:#fff!important;font-weight:600!important;box-shadow:inset 3px 0 0 #7fb2ff,0 2px 8px rgba(0,0,0,.18)!important}
html body .side nav>a.on i,html body .side .ngrp.cur>button i{color:#fff!important}
html body .side .nsub{background:none!important;margin:2px 0 4px 25px!important;padding:0 0 0 10px!important;border-left:1px solid rgba(255,255,255,.18)!important}
html body .side .nsub a{padding:7px 10px!important;border-radius:10px!important;font-size:13.5px!important;color:#c8d6f0!important}
html body .side .nsub a:hover{background:#16264a!important}html body .side .nsub a.on{background:#1e3466!important;color:#fff!important;font-weight:600}
html body .side .sublbl{padding:8px 10px 3px!important;color:#7f93b8!important}
html body .side .navout{margin-top:6px;border-top:1px solid #1f2e4d!important;border-radius:0!important;color:#ff9a8f!important}html body .side .navout i{color:#ff9a8f!important}
html body .side .badge,html body .side .mbadge{background:#2f7bf6;color:#fff;border-radius:999px;font-size:11px;font-weight:700;padding:1px 6px}
/* barra superior oscura */
html:not(#z) body .top{background:linear-gradient(90deg,#0b3d91,#1e6fd9)!important;color:#fff!important;border:0!important;box-shadow:0 2px 10px #0006!important;backdrop-filter:none!important}
html:not(#z) body .top:after{display:none!important}html:not(#z) body .top h1,html:not(#z) body .top h1 a{color:#fff!important}
html:not(#z) body .top .chip{background:#ffffff1f!important;color:#e6efff!important;border:1px solid #ffffff33!important}
html:not(#z) body .top .ib{background:#ffffff1f!important;border-color:#ffffff40!important;color:#fff!important}
html:not(#z) body .gsearch{background:#ffffff1f;border:1px solid #ffffff40;box-shadow:none}
html:not(#z) body .gsearch:focus-within{background:#ffffff2e;border-color:#ffffff80;box-shadow:0 0 0 3px #ffffff26}
html:not(#z) body .gsearch>i{color:#dbe7ff}html:not(#z) body .gsearch input{color:#fff!important}html:not(#z) body .gsearch input::placeholder{color:#dbe7ff}
html:not(#z) body .gsearch kbd{background:#ffffff1f;border-color:#ffffff40;color:#dbe7ff}
.mbar{background:linear-gradient(90deg,#0b3d91,#1e6fd9)!important;box-shadow:0 2px 10px #0006!important}
@media(max-width:767px){html:not(#z) body .top{box-shadow:none!important}html body .side{background:#0d1830!important;border-radius:0 20px 20px 0}}
/* ===== Responsive escritorio/tablet/móvil (11:31–11:32) ===== */
html,body{overflow-x:hidden}
body{padding-bottom:env(safe-area-inset-bottom)}
.top .railbtn{display:none}
@media(min-width:1024px){
 .top .railbtn{display:grid!important;place-items:center}
 html body .side{transition:width .25s ease}
 body.rail .side{width:76px!important}
 body.rail .side span,body.rail .side .chev,body.rail .side .nsub,body.rail .side .prof>div:last-child{display:none!important}
 body.rail .side .prof{justify-content:center;padding:10px 0 14px}body.rail .side .logobox{padding:4px}body.rail .side .brand{padding:12px 8px}
 body.rail .side nav>a,body.rail .side .ngrp>button{justify-content:center;padding:10px 0!important}
 .form.grid,.fgrid{grid-template-columns:1fr 1fr}
 .content{max-width:1700px}
}
@media(min-width:768px) and (max-width:1023px){
 html body .side{position:fixed!important;top:0!important;height:100vh!important;z-index:60;transform:translateX(-102%)!important;transition:transform .25s ease}
 body.dopen .side{transform:none!important}
 .scrim{display:block;position:fixed;inset:0;z-index:55;background:rgba(10,20,40,.45);opacity:0;pointer-events:none;transition:opacity .25s}body.dopen .scrim{opacity:1;pointer-events:auto}
 .top .ib:first-child{display:grid!important;place-items:center}.top .railbtn{display:grid!important}
 .cols3{grid-template-columns:1fr 1fr}
}
@media(max-width:767px){
 .mbar{padding-top:env(safe-area-inset-top);height:calc(56px + env(safe-area-inset-top))!important}
 html body .side{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);transition:transform .25s ease!important;will-change:transform}
 .scrim{transition:opacity .25s!important}
 .top{padding:8px 12px!important;gap:8px!important;min-height:0!important}.top h1{font-size:16px!important;flex:1}.top .chip{display:none!important}
 .content{padding:12px 12px 24px!important}
 /* tarjetas del panel en 2 columnas */
 .cols3,.cols2{grid-template-columns:1fr!important;gap:14px!important}
 .cols3>section{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cols3>section>h3,.cols3>section>.cols2{grid-column:1/-1}.cols3>section .cols2{grid-template-columns:1fr 1fr!important}
 .kpi{min-height:0!important;padding:12px!important;margin:0!important}.kpi b{font-size:17px!important}.kpi small{font-size:11px!important;line-height:1.25}.kpi>i{width:32px!important;height:32px!important;font-size:16px!important}
 .cols3>section>.kpi:nth-of-type(3):last-child{grid-column:1/-1}
 /* formularios */
 input,select,textarea{font-size:16px!important}
 .btn,button.btn,.bt,.swal button{min-height:44px}
 .form.grid,.fgrid{grid-template-columns:1fr!important}
 /* tablas en tarjetas */
 table.rt thead{display:none}
 table.rt,table.rt tbody{display:block;width:100%}
 table.rt tr{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;background:#fff;border:1px solid #dbe6f3;border-radius:14px;padding:12px 14px;margin:0 0 10px;box-shadow:0 4px 14px -10px rgba(11,61,145,.35)}
 table.rt td{display:block;border:0!important;padding:2px 0!important;min-width:0;font-size:13.5px;overflow-wrap:anywhere;white-space:normal!important;text-align:left!important}
 table.rt td[data-l]:not([data-l=""])::before{content:attr(data-l);display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:#7a8aa6;font-weight:600}
 table.rt td:first-child:has(input[type=checkbox]){position:absolute;opacity:0;pointer-events:none;width:0;height:0}
 table.rt tr{position:relative}
 table.rt td:nth-child(2),table.rt td:first-child:not(:has(input)){grid-column:1/-1;font-size:15px}
 table.rt td:last-child{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;padding-top:6px!important}
 table.rt td:last-child::before{display:none!important}
 table.rt td:last-child .btn,table.rt td:last-child button,table.rt td:last-child a.ibtn{min-height:40px;min-width:40px}
 table.rt tr.filters,table.rt tr:has(th){display:none}
 .tbl,.table-wrap,.dt-wrap,.card:has(table){overflow:visible!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
 .dt-bar,.dt-btns{flex-wrap:wrap;gap:8px}.dt-bar input{width:100%}
 /* modales a pantalla completa */
 .swal-bg{place-items:stretch!important}.swal{width:100vw!important;max-width:none!important;min-height:100vh;border-radius:0!important;padding:calc(28px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom))!important;display:flex;flex-direction:column;justify-content:center}
 .gsres{position:fixed!important;left:8px!important;right:8px!important;top:auto!important;margin-top:6px}
}
.side,.kpi,.btn,a{transition-duration:.2s}

html:not(#z) body .top .ib:first-child{color:#fff}
@media(max-width:767px){.gsres{position:absolute!important;left:0!important;right:0!important;top:50px!important;margin:0}}
/* ===== Tarjetas +13% (11:40) ===== */
html body .kpi{padding:15px 18px!important;min-height:66px!important;gap:12px}
html body .kpi b{font-size:22px!important;line-height:1.15}
html body .kpi small{font-size:13.5px!important}
html body .kpi>i{width:44px!important;height:44px!important;font-size:21px!important;border-radius:12px!important;flex-shrink:0}
@media(max-width:767px){
 html body .kpi{padding:13px 12px!important;min-height:0!important;gap:8px}
 html body .kpi b{font-size:19.5px!important}
 html body .kpi small{font-size:12.5px!important}
 html body .kpi>i{width:38px!important;height:38px!important;font-size:18px!important}
 html body .kpi>div{min-width:0}
}
/* Móvil: tarjetas a 1 columna, ancho completo (11:41) */
@media(max-width:767px){
 html body .cols3>section,html body .cols3>section .cols2,html body .cols2,html body .kgrid{grid-template-columns:1fr!important}
 html body .kpi{width:100%;padding:15px 16px!important}
 html body .kpi b{font-size:22px!important}html body .kpi small{font-size:13.5px!important}
 html body .kpi>i{width:44px!important;height:44px!important;font-size:21px!important}
}
/* Sin banner de prueba (11:44) */
.banner{display:none!important}
.layout{min-height:100vh!important}
@media(min-width:1024px){html body .side{top:0!important;height:100vh!important}}
html body .top{top:0!important}
.mkoff{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500;color:#8a5a00;background:#fff4e0;border:1px solid #f5dcae;border-radius:999px;padding:3px 10px;margin:0 0 10px;width:max-content;max-width:100%;cursor:help}
.mkoff i{font-size:14px}
/* Menús ⋮ (11:45) */
.rdd>.dd{z-index:80}
.rdd>.dd.up{top:auto!important;bottom:calc(100% + 4px)!important}
.rdd>.dd.lft{right:auto!important;left:0!important}
.rdd .dd a i{font-size:16px;color:#1e6fd9;flex-shrink:0}
@media(max-width:767px){
 body.sheet::after{content:"";position:fixed;inset:0;background:rgba(10,20,40,.45);z-index:90;animation:fade .2s}
 html body .rdd.open>.dd{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;min-width:0!important;max-width:none!important;z-index:95!important;
  background:#fff;border-radius:18px 18px 0 0!important;padding:8px 12px calc(14px + env(safe-area-inset-bottom))!important;box-shadow:0 -12px 40px rgba(0,0,0,.3)!important;border:0!important;animation:sheetup .25s ease;display:block!important;max-height:80vh;overflow:auto}
 html body .rdd.open>.dd::before{content:attr(data-t);display:block;font-weight:700;font-size:16px;color:#0d1830;padding:14px 8px 10px;border-bottom:1px solid #e6edf5;margin-bottom:6px;
  background:linear-gradient(#cfd8e3,#cfd8e3) center 4px/40px 4px no-repeat}
 html body .rdd .dd a{min-height:50px;font-size:15.5px!important;align-items:center;gap:14px;padding:10px 10px!important;border-radius:12px}
 html body .rdd .dd a i{font-size:20px;width:24px}
 table.rt td:last-child{position:relative;z-index:1}
}
@keyframes sheetup{from{transform:translateY(100%)}to{transform:none}}
.pwv{display:inline-flex;align-items:center;gap:8px;max-width:100%}.pwv code{font:600 14px ui-monospace,Menlo,monospace;background:#eef4fb;border:1px solid #d6e3f2;border-radius:8px;padding:4px 8px;user-select:all;overflow-wrap:anywhere}
.pwv .btn{min-height:34px;min-width:34px}.pwv input{font-family:ui-monospace,Menlo,monospace}
.inpg.pwv,.pwv.inpg{display:flex;gap:0;align-items:stretch}
.fgrid>label,.form label{min-width:0;max-width:100%}
/* Marca CerroNet */
html body .side .logobox{padding:0!important;background:none!important;box-shadow:none!important}
html body .side .logobox img{max-height:60px!important;max-width:210px!important;border-radius:12px!important;box-shadow:0 4px 14px -6px rgba(0,0,0,.5)}
.mbar .mlogo{display:flex;justify-content:center}.mbar .mlogo img{height:36px;border-radius:8px}
:root{color-scheme:light}
#msheet{position:fixed;inset:0;z-index:200;background:rgba(10,20,40,.45);display:flex;align-items:flex-end;animation:fade .2s}
#msheet .shbox{width:100%;background:#fff;border-radius:18px 18px 0 0;padding:6px 12px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(0,0,0,.3);animation:sheetup .25s ease;max-height:80vh;overflow:auto}
#msheet .shh{font-weight:700;font-size:16px;color:#0d1830;padding:18px 8px 10px;border-bottom:1px solid #e6edf5;margin-bottom:6px;background:linear-gradient(#cfd8e3,#cfd8e3) center 6px/40px 4px no-repeat}
#msheet a,#msheet button{display:flex;align-items:center;gap:14px;min-height:50px;padding:10px;border-radius:12px;font-size:15.5px;color:#1f2d3a!important;text-decoration:none;background:none;border:0;width:100%;font-family:inherit;text-align:left}
#msheet a:active,#msheet a:hover{background:#eef4fb}#msheet i{font-size:20px;width:24px;color:#1e6fd9}
body.sheet::after{display:none!important}
/* Fotos de perfil */
html body .side .prof{text-decoration:none}html body .side .prof img.av{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.85);flex-shrink:0}
.avs{width:34px;height:34px;border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;background:linear-gradient(90deg,#1e5bd8,#1a46a8);color:#fff;font-weight:700;font-size:14px}
.avtd{width:44px}.fotorow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.fotof{margin-top:14px;border-top:1px solid #e6edf5;padding-top:10px}
.avbig{width:72px;height:72px;border-radius:50%;overflow:hidden;display:inline-grid;place-items:center;background:linear-gradient(90deg,#1e5bd8,#1a46a8);color:#fff;font-weight:700;font-size:26px;flex-shrink:0}
.avbig.xl{width:96px;height:96px;font-size:34px}.avbig img{width:100%;height:100%;object-fit:cover}
@media(max-width:767px){table.rt td.avtd{position:absolute;right:12px;top:12px;width:auto}table.rt td.avtd::before{display:none!important}}
/* Historial facturas/pagos */
.fh-filtros{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:6px 0 12px}.fh-filtros input[type=search]{flex:1 1 260px}.fh-filtros label{display:flex;flex-direction:column;font-size:12px;color:#5b6b80;gap:3px}
.fh-filtros input,.fh-filtros select{height:38px;border:1px solid #d6e3f2;border-radius:10px;padding:0 10px;background:#fff}
table.fh .acts{white-space:nowrap;display:flex;gap:6px}.tag.bad{background:#fde8e8;color:#b42318}
.fhdlg{border:0;border-radius:16px;padding:0;width:min(560px,94vw);box-shadow:0 30px 80px #0005}.fhdlg::backdrop{background:rgba(10,20,40,.45)}.fhdlg .form{padding:20px 22px;display:flex;flex-direction:column;gap:12px}
.fhdlg label{display:flex;flex-direction:column;gap:4px;font-size:13px}.fhdlg label.chk{flex-direction:row;align-items:flex-start;gap:8px}.fhdlg .row{display:flex;gap:10px;justify-content:flex-end}
.fhwarn{background:#fff4e0;border:1px solid #f5dcae;color:#8a5a00;border-radius:10px;padding:10px 12px;font-size:13px;margin:0}.fhaud{padding-left:18px;margin:4px 0;color:#334}
@media(max-width:767px){.fhdlg{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.fhdlg .form{padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));min-height:100%}
 .fhdlg .row{margin-top:auto}.fhdlg .row .btn{flex:1}.fh-filtros label{flex:1 1 45%}table.fh .acts{display:flex}}
/* ===== Barra superior compacta estilo monitor_olt (12:10) ===== */
:root{--topH:60px}
.mbar,header.top{display:none!important}
.appbar{position:sticky;top:0;z-index:65;height:calc(var(--topH) + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 16px 0 10px;display:flex;align-items:center;gap:12px;flex-wrap:nowrap;
 background:linear-gradient(90deg,#0b1220,#0d1830 55%,#13233f);color:#fff;box-shadow:0 2px 10px #0006}
.appbar .hamb{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;font-size:22px;background:none;border:0;color:#fff;cursor:pointer;flex:none}
.appbar .hamb:hover{background:rgba(255,255,255,.14)}
.appbar .ablogo{flex:none;display:flex;background:#fff;border-radius:12px;padding:3px 8px;height:40px;align-items:center;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.appbar .ablogo img{height:30px;width:auto;display:block}
html:not(#z) body .appbar .gsearch{flex:0 1 420px;min-width:0;height:42px;border-radius:999px;background:#ffffff1f;border:1px solid #ffffff40;padding:0 14px;box-shadow:none}
html:not(#z) body .appbar .gsearch:focus-within{box-shadow:0 0 0 3px rgba(255,255,255,.28);background:#ffffff2b}
.appbar .abinfo{font-size:12px;color:#c8d6f0;background:#ffffff14;border:1px solid #ffffff26;border-radius:999px;padding:4px 10px;white-space:nowrap}
.appbar .abhelp{color:#c8d6f0;font-size:20px;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;text-decoration:none}.appbar .abhelp:hover{background:#ffffff1f;color:#fff}
.layout{min-height:calc(100vh - var(--topH))!important}
@media(min-width:1024px){html body .side{top:var(--topH)!important;height:calc(100vh - var(--topH))!important;position:sticky!important}}
.pgt{font-size:18px;font-weight:700;color:#0d1830;margin:0 0 12px}.pgt a{color:#5b6b80;text-decoration:none}.pgt:empty{display:none}
@media(max-width:1023px){
 .appbar{--topH:58px}
 html body .side{top:calc(var(--topH) + env(safe-area-inset-top,0px))!important;height:calc(100dvh - var(--topH) - env(safe-area-inset-top,0px))!important;padding-top:0!important}
 .scrim{top:calc(var(--topH) + env(safe-area-inset-top,0px))!important}
}
@media(max-width:767px){
 :root{--topH:56px}
 .appbar{padding:env(safe-area-inset-top,0px) max(10px,env(safe-area-inset-right,0px)) 0 max(6px,env(safe-area-inset-left,0px));gap:8px}
 .appbar .hamb{width:48px;height:48px;font-size:26px;border-radius:14px;margin-right:-2px}
 .appbar .ablogo{height:38px;padding:2px 7px}.appbar .ablogo img{height:28px}
 html:not(#z) body .appbar .gsearch{flex:1;height:40px}
 .appbar .grow,.appbar .abinfo,.appbar .abhelp{display:none}
 .gsres{position:fixed!important;left:8px!important;right:8px!important;top:calc(var(--topH) + env(safe-area-inset-top,0px) + 4px)!important}
 .pgt{font-size:16px;margin-bottom:10px}
}
@media(min-width:768px){.gsres{min-width:380px}}
@media(max-width:767px){.appbar{--topH:56px}}
.fhdlg label.chk input{width:20px!important;height:20px;flex:none;margin-top:2px;min-height:0!important}
.fotoup .fin{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}.fotoup label.btn{position:relative;cursor:pointer}
.fmsg{font-size:14px;min-height:20px}.fmsg.ok{color:#1c7a4a;font-weight:600}.fmsg.err{color:#b42318;font-weight:600}
/* Accesos rápidos: agregar cliente */
.btn.addcli{background:linear-gradient(90deg,#1e5bd8,#1a46a8)!important;color:#fff!important;font-weight:700;box-shadow:0 6px 16px -8px rgba(30,91,216,.8)}
.fab{display:none}
@media(max-width:767px){.fab{display:grid;place-items:center;position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));width:58px;height:58px;border-radius:50%;z-index:50;
 background:linear-gradient(135deg,#1e6fd9,#1a46a8);color:#fff;font-size:28px;box-shadow:0 10px 24px -8px rgba(11,61,145,.7);text-decoration:none}.fab:active{transform:scale(.95)}
 body.dopen .fab{display:none}}
/* Carga: barra NProgress + spinner */
#nprog{position:fixed;top:0;left:0;right:0;height:3px;z-index:9999;pointer-events:none;opacity:0;transition:opacity .2s}#nprog.on{opacity:1}
#nprog .np-bar{height:100%;background:linear-gradient(90deg,#4ea8cd,#2b84ae,#1e6fd9);transform-origin:0 50%;transform:scaleX(0);transition:transform .2s ease;box-shadow:0 0 10px #4ea8cd,0 0 4px #4ea8cd}
.spin{width:16px;height:16px;border:2.5px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:spn .7s linear infinite;flex:none}
@keyframes spn{to{transform:rotate(360deg)}}
.btn.busy,button.busy{opacity:.85;cursor:progress!important;display:inline-flex;align-items:center;gap:8px}
#toasts{z-index:10000}@media(max-width:767px){#toasts{left:12px!important;right:12px!important;bottom:calc(90px + env(safe-area-inset-bottom))!important;top:auto!important}#toasts .toast{width:100%}}
.kpi,.kpi *,.card.kpi{animation:none!important}
.d2wrap{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px}
.d2{background:#fff;border-radius:14px;max-width:460px;width:100%;padding:20px;box-shadow:0 20px 50px rgba(0,0,0,.25)}.d2 h3{margin:0 0 10px;font-size:17px;color:#b42318}
.d2r{color:#475569;font-size:14px;line-height:1.45}.d2i{width:100%;font-size:16px;padding:12px;border:1px solid #cbd5e1;border-radius:10px;margin:6px 0 14px}
.d2b{display:flex;gap:10px;justify-content:flex-end}.d2b .btn{min-height:44px}.d2b .btn[disabled]{opacity:.45}
@media(max-width:767px){.d2wrap{align-items:flex-end;padding:0}.d2{border-radius:16px 16px 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom))}.d2b .btn{flex:1}}
html,body{touch-action:manipulation;overflow-x:hidden}button,.btn,a,input,select,textarea,label{touch-action:manipulation}
input,select,textarea{font-size:max(16px,1em)!important}
.dd a.ddel{color:#dc2626!important;border-top:1px solid #f1f5f9;font-weight:600}.dd a.ddel.off{opacity:.55;cursor:not-allowed}.dd a.ddel small{font-weight:400;color:#94a3b8;margin-left:4px}
.btn.off{opacity:.55;cursor:not-allowed}.pacts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
#msheet a.ddel{color:#dc2626!important}
.selbar{position:fixed;top:calc(var(--topH,60px) + 8px);left:50%;transform:translateX(-50%);z-index:900;background:#0f2a3d;color:#fff;border-radius:14px;padding:8px 10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;box-shadow:0 10px 30px rgba(15,42,61,.35);max-width:calc(100vw - 16px)}
.selbar .mcnt{padding:0 6px;font-size:14px}.selbar .btn{min-height:40px}.selbar .btn.ghost{color:#fff}
.mlist{max-height:40vh;overflow:auto;padding-left:18px;margin:6px 0;font-size:14px}.mlist li{margin:3px 0}.mwarn{background:#fff7e6;color:#9a5b00;border-radius:10px;padding:8px 10px;font-size:13.5px}
.mprog{height:8px;background:#e2e8f0;border-radius:6px;overflow:hidden;margin:10px 0}.mprog i{display:block;height:100%;width:0;background:#4ea8cd;transition:width .25s}
@media(max-width:767px){.selbar{top:auto;bottom:calc(10px + env(safe-area-inset-bottom));left:8px;right:8px;transform:none;justify-content:center}.selbar .btn{flex:1 1 auto}}
@media(max-width:767px){table.rt td:first-child:has(input[type=checkbox]){position:absolute!important;opacity:1!important;pointer-events:auto!important;top:10px;right:10px;width:32px!important;height:32px!important;grid-column:auto!important;z-index:2}
table.rt td:first-child input[type=checkbox]{width:24px;height:24px;accent-color:#2b84ae}
table.rt tr:has(.ck) td:nth-child(2){padding-right:40px!important}.msall{display:flex!important}}
.msall{display:none;align-items:center;gap:10px;font-size:15px;padding:10px 4px;font-weight:600;color:#0f2a3d}.msall input{width:24px;height:24px;accent-color:#2b84ae}
.selbar[hidden]{display:none!important}
.d2.busy{position:relative}.d2.busy::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.35);border-radius:inherit;pointer-events:none}
/* Diálogos de confirmación en celular: modal compacto, nunca pantalla completa */
@media(max-width:767px){html body .swal-bg{place-items:center!important;align-items:center!important;padding:16px 16px calc(16px + env(safe-area-inset-bottom));height:100dvh;overflow:auto}
html body .swal{width:90vw!important;max-width:420px!important;min-height:0!important;height:auto!important;border-radius:16px!important;padding:22px 18px calc(18px + env(safe-area-inset-bottom)*0)!important;display:block!important;margin:auto;max-height:calc(100dvh - 32px - env(safe-area-inset-bottom));overflow:auto}
html body .swal-ic{width:48px!important;height:48px!important;font-size:24px!important;border-width:3px!important}
html body .swal h2{font-size:19px!important;margin:10px 0 6px!important}
html body .swal-b{flex-direction:column-reverse!important;gap:10px!important;margin-top:16px!important}
html body .swal-b button,html body .swal-b .btn{width:100%!important;min-height:48px!important;margin:0!important;font-size:16px}}
.recibo-box{margin-top:12px;background:#eaf5fb;border:1px solid #cfe3f3;border-radius:12px;padding:12px}.recibo-box .rbtns{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.recibo-box .btn{min-height:44px}
label.chk{display:flex;gap:10px;align-items:flex-start;padding:8px 0}label.chk input{width:22px;height:22px;margin-top:2px;accent-color:#2b84ae}
@media(max-width:767px){.recibo-box .rbtns .btn{flex:1 1 30%}}
.fhscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
@media(max-width:767px){
 table.fh thead{display:none}table.fh,table.fh tbody{display:block}table.fh tr{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;padding:12px;margin:0 0 10px;background:#fff;border:1px solid #e3e9f0;border-radius:12px}
 table.fh td{display:block;padding:0;border:0;font-size:14px}table.fh td.r{text-align:left}table.fh td.acts{grid-column:1/-1;display:flex;gap:8px;margin-top:6px}table.fh td.acts .btn{min-height:44px;flex:1}
 table.fh td[colspan]{grid-column:1/-1}
}
/* modal CerroNet */
.tm-bg{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(12,24,44,.38);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:tmIn .16s ease}
.tm-bg.out{opacity:0;transition:opacity .15s}
.tm-card{width:min(420px,100%);background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.7);border-radius:20px;box-shadow:0 24px 70px rgba(10,30,60,.28);padding:22px 20px 18px;text-align:center;animation:tmUp .2s cubic-bezier(.2,.8,.3,1)}
.tm-card h3{margin:8px 0 10px;font-size:19px;color:#0f2a3d}
.tm-ic{width:54px;height:54px;border-radius:50%;margin:0 auto;display:flex;align-items:center;justify-content:center;font-size:26px}
.tm-ic.r{background:#fdecec;color:#d32f2f}.tm-ic.b{background:#e6f2fb;color:#2b84ae}
.tm-dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;text-align:left;background:#f4f8fb;border-radius:12px;padding:12px 14px;margin:0 0 10px;font-size:14px}
.tm-dl dt{color:#6b7a8c}.tm-dl dd{margin:0;font-weight:600;color:#14243a;word-break:break-word}
.tm-note{font-size:13px;color:#8a5a00;background:#fff6e0;border-radius:10px;padding:8px 10px;margin:0 0 12px}.tm-txt{color:#44546a;font-size:14.5px;margin:0 0 14px}
.tm-btns{display:flex;gap:10px}.tm-btns .btn{flex:1;min-height:48px;font-size:16px;font-weight:600;justify-content:center;border-radius:12px}
.btn.danger.tm-ok{background:#d32f2f;border-color:#d32f2f;color:#fff}.btn.info.tm-ok{background:#2b84ae;border-color:#2b84ae;color:#fff}
html.tm-open,html.tm-open body{overflow:hidden}
@keyframes tmIn{from{opacity:0}}@keyframes tmUp{from{transform:translateY(14px) scale(.97);opacity:0}}
@media(max-width:767px){.tm-bg{align-items:center}.tm-card{border-radius:18px;padding:20px 16px 16px}}
/* fila ocupada / spinner grande */
.spin.big{width:20px;height:20px;border-width:3px;vertical-align:-4px}
tr.mkbusy{position:relative;background:#fff8e1!important;outline:2px solid #f5b400;outline-offset:-2px;transition:background .2s}
tr.mkbusy td{opacity:.75}tr.mkbusy .mkbtn,tr.mkbusy .cbtn{opacity:1!important;min-width:140px;background:#0f2a3d!important;color:#fff!important;font-weight:700;font-size:14px;padding:8px 12px}
tr.mkbusy td:has(.mkbtn),tr.mkbusy td.acts{opacity:1}
tr.mkdone{animation:mkok 1.6s ease}@keyframes mkok{0%{background:#dff5e6}100%{background:transparent}}
/* X de cerrar sutil */
.tx-close{position:relative;width:44px;height:44px;margin:-12px -12px -12px auto;display:inline-flex;align-items:center;justify-content:center;background:none;border:0;padding:0;color:#94a3b8;cursor:pointer;flex:none;-webkit-tap-highlight-color:transparent}
.tx-close i{font-size:17px;line-height:1;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;transition:background .15s,color .15s}
.tx-close:hover i,.tx-close:active i{background:rgba(148,163,184,.14);color:#64748b}
.tx-close.abs{position:absolute;top:6px;right:6px;margin:0;z-index:2}
.tm-card,.d2{position:relative}
#msheet .shh{display:flex;align-items:center;gap:8px}#msheet .shh .shn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#msheet .shbox{touch-action:pan-y}
#msheet .shbox .tx-close{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;color:#94a3b8!important;background:none!important;border:0!important;justify-content:center!important;margin:-12px -6px -12px 0!important;flex:0 0 44px!important}
#msheet .shbox .tx-close i{color:#94a3b8!important;font-size:17px!important;margin:0!important}
#msheet .shh .shn{flex:1 1 auto!important;display:block}
.iplk{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}.iplk a{color:inherit;text-decoration:underline dotted rgba(43,132,174,.55);text-underline-offset:3px}.iplk a:hover{color:#2b84ae;text-decoration-style:solid}
.ipcp{background:none;border:0;padding:0;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;color:#94a3b8;cursor:pointer;border-radius:6px}.ipcp:hover{background:rgba(148,163,184,.15);color:#64748b}.ipcp i{font-size:14px}
.eqbtn{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:#2b84ae;background:rgba(43,132,174,.07);border:1px solid rgba(43,132,174,.18);border-radius:8px;padding:4px 9px;text-decoration:none;white-space:nowrap;min-height:30px}
.eqbtn:hover{background:rgba(43,132,174,.13)}.eqbtn i{font-size:15px}
.eqbtn.off{opacity:.5;filter:grayscale(.6)}.eqbtn.off:hover{opacity:.75}
.eqgrp{display:inline-flex;gap:6px;flex-wrap:nowrap}.eqgrp .eqbtn{font-size:11.5px;padding:3px 7px;gap:4px;min-height:28px}.eqgrp .eqbtn i{font-size:14px}
@media(max-width:767px){td.eqc{min-width:0}.eqgrp{gap:5px}.eqgrp .eqbtn{padding:3px 6px;font-size:11.5px}}
@media(max-width:767px){.eqgrp{gap:4px;flex-wrap:wrap;max-width:100%}.eqgrp .eqbtn{font-size:11px;padding:2px 6px;gap:3px;min-height:30px;letter-spacing:-.1px}.eqgrp .eqbtn i{font-size:13px}td.eqc{overflow:visible}}
@media(max-width:767px){.eqgrp{flex-wrap:nowrap;gap:3px}.eqgrp .eqbtn{font-size:10.5px;padding:2px 4px;gap:2px;letter-spacing:-.2px;border-radius:7px}.eqgrp .eqbtn i{font-size:12px}}

/* Barra de selección (escritorio): abajo y centrada en el área de contenido (22/10) */
@media(min-width:992px){html body .selbar{top:auto!important;bottom:calc(18px + env(safe-area-inset-bottom,0px))!important;transform:translateX(-50%)!important;right:auto!important}body.selon main{padding-bottom:84px}}
.eqtab .eqgrp{display:flex;gap:10px;flex-wrap:wrap}.eqtab .eqbtn{padding:10px 14px;font-size:14px}.eqtab .eqoff{display:flex;gap:10px;flex-wrap:wrap}

/* dt Buscar compacto dentro de .form (29/10) */
.form label.gq{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px;margin:0!important;font-size:13px!important;font-weight:700;color:inherit;width:auto;max-width:100%}
.form label.gq input.q,.form label.gq input{flex:1 1 auto;width:auto!important;min-width:140px;max-width:280px;height:36px!important;min-height:36px!important;padding:6px 10px!important;margin:0!important;box-sizing:border-box}
@media(max-width:767px){
 .form label.gq{display:flex!important;width:100%;max-width:100%}
 .form label.gq input.q,.form label.gq input,.dt-bar .gq input{max-width:none!important;width:100%!important;height:40px!important;min-height:40px!important;padding:8px 12px!important}
}
/* lightbox foto casa (29/10) */
.zlb{position:fixed;inset:0;z-index:10050;background:rgba(8,16,32,.88);display:flex;align-items:center;justify-content:center;padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));animation:tmIn .15s ease}
.zlb img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;box-shadow:0 12px 40px #0008}
.zlb .zlb-x{position:absolute;top:calc(10px + env(safe-area-inset-top));right:12px;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:28px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent}
.zlb .zlb-x:active{background:rgba(255,255,255,.28)}
.zlb .zlb-hint{position:absolute;bottom:calc(14px + env(safe-area-inset-bottom));left:0;right:0;text-align:center;color:#cbd5e1;font-size:13px;pointer-events:none}
a.zoomcasa{cursor:zoom-in}

/* 29/10: Elegir/Guardar foto discretos; Guardar cambios manda */
.casa16 .casa-pick,.casa16 label.casa-pick{min-height:34px!important;padding:5px 11px!important;font-size:12.5px!important;font-weight:500;color:#6b7c93!important;background:#f7f9fc!important;border:1px solid #d5dde8!important;box-shadow:none;transform:none}
.casa16 .casa-pick:hover{background:#eef2f7!important;filter:none}
.casa16 .casa-save{min-height:34px!important;padding:5px 11px!important;font-size:12.5px!important}
.casa16 .casa-save:disabled,.btn.sm.casa-save:disabled{opacity:1;color:#9aa6b5;background:#f1f4f8;border:1px solid #d9e0ea;cursor:not-allowed}
.casa16 .casa-save:not(:disabled){color:#fff;background:var(--ac,#3b82f6);border-color:transparent}
.casa16 .btn.danger.sm{min-height:34px!important;padding:5px 11px!important;font-size:12.5px!important}

/* 04/11 paginación móvil: envolver y no quedar bajo el FAB */
.pgs{flex-wrap:wrap;row-gap:6px}.pg.gap{cursor:default}
@media(max-width:767px){.dt-foot{justify-content:center;padding-bottom:86px!important}.dt-foot .muted{width:100%;text-align:center}.pgs{justify-content:center}.pg{padding:8px 12px;min-height:40px}}

/* === Branding CERRONET (logo aprobado: C cerro + senal) === */
:root,html:not([data-theme=dark]){--brand-teal:#00C2CB;--brand-blue:#0077B6;--brand-ink:#23262B;--pri:#0077B6;--pri2:#00A3C4;--b:#0077B6;--t:#00C2CB;--tx:#23262B}
[data-theme=dark]{--pri:#00A3C4;--pri2:#0077B6}
html:not(#z) body .top,.mbar{background:linear-gradient(90deg,#00C2CB,#0077B6)!important}
.login .btn,[data-theme=dark] .btn{background:linear-gradient(90deg,#00C2CB,#0077B6)}
.loginbg{background:linear-gradient(135deg,#0b1f2e,#06324a)}
#splash i{border-top-color:#0077B6!important}

/* fix modal pago centrado (portal a body + viewport movil) */
.mbg{height:100vh;height:100dvh;padding:12px;box-sizing:border-box;overscroll-behavior:contain}.mbg .mbox{max-height:calc(100dvh - 24px);margin:auto}

/* ===== CerroNet cliente accordion + cards ===== */
.cli-accs{display:flex;flex-direction:column;gap:12px;margin:0 0 14px}
details.card.acc{padding:0;overflow:hidden;margin:0}
details.card.acc>.acc-h{list-style:none;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:14px 16px;user-select:none;-webkit-tap-highlight-color:transparent}
details.card.acc>.acc-h::-webkit-details-marker{display:none}
details.card.acc>.acc-h::marker{content:""}
.acc-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--tx);padding-right:28px;position:relative}
.acc-title::after{content:"";position:absolute;right:0;top:50%;width:10px;height:10px;border-right:2px solid #7a8aa6;border-bottom:2px solid #7a8aa6;transform:translateY(-65%) rotate(45deg);transition:transform .2s}
details.card.acc[open]>.acc-h .acc-title::after{transform:translateY(-20%) rotate(225deg)}
.acc-sum{font-size:12.5px;color:var(--mu);font-weight:500;line-height:1.35;padding-right:28px;word-break:break-word}
.acc-b{padding:0 16px 16px;border-top:1px solid var(--bd)}
.acc-b>.dl,.acc-b>.alert,.acc-b>h4,.acc-b>p{margin-top:12px}
.acc-b h4{margin:14px 0 8px;font-size:13px;color:var(--mu);text-transform:uppercase;letter-spacing:.04em}
.olt-ev{display:flex;flex-direction:column;gap:8px}
.olt-ev-i{background:var(--bg);border:1px solid var(--bd);border-radius:10px;padding:10px 12px;font-size:13px}
#sgCard.sgc{margin-top:4px}
@media(max-width:767px){
  .cli-accs{gap:10px}
  details.card.acc>.acc-h{padding:12px 14px;min-height:48px}
  .acc-b{padding:0 14px 14px}
}

/* card footer: edit menor, dots mayor (t430u) */
@media(max-width:767px){.racts .btn.info.xs{min-width:64px!important;padding:0 10px!important}.racts .rdd>.btn.ghost.xs{width:40px!important;height:34px!important;font-size:18px}.racts .rdd>.btn.ghost.xs .ti{font-size:20px}}

/* ===== Overlay de carga CerroNet ===== */
#cnload{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:radial-gradient(120% 90% at 50% 0%,rgba(0,194,203,.92) 0%,rgba(0,119,182,.94) 55%,rgba(2,62,105,.96) 100%);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility 0s linear .22s;color:#fff;font-family:Inter,system-ui,sans-serif}
#cnload.on{opacity:1;visibility:visible;transition:opacity .22s ease}
html.cnl-lock,html.cnl-lock body{overflow:hidden}
.cnl-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 34px;text-align:center;transform:translateY(8px) scale(.97);transition:transform .3s cubic-bezier(.2,.8,.3,1)}
#cnload.on .cnl-card{transform:none}
.cnl-ring{position:relative;width:112px;height:112px;margin-bottom:6px}
.cnl-ring svg{position:absolute;inset:0;width:100%;height:100%;animation:cnlr 1.1s linear infinite}
.cnl-trk{fill:none;stroke:rgba(255,255,255,.22);stroke-width:6}
.cnl-arc{fill:none;stroke:#fff;stroke-width:6;stroke-linecap:round;stroke-dasharray:80 200;filter:drop-shadow(0 0 6px rgba(255,255,255,.7))}
.cnl-logo{position:absolute;inset:16px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 8px 28px rgba(0,40,80,.35);animation:cnlp 1.6s ease-in-out infinite}
.cnl-logo img{width:62%;height:62%;object-fit:contain}
.cnl-logo b{font:800 40px/1 Inter,sans-serif;background:linear-gradient(135deg,#00C2CB,#0077B6);-webkit-background-clip:text;background-clip:text;color:transparent}
.cnl-brand{font-weight:800;font-size:22px;letter-spacing:.3px}.cnl-brand span{color:#bff6f8}
.cnl-txt{font-weight:600;font-size:17px}
.cnl-sub{font-size:13px;opacity:.8;max-width:300px;overflow-wrap:anywhere}.cnl-sub:empty{display:none}
.cnl-dots{display:flex;gap:6px;margin-top:4px}.cnl-dots i{width:7px;height:7px;border-radius:50%;background:#fff;opacity:.35;animation:cnld 1.2s infinite}
.cnl-dots i:nth-child(2){animation-delay:.2s}.cnl-dots i:nth-child(3){animation-delay:.4s}
@keyframes cnlr{to{transform:rotate(360deg)}}@keyframes cnlp{0%,100%{transform:scale(1)}50%{transform:scale(.94)}}@keyframes cnld{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.cnl-ring svg,.cnl-logo,.cnl-dots i{animation:none}}


/*eqsame2220*/.eqrow{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:100%}
.eqrow .eqgrp{flex-wrap:nowrap!important}
.eqrow a.eqbtn[title^="ONU"],.eqrow .eqbtn.rbsame{font-size:13px!important;padding:5px 11px!important;min-height:32px!important;gap:5px!important;border-radius:8px!important;letter-spacing:0!important;line-height:1.2!important;box-sizing:border-box}
.eqrow a.eqbtn[title^="ONU"] i,.eqrow .eqbtn.rbsame i{font-size:15px!important}
.eqrow .eqbtn.rbsame{cursor:pointer;font-family:inherit;font-weight:600}

/* Títulos de sección del Dashboard (Pagos Internet, Clientes, Tickets). No cambia el tamaño de las tarjetas. */
html body .dk.dkx > section > h3{font-size:19px!important;font-weight:600!important}

/* Solo el título «Dashboard» de la página principal (.pgt > .dash14). No cambia .pgt en otras páginas ni el tamaño de las tarjetas. */
html body .pgt:has(> .dash14){font-size:26px;font-weight:700;margin:20px 0}
@media(max-width:767px){html body .pgt:has(> .dash14){font-size:22px;margin:20px 0}}


/* Rejilla sutil tipo WispHub en tablas de listado (table.dt: /clientes y las demás listas).
   Líneas finas entre filas y columnas; no cambia tipografía, colores ni badges. */
html:not([data-theme=dark]) table.dt{border:1px solid #e5e7eb}
html:not([data-theme=dark]) table.dt th,
html:not([data-theme=dark]) table.dt td{border:1px solid #e5e7eb}
html:not([data-theme=dark]) table.dt thead tr:first-child th{background:#f4f6f8;border-bottom:1px solid #d1d5db}
html:not([data-theme=dark]) table.dt tbody tr:nth-child(even){background:#fafbfc}

[data-theme=dark] table.dt{border:1px solid #2a3a56}
[data-theme=dark] table.dt th,
[data-theme=dark] table.dt td{border:1px solid #2a3a56}
[data-theme=dark] table.dt thead tr:first-child th{background:#1a2438;border-bottom:1px solid #3a4c6c}
[data-theme=dark] table.dt tbody tr:nth-child(even){background:rgba(255,255,255,.035)}
[data-theme=dark] table.dt tbody tr:hover{background:var(--hover)}


/* Selects: texto completo y aire en /clientes (y el resto de listas).
   Evita el recorte vertical por height fijo + padding + font-size 16px. */
select{
  height:auto;
  min-height:38px;
  padding:6px 32px 6px 10px;
  line-height:1.4;
  box-sizing:border-box;
}
.cl-filtros select,
.cl-lote select,
.cl-bar select,
.cl-colf select,
.dt-bulk select,
table.dt .frow select{
  height:auto!important;
  min-height:38px!important;
  padding:6px 32px 6px 10px!important;
  line-height:1.4!important;
}
.cl-colf input,
.cl-bar input{
  height:auto;
  min-height:38px;
  padding:6px 10px;
  line-height:1.4;
  box-sizing:border-box;
}

/* Aire entre filtros, Acciones en Lote, Mostrar/registros y la tabla. */
.cl-filtros{padding:16px 20px 10px}
.cl-chips{padding:10px 20px}
.cl-lote{margin:16px 20px 8px;padding:14px 16px}
.cl-res{margin:12px 20px}
.cl-bar{padding:16px 20px;margin-top:4px}
.cl-pie{padding:16px 20px 10px}
.pagehead{margin-bottom:18px}

/* Un poco más de aire general en escritorio; el padding móvil (12px) se deja. */
@media(min-width:768px){
  html body .content{padding:24px 28px 32px}
}


/* Equipo: celdas centradas verticalmente (no flex en el td) y botones en una línea */
table.dt td,
table.dt th,
td.cl-eq,
td.acc-td{
  vertical-align:middle;
}
.cl-eq{white-space:nowrap}
.eqrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex-wrap:nowrap;
  white-space:nowrap;
  margin-top:0;
  vertical-align:middle;
}
td.cl-eq>*,
td.acc-td>*{
  vertical-align:middle;
  margin-top:0;
}
a.eqb, button.eqb, span.eqb{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  box-sizing:border-box;
  height:32px;
  min-height:32px;
  margin:0;
  padding:0 10px;
  line-height:1;
  font-family:inherit;
  font-size:12px;
  font-weight:600;
  vertical-align:middle;
  appearance:none;
  -webkit-appearance:none;
}
a.eqb i, button.eqb i, span.eqb i{
  font-size:15px;
  line-height:1;
  display:inline-flex;
  align-items:center;
}

/* /clientes: ESTADO angosto (cabe el badge), PLAN más ancho */
table.cl-dt th.cl-est,
table.cl-dt td.cl-est{
  width:auto;
  min-width:120px;
  white-space:nowrap;
}
table.cl-dt td.cl-est .tag{white-space:nowrap;}
table.cl-dt th.cl-plan,
table.cl-dt td.cl-plan{
  min-width:200px;
}

/* Buscador global: badge suspendido y potencia; cabeceras ordenables ya tienen ▲/▼ */
.gst .bad{background:#fde7e7;color:#c0392b}
.gst .est-activo{background:#e3f5e9;color:#13733a}
table.dt th.sortable{user-select:none}
