:root{--navy:#111e30;--navy2:#1b2d43;--bg:#f4f6f8;--ink:#17283a;--muted:#738092;--line:#e5eaf0;--teal:#168c83;--pale:#e5f4f0;--amber:#b17b35;--danger:#b84952;--radius:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed}.sidebar{width:246px;background:var(--navy);color:#b1bdcb;position:fixed;inset:0 auto 0 0;z-index:30;padding:34px 20px;display:flex;flex-direction:column}.brand{color:white;font-size:25px;letter-spacing:3px;font-weight:750;display:flex;align-items:center;gap:10px}.brand-mark{width:30px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:var(--teal);border-radius:8px;font-size:21px;letter-spacing:0;color:white;transform:skew(-8deg)}.brand small{font-size:14px;letter-spacing:2px;font-weight:400;display:block;color:#a4b4c7}.workspace{margin:32px 0 26px;border:1px solid #354255;border-radius:10px;padding:12px;display:flex;gap:10px;align-items:center;font-size:14px}.workspace strong{display:block;color:#e3ebf3;font-weight:500}.workspace .avatar{background:#273c52;color:#c7d8e6}.nav-label{font-size:14px;letter-spacing:1.6px;text-transform:uppercase;color:#7d90a7;padding:0 13px;margin:20px 0 8px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:8px;margin-bottom:4px;font-size:14px}.nav-item:hover{background:#1d3046;color:white}.nav-item.active{background:#203b46;color:#81d4c6;position:relative}.nav-item.active:before{content:'';position:absolute;left:-20px;height:22px;width:3px;background:#4bb9aa;border-radius:0 3px 3px 0}.nav-item svg{width:18px;height:18px;opacity:.85;flex-shrink:0}.side-bottom{margin-top:auto;border-top:1px solid #2d3a4b;padding-top:18px}.side-bottom small{font-size:14px;color:#7d90a7}.side-bottom .nav-item{padding-left:0}.shell{margin-left:246px}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb span{padding:0 10px;color:#c2cbd4}.top-right{display:flex;align-items:center;gap:16px}.top-profile{display:flex;align-items:center;gap:11px;border-left:1px solid var(--line);padding-left:20px;font-size:14px}.top-profile small{display:block;color:var(--muted);font-size:14px}.avatar{width:34px;height:34px;border-radius:9px;background:#edf2f7;color:#435976;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.environment{font-size:14px;color:var(--teal);display:flex;align-items:center;gap:6px}.dot{width:6px;height:6px;border-radius:50%;background:var(--teal);display:inline-block}.content{max-width:1600px;margin:auto;padding:38px 42px 40px}.eyebrow{font-size:14px;color:var(--teal);font-weight:700;letter-spacing:1.7px;text-transform:uppercase;margin:0 0 9px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}h1{font-size:29px;font-weight:650;letter-spacing:-.9px;margin:0 0 5px;line-height:1.3}.subtitle{margin:0;color:var(--muted);font-size:14px}h2{font-size:16px;font-weight:650;margin:0}h3{font-size:14px;margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 16px;border-radius:7px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:14px;font-weight:600}.btn svg{width:15px;height:15px}.btn:hover{border-color:#b9c9d5;background:#f9fbfc}.btn.primary{background:var(--teal);border-color:var(--teal);color:white}.btn.primary:hover{background:#137d75}.btn.ghost{background:none;color:var(--muted)}.btn.danger{color:var(--danger)}.btn.small{min-height:31px;padding:5px 10px;font-size:14px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:21px 23px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:14px}.stat-icon{width:32px;height:32px;border-radius:9px;background:#f0f4f7;display:grid;place-items:center;color:#6d849a}.stat-icon svg{width:17px;height:17px}.stat .value{font-size:31px;letter-spacing:-1px;font-weight:650;margin:11px 0 4px;line-height:1.3}.stat-foot{font-size:14px;color:var(--muted)}.stat-foot b{color:var(--teal);font-weight:500}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:23px;overflow:hidden}.panel-head{padding:22px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.panel-head p{font-size:14px;margin:4px 0 0;color:var(--muted)}.panel-body{padding:24px}.split{display:grid;grid-template-columns:1.65fr 1fr;gap:23px}.split .panel{height:100%}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th{font-size:14px;text-align:left;background:#fafbfd;color:#7b8999;text-transform:uppercase;letter-spacing:.7px;font-weight:600;padding:13px 24px;border-bottom:1px solid var(--line)}td{padding:17px 24px;border-bottom:1px solid #f0f2f5}tr:last-child td{border-bottom:0}tr[hidden]{display:none}td strong{font-weight:600}td small{font-size:14px;color:var(--muted);display:block}.company-cell{display:flex;gap:11px;align-items:center}.badge{display:inline-flex;align-items:center;gap:5px;font-size:14px;padding:4px 9px;border-radius:5px;background:#eef2f7;color:#617288;white-space:nowrap}.badge.ok{background:var(--pale);color:#238778}.badge.warn{background:#fbf1e1;color:#a77936}.badge.bad{background:#faecee;color:#aa5059}.badge.neutral{background:#eef2f7;color:#6f7f91}.table-foot{padding:15px 24px;color:var(--muted);font-size:14px;display:flex;justify-content:space-between;border-top:1px solid var(--line)}.search{position:relative;max-width:300px}.search input{padding:9px 12px 9px 34px;min-width:245px;background:#fafbfd;font-size:14px}.search svg{position:absolute;left:11px;top:11px;width:14px;height:14px;color:#91a0af}.toolbar{display:flex;gap:12px;align-items:center}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-card{display:block;border:1px solid var(--line);border-radius:11px;padding:21px;position:relative;background:white}.module-card:has(input:checked){border-color:#9acbc2;background:#fbfefd}.module-card.disabled{background:#f7f8fa;opacity:.72}.module-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.module-icon{width:39px;height:39px;border-radius:10px;background:#edf4f7;color:#466d84;display:grid;place-items:center}.module-icon svg{width:21px;height:21px}.module-card h3{margin-bottom:5px}.module-card p{font-size:14px;color:var(--muted);margin:0;min-height:34px}.module-card .badge{margin-top:14px}.switch{appearance:none;width:34px;height:20px;background:#ccd6df;border:0;border-radius:20px;position:relative;cursor:pointer;margin:0;flex-shrink:0}.switch:before{content:'';position:absolute;width:14px;height:14px;border-radius:100%;background:white;top:3px;left:3px;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch:checked{background:var(--teal)}.switch:checked:before{transform:translateX(14px)}.switch:disabled{cursor:not-allowed}.info{display:flex;gap:12px;border:1px solid #d4e8e4;background:#f0f8f6;padding:15px 18px;border-radius:9px;font-size:14px;color:#477c74;margin-bottom:24px}.info svg{width:19px;height:19px;flex-shrink:0;margin-top:2px}.info strong{font-weight:600}.info p{margin:2px 0 0;font-size:14px}.savebar{margin-top:23px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:22px;color:var(--muted);font-size:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:14px;font-weight:600}.field small{color:var(--muted);font-size:14px}input:not([type=checkbox]),select{width:100%;border:1px solid #dce3ea;border-radius:7px;padding:11px 12px;background:#fff;color:var(--ink)}input:focus,select:focus{outline:2px solid #168c8330;border-color:var(--teal)}.form-actions{margin-top:25px;display:flex;justify-content:flex-end;gap:10px}.alert{border-radius:9px;padding:13px 17px;margin-bottom:20px;font-size:14px}.alert.error{background:#fff0f1;border:1px solid #f1c5cb;color:#a73d49}.alert.success{background:var(--pale);border:1px solid #c7e6dc;color:#267e6c}.zone-list{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.zone-chip{padding:10px 14px;border:1px solid var(--line);border-radius:8px;display:flex;gap:10px;align-items:center;font-size:14px}.zone-chip input{accent-color:var(--teal)}.steps{padding:22px 24px}.step{display:flex;gap:13px;padding:0 0 21px;position:relative}.step:last-child{padding-bottom:0}.step-icon{width:28px;height:28px;border-radius:50%;background:#eef6f3;color:var(--teal);display:grid;place-items:center;font-size:14px;flex-shrink:0}.step strong{font-size:14px;font-weight:600}.step p{font-size:14px;color:var(--muted);margin:3px 0}.activity{padding:2px 0}.activity-item{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--line)}.activity-item:last-child{border:0}.activity-item p{font-size:14px;margin:0}.activity-item small{font-size:14px;color:var(--muted)}.empty{text-align:center;padding:54px 24px;color:var(--muted)}.empty svg{width:32px;height:32px;color:#9aaeba;margin-bottom:12px}.empty h3{color:var(--ink);margin:0 0 6px}.empty p{font-size:14px;max-width:410px;margin:0 auto 18px}.footer{display:flex;justify-content:space-between;font-size:14px;color:#8b98a8;padding:22px 0 0}.mobile-menu{display:none}.login{min-height:100vh;display:grid;grid-template-columns:1.08fr 1fr;background:white}.login-art{background:var(--navy);color:white;padding:56px 70px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-art:after{content:'';width:450px;height:450px;border:1px solid #385465;border-radius:50%;position:absolute;right:-140px;bottom:-100px;box-shadow:0 0 0 70px #1d344438,0 0 0 140px #1c324133}.login-copy{margin:auto 0;position:relative;z-index:1}.login-copy h1{font-size:45px;font-weight:550;letter-spacing:-1.8px;max-width:450px;line-height:1.2}.login-copy h1 em{font-style:normal;color:#6ac8b9}.login-copy p{font-size:14px;color:#a0b2c5;max-width:360px;line-height:1.9;margin-top:24px}.login-art small{color:#7e94aa;font-size:14px}.login-form{display:flex;align-items:center;justify-content:center;padding:45px}.login-box{max-width:370px;width:100%}.login-box h2{font-size:26px;letter-spacing:-.6px}.login-box p{color:var(--muted);font-size:14px;margin-bottom:28px}.login-box .field{margin-bottom:18px}.login-box .btn.primary{width:100%;margin-top:9px}.password-wrap{position:relative}.password-wrap input{padding-right:74px}.password-wrap button{position:absolute;right:9px;top:10px;border:0;background:none;font-size:14px;color:var(--muted);padding:3px}.login-note{font-size:14px!important;line-height:1.8;text-align:center;margin-top:26px}.notice{font-size:14px;color:var(--muted);padding:15px 24px;background:#fafbfd;border-top:1px solid var(--line)}.demo-bar{background:#e4f3ed;color:#276a5e;font-size:14px;padding:9px 20px;text-align:center}.role-select{max-width:190px;font-size:14px}.inline-form{display:flex;gap:9px;align-items:center}.inline-form select{width:auto;padding:7px;font-size:14px}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1600px){.content{padding-top:45px}.stats{gap:22px}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.sidebar{width:215px;padding-left:16px;padding-right:16px}.shell{margin-left:215px}.content{padding:30px 24px}.topbar{padding:0 24px}.stats{gap:12px}.stat{padding:18px 16px}.split{grid-template-columns:1fr}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split .panel{height:auto}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:246px;overflow-y:auto}.nav-open .sidebar{transform:none;box-shadow:0 0 0 100vmax #111e3055}.shell{margin-left:0}.mobile-menu{display:inline-flex;padding:8px;border:1px solid var(--line);border-radius:6px;background:white}.topbar{height:66px;padding:0 18px}.breadcrumb{display:none}.environment{display:none}.top-profile{border:0;padding-left:0}.content{padding:25px 18px}.page-head{align-items:flex-start;flex-wrap:wrap;margin-bottom:23px}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px}.stat .value{font-size:26px}.stat-top{font-size:14px}.stat-icon{width:26px;height:26px}.panel-head{padding:18px;flex-wrap:wrap}.panel-body{padding:18px}.module-grid{grid-template-columns:1fr}.module-card{padding:19px}.module-card p{min-height:0}.form-grid{grid-template-columns:1fr}.savebar{gap:15px;align-items:flex-start;flex-direction:column}.footer{gap:15px;flex-direction:column}.login{grid-template-columns:1fr}.login-art{padding:24px;min-height:220px}.login-copy h1{font-size:27px;margin-top:28px}.login-copy p{display:none}.login-art small{display:none}.login-form{padding:32px 24px}.toolbar{flex-wrap:wrap}.search input{min-width:200px}.role-select{max-width:135px}.table-foot{padding:13px 18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.avatar svg{width:18px;height:18px}.panel-head>svg{width:22px;height:22px;color:var(--muted)}.module-top>svg{width:17px;height:17px;color:var(--muted)}.login-note svg{width:13px;height:13px;vertical-align:middle}.badge.bad .dot{background:var(--danger)}.badge.warn .dot{background:var(--amber)}.sidebar nav{overflow:auto;min-height:0}.side-bottom{flex-shrink:0}.section-title{margin:28px 0 18px}.mobile-menu svg{width:18px;height:18px}.module-card:focus-within{outline:2px solid #168c8370;outline-offset:3px}.nav-close{display:none}@media(max-width:760px){.nav-close{display:block;position:absolute;right:12px;top:10px;border:0;background:transparent;color:#b1bdcb;font-size:23px;cursor:pointer;padding:0 5px}}

/* NODRIX · Lectura mas clara en acceso, instalador y paneles. */
:root{--muted:#4b5c70;--teal:#117c74;--amber:#825315;--danger:#a83142}
body{font-size:16px;line-height:1.65}
.brand small{font-size:14px;letter-spacing:.15px;white-space:normal;max-width:150px;line-height:1.45;text-transform:uppercase;color:#c9d8e7;margin-top:5px}
.login-art .brand small{max-width:none}
.subtitle,.breadcrumb,.stat-top,.stat-foot,.panel-head p,.field small,.module-card p,td small,.table-foot,.empty,.empty p,.footer,.notice,.login-box p,.login-note,.password-wrap button,.btn.ghost{color:#4b5c70}
.login-box{max-width:420px}.login-box p{font-size:16px}.login-box .eyebrow{color:#38556f;font-weight:700}
.login-note{font-size:14px!important;line-height:1.75}
.field label{font-size:16px;color:#17283a;font-weight:600}
input:not([type=checkbox]),select{font-size:16px;min-height:46px;color:#17283a}
input::placeholder{color:#52647a;opacity:1}
.search input{font-size:15px;min-height:42px}.search svg{top:14px}
.btn{font-size:15px;min-height:44px}.btn.small{font-size:14px;min-height:36px}
.password-wrap input{padding-right:90px}.password-wrap button{font-size:14px;top:11px;font-weight:600}
table{font-size:15px}th{font-size:14px;color:#46586d}td{line-height:1.65}.inline-form select{font-size:14px}
.nav-label{font-size:14px;letter-spacing:.6px;color:#becddd}
.sidebar{color:#c9d8e7}.sidebar .nav-item{font-size:15px}
.sidebar .side-bottom small{font-size:14px;color:#c5d4e3}
.sidebar .btn.ghost{color:#c9d8e7}
.workspace{font-size:14px}.workspace strong{color:#f1f5fa}
.sidebar .nav-item.active{color:#a4ecdf}
.top-profile{font-size:14px}.top-profile small{font-size:14px;color:#4b5c70}
.badge{font-size:14px;font-weight:600}.badge.ok{color:#176557}.badge.warn{color:#805214}.badge.bad{color:#9e3240}.badge.neutral{color:#46586d}
.environment,.eyebrow{color:#116c65}.info{color:#315e56}.info p{font-size:14px}
.step p,.activity-item small{color:#4b5c70}.step strong,.activity-item p{font-size:15px}.step-icon{font-size:14px;width:32px;height:32px}
.login-copy p{font-size:16px;color:#d0dce8}.login-copy .eyebrow{font-size:15px;color:#b9e6dc}
.login-art>small{font-size:14px;color:#c9d8e7}
.demo-bar{font-size:14px;color:#245d50}
.savebar{font-size:14px;color:#4b5c70}
@media(max-width:760px){
 .stat-top{font-size:14px}.stat-foot{font-size:14px}.login-form{padding:30px 22px}
 .login-art>small{display:block;margin-top:20px}.login-art .brand small{max-width:185px}
 .toolbar{gap:10px}.page-head .btn{max-width:100%;white-space:normal}
 .top-profile small{font-size:14px}.module-card p{font-size:14px}
}

/* NODRIX · Descriptor discreto y aros de conectividad animados. */
.brand small,.login-art .brand small{font-size:10px;letter-spacing:.65px;line-height:1.5;max-width:none;white-space:nowrap;margin-top:4px}
.login-art .brand,.login-art>small{position:relative;z-index:1}
.login-art::after{
 content:"";position:absolute;z-index:0;pointer-events:none;
 width:260px;height:260px;right:-42px;bottom:-42px;
 border:1px solid rgba(116,199,194,.32);border-radius:50%;
 background:radial-gradient(circle at 27% 20%,rgba(78,187,172,.06),transparent 65%);
 box-shadow:0 0 0 36px rgba(44,93,108,.11),0 0 0 72px rgba(37,78,95,.07),0 0 46px rgba(32,137,126,.08);
 transform-origin:center;animation:nodrix-ring-breathe 9s ease-in-out infinite;
}
.login-art::before{
 content:"";position:absolute;z-index:0;pointer-events:none;
 width:192px;height:192px;right:-8px;bottom:-8px;border-radius:50%;
 border:1px dashed rgba(115,203,189,.18);
 background:radial-gradient(circle at 50% 1.5%,rgba(135,231,210,.9) 0 2px,rgba(89,211,187,.15) 3px,transparent 10px),radial-gradient(circle at 1.5% 50%,rgba(108,207,197,.65) 0 1.5px,transparent 7px);
 animation:nodrix-orbit 24s linear infinite;
}
@keyframes nodrix-ring-breathe{
 0%,100%{transform:translate(0,0) scale(.94);opacity:.65}
 50%{transform:translate(-9px,-14px) scale(1.035);opacity:1}
}
@keyframes nodrix-orbit{
 0%{transform:rotate(0deg);opacity:.6}
 50%{transform:rotate(180deg);opacity:1}
 100%{transform:rotate(360deg);opacity:.6}
}
@media(max-width:760px){
 .login-art::after{width:170px;height:170px;right:-50px;bottom:-80px;box-shadow:0 0 0 24px rgba(44,93,108,.11),0 0 0 48px rgba(37,78,95,.07)}
 .login-art::before{width:130px;height:130px;right:-30px;bottom:-60px}
 .brand small,.login-art .brand small{font-size:10px;max-width:none;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){
 .login-art::before,.login-art::after{animation:none;transform:none;opacity:.8}
}

/* NODRIX · Encabezado centrado y formulario de acceso refinado. */
.login-form{padding:48px 40px}
.login-box{width:100%;max-width:420px}
.login-box>.eyebrow{
 display:block;text-align:center;font-size:14px;font-weight:700;
 letter-spacing:1.6px;line-height:1.6;color:#35566f;margin:0 0 12px;
}
.login-box>h2{
 text-align:center;font-size:32px;font-weight:700;line-height:1.25;
 letter-spacing:-.8px;color:#17283a;margin:0;
}
.login-box>h2::after{
 content:"";display:block;width:36px;height:3px;background:#168c83;
 border-radius:3px;margin:18px auto 0;
}
.login-box>p:not(.eyebrow):not(.login-note){
 text-align:center;font-size:16px;line-height:1.7;color:#4b5c70;
 margin:18px auto 30px;max-width:360px;
}
.login-box .field{gap:8px;margin-bottom:22px;text-align:left}
.login-box .field label{font-size:15px;font-weight:600;color:#17283a}
.login-box input:not([type=checkbox]){
 min-height:52px;padding:13px 15px;border-radius:10px;
 border-color:#cdd8e3;background:#fcfdff;font-size:16px;
 transition:border-color .15s,box-shadow .15s;
}
.login-box input:focus{border-color:#168c83;outline:2px solid #168c8320;box-shadow:0 0 0 3px #168c8310}
.login-box .password-wrap input{padding-right:88px}
.login-box .password-wrap button{top:13px;right:12px;font-size:14px;color:#405a70;padding:3px 0}
.login-box .btn.primary{
 width:100%;min-height:50px;border-radius:10px;font-size:16px;
 font-weight:600;margin-top:4px;box-shadow:0 5px 14px #117c7417;
}
.login-box>.login-note{
 text-align:center;margin:26px 0 0;padding-top:22px;
 border-top:1px solid #e5eaf0;font-size:14px!important;
 line-height:1.85;color:#4b5c70;
}
.login-box>.alert{text-align:left;margin-top:22px}
@media(max-width:760px){
 .login-form{padding:34px 22px 40px}
 .login-box>h2{font-size:29px}
 .login-box>.eyebrow{font-size:14px;letter-spacing:1.2px}
 .login-box>p:not(.eyebrow):not(.login-note){margin-bottom:26px}
}

/* NODRIX · Enlace inalambrico decorativo entre dos torres. */
.wireless-link{position:absolute;top:clamp(125px,16vh,175px);left:50%;transform:translateX(-50%);width:min(76%,520px);pointer-events:none;z-index:0;opacity:.9}
.wireless-link img{display:block;width:100%;height:auto}
@media(min-width:761px) and (max-height:800px){.wireless-link{top:112px;width:min(60%,370px);opacity:.75}}
@media(max-width:760px){.wireless-link{display:none}}

/* NODRIX · Ajuste de altura y profundidad de la escena. */
.wireless-link{top:clamp(145px,18vh,195px);width:min(76%,480px)}
.login-art .login-copy{position:relative;transform:translateY(-14px)}
@media(min-width:761px) and (max-height:800px){
 .wireless-link{top:126px;width:min(60%,340px)}
 .login-art .login-copy{transform:translateY(-8px)}
}
@media(max-width:760px){.login-art .login-copy{transform:none}}

/* NODRIX · Texto algo mas bajo, sin reflejos ni transformaciones de capa. */
.login-art .login-copy{
 position:relative;top:10px;transform:none;
 text-shadow:none;filter:none;backdrop-filter:none;-webkit-box-reflect:unset;
}
.login-art .login-copy h1,.login-art .login-copy h1 em,.login-art .login-copy p{
 transform:none;text-shadow:none;filter:none;-webkit-box-reflect:unset;
 animation:none;will-change:auto;
}
@media(min-width:761px) and (max-height:800px){.login-art .login-copy{top:8px;transform:none}}
@media(max-width:760px){.login-art .login-copy{top:6px;transform:none}}

/* NODRIX · Texto estatico, sobre fondo opaco y separado de las luces. */
.login-art .login-copy{
 position:relative;top:32px;z-index:2;isolation:isolate;
 background-color:#111e30;transform:none!important;
 filter:none!important;backdrop-filter:none!important;
 text-shadow:none!important;box-shadow:none!important;
 -webkit-box-reflect:unset!important;mix-blend-mode:normal;opacity:1;
 animation:none!important;transition:none;will-change:auto;
}
.login-art .login-copy h1,.login-art .login-copy h1 em,.login-art .login-copy p{
 font-family:Arial,Helvetica,sans-serif;font-style:normal;
 transform:none!important;text-shadow:none!important;filter:none!important;
 -webkit-box-reflect:unset!important;animation:none!important;
 transition:none;mix-blend-mode:normal;opacity:1;will-change:auto;
 text-rendering:auto;-webkit-font-smoothing:antialiased;
}
.login-art .login-copy h1{font-size:44px;line-height:54px;font-weight:700;letter-spacing:0}
.login-art .login-copy h1 em{font-weight:700;letter-spacing:0}
.login-art .login-copy p:not(.eyebrow){font-size:16px;line-height:28px;font-weight:400;letter-spacing:0}
.login-art .login-copy .eyebrow{font-size:14px;line-height:22px;font-weight:700;letter-spacing:1px}
.login-art .login-copy::before,.login-art .login-copy::after,
.login-art .login-copy h1::before,.login-art .login-copy h1::after,
.login-art .login-copy h1 em::before,.login-art .login-copy h1 em::after,
.login-art .login-copy p::before,.login-art .login-copy p::after{content:none!important}
@media(min-width:761px) and (max-height:800px){.login-art .login-copy{top:28px}}
@media(max-width:760px){
 .login-art .login-copy{top:12px}
 .login-art .login-copy h1{font-size:28px;line-height:36px}
}

/* NODRIX · Evitar el contorno RGB del suavizado LCD en Chromium/Windows.
   Rasterizar cada bloque transparente como una capa de filtro evita los
   bordes subpixel de color. No se aplica desenfoque ni sombra al texto. */
.login-art .login-copy{background-color:transparent}
.login-art .login-copy h1,
.login-art .login-copy p{
 filter:opacity(0.999)!important;
 will-change:filter!important;
 text-shadow:none!important;
 -webkit-box-reflect:unset!important;
 transform:none!important;
}
.login-art .login-copy h1 em{filter:none!important;will-change:auto!important}

/* NODRIX · Navegacion agrupada y menu contraible. */
:root{--sidebar-width:280px;--sidebar-compact:84px}
.sidebar{width:var(--sidebar-width);padding:24px 18px 16px;gap:0;transition:width .18s ease;overflow:visible}
.shell{margin-left:var(--sidebar-width);transition:margin-left .18s ease}
.sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;flex-shrink:0}
.sidebar .brand{font-size:24px;letter-spacing:2px;gap:10px;min-width:0}
.sidebar .brand>div{min-width:0}.sidebar .brand-mark{width:32px;height:34px;flex-shrink:0}
.sidebar .brand small{font-size:10px;letter-spacing:.15px;line-height:1.5;margin-top:3px}
.sidebar-toggle{display:flex;align-items:center;justify-content:center;width:32px;height:34px;flex-shrink:0;border:1px solid #3c4d61;border-radius:8px;background:#1a2b3e;color:#cedbe7;padding:6px;cursor:pointer}
.sidebar-toggle:hover{background:#294256;color:#fff;border-color:#75948c}
.sidebar-toggle:focus-visible,.sidebar .nav-item:focus-visible,.nav-close:focus-visible{outline:2px solid #80d5c2;outline-offset:3px}
.sidebar-toggle svg{width:20px;height:20px}.collapse-chevron{transform-origin:15px 12px}
.sidebar .workspace{margin:23px 0 20px;padding:13px 12px;border:1px solid #33465a;background:#17283b;border-radius:12px;gap:11px;min-height:76px;flex-shrink:0}
.workspace-copy{min-width:0}.sidebar .workspace-copy strong{display:block;font-size:14px;line-height:21px;font-weight:600;overflow-wrap:anywhere;color:#edf4fa}
.sidebar .workspace-copy>span{display:block;font-size:14px;line-height:20px;color:#b9cadb;margin-top:3px}
.sidebar .workspace .avatar{width:34px;height:36px;flex-shrink:0;background:#243b51;border-radius:9px}
.sidebar .sidebar-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 2px 6px;scrollbar-width:thin;scrollbar-color:#405469 transparent}
.sidebar .nav-label{font-size:14px;letter-spacing:.3px;text-transform:none;color:#91a9be;font-weight:600;margin:18px 12px 9px;line-height:20px}
.sidebar .nav-label:first-child{margin-top:0}
.sidebar .nav-item{display:flex;width:100%;align-items:center;gap:12px;padding:11px 13px;min-height:44px;border:0;border-radius:9px;background:transparent;color:#c9d7e5;font-size:15px;font-weight:400;line-height:22px;text-align:left;margin-bottom:5px}
.sidebar .nav-item svg{width:19px;height:19px;flex-shrink:0;opacity:1}
.sidebar .nav-item:hover{background:#1e3449;color:#f1f7fc}
.sidebar .nav-item.active{background:#203e49;color:#a6ebdd;font-weight:600}
.sidebar .nav-item.active::before{left:0;top:50%;transform:translateY(-50%);height:20px;width:3px;background:#6cd0b8;border-radius:3px}
.sidebar .side-bottom{margin-top:12px;padding-top:14px;border-top:1px solid #334458;flex-shrink:0}
.sidebar .side-bottom form{margin:0}
.sidebar .sidebar-logout{cursor:pointer}.sidebar .sidebar-logout:hover{color:#ffccd0;background:#3c2c38}
.sidebar .sidebar-version{display:block;padding:12px 13px 0;font-size:14px;line-height:20px;color:#9fb2c6}
.sidebar .nav-close{display:none}
.sidebar-backdrop{display:none}
@media(min-width:761px){
 body.sidebar-collapsed .sidebar{width:var(--sidebar-compact);padding:22px 12px 16px}
 body.sidebar-collapsed .shell{margin-left:var(--sidebar-compact)}
 body.sidebar-collapsed .sidebar-brand-row{flex-direction:column;gap:16px;align-items:center}
 body.sidebar-collapsed .sidebar .brand{justify-content:center}
 body.sidebar-collapsed .sidebar .brand>div,body.sidebar-collapsed .workspace-copy,body.sidebar-collapsed .sidebar .nav-text,body.sidebar-collapsed .sidebar .nav-label,body.sidebar-collapsed .sidebar-version{display:none}
 body.sidebar-collapsed .collapse-chevron{transform:rotate(180deg)}
 body.sidebar-collapsed .sidebar .workspace{padding:0;margin:20px 0 15px;min-height:42px;border-color:transparent;background:transparent;justify-content:center}
 body.sidebar-collapsed .sidebar .sidebar-nav{padding:0 2px 10px}
 body.sidebar-collapsed .sidebar .nav-item{justify-content:center;padding:12px 0;gap:0;width:48px;min-height:46px;margin:0 auto 7px}
 body.sidebar-collapsed .sidebar .nav-label+.nav-item{margin-top:12px}
 body.sidebar-collapsed .sidebar .nav-item svg{width:21px;height:21px}
 body.sidebar-collapsed .sidebar .side-bottom{padding-top:13px;margin-top:12px}
}
@media(max-width:760px){
 .sidebar{width:min(290px,calc(100vw - 44px));padding:20px 18px 16px;transform:translateX(-100%);transition:transform .18s ease;box-shadow:none;z-index:40}
 .shell{margin-left:0!important;transition:none}
 .nav-open .sidebar{transform:translateX(0);box-shadow:8px 0 28px #06132233}
 .sidebar-toggle{display:none}
 .sidebar .nav-close{position:static;display:flex;align-items:center;justify-content:center;width:30px;height:32px;flex-shrink:0;padding:0;border:0;background:none;color:#d6e1ea;font-size:25px}
 .sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:35;background:#06132280;border:0;border-radius:0;padding:0}
 .sidebar .workspace{margin-top:20px}
}

/* NODRIX: paneles con mayor contraste y acentos de color. */
.shell{background:linear-gradient(135deg,#f1f5fa 0%,#f6f8fb 60%,#eef7f6 100%);min-height:100vh;color:#14263d}
.shell .subtitle,.shell .stat-foot,.shell .panel-head p,.shell .step p,.shell .empty p,.shell .module-card p,.shell td small,.shell .footer,.shell .breadcrumb,.shell .top-profile small{color:#405168;font-size:15px;line-height:1.7}
.shell h1{font-size:31px;font-weight:750;letter-spacing:-.8px}
.shell h2{font-size:18px;font-weight:700;color:#162b43}
.shell h3,.shell .step strong{font-size:16px;font-weight:650;color:#172c44}
.shell .stat-top{font-size:15px;font-weight:600;color:#344861;gap:12px}
.shell .stat{--accent:#2563be;--tint:#eaf2ff;position:relative;border-color:#dce5ef;border-top:3px solid var(--accent);box-shadow:0 5px 18px #17334e06;padding:22px;border-radius:16px}
.shell .stat:nth-child(4n+2){--accent:#087e70;--tint:#e0f5ee}
.shell .stat:nth-child(4n+3){--accent:#7753be;--tint:#f0eafa}
.shell .stat:nth-child(4n+4){--accent:#ac6019;--tint:#fff0dd}
.shell .stat-icon{width:42px;height:42px;flex-shrink:0;background:var(--tint);color:var(--accent);border-radius:12px}
.shell .stat-icon svg{width:22px;height:22px;stroke-width:1.8}
.shell .stat .value{font-size:36px;font-weight:750;color:#152a42;margin-top:13px}
.shell .panel{border-color:#dce5ef;box-shadow:0 6px 24px #17334e05;border-radius:16px}
.shell .panel-head{background:linear-gradient(105deg,#fff,#f8fafc);padding:24px}
.shell .panel-head>svg{box-sizing:content-box;padding:10px;border-radius:12px;background:#e8f4f1;color:#08786e;width:22px;height:22px}
.shell .step{gap:14px}
.shell .step-icon{width:36px;height:36px;background:#e3f4ef;color:#086e60;font-weight:700;border:1px solid #c4e7dc}
.shell .step:nth-child(2) .step-icon{background:#eaf1ff;color:#2759a1;border-color:#cdddf7}
.shell .step:nth-child(3) .step-icon{background:#f1ebfc;color:#7045a8;border-color:#e0d2f3}
.shell .empty>svg{box-sizing:content-box;width:34px;height:34px;padding:16px;background:#edf4fc;border:1px solid #dce8f7;border-radius:19px;color:#3975ac}
.shell .empty .btn svg{width:18px;height:18px;margin:0;color:inherit}
.shell .btn.primary{background:#0c8077;border-color:#0c8077;box-shadow:0 3px 8px #0c80771a;border-radius:9px;font-size:15px}
.shell .btn.primary:hover{background:#086c64;border-color:#086c64}
.shell .module-icon{background:#e8f1ff;color:#2863b5}
.shell .module-card:nth-child(3n+2) .module-icon{background:#e0f5ed;color:#087667}
.shell .module-card:nth-child(3n+3) .module-icon{background:#f1eafa;color:#7852b4}
.shell .top-profile .avatar{background:#e3f2ef;color:#116b60;border:1px solid #c8e4dd}
.shell th{color:#344861;font-size:14px;background:#f1f5fa}
.shell td{font-size:15px;color:#24384f}
.sidebar .nav-item svg{color:#82b8f6;opacity:1}
.sidebar .nav-item:nth-of-type(3n+2) svg{color:#6fd6bb}
.sidebar .nav-item:nth-of-type(3n+3) svg{color:#b6a1ee}
.sidebar .nav-item.active svg{color:#8de9d5}
.sidebar .nav-item{font-size:16px;color:#e0e8f2}
.sidebar .nav-item.active{color:#baf3e7}
@media(max-width:760px){.shell h1{font-size:26px}.shell .stat{padding:16px}.shell .stat-top{flex-wrap:wrap;gap:8px}.shell .stat-icon{width:36px;height:36px}.shell .stat .value{font-size:30px}.shell .panel-head{padding:20px}.shell .stat-foot{font-size:14px}}

/* NODRIX · Barra superior: contraste, jerarquia y acabado profesional. */
.shell .topbar{min-height:86px;height:auto;padding-top:16px;padding-bottom:16px;background:#fff;border-bottom:1px solid #dbe4ee;box-shadow:0 2px 10px #172b4405;gap:24px}
.shell .breadcrumb{color:#20364e;font-size:15px;font-weight:600;line-height:1.5}
.shell .breadcrumb span{color:#718299;padding:0 13px;font-weight:400}
.shell .top-right{gap:20px;min-width:0}
.shell .environment{color:#0b6058;background:#eaf6f2;border:1px solid #cce7de;border-radius:999px;padding:7px 12px;font-size:14px;font-weight:600;white-space:nowrap}
.shell .environment .dot{width:7px;height:7px;background:#0d8570;box-shadow:0 0 0 3px #d4eee5}
.shell .top-profile{color:#172c43;font-size:15px;font-weight:650;line-height:1.5;gap:12px;padding-left:20px;border-left:1px solid #dbe4ee;min-width:0}
.shell .top-profile small{color:#405168;font-size:14px;font-weight:500;line-height:1.5;margin-top:3px}
.shell .top-profile .avatar{width:42px;height:42px;border-radius:12px;background:#e3f2ef;border:1px solid #c5e3dc;color:#095f55;font-size:15px;font-weight:750;box-shadow:0 2px 5px #174b3e06}
@media(max-width:1000px){.shell .topbar{gap:16px}.shell .top-right{gap:12px}.shell .environment{padding:6px 10px}.shell .top-profile{padding-left:14px}}
@media(max-width:760px){.shell .topbar{min-height:76px;padding:13px 18px;gap:12px}.shell .top-right{min-width:0}.shell .top-profile{border:0;padding-left:0;font-size:14px;gap:10px}.shell .top-profile>div{min-width:0;overflow-wrap:anywhere}.shell .top-profile small{font-size:14px}.shell .top-profile .avatar{width:38px;height:38px}.shell .mobile-menu{flex-shrink:0;color:#20364e;background:#f5f8fb;border-color:#d7e1ec;border-radius:9px;min-width:38px;min-height:38px;align-items:center;justify-content:center}}

/* NODRIX · Linea de conectividad bajo la barra superior. */
.shell .topbar{position:relative;border-bottom-color:transparent}
.shell .topbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;pointer-events:none;background:linear-gradient(90deg,#0c8077 0%,#4bcbb5 20%,#397bc5 40%,#9270ca 60%,#397bc5 80%,#0c8077 100%);background-size:200% 100%;animation:nodrix-header-spectrum 10s linear infinite}
@keyframes nodrix-header-spectrum{from{background-position:0% 50%}to{background-position:200% 50%}}
@media(prefers-reduced-motion:reduce){.shell .topbar::after{animation:none;background-position:50% 50%}}

/* Linea mas fina, discreta y pausada. */
.shell .topbar::after{height:1.5px;opacity:.65;animation-duration:18s}

/* NODRIX · Formularios compactos e iconografia compartida. */
:root{
--form-icon-field:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2216%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M9%209h6M9%2013h6M9%2017h3%22%2F%3E%3C%2Fsvg%3E");
--form-icon-company:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%207h1m4%200h1M9%2011h1m4%200h1M10%2021v-5h4v5%22%2F%3E%3C%2Fsvg%3E");
--form-icon-code:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m8%208-4%204%204%204m8-8%204%204-4%204m-3-11-2%2014%22%2F%3E%3C%2Fsvg%3E");
--form-icon-user:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M5%2021v-2a7%207%200%200%201%2014%200v2%22%2F%3E%3C%2Fsvg%3E");
--form-icon-mail:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22m4%207%208%206%208-6%22%2F%3E%3C%2Fsvg%3E");
--form-icon-lock:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3m-4%205v2%22%2F%3E%3C%2Fsvg%3E");
--form-icon-globe:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2212%22%20rx%3D%224%22%20ry%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18%22%2F%3E%3C%2Fsvg%3E");
--form-icon-money:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M15%208h-4a2%202%200%200%200%200%204h2a2%202%200%200%201%200%204H9m3-10v12%22%2F%3E%3C%2Fsvg%3E");
--form-icon-pin:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23397d86%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2010c0%205-7%2011-7%2011S5%2015%205%2010a7%207%200%200%201%2014%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E");
}
.field input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.field select,.field textarea{background-image:var(--form-icon-field);background-repeat:no-repeat;background-position:13px center;background-size:19px 19px;padding-left:42px}
.field input[name="razon_social"]{background-image:var(--form-icon-company)}
.field input[name="codigo"]{background-image:var(--form-icon-code)}
.field input[name="nombre"],.field input[name="admin_nombre"]{background-image:var(--form-icon-user)}
.field input[type=email]{background-image:var(--form-icon-mail)}
.field input[type=password]{background-image:var(--form-icon-lock)}
.field select[name="pais_id"]{background-image:var(--form-icon-globe)}
.field select[name="moneda_id"]{background-image:var(--form-icon-money)}
.field input[name*="direccion"]{background-image:var(--form-icon-pin)}
.shell .content:has(.form-grid){max-width:1280px;padding-top:28px}
.shell .content:has(.form-grid) .page-head{margin-bottom:20px}
.shell .panel:has(.form-grid) .panel-head{padding:17px 22px}
.shell .panel:has(.form-grid) .panel-body{padding:20px 22px}
.shell .form-grid{gap:16px 20px;align-items:start}
.shell .form-grid .field{margin:0;min-width:0}
.shell .field label{font-size:15px;line-height:1.5;margin-bottom:6px;color:#20354c;font-weight:650}
.shell .field input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.shell .field select{min-height:43px;height:43px;padding-top:8px;padding-bottom:8px;font-size:15px;border:1px solid #cbd8e5;border-radius:9px;background-color:#fcfdff;color:#1e334b;line-height:1.5;width:100%}
.shell .field textarea{font:inherit;background-color:#fcfdff;border:1px solid #cbd8e5;border-radius:9px;padding-top:10px;background-position:13px 12px;min-height:90px;width:100%}
.shell .field input:focus,.shell .field select:focus,.shell .field textarea:focus{outline:2px solid #138c7c;outline-offset:2px;border-color:#138c7c;background-color:#fff}
.shell .field small{display:block;margin-top:5px;font-size:14px;line-height:1.5;color:#46586c}
.shell .panel:has(.form-grid) .section-title{font-size:17px;margin:20px 0 14px;padding-top:17px;border-top:1px solid #e1e8ef}
.shell .panel:has(.form-grid) .form-actions{margin-top:20px;padding-top:16px;border-top:1px solid #e1e8ef;gap:10px}
@media(max-width:760px){.shell .content:has(.form-grid){padding-top:22px}.shell .panel:has(.form-grid) .panel-body,.shell .panel:has(.form-grid) .panel-head{padding:18px}.shell .field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.shell .field select{font-size:16px;min-height:44px;height:44px}.shell .form-grid{gap:15px}}

/* NODRIX · Notificaciones flotantes, independientes del contenido. */
.nodrix-toasts{position:fixed;z-index:1000;top:100px;right:24px;width:min(420px,calc(100vw - 32px));display:flex;flex-direction:column;gap:12px;max-height:calc(100dvh - 120px);overflow:auto;padding:4px;pointer-events:none}
.nodrix-toasts .nodrix-toast{--toast-color:#2763a0;--toast-bg:#eaf2fb;display:flex;align-items:flex-start;gap:12px;padding:17px 14px;margin:0;border:1px solid #dbe5ed;border-left:4px solid var(--toast-color);border-radius:12px;background:#fff;color:#23364a;box-shadow:0 10px 32px #132c4421;pointer-events:auto;animation:nodrix-toast-enter .22s ease-out}
.nodrix-toast.success{--toast-color:#08786b;--toast-bg:#e1f3ed}.nodrix-toast.error{--toast-color:#b23a4c;--toast-bg:#fbe9ed}.nodrix-toast.warning{--toast-color:#9a621b;--toast-bg:#fff1dc}
.toast-symbol{flex:0 0 28px;height:28px;display:grid;place-items:center;background:var(--toast-bg);color:var(--toast-color);border-radius:9px;font-size:17px;font-weight:700}
.toast-content{flex:1;min-width:0;overflow-wrap:anywhere}.toast-content strong{display:block;font-size:15px;line-height:1.45;color:#182c42}.toast-content p{margin:4px 0 0;font-size:15px;line-height:1.55;color:#3c4d60}
.toast-close{display:grid;place-items:center;flex:0 0 30px;height:30px;padding:0;border:0;border-radius:7px;background:transparent;color:#526478;font-size:24px;line-height:1;cursor:pointer}.toast-close:hover{background:#eef3f7;color:#172c43}.toast-close:focus-visible{outline:2px solid #168c83;outline-offset:2px}
@keyframes nodrix-toast-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.nodrix-toasts{top:88px;right:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 104px)}}
@media(prefers-reduced-motion:reduce){.nodrix-toasts .nodrix-toast{animation:none}}

/* NODRIX · Tablas compactas sin truncar el contenido. */
.shell .table-wrap{width:100%;min-width:0}
.shell .table-wrap table{width:100%;table-layout:fixed;white-space:normal}
.shell .table-wrap th,.shell .table-wrap td{padding:11px 14px;white-space:normal;overflow-wrap:anywhere;word-break:normal;vertical-align:top;line-height:1.5}
.shell .table-wrap th{font-size:13px;letter-spacing:.35px;font-weight:700}
.shell .table-wrap td{font-size:14px;color:#293e55}
.shell .table-wrap td small{font-size:13px}
.shell .table-wrap .company-cell{min-width:0;gap:8px}
.shell .table-wrap .company-cell>div{min-width:0}
.shell .table-wrap .badge{white-space:normal;max-width:100%;font-size:13px}
.shell .table-wrap .inline-form{flex-wrap:wrap;gap:6px;min-width:0}
.shell .table-wrap select{max-width:100%;min-width:0}
.shell .table-wrap .btn{max-width:100%;white-space:normal}
.shell .table-wrap .audit-table th:nth-child(1){width:17%}
.shell .table-wrap .audit-table th:nth-child(2){width:9%}
.shell .table-wrap .audit-table th:nth-child(3){width:19%}
.shell .table-wrap .audit-table th:nth-child(4){width:18%}
.shell .table-wrap .audit-table th:nth-child(5){width:37%}
@media(max-width:760px){
 .shell .table-wrap .responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .shell .table-wrap .responsive-table,.shell .table-wrap .responsive-table tbody{display:block;width:100%}
 .shell .table-wrap .responsive-table tr{display:block;padding:12px 16px;border-bottom:1px solid #dfe7ef}
 .shell .table-wrap .responsive-table tr[hidden]{display:none}
 .shell .table-wrap .responsive-table td{display:grid;grid-template-columns:minmax(90px,32%) minmax(0,1fr);gap:12px;padding:7px 0;border:0;width:100%}
 .shell .table-wrap .responsive-table td::before{content:attr(data-label);font-weight:650;color:#243b54;font-size:13px;overflow-wrap:anywhere}
}

/* NODRIX · Hover y seleccion coherentes en todas las tablas. */
.shell .table-wrap tbody tr.selectable-row{cursor:pointer}
.shell .table-wrap tbody tr.selectable-row>td{transition:background-color .16s ease,box-shadow .16s ease}
@media(hover:hover){.shell .table-wrap tbody tr.selectable-row:hover>td{background-color:#f0f7f8}}
.shell .table-wrap tbody tr.selectable-row.is-selected>td{background-color:#e0f1ed;color:#183f3c}
.shell .table-wrap tbody tr.selectable-row.is-selected>td:first-child{box-shadow:inset 3px 0 #138b7c}
@media(hover:hover){.shell .table-wrap tbody tr.selectable-row.is-selected:hover>td{background-color:#d8ece7}}
.shell .table-wrap tbody tr.selectable-row:focus-visible{outline:2px solid #138b7c;outline-offset:-2px}
@media(max-width:760px){
 .shell .table-wrap .responsive-table tr.selectable-row.is-selected{background:#e0f1ed;box-shadow:inset 3px 0 #138b7c}
 .shell .table-wrap .responsive-table tr.selectable-row.is-selected>td:first-child{box-shadow:none}
}
@media(prefers-reduced-motion:reduce){.shell .table-wrap tbody tr.selectable-row>td{transition:none}}

/* NODRIX · Encabezados claramente diferenciados del fondo general. */
.shell .table-wrap thead{background:#233f50}
.shell .table-wrap thead th{background:#233f50;color:#f4f9fc;border-top:1px solid #304f61;border-bottom:2px solid #328e89;font-weight:700;letter-spacing:.45px;padding-top:12px;padding-bottom:12px}
.shell .table-wrap thead th+th{border-left:1px solid #355263}
.shell .table-wrap thead th a,.shell .table-wrap thead th button{color:inherit}

/* NODRIX · Encabezados turquesa a juego con los botones principales. */
.shell .table-wrap thead{background:#0c8077}
.shell .table-wrap thead th{background:#0c8077;color:#ffffff;border-top-color:#0c8077;border-bottom:2px solid #096b64}
.shell .table-wrap thead th+th{border-left:1px solid rgba(255,255,255,.18)}

/* NODRIX · Franjas de paginacion y notas de las tablas. */
.shell .table-foot{background:#edf7f3;color:#315d55;border-top:1px solid #d2e8de;padding:13px 20px;font-size:14px;line-height:1.6;gap:12px;align-items:center;flex-wrap:wrap}
.shell .table-foot .btn{background:#fff;border-color:#c3dfd3;color:#166b5f;border-radius:8px}
.shell .table-foot .btn:hover{background:#dcefe6;border-color:#9ac9b7;color:#10584e}
.shell .table-foot .btn:focus-visible{outline:2px solid #138b7c;outline-offset:2px}
.shell .table-wrap~.notice{background:#f3faf6;color:#42665c;border-top:1px solid #dcece3;font-size:14px;line-height:1.6}
@media(max-width:760px){.shell .table-foot{padding:12px 16px}}

/* NODRIX · Contornos algo mas definidos sin aumentar su grosor. */
.shell .panel:has(.table-wrap){border-color:#bdcdd5}
.shell .panel:has(.table-wrap) .panel-head{border-bottom-color:#c5d4dc}
.shell .table-wrap tbody td{border-bottom-color:#d0dce1}
.shell .table-foot{border-top-color:#b6d4c6}
.shell .table-wrap~.notice{border-top-color:#c3d9ce}
@media(max-width:760px){.shell .table-wrap .responsive-table tr{border-bottom-color:#c5d5dc}}

/* NODRIX · Contraste intermedio para los bordes de las tablas. */
.shell .panel:has(.table-wrap){border-color:#cbd7df}
.shell .panel:has(.table-wrap) .panel-head{border-bottom-color:#d1dde3}
.shell .table-wrap tbody td{border-bottom-color:#dce5e9}
.shell .table-foot{border-top-color:#c4dfd2}
.shell .table-wrap~.notice{border-top-color:#d0e3d9}
@media(max-width:760px){.shell .table-wrap .responsive-table tr{border-bottom-color:#d2dfe5}}

/* NODRIX · Contornos compartidos: contraste suave y consistente. */
.shell{--panel-border:#cbd7df;--divider-border:#d1dde3;--green-border:#c4dfd2}
.shell .panel,.shell .panel:has(.table-wrap),.shell .module-card{border-color:var(--panel-border)}
.shell .panel-head,.shell .panel:has(.table-wrap) .panel-head{border-bottom-color:var(--divider-border)}
.shell .stat{border-left-color:var(--panel-border);border-right-color:var(--panel-border);border-bottom-color:var(--panel-border)}
.shell .info{border-color:var(--green-border)}
.shell .module-card:has(input:checked){border-color:#9acbc2}
.shell .search input,.shell .inline-form select{border-color:var(--panel-border)}
.shell .btn:not(.primary):not(.danger):not(.ghost){border-color:var(--panel-border)}
.shell .btn:not(.primary):not(.danger):not(.ghost):hover{border-color:#aabfc9}
.shell .table-foot .btn{border-color:var(--green-border)}

/* NODRIX · Pie anclado al viewport, con reserva de espacio real. */
.shell{--footer-height:72px}
.shell .content{padding-bottom:calc(var(--footer-height) + 24px)}
.shell>.footer{position:fixed;z-index:20;bottom:0;left:var(--sidebar-width,280px);right:0;min-height:58px;margin:0;padding:15px 28px calc(15px + env(safe-area-inset-bottom,0px));background:#f0f7f5;border-top:1px solid #cbdcd6;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;color:#36584f;font-size:14px;line-height:1.5;box-shadow:0 -3px 12px #183e3405}
.shell>.footer span{min-width:0;overflow-wrap:anywhere}
.shell>.footer span:last-child{text-align:right}
@media(min-width:761px){body.sidebar-collapsed .shell>.footer{left:var(--sidebar-compact,84px)}}
@media(max-width:760px){.shell{--footer-height:110px}.shell>.footer{left:0;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));flex-direction:column;align-items:flex-start;gap:3px;font-size:13px}.shell>.footer span:last-child{text-align:left}}

/* NODRIX · Encabezado compartido para todas las secciones. */
.shell .page-head{gap:16px;margin-bottom:22px;align-items:center}
.shell .page-heading{display:flex;align-items:flex-start;gap:14px;min-width:0}
.shell .page-heading-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;margin-top:2px;border:1px solid #c4dfd2;border-radius:13px;background:#e5f3ed;color:#0c8077}
.shell .page-heading-icon svg{width:23px;height:23px;stroke-width:1.7}
.shell .page-heading-copy{min-width:0}
.shell .page-heading h1{font-size:26px;line-height:1.25;font-weight:700;letter-spacing:-.5px;margin:0 0 5px;color:#172e43;overflow-wrap:anywhere}
.shell .page-heading .subtitle{font-size:14px;line-height:1.55;margin:0;color:#405168}
@media(max-width:760px){.shell .page-heading{gap:11px}.shell .page-heading-icon{flex-basis:39px;width:39px;height:39px;border-radius:11px}.shell .page-heading-icon svg{width:21px;height:21px}.shell .page-heading h1{font-size:23px}.shell .page-head{margin-bottom:18px}}

/* NODRIX · Ventanas de alta compartidas, sin desenfoque. */
body.modal-open{overflow:hidden}
.shell .nodrix-modal{width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #bdcfd5;border-radius:16px;background:#fff;color:#172e43;box-shadow:0 20px 65px #102c3333;overflow:auto}
.shell .nodrix-modal:not([open]){display:none}
.shell .nodrix-modal::backdrop{background:rgba(17,30,48,.38);backdrop-filter:none;-webkit-backdrop-filter:none}
.shell .nodrix-modal>.panel{border:0;border-radius:0;box-shadow:none;margin:0;overflow:visible}
.shell .nodrix-modal .panel-head{background:#edf7f3;padding:18px 22px;border-bottom:1px solid #c4dfd2;gap:12px}
.shell .nodrix-modal .panel-head h2{font-size:19px}
.shell .nodrix-modal .panel-head .badge{margin-left:auto}
.shell .modal-close{flex:0 0 34px;width:34px;height:34px;border:1px solid #c4d9d0;border-radius:9px;background:#fff;color:#315d55;font-size:25px;line-height:1;display:grid;place-items:center;padding:0;margin-left:auto}
.shell .modal-close:hover{background:#deeee7;color:#145e53}
.shell .modal-close:focus-visible{outline:2px solid #138b7c;outline-offset:2px}
.shell .nodrix-modal .form-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
@media(max-width:760px){.shell .nodrix-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:13px}.shell .nodrix-modal .panel-head{padding:15px 18px}.shell .modal-launch{min-height:44px}}

/* Iconos de accion ligeros y alineados con las etiquetas. */
.btn .button-icon{width:17px;height:17px;flex:0 0 17px;display:block;pointer-events:none;color:currentColor}
.btn.small .button-icon{width:15px;height:15px;flex-basis:15px}

.service-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 20px}.service-facts dt{font-size:14px;color:#405168}.service-facts dd{font-size:15px;font-weight:600;color:#19384a;margin:4px 0 0;overflow-wrap:anywhere}@media(max-width:760px){.service-facts{grid-template-columns:1fr 1fr}}@media(max-width:420px){.service-facts{grid-template-columns:1fr}}

/* NODRIX · Detalle de servicio mas compacto, con la misma legibilidad. */
.shell .service-detail-compact .page-head{margin-bottom:16px}
.shell .service-detail-compact .panel{margin-bottom:14px}
.shell .service-detail-compact .panel-head{padding:12px 18px;min-height:54px}
.shell .service-detail-compact .panel-head h2{font-size:17px}
.shell .service-detail-compact .panel-body{padding:14px 18px}
.shell .service-detail-compact .service-facts{gap:10px 20px;margin-bottom:12px}
.shell .service-detail-compact .service-facts dt{line-height:1.4}
.shell .service-detail-compact .service-facts dd{margin-top:2px;line-height:1.45}
.shell .service-detail-compact .subtitle{line-height:1.5;margin:0}
.shell .service-detail-compact .table-foot{padding:9px 18px;gap:8px;line-height:1.5}
.shell .service-detail-compact .notice{padding:10px 18px;line-height:1.5}
@media(max-width:760px){.shell .service-detail-compact .panel-head,.shell .service-detail-compact .panel-body{padding:12px 15px}.shell .service-detail-compact .service-facts{gap:10px 14px}}

.billing-review{margin-top:16px;padding:13px 16px;border:1px solid #c4dfd2;background:#edf7f3;border-radius:10px}.billing-review p{margin:5px 0;font-size:14px;color:#284d44}.billing-confirm{display:flex;align-items:flex-start;gap:10px;margin-top:15px;font-size:14px;color:#253d51}.billing-confirm input{margin-top:5px;flex-shrink:0}

/* Shared panel presentation, based on the Customers list. */
body .shell .content{width:100%;max-width:none;padding-left:24px;padding-right:24px}
body .shell .content .panel>.panel-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:16px 20px!important;background:linear-gradient(110deg,#e3f2ee,#f0f7f5)!important;border-bottom:1px solid #bdd9d2;color:#173e3b}
body .shell .content .panel>.panel-head h2{display:flex;align-items:center;gap:9px;margin:0;font-size:16px;line-height:1.4;color:#183c39}
body .shell .content .panel>.panel-head h2 svg{width:19px!important;height:19px!important;color:#088077;flex-shrink:0}
body .shell .content .panel-head :is(.search,.zone-search){position:relative;display:block;width:280px;max-width:100%;flex:0 1 280px;margin:0}
body .shell .content .panel-head :is(.search,.zone-search)>svg{position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%);width:17px!important;height:17px!important;color:#42766e;pointer-events:none}
body .shell .content .panel-head :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,.btn){box-sizing:border-box;height:38px!important;min-height:38px!important;border-radius:8px;font-size:14px;line-height:20px;padding-top:8px!important;padding-bottom:8px!important}
body .shell .content .panel-head :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select){border:1px solid #b7d2cb!important;background:#fff!important;color:#213e3a}
body .shell .content .panel-head :is(.search,.zone-search) input{display:block;width:100%!important;min-width:0;padding-left:38px!important;padding-right:12px!important}
body .shell .content .panel-head input::placeholder{color:#526c67;opacity:1}
body .shell .content .panel-head :is(input,select):focus{border-color:#0b887d!important;outline:2px solid #0b887d26;outline-offset:1px}
body .shell .content .panel-head .btn{width:auto;gap:6px;padding-left:10px;padding-right:10px;white-space:nowrap}
body .shell .content .zone-filters{gap:8px;max-width:100%}
@media(max-width:700px){body .shell .content{padding-left:12px!important;padding-right:12px!important}body .shell .content .panel>.panel-head{padding:14px!important;gap:12px}body .shell .content .panel-head :is(.search,.zone-search){flex-basis:100%;width:100%}}

/* Internet plan form: title icon, required markers and label spacing. */
:is(.panel,dialog):has(form [name="action"][value="save_internet_plan"])>.panel-head h2{display:flex;align-items:center;gap:9px}
:is(.panel,dialog):has(form [name="action"][value="save_internet_plan"])>.panel-head h2:not(:has(svg))::before{content:"";display:block;flex:0 0 19px;width:19px;height:19px;background:center/19px 19px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23088077' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 8a14 14 0 0 1 18 0M6 12a9 9 0 0 1 12 0m-9 4a4 4 0 0 1 6 0'/%3E%3Ccircle cx='12' cy='20' r='1'/%3E%3C/svg%3E")}
form:has([name="action"][value="save_internet_plan"]) .required-marker{color:#bb2539!important}
form:has([name="action"][value="save_internet_plan"]) .field{row-gap:4px!important}
form:has([name="action"][value="save_internet_plan"]) .field>label{margin-bottom:0!important}
form:has([name="action"][value="save_internet_plan"]) .field>:is(input,select){margin-top:0!important}

/* Shared form conventions across project modules. */
body form .field{row-gap:4px!important}
body form .field>label{margin-bottom:0!important}
body form .field>:is(input,select,textarea){margin-top:0!important}
body :is(.required-mark,.required-marker,.zone-required){color:#bb2539!important}
:where(.panel,dialog):has(form .field)>.panel-head h2{display:flex;align-items:center;gap:9px}
:where(.panel,dialog):has(form .field)>.panel-head h2:not(:has(svg))::before{content:"";display:block;flex:0 0 19px;width:19px;height:19px;background:center/19px 19px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23088077' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H5v18h14V8l-5-5v5h5M8 12h8M8 16h6'/%3E%3C/svg%3E")}

/* Shared compact table actions; preserve readable text on labeled actions. */
body .shell .table-wrap tbody .btn{min-height:28px!important;padding:4px 8px!important;font-size:12px!important;line-height:18px!important;border-radius:6px}
body .shell .table-wrap tbody .btn svg{width:14px!important;height:14px!important;flex-shrink:0}
body .shell .table-wrap tbody :is(.server-icon-action,[data-service-icon],.zone-edit){width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;flex:0 0 28px!important;padding:6px!important}
/* Neutral list icon only where the heading has no existing SVG. */
:where(.panel):has(>.table-wrap)>.panel-head h2:not(:has(svg))::before{content:"";display:block;flex:0 0 19px;width:19px;height:19px;background:center/19px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23088077' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M7 8h.01M10 8h7M7 12h.01M10 12h7M7 16h.01M10 16h7'/%3E%3C/svg%3E")}

/* Payments: align the top spacing with Billing. */
body .shell main.content[data-page="pagos"]{padding-top:18px!important}

/* Team listing: consistent compact top spacing. */
body .shell main.content[data-page="trabajadores"]{padding-top:18px!important}

/* Compact worker modal heading. */
body .shell dialog[data-worker-dialog]>.panel-head{padding:14px 20px;gap:12px}
body .shell dialog[data-worker-dialog]>.panel-head h2{display:flex;align-items:center;gap:9px;font-size:16px;line-height:1.4;margin:0;white-space:nowrap}
body .shell dialog[data-worker-dialog]>.panel-head h2 svg{width:19px!important;height:19px!important;min-width:19px;max-width:19px;flex:0 0 19px;color:#088077}

/* Module management: compact heading and five desktop columns. */
body .shell main.content[data-page="modulos"]{padding-top:18px!important}
body .shell main.content[data-page="modulos"] .module-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
body .shell main.content[data-page="modulos"] .module-card{min-width:0;padding:18px}
@media(max-width:1400px){body .shell main.content[data-page="modulos"] .module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){body .shell main.content[data-page="modulos"] .module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){body .shell main.content[data-page="modulos"] .module-grid{grid-template-columns:1fr}}

/* Internet plans: compact catalog rows. */
body .shell main.content[data-page="planes-internet"] .table-wrap tbody td{padding-top:5px!important;padding-bottom:5px!important;vertical-align:middle!important}
