:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f4f7fb;--blue:#0b69c7;--blue2:#0758a8;--nav:#10233d;--line:#e2e8f0;--muted:#65758b}*{box-sizing:border-box}body{margin:0;background:#f4f7fb}a{color:inherit}.sa-body{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--nav);color:#fff;padding:22px 16px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:12px;align-items:center;padding:2px 8px 22px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff;color:var(--blue);font-weight:900}.brand strong,.brand small{display:block}.brand small{opacity:.65;margin-top:2px}.sidebar nav{display:grid;gap:5px}.sidebar nav a{text-decoration:none;padding:12px 13px;border-radius:10px;display:flex;gap:11px;align-items:center;color:#cdd8e7;font-weight:650}.sidebar nav a:hover,.sidebar nav a.active{background:#ffffff14;color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 #58a8ff}.sidebar nav span{width:20px;text-align:center}.sidebar-foot{margin-top:auto;border-top:1px solid #ffffff1f;padding:18px 8px 0}.sidebar-foot small,.sidebar-foot strong{display:block}.sidebar-foot small{opacity:.6}.sidebar-foot strong{margin:3px 0 10px}.logout{background:#ffffff12;border:1px solid #ffffff25}.sa-shell{margin-left:250px;min-height:100vh}.content{width:min(1180px,calc(100% - 44px));margin:0 auto;padding:34px 0 60px}.mobile-top{display:none}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 22px}.page-head h1{font-size:2rem;margin:2px 0 5px}.page-head p{margin:0;color:var(--muted)}.eyebrow{font-size:.72rem!important;font-weight:850;letter-spacing:.13em;color:var(--blue)!important}.card{background:#fff;border:1px solid #e7edf4;border-radius:16px;padding:20px;margin:16px 0;box-shadow:0 8px 28px #17324d0b}h1,h2{margin-top:0}h2{font-size:1.08rem}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.stats article{background:#fff;border:1px solid #e7edf4;border-radius:15px;padding:18px}.stats small,.stats span{display:block;color:var(--muted)}.stats strong{display:block;font-size:1.85rem;margin:7px 0 3px}.stats span{font-size:.78rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}label{display:block;font-weight:700;margin:10px 0 5px}input,select,button{font:inherit;padding:10px 11px;border:1px solid #b8c6d6;border-radius:9px;width:100%;background:#fff}button,.button-link,.mini-link{background:var(--blue);color:#fff;border:0;font-weight:750;cursor:pointer;text-decoration:none}.button-link{display:inline-block;padding:10px 14px;border-radius:9px;width:auto}.button-link.secondary{background:#e9f2fc;color:#0758a8}.mini-link{display:inline-block;padding:8px 10px;border-radius:8px;white-space:nowrap}.danger{background:#b42318;color:#fff}.notice{padding:12px 14px;border-radius:10px;background:#d1e7dd;margin:0 0 14px}.warn{background:#fff3cd}.code-result code{font-size:1.05rem}.table{overflow:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px 10px;vertical-align:middle}th{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}code{word-break:break-all}.muted{color:var(--muted);font-size:.9rem}.toolbar{display:flex;margin-bottom:14px}.toolbar input{max-width:420px}.badge{display:inline-block;padding:5px 9px;border-radius:999px;font-size:.75rem;font-weight:800;text-transform:capitalize}.badge.active{background:#dcfce7;color:#166534}.badge.suspended{background:#fef3c7;color:#92400e}.badge.cancelled{background:#fee2e2;color:#991b1b}.business-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.business-title h2{margin-bottom:4px;font-size:1.35rem}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.info-grid div{background:#f7f9fc;border-radius:10px;padding:12px}.info-grid small,.info-grid strong{display:block}.info-grid small{color:var(--muted);margin-bottom:3px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.two-cols .card{margin:0}.two-cols form+form{border-top:1px solid var(--line);margin-top:18px;padding-top:10px}.plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:15px}.plan-card{margin:0}.plan-code{font-size:.72rem;font-weight:850;color:var(--blue);letter-spacing:.1em}.form-inline{display:grid;grid-template-columns:1.2fr 1fr auto;gap:12px;align-items:end}.form-inline button{min-width:150px}.feature-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-top:20px}.feature-list div{border:1px solid var(--line);border-radius:10px;padding:11px}.feature-list strong,.feature-list small,.feature-list span{display:block}.feature-list small{color:var(--muted);margin:2px 0 5px}.feature-list span{font-size:.8rem}.status-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.status-row p{margin:4px 0 0;color:var(--muted)}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px}.dot.ok{background:#22c55e}.small-btn{padding:7px 10px;width:auto}.nav-toggle,.nav-overlay{display:none}
@media(max-width:950px){.stats{grid-template-columns:repeat(3,1fr)}.two-cols{grid-template-columns:1fr}}
@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:.2s ease;width:270px}.nav-toggle:checked~.sidebar{transform:translateX(0)}.nav-overlay{position:fixed;inset:0;background:#08182a80;z-index:20}.nav-toggle:checked+.nav-overlay{display:block}.sa-shell{margin-left:0}.mobile-top{height:58px;padding:0 16px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px;position:sticky;top:0;z-index:10}.menu-btn{font-size:1.45rem;width:auto;margin:0;cursor:pointer}.content{width:min(100% - 24px,1180px);padding:20px 0 40px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:1.65rem}.stats{grid-template-columns:1fr 1fr}.form-inline{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr}.status-row{align-items:flex-start;flex-direction:column}.card{padding:16px}.table table{min-width:720px}}
@media(max-width:420px){.stats{grid-template-columns:1fr 1fr}.stats article{padding:14px}.stats strong{font-size:1.55rem}}

/* v2.1.2 · Negocios: interfaz simple, visual y adaptable */
.business-browser{padding:18px 20px 22px}
.business-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px}
.business-search-wrap{position:relative;flex:1;max-width:520px}
.business-search-wrap>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#7a8aa0;font-size:1.2rem;pointer-events:none}
.business-search-wrap input{max-width:none;width:100%;padding-left:38px;background:#f8fafc;border-color:#dce5ef}
.business-filters{display:flex;align-items:center;gap:8px}
.business-filters select{width:auto;min-width:145px;padding:9px 32px 9px 10px;background:#fff}
.view-switch{display:flex;gap:3px;padding:3px;background:#eef3f8;border-radius:10px}
.view-btn{width:39px;height:38px;padding:0;display:grid;place-items:center;background:transparent;color:#65758b;border:0;font-size:1.08rem}
.view-btn.active{background:#fff;color:var(--blue);box-shadow:0 1px 5px #17324d20}
.business-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 2px 16px;color:var(--muted)}
.business-summary p,.business-summary small{margin:0;font-size:.82rem}
.business-summary p strong{color:#26364b}
.business-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px}
.business-card{border:1px solid #e1e8f0;border-radius:16px;background:#fff;min-width:0;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.business-card:hover{transform:translateY(-2px);border-color:#cbdced;box-shadow:0 10px 26px #17324d12}
.business-card-link{display:block;padding:17px;text-decoration:none;color:inherit}
.business-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.business-avatar{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;background:#eaf4ff;color:var(--blue);font-size:1.15rem;font-weight:900}
.business-avatar.small{width:36px;height:36px;border-radius:10px;flex:0 0 auto;font-size:.9rem}
.business-card-name{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 16px}
.business-card-name h2{font-size:1.05rem;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.business-card-name span{color:var(--blue);font-size:.76rem;white-space:nowrap}
.business-card-name b{font-size:1rem}
.business-meta-simple{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #edf1f5;padding-top:13px}
.business-meta-simple div+div{border-left:1px solid #edf1f5;padding-left:16px}
.business-meta-simple small,.business-meta-simple strong{display:block}
.business-meta-simple small{font-size:.68rem;color:var(--muted);margin-bottom:2px}
.business-meta-simple strong{font-size:.86rem}
.business-list{border:1px solid #e5ebf2;border-radius:13px;overflow:hidden}
.business-list-head,.business-list-row{display:grid;grid-template-columns:minmax(220px,2fr) 1fr 1fr .7fr 30px;align-items:center;gap:16px}
.business-list-head{padding:9px 14px;background:#f8fafc;color:var(--muted);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.business-list-row{padding:11px 14px;text-decoration:none;color:inherit;border-top:1px solid #edf1f5;background:#fff;transition:background .12s ease}
.business-list-row:hover{background:#f8fbff}
.business-list-name{display:flex;align-items:center;gap:11px;min-width:0}
.business-list-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.business-list-row>span{font-size:.86rem}
.business-list-row em{display:none}
.row-arrow{font-size:1.35rem!important;color:#8aa0b7;text-align:right}
.empty-state{text-align:center;padding:44px 15px;color:var(--muted)}
.empty-state strong{display:block;color:#27364a;font-size:1rem}
.empty-state p{margin:5px 0 0}
.business-item[hidden],#business-grid[hidden],#business-list[hidden]{display:none!important}

@media(min-width:1500px){
 .content{width:min(1320px,calc(100% - 54px))}
 .business-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
}
@media(max-width:900px){
 .business-toolbar{align-items:stretch;flex-direction:column}
 .business-search-wrap{max-width:none}
 .business-filters{justify-content:space-between}
 .business-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .business-browser{padding:14px}
 .business-filters{flex-wrap:wrap}
 .business-filters select{flex:1;min-width:130px}
 .view-switch{margin-left:auto}
 .business-grid{grid-template-columns:1fr}
 .business-summary small{display:none}
 .business-list{border:0;overflow:visible}
 .business-list-head{display:none}
 .business-list-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;border:1px solid #e5ebf2;border-radius:13px;margin-bottom:9px;padding:12px}
 .business-list-row>span:nth-child(2),.business-list-row>span:nth-child(3),.business-list-row>span:nth-child(4){display:none}
 .row-arrow{display:block!important}
}
@media(max-width:430px){
 .business-filters select{width:100%;flex:1 1 calc(50% - 5px)}
 .view-switch{margin-left:0}
 .business-card-name span{font-size:0}
 .business-card-name span b{font-size:1.2rem}
}


/* v2.1.3 · Tarjetas compactas por plan + logo real del negocio */
.business-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.business-card{position:relative;border-radius:17px;overflow:hidden}
.business-card.plan-free{border-color:#d8e0e8;background:linear-gradient(145deg,#fff 0%,#fbfcfd 70%,#eef1f4 100%)}
.business-card.plan-free:after{content:"";position:absolute;right:-32px;bottom:-45px;width:125px;height:125px;border:12px solid #cbd3dc20;border-radius:50%;pointer-events:none}
.business-card.plan-pro{border-color:#e9c45a;background:linear-gradient(145deg,#fffdf7 0%,#fffaf0 68%,#fff1bd 100%);box-shadow:0 8px 22px #b8860b12}
.business-card.plan-pro:after{content:"";position:absolute;right:-38px;bottom:-50px;width:145px;height:145px;border:14px solid #e8b52224;border-radius:50%;pointer-events:none}
.business-card-link{position:relative;z-index:1;padding:15px}
.business-logo-ring{width:68px;height:68px;border-radius:50%;padding:4px;background:#fff;border:3px solid #fff;box-shadow:0 3px 10px #17324d1b;display:grid;place-items:center;overflow:hidden}
.business-logo-ring img{display:block;width:100%;height:100%;border-radius:50%;object-fit:contain;background:#fff}
.plan-free .business-logo-ring{outline:1px solid #cfd8e2}
.plan-pro .business-logo-ring{outline:1px solid #e9c24d}
.plan-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:900;line-height:1;white-space:nowrap}
.plan-free .plan-pill{background:linear-gradient(180deg,#eef2f6,#d9e0e7);color:#405064}
.plan-pro .plan-pill{background:linear-gradient(180deg,#ffd85a,#efb814);color:#4b3700;box-shadow:0 2px 6px #c9971926}
.plan-pill.compact{padding:4px 8px}
.business-card-main{margin:10px 0 12px;min-height:62px}
.business-card-main h2{margin:0 0 6px;font-size:.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.business-card-main .badge{padding:4px 8px;font-size:.67rem}
.business-card-main p{margin:7px 0 0;color:var(--muted);font-size:.73rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.business-card-stats{display:grid;grid-template-columns:1fr 1.25fr;gap:7px;padding:10px 0;border-top:1px solid #dfe6edaa}
.business-card-stats>div{display:flex;align-items:center;gap:7px;min-width:0}
.stat-icon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px;background:#ffffffb8;color:#65758b;font-size:.82rem}
.plan-pro .stat-icon{color:#a87300}
.business-card-stats strong,.business-card-stats small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.business-card-stats strong{font-size:.72rem}
.business-card-stats small{font-size:.61rem;color:var(--muted)}
.business-card-action{margin:2px -4px -4px;min-height:34px;padding:8px 10px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.76rem;font-weight:850;background:#edf3f9;color:#24435f}
.plan-pro .business-card-action{background:linear-gradient(180deg,#ffd75a,#f2bd22);color:#4a3700}
.business-card-action b{font-size:1rem}
.business-list-name .business-avatar{overflow:hidden;padding:2px;background:#fff;border:1px solid #dce4ec}
.business-list-name .business-avatar img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.business-list-row.plan-pro{box-shadow:inset 3px 0 #e3b526}
.business-list-row.plan-free{box-shadow:inset 3px 0 #b8c2cd}

@media(max-width:1250px){.business-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.business-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.business-grid{grid-template-columns:1fr}.business-logo-ring{width:64px;height:64px}}

/* v2.5.2 · registro multi-negocio */
.register-title{display:flex;align-items:center;gap:12px}.register-title h1{margin:0}.register-outline-icon{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.availability-note{display:block;min-height:18px;margin:4px 0 2px;font-size:13px}.availability-note.available{color:#087a4b}.availability-note.unavailable{color:#c62828}
/* v2.9.2 */
.card input[type="password"],.card input[type="url"],.card input[type="text"]{width:100%;min-height:40px;border:1px solid #ccd7e2;border-radius:5px;padding:8px 10px;background:#fff;color:inherit;font:inherit}.card label small{display:block;margin-top:5px;color:#718096;font-weight:400;line-height:1.35}

/* v2.9.6 · alta con Google */
.google-linked-note{display:flex;flex-direction:column;gap:3px;margin:14px 0;padding:11px 12px;border:1px solid #d8e4ef;border-radius:6px;background:#f8fbfe}.google-linked-note strong{font-weight:600}.google-linked-note span{font-size:.9rem;color:var(--muted);overflow-wrap:anywhere}.google-register-btn{min-height:44px;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #ccd7e2;border-radius:6px;background:#fff;color:#172033;text-decoration:none;font-weight:500;margin:16px 0}.google-register-btn:hover{background:#f8fafc}.google-g{font-weight:600;font-size:1.05rem}.register-divider{display:flex;align-items:center;gap:10px;color:#7a8798;font-size:.82rem;margin:14px 0}.register-divider:before,.register-divider:after{content:"";height:1px;background:#e1e7ee;flex:1}.card input[readonly]{background:#f5f7fa;color:#5d6a79}

/* v2.9.10 · Etapa 1: presencia en línea / ausente / desconectado */
.presence{font-weight:600;font-size:.78rem}.presence.online{color:#15803d}.presence.away{color:#a16207}.presence.offline{color:#64748b}.presence-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto;box-shadow:0 0 0 3px #fff}.presence-dot.online{background:#22c55e}.presence-dot.away{background:#eab308}.presence-dot.offline{background:#94a3b8}.business-card-stats{grid-template-columns:1fr 1fr}.business-list-head,.business-list-row{grid-template-columns:minmax(220px,2fr) .8fr .9fr 1.2fr .6fr 30px}.info-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:720px){.business-list-row>span:nth-child(5){display:none}.info-grid{grid-template-columns:1fr}.business-card-stats{grid-template-columns:1fr 1fr}}


/* v2.9.17 · Exportación segura de código */
.dev-export-card{max-width:850px}.export-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:16px 0 20px}.export-checks span{display:flex;align-items:center;min-height:32px;font-size:.9rem}.export-checks .secure{color:#526579}.export-warning{margin:16px 0 0;padding:11px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#52606d;font-size:.86rem}.dev-export-card form{margin:0}.dev-export-card button{min-height:42px}
@media(max-width:640px){.export-checks{grid-template-columns:1fr}}


/* v2.10.4 · Estado del sistema / diagnóstico por dispositivo */
.status-nav-dot{width:9px!important;height:9px!important;border-radius:50%;background:#22c55e;display:inline-block!important;flex:0 0 auto}.health-summary{margin-bottom:18px}.system-status-card{overflow:hidden}.status-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.status-section-head h2{margin-bottom:5px}.status-section-head p{margin:0;max-width:780px}.system-component-pill{padding:5px 9px;border:1px solid #d9e3ec;border-radius:999px;background:#f8fafc;color:#526579;font-size:.72rem;font-weight:600}.health-device-list{display:grid;gap:9px;margin-top:18px}.health-device-row{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(330px,2fr) auto;gap:14px;align-items:center;padding:12px 14px;border:1px solid #e1e7ee;border-radius:8px;background:#fff}.health-device-main{display:flex;align-items:center;gap:10px;min-width:0}.health-device-main strong,.health-device-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.health-device-main small{margin-top:2px;color:var(--muted);font-size:.72rem}.health-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto}.health-dot.ok{background:#22c55e}.health-dot.warning{background:#eab308}.health-dot.error{background:#ef4444}.health-dot.unknown{background:#94a3b8}.health-checks{display:flex;gap:6px;flex-wrap:wrap}.health-chip{padding:4px 7px;border-radius:5px;background:#f1f5f9;color:#64748b;font-size:.68rem;font-weight:600}.health-chip.ok{background:#ecfdf3;color:#15803d}.health-chip.warn{background:#fffbeb;color:#a16207}.health-chip.error{background:#fef2f2;color:#b91c1c}.health-device-meta{display:flex;flex-direction:column;align-items:flex-end;gap:3px;color:#718096;font-size:.67rem;white-space:nowrap}.health-error{color:#b91c1c;font-weight:600}.empty-health{margin-top:18px;padding:20px;border:1px dashed #ccd7e2;border-radius:8px;background:#f8fafc}.empty-health p{margin:5px 0 0;color:var(--muted)}
@media(max-width:980px){.health-device-row{grid-template-columns:1fr}.health-device-meta{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.health-checks{order:3}}
@media(max-width:640px){.status-section-head{flex-direction:column}.health-device-row{padding:11px}.health-checks{gap:5px}.health-chip{font-size:.65rem}}
/* v2.10.34 · identidad global */
.identity-wide{grid-column:1/-1}.identity-wide textarea{width:100%;resize:vertical;min-height:84px}.identity-logo-row{display:flex;align-items:center;gap:18px;margin-top:8px}.identity-logo-row img{width:72px;height:72px;object-fit:contain;border:1px solid #d9e2ec;border-radius:14px;background:#fff;padding:7px}.identity-logo-row input{flex:1}@media(max-width:720px){.identity-logo-row{align-items:flex-start;flex-direction:column}.identity-logo-row img{width:64px;height:64px}}

/* v2.11.4 · SuperAdmin: matriz central y edición segura de funciones */
.feature-context{display:grid;grid-template-columns:1fr 1fr;gap:20px}.feature-context h2,.feature-context p{margin-bottom:0}.pilot-selector{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(320px,1.3fr);gap:18px;align-items:end}.pilot-selector h2{margin-bottom:5px}.pilot-selector-form{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.pilot-selector-form label{margin:0}.pilot-selector-form button{width:auto;min-width:170px}.selected-pilot{grid-column:1/-1;display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 14px;border-radius:11px;background:#f2f7fd;border:1px solid #d9e7f7}.selected-pilot span{color:var(--muted)}.selected-pilot code{margin-left:auto}.status-legend{display:grid;gap:12px}.status-legend>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.status-legend strong{min-width:150px}.feature-modules{display:grid;gap:16px}.feature-module{margin:0}.feature-module-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px}.feature-module-head h2,.feature-module-head p{margin-bottom:0}.feature-module-head>span{font-size:.78rem;color:var(--muted)}.feature-matrix-wrap{overflow:auto}.feature-matrix{min-width:1120px}.feature-matrix th:nth-child(1){width:31%}.feature-matrix th:nth-child(2){width:13%}.feature-matrix th:nth-child(n+3){width:18.6%}.feature-matrix td:first-child strong,.feature-matrix td:first-child small,.feature-matrix td:first-child code,.feature-matrix th:last-child span,.feature-matrix th:last-child small,.feature-matrix td:last-child small{display:block}.feature-matrix td:first-child small{color:var(--muted);font-size:.78rem;margin:4px 0}.feature-matrix td:first-child code{font-size:.71rem;color:#64748b}.feature-matrix th:last-child small{font-size:.67rem;text-transform:none;letter-spacing:0;margin-top:3px}.feature-matrix td:last-child small{font-size:.68rem;color:var(--muted);margin-top:4px}.essential-label{display:inline-block;margin-left:7px;padding:3px 6px;border-radius:999px;background:#e0f2fe;color:#075985;font-size:.6rem;font-weight:900;letter-spacing:.07em;vertical-align:middle}.matrix-state,.technical-status{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;font-size:.7rem;font-weight:800;white-space:nowrap}.matrix-state.included,.matrix-state.override-on{background:#dcfce7;color:#166534}.matrix-state.excluded,.matrix-state.neutral{background:#f1f5f9;color:#64748b}.matrix-state.essential{background:#e0f2fe;color:#075985}.matrix-state.pilot,.technical-status.pilot{background:#f3e8ff;color:#7e22ce}.matrix-state.unavailable,.technical-status.development{background:#fef3c7;color:#92400e}.matrix-state.retired,.technical-status.retired,.matrix-state.override-off{background:#fee2e2;color:#991b1b}.matrix-state.expired{background:#fff7ed;color:#9a3412}.technical-status.available{background:#dcfce7;color:#166534}.matrix-edit-form{display:grid;grid-template-columns:minmax(124px,1fr) auto;gap:6px;align-items:center}.matrix-edit-form select{min-width:0;padding:7px 8px;font-size:.73rem}.matrix-edit-form button{width:auto;padding:7px 9px;font-size:.7rem}.override-edit-form+.matrix-state{margin-top:7px}.plan-limits{min-width:520px}.matrix-write-scope p{margin-bottom:0;line-height:1.55}
@media(max-width:720px){.feature-context,.pilot-selector{grid-template-columns:1fr}.pilot-selector-form{grid-template-columns:1fr}.pilot-selector-form button{width:100%}.selected-pilot code{margin-left:0;width:100%}.status-legend strong{width:100%}.feature-module{padding:14px}.feature-module-head{align-items:flex-start}}

/* v2.11.5 · SuperAdmin: Mapa del Producto */
.product-map-nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}.product-map-head{align-items:flex-end}.product-map-add{width:auto;border:0;cursor:pointer}.product-map-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.product-map-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-map-guide>div{display:grid;gap:7px;align-content:start}.product-map-guide p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.45}.product-map-state{display:inline-flex;align-items:center;width:max-content;padding:4px 7px;border-radius:999px;font-size:.63rem;font-weight:900;letter-spacing:.06em}.product-map-state.actual{background:#dcfce7;color:#166534}.product-map-state.future{background:#e0f2fe;color:#075985}.product-map-state.idea{background:#fef3c7;color:#92400e}.product-map-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.product-map-toolbar label{flex:1;max-width:620px;margin:0}.product-map-toolbar span{color:var(--muted);font-size:.78rem;white-space:nowrap}.product-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-map-module{margin:0;scroll-margin-top:20px}.product-map-module[hidden]{display:none}.product-map-module-head,.product-map-notes-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-map-module-head h2,.product-map-module-head p,.product-map-notes-head h3{margin:0}.product-map-module-head .eyebrow{margin-bottom:4px}.product-map-note-add,.link-button{border:0;background:transparent;color:#1769aa;cursor:pointer;font:inherit;font-weight:700;width:auto;padding:5px}.product-map-note-add{border:1px solid #d7e4ef;border-radius:7px;background:#f8fbfe;font-size:.75rem}.product-map-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:17px 0}.product-map-columns>section{padding:13px;border:1px solid #e3e9ef;border-radius:10px;background:#fbfcfd}.product-map-columns h3{margin:0 0 11px}.product-map-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.product-map-list li{position:relative;padding-left:14px;font-size:.8rem;line-height:1.35}.product-map-list li:before{content:"";position:absolute;left:0;top:.5em;width:5px;height:5px;border-radius:50%;background:#43a36d}.product-map-list.future-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.product-map-list.future-list li:before{background:#4d91c6}.product-map-list .product-map-state{flex:none;padding:3px 5px;font-size:.52rem}.product-map-empty{margin:0;color:var(--muted);font-size:.78rem;font-style:italic}.product-map-notes{padding-top:14px;border-top:1px solid #e5ebf1}.product-map-notes-head{margin-bottom:10px}.product-map-notes-head small{color:var(--muted)}.product-map-note-list{display:grid;gap:8px}.product-map-note{padding:11px 12px;border-radius:9px;background:#fffaf0;border:1px solid #f0dfb7}.product-map-note p{margin:0;white-space:normal;overflow-wrap:anywhere;font-size:.82rem;line-height:1.45}.product-map-note footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px}.product-map-note footer small{color:#7a6a49;font-size:.65rem}.product-map-note footer span{display:flex}.danger-text{color:#b42318}.product-map-no-results{text-align:center;color:var(--muted)}.product-map-dialog{width:min(560px,calc(100% - 28px));padding:0;border:0;border-radius:14px;box-shadow:0 24px 70px #0f29455c}.product-map-dialog.compact{width:min(470px,calc(100% - 28px))}.product-map-dialog::backdrop{background:#10253d99}.product-map-dialog form{padding:20px;display:grid;gap:16px}.product-map-dialog header,.product-map-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-map-dialog h2,.product-map-dialog p{margin:0}.product-map-dialog textarea{width:100%;resize:vertical;min-height:130px;border:1px solid #ccd7e2;border-radius:5px;padding:9px 10px;font:inherit}.product-map-dialog label small{display:block;margin-top:5px;color:var(--muted);text-align:right}.product-map-dialog footer{justify-content:flex-end}.product-map-dialog footer button{width:auto;min-width:110px}.dialog-close{border:0;background:transparent;color:#64748b;width:auto;padding:2px 7px;font-size:1.6rem;cursor:pointer}.product-map-dialog button.secondary{background:#edf2f7;color:#334155}.product-map-dialog button.danger{background:#b42318}.product-map-dialog .eyebrow{margin:0 0 4px}
@media(max-width:1000px){.product-map-grid{grid-template-columns:1fr}.product-map-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.product-map-head{align-items:stretch}.product-map-add{width:100%}.product-map-guide,.product-map-columns{grid-template-columns:1fr}.product-map-toolbar{align-items:stretch;flex-direction:column}.product-map-toolbar label{max-width:none}.product-map-note footer{align-items:flex-start;flex-direction:column}.product-map-dialog form{padding:16px}}
@media(max-width:430px){.product-map-summary{grid-template-columns:1fr}.product-map-module{padding:14px}.product-map-module-head{align-items:flex-start}.product-map-dialog footer{align-items:stretch;flex-direction:column-reverse}.product-map-dialog footer button{width:100%}}

/* v2.11.7 · SuperAdmin: infraestructura REDtotal */
.redtotal-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}.redtotal-admin-card{max-width:980px}.redtotal-admin-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.redtotal-admin-head h2,.redtotal-admin-head p{margin-bottom:0}.redtotal-admin-head .button-link{width:auto;white-space:nowrap}.redtotal-environments{display:flex;gap:8px;margin:20px 0 16px;border-bottom:1px solid #e3e9ef}.redtotal-environments a{padding:9px 14px;border-bottom:3px solid transparent;color:#64748b;text-decoration:none;font-weight:700}.redtotal-environments a.active{border-bottom-color:var(--blue);color:var(--blue)}.redtotal-config-form{margin:0}.redtotal-config-form .check-row{display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid #dce5ee;border-radius:7px;background:#f8fafc}.redtotal-config-form .check-row input{width:18px;min-height:18px;margin:0}.redtotal-security-note{display:flex;align-items:center;gap:12px;margin-top:18px;padding:11px 13px;border:1px solid #cfe5d8;border-radius:8px;background:#f0fdf4;color:#166534}.redtotal-security-note span{font-size:.8rem}
@media(max-width:720px){.redtotal-summary{grid-template-columns:1fr}.redtotal-admin-head{flex-direction:column}.redtotal-admin-head .button-link{width:100%}.redtotal-security-note{align-items:flex-start;flex-direction:column;gap:4px}}

/* v2.11.8 · RED.2A: comprobación segura de autenticación */
.redtotal-connection-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px;padding:13px 14px;border:1px solid #dbe4ec;border-radius:10px;background:#f8fafc}.redtotal-connection-row strong,.redtotal-connection-row span,.redtotal-connection-row small{display:block}.redtotal-connection-row span{margin-top:3px;color:#526579;font-size:.82rem}.redtotal-connection-row small{margin-top:2px;color:#8a5d14}.redtotal-connection-row form{margin:0}.redtotal-connection-row button{width:auto;white-space:nowrap}.redtotal-connection-row button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:680px){.redtotal-connection-row{align-items:stretch;flex-direction:column}.redtotal-connection-row button{width:100%}}
