:root{
--pro-dark:#071226;--pro-green:#087c34;--pro-green2:#0aa245;--pro-blue:#00239c;--pro-yellow:#f7d600;--pro-red:#b20d0d;--pro-bg:#eef3f8;--pro-border:#d9e2ec
}
*{box-sizing:border-box}
.pro-body{margin:0;background:var(--pro-bg);font-family:Arial,Helvetica,sans-serif;color:#102033}
.pro-app{display:grid;grid-template-columns:185px 1fr;min-height:100vh}
.pro-sidebar{background:linear-gradient(180deg,#06172c,#071226 62%,#111);color:white;min-height:100vh;position:sticky;top:0;border-right:4px solid var(--pro-yellow);z-index:250}
.pro-brand{display:flex;gap:8px;align-items:center;padding:8px 7px;border-bottom:3px solid var(--pro-red);min-height:74px}
.pro-brand img{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;object-fit:contain!important;background:#fff;border-radius:7px;padding:2px}
.pro-brand strong{display:block;font-size:11px;line-height:1.05;color:#fff;font-weight:900}
.pro-brand span{display:block;font-size:10px;line-height:1.05;color:#fff;font-weight:800}
.pro-nav{padding:8px;display:flex;flex-direction:column;gap:5px}
.pro-nav a,.pro-nav a:link,.pro-nav a:visited{
display:flex!important;align-items:center!important;gap:7px!important;height:auto!important;min-height:31px!important;width:100%!important;
background:#fff!important;color:#071226!important;border:1px solid rgba(0,35,156,.35)!important;border-radius:8px!important;
padding:7px 8px!important;text-decoration:none!important;font-size:12px!important;font-weight:900!important;line-height:1.1!important;
overflow:visible!important;white-space:nowrap!important;text-indent:0!important;opacity:1!important;
}
.pro-nav a:hover{background:#fff7c8!important;border-color:var(--pro-red)!important;color:#071226!important}
.pro-nav a.active,.pro-nav a:focus{background:#071226!important;color:#fff!important;border-color:var(--pro-yellow)!important}
.pro-main{min-width:0}
.pro-topbar{height:74px;background:linear-gradient(90deg,#087c34,#006428);color:white;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 14px;box-shadow:0 4px 18px rgba(0,0,0,.18);position:sticky;top:0;z-index:200;border-bottom:4px solid var(--pro-yellow)}
.pro-topbar img{display:none!important}
.pro-menu{display:none;background:rgba(255,255,255,.15);color:white;border:0;border-radius:8px;padding:9px 12px;font-size:20px}
.pro-title{flex:1;min-width:250px}
.pro-title h1{margin:0;font-size:23px;line-height:1.05;color:white}
.pro-title h1 small{background:var(--pro-yellow);color:#111;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900;vertical-align:middle}
.pro-title p{margin:4px 0 0;color:#e6fff0;font-size:13px;font-weight:700}
.pro-user{display:flex;gap:8px;align-items:center}
.pro-user>div{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:10px;padding:7px 10px;text-align:center}
.pro-user b{display:block}.pro-user span,.pro-user small{display:block;font-size:10px;color:#e2e8f0}
.pro-content{padding:14px}
.card,.pro-card{background:white;border:1px solid var(--pro-border);border-radius:12px;padding:14px;margin-bottom:14px;box-shadow:0 4px 16px rgba(15,35,55,.07)}
.card h2,.pro-card h2{color:var(--pro-blue);margin-top:0}
button,.btn{background:var(--pro-green);color:white;border:0;border-radius:8px;padding:9px 13px;font-weight:900;text-decoration:none;display:inline-block;cursor:pointer}
button:hover,.btn:hover{filter:brightness(.94)}
.btn-danger{background:var(--pro-red)!important}.btn-blue{background:var(--pro-blue)!important}.btn-yellow{background:var(--pro-yellow)!important;color:#111!important}
input,select,textarea{border:1px solid #b9c6d4;border-radius:7px;padding:8px;max-width:100%}
table{width:100%;border-collapse:collapse;background:white}th{background:var(--pro-blue);color:white}td,th{padding:8px;border:1px solid #d9e2ec}
.ok{background:#dcfce7;border:1px solid #86efac;color:#14532d;padding:10px;border-radius:10px;margin:8px 0}.warn{background:#fff3cd;border:1px solid #ffdf7e;color:#664d03;padding:10px;border-radius:10px;margin:8px 0}
.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.kpi{text-align:center}.kpi h2,.kpi b{font-size:30px;color:var(--pro-blue);margin:5px 0}.kpi p,.kpi span{color:#64748b;font-weight:bold}
.pro-designer{display:grid;grid-template-columns:240px minmax(650px,1fr) 270px;gap:10px}
.pro-sidepanel{background:#fff;border:1px solid var(--pro-border);border-radius:12px;padding:10px;box-shadow:0 4px 16px rgba(15,35,55,.07)}
.pro-stage-wrap{background:#e8eef5;border:1px solid #cbd5e1;border-radius:12px;padding:8px;overflow:auto;max-height:calc(100vh - 190px)}
.pro-stage{position:relative;display:inline-block;background:white}
.pro-stage img.bg{display:block;max-width:none}
.design-obj{position:absolute;box-sizing:border-box;border:2px dashed #0075ff;cursor:move;overflow:hidden;z-index:10}
.design-obj.selected{outline:3px solid var(--pro-yellow)}
.design-obj.locked{cursor:not-allowed;border-color:#999}
.design-text{display:flex;padding:4px;white-space:pre-wrap;word-break:break-word}
.design-image img,.design-qr img{width:100%;height:100%;object-fit:contain;display:block}
.design-handle{position:absolute;right:-7px;bottom:-7px;width:14px;height:14px;background:#0075ff;border:2px solid #fff;cursor:nwse-resize;z-index:999}
.pro-layer{display:flex;justify-content:space-between;gap:4px;border-bottom:1px solid #eef2f7;padding:6px}.pro-layer.active{background:#fff3c4}
.pro-prop label{font-size:12px;font-weight:800;color:#334155}.pro-prop input,.pro-prop select,.pro-prop textarea{width:100%;margin:3px 0 7px}
.pro-sim{background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;padding:8px;margin-bottom:10px}
.full-editor-body{margin:0;background:#111827;font-family:Arial,Helvetica,sans-serif;overflow:hidden}
.full-editor-top{height:48px;background:#071226;color:white;display:flex;gap:8px;align-items:center;padding:6px 10px;border-bottom:4px solid var(--pro-yellow)}
.full-editor-top strong{margin-right:12px}.full-editor-top .spacer{flex:1}
.full-editor-layout{display:grid;grid-template-columns:1fr 300px;height:calc(100vh - 48px)}
.full-editor-canvas{position:relative;overflow:hidden;background:#222}
.full-editor-stage{position:absolute;left:50%;top:50%;transform-origin:top left;background:white}
.full-editor-stage img.bg{display:block;max-width:none}
.full-editor-props{background:#fff;padding:10px;overflow:auto;border-left:4px solid var(--pro-yellow)}
.full-editor-props label{font-size:12px;font-weight:900;color:#334155}.full-editor-props input,.full-editor-props select,.full-editor-props textarea{width:100%;margin:3px 0 7px}
.fe-obj{position:absolute;box-sizing:border-box;border:2px dashed #0075ff;cursor:move;overflow:hidden;z-index:10}
.fe-obj.selected{outline:3px solid var(--pro-yellow)}
.fe-text{display:flex;padding:4px;white-space:pre-wrap;word-break:break-word}
.fe-image img,.fe-qr img{width:100%;height:100%;object-fit:contain;display:block}
.fe-handle{position:absolute;right:-7px;bottom:-7px;width:14px;height:14px;background:#0075ff;border:2px solid #fff;cursor:nwse-resize;z-index:999}
@media(max-width:1150px){
.pro-app{grid-template-columns:1fr}.pro-sidebar{position:fixed;left:-190px;width:185px;z-index:300;transition:.2s}.sidebar-open .pro-sidebar{left:0}.pro-menu{display:block}.pro-user{display:none}.grid,.grid2,.pro-designer{grid-template-columns:1fr}.pro-stage-wrap{max-height:none}.full-editor-layout{grid-template-columns:1fr}.full-editor-props{position:fixed;right:0;top:48px;bottom:0;width:300px;z-index:50}
}

/* =========================================================
   ARSB - TEMA OSCURO COMPLETO
   Se activa con body.arsb-dark o body.arsb-theme-dark
   ========================================================= */
body.arsb-dark,
body.arsb-theme-dark{
  --pro-bg:#111315;
  --pro-border:#3a4048;
  color:#e8edf2!important;
  background:#111315!important;
  color-scheme:dark;
}
body.arsb-dark .pro-app,
body.arsb-theme-dark .pro-app,
body.arsb-dark .pro-main,
body.arsb-theme-dark .pro-main,
body.arsb-dark .pro-content,
body.arsb-theme-dark .pro-content{
  background:#111315!important;
  color:#e8edf2!important;
}
body.arsb-dark .card,
body.arsb-dark .pro-card,
body.arsb-dark .pro-sidepanel,
body.arsb-dark .pro-sim,
body.arsb-theme-dark .card,
body.arsb-theme-dark .pro-card,
body.arsb-theme-dark .pro-sidepanel,
body.arsb-theme-dark .pro-sim{
  background:#1b1e22!important;
  color:#e8edf2!important;
  border-color:#3a4048!important;
  box-shadow:0 4px 16px rgba(0,0,0,.28)!important;
}
body.arsb-dark .card h1,body.arsb-dark .card h2,body.arsb-dark .card h3,
body.arsb-dark .pro-card h1,body.arsb-dark .pro-card h2,body.arsb-dark .pro-card h3,
body.arsb-theme-dark .card h1,body.arsb-theme-dark .card h2,body.arsb-theme-dark .card h3,
body.arsb-theme-dark .pro-card h1,body.arsb-theme-dark .pro-card h2,body.arsb-theme-dark .pro-card h3{
  color:#f3f6fa!important;
}
body.arsb-dark input,
body.arsb-dark select,
body.arsb-dark textarea,
body.arsb-theme-dark input,
body.arsb-theme-dark select,
body.arsb-theme-dark textarea{
  background:#25292e!important;
  color:#f4f6f8!important;
  border-color:#505861!important;
}
body.arsb-dark input::placeholder,
body.arsb-dark textarea::placeholder,
body.arsb-theme-dark input::placeholder,
body.arsb-theme-dark textarea::placeholder{color:#aab2bb!important}
body.arsb-dark label,
body.arsb-dark p,
body.arsb-dark td,
body.arsb-dark legend,
body.arsb-theme-dark label,
body.arsb-theme-dark p,
body.arsb-theme-dark td,
body.arsb-theme-dark legend{color:#e0e5ea}
body.arsb-dark table,
body.arsb-theme-dark table{background:#1b1e22!important;color:#e8edf2!important}
body.arsb-dark td,
body.arsb-theme-dark td{background:#1b1e22!important;border-color:#3a4048!important}
body.arsb-dark th,
body.arsb-theme-dark th{border-color:#49515a!important}
body.arsb-dark tr:nth-child(even) td,
body.arsb-theme-dark tr:nth-child(even) td{background:#202429!important}
body.arsb-dark fieldset,
body.arsb-theme-dark fieldset{background:#1b1e22!important;border-color:#3a4048!important}
body.arsb-dark hr,
body.arsb-theme-dark hr{border-color:#3a4048!important}
body.arsb-dark .kpi p,body.arsb-dark .kpi span,
body.arsb-theme-dark .kpi p,body.arsb-theme-dark .kpi span{color:#b8c0c9!important}
body.arsb-dark .kpi h2,body.arsb-dark .kpi b,
body.arsb-theme-dark .kpi h2,body.arsb-theme-dark .kpi b{color:#8aa9ff!important}
body.arsb-dark .pro-stage-wrap,
body.arsb-theme-dark .pro-stage-wrap{background:#15181c!important;border-color:#3a4048!important}
body.arsb-dark .pro-layer,
body.arsb-theme-dark .pro-layer{border-color:#3a4048!important}
body.arsb-dark .pro-layer.active,
body.arsb-theme-dark .pro-layer.active{background:#3b3420!important}
body.arsb-dark .pro-prop label,
body.arsb-theme-dark .pro-prop label{color:#d9dfe6!important}
body.arsb-dark .ok,
body.arsb-theme-dark .ok{background:#173724!important;border-color:#2f7448!important;color:#c9f5d7!important}
body.arsb-dark .warn,
body.arsb-theme-dark .warn{background:#3b3218!important;border-color:#806d26!important;color:#ffe9a6!important}

/* Navegación lateral: conserva identidad, pero deja de ser blanca */
body.arsb-dark .pro-nav a,
body.arsb-dark .pro-nav a:link,
body.arsb-dark .pro-nav a:visited,
body.arsb-theme-dark .pro-nav a,
body.arsb-theme-dark .pro-nav a:link,
body.arsb-theme-dark .pro-nav a:visited{
  background:#20242a!important;
  color:#f1f4f7!important;
  border-color:#46505c!important;
}
body.arsb-dark .pro-nav a:hover,
body.arsb-theme-dark .pro-nav a:hover{
  background:#2b3037!important;color:#fff!important;border-color:var(--pro-yellow)!important;
}
body.arsb-dark .pro-nav a.active,
body.arsb-dark .pro-nav a:focus,
body.arsb-theme-dark .pro-nav a.active,
body.arsb-theme-dark .pro-nav a:focus{
  background:#071226!important;color:#fff!important;border-color:var(--pro-yellow)!important;
}

/* Elementos genéricos que muchas pantallas crean con estilos propios */
body.arsb-dark .panel,
body.arsb-dark .box,
body.arsb-dark .section,
body.arsb-dark .content-box,
body.arsb-dark .form-box,
body.arsb-dark .table-wrap,
body.arsb-theme-dark .panel,
body.arsb-theme-dark .box,
body.arsb-theme-dark .section,
body.arsb-theme-dark .content-box,
body.arsb-theme-dark .form-box,
body.arsb-theme-dark .table-wrap{
  background:#1b1e22!important;
  color:#e8edf2!important;
  border-color:#3a4048!important;
}

/* El lienzo del Editor PRO debe seguir blanco: representa el documento real */
body.arsb-dark .pro-stage,
body.arsb-theme-dark .pro-stage,
body.arsb-dark .full-editor-stage,
body.arsb-theme-dark .full-editor-stage{background:#fff!important;color:#102033!important}
body.arsb-dark .full-editor-props,
body.arsb-theme-dark .full-editor-props{background:#1b1e22!important;color:#e8edf2!important}
body.arsb-dark .full-editor-props label,
body.arsb-theme-dark .full-editor-props label{color:#d9dfe6!important}

/* Transición breve para evitar un cambio brusco */
body.pro-body,
body.pro-body .pro-main,
body.pro-body .pro-content,
body.pro-body .card,
body.pro-body .pro-card,
body.pro-body input,
body.pro-body select,
body.pro-body textarea{
  transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}


/* =========================================================
   ARSB · TEMA OSCURO GLOBAL v2
   Cobertura de tarjetas, subpaneles y modales de módulos.
   ========================================================= */
@media screen{
body.arsb-dark,body.arsb-theme-dark{
 --arsb-d-bg:#111315;--arsb-d-surface:#171e28;--arsb-d-surface2:#1a222d;
 --arsb-d-border:#34445c;--arsb-d-text:#e8edf5;--arsb-d-muted:#aeb9c8;
}

/* EVENTOS */
body.arsb-dark :is(.eventsShell,.eventsBody,.eventsPanel,.eventsPanelBody,.eventsForm,.eventsListPanel,.eventsTableWrap),
body.arsb-theme-dark :is(.eventsShell,.eventsBody,.eventsPanel,.eventsPanelBody,.eventsForm,.eventsListPanel,.eventsTableWrap){
 background:var(--arsb-d-surface)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}
body.arsb-dark :is(.eventsPanelHead,.eventsListHead),body.arsb-theme-dark :is(.eventsPanelHead,.eventsListHead){
 background:var(--arsb-d-surface2)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}
body.arsb-dark .eventsTable td,body.arsb-theme-dark .eventsTable td{background:var(--arsb-d-surface)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}
body.arsb-dark :is(.activeEventCard,.activeEventInfo,.eventsMessage),body.arsb-theme-dark :is(.activeEventCard,.activeEventInfo,.eventsMessage){
 background:var(--arsb-d-surface2)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}

/* CONFIGURAR ACTIVIDAD */
body.arsb-dark :is(.activityConfigShell,.activityConfigBody,.activitySummary,.moduleCard,.configMiniCard,.configAdvancedStrip,.categoryLevelCard,.categoryPolicyAvailable,.objectiveTerminologyBox,.objectiveTableWrap,.downloadPolicyNote,.downloadModalNote),
body.arsb-theme-dark :is(.activityConfigShell,.activityConfigBody,.activitySummary,.moduleCard,.configMiniCard,.configAdvancedStrip,.categoryLevelCard,.categoryPolicyAvailable,.objectiveTerminologyBox,.objectiveTableWrap,.downloadPolicyNote,.downloadModalNote){
 background:var(--arsb-d-surface)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}
body.arsb-dark :is(.moduleTitle,.moduleDescription,.moduleStateText,.configMiniCardTitle,.configMiniCardText,.configAdvancedTitle,.objectiveSectionTitle),
body.arsb-theme-dark :is(.moduleTitle,.moduleDescription,.moduleStateText,.configMiniCardTitle,.configMiniCardText,.configAdvancedTitle,.objectiveSectionTitle){color:var(--arsb-d-text)!important}
body.arsb-dark :is(.bandsModesGrid,.bmGroup,.bmChecks,.bmCheck,.bmCustom,.bmNote,.downloadModalGrid,.downloadModalOptions,.objectiveCreateGrid,.categoryConfigLayout,.categoryCountRow,.categoryLevelsList),
body.arsb-theme-dark :is(.bandsModesGrid,.bmGroup,.bmChecks,.bmCheck,.bmCustom,.bmNote,.downloadModalGrid,.downloadModalOptions,.objectiveCreateGrid,.categoryConfigLayout,.categoryCountRow,.categoryLevelsList){
 background:var(--arsb-d-surface2)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}

/* Modales propios de Configurar actividad */
body.arsb-dark :is(.arsbModalDialog,.arsbModalBody,.arsbModalHead,.arsbModalFoot),
body.arsb-theme-dark :is(.arsbModalDialog,.arsbModalBody,.arsbModalHead,.arsbModalFoot){
 background:#151b24!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}
body.arsb-dark .arsbModal :is(h1,h2,h3,h4,h5,h6,label,p,span,small,strong,legend),
body.arsb-theme-dark .arsbModal :is(h1,h2,h3,h4,h5,h6,label,p,span,small,strong,legend){color:var(--arsb-d-text)!important}
body.arsb-dark .arsbModal :is(input,select,textarea),body.arsb-theme-dark .arsbModal :is(input,select,textarea){
 background:#182230!important;color:#f4f7fb!important;border-color:#46566d!important;color-scheme:dark}

/* CONCURSO POR PUNTOS: cubre tarjetas y subtarjetas aunque el módulo use nombres propios */
body.arsb-dark .pro-content :is(.contestCard,.contest-card,.contestPanel,.contest-panel,.contestBox,.contest-box,.configCard,.config-card,.scoreCard,.score-card,.pointsCard,.points-card,.multiplierCard,.multiplier-card),
body.arsb-theme-dark .pro-content :is(.contestCard,.contest-card,.contestPanel,.contest-panel,.contestBox,.contest-box,.configCard,.config-card,.scoreCard,.score-card,.pointsCard,.points-card,.multiplierCard,.multiplier-card){
 background:var(--arsb-d-surface)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}

/* OTROS MÓDULOS PRINCIPALES */
body.arsb-dark :is(.adminShell,.adminBody,.adminPanel,.adminPanelBody,.elementsShell,.elementsBody,.elementsCreate,.participantsShell,.participantsBody,.participantsHelp,.participantSearchWrap,.qss-wrap,.qss-card,.qss-form,.choice-box,.survey-grid,.survey-list-wrap,.surveyResultCard,.surveyStat,.textAnswers),
body.arsb-theme-dark :is(.adminShell,.adminBody,.adminPanel,.adminPanelBody,.elementsShell,.elementsBody,.elementsCreate,.participantsShell,.participantsBody,.participantsHelp,.participantSearchWrap,.qss-wrap,.qss-card,.qss-form,.choice-box,.survey-grid,.survey-list-wrap,.surveyResultCard,.surveyStat,.textAnswers){
 background:var(--arsb-d-surface)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}
body.arsb-dark :is(.adminPanelHead,.elementsHero,.participantsHero,.qss-head,.bands-head,.surveyResultsHero),
body.arsb-theme-dark :is(.adminPanelHead,.elementsHero,.participantsHero,.qss-head,.bands-head,.surveyResultsHero){
 border-color:var(--arsb-d-border)!important}
body.arsb-dark :is(.elementsTableWrap,.participantsTableWrap,.qss-table,.survey-q-table) td,
body.arsb-theme-dark :is(.elementsTableWrap,.participantsTableWrap,.qss-table,.survey-q-table) td{
 background:var(--arsb-d-surface)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}

/* Cobertura defensiva de tarjetas/paneles con estilos inline claros dentro del área de trabajo */
body.arsb-dark .pro-content [style*="background:#fff"],
body.arsb-dark .pro-content [style*="background: #fff"],
body.arsb-dark .pro-content [style*="background:white"],
body.arsb-dark .pro-content [style*="background: white"],
body.arsb-theme-dark .pro-content [style*="background:#fff"],
body.arsb-theme-dark .pro-content [style*="background: #fff"],
body.arsb-theme-dark .pro-content [style*="background:white"],
body.arsb-theme-dark .pro-content [style*="background: white"]{
 background:var(--arsb-d-surface)!important;color:var(--arsb-d-text)!important;border-color:var(--arsb-d-border)!important}

/* Texto heredado en superficies oscuras */
body.arsb-dark .pro-content :is(.eventsPanel,.moduleCard,.configMiniCard,.arsbModalDialog,.adminPanel,.elementsCreate,.participantsHelp,.qss-card,.surveyResultCard) :is(p,label,small,legend),
body.arsb-theme-dark .pro-content :is(.eventsPanel,.moduleCard,.configMiniCard,.arsbModalDialog,.adminPanel,.elementsCreate,.participantsHelp,.qss-card,.surveyResultCard) :is(p,label,small,legend){
 color:var(--arsb-d-text)!important}

/* Mantener intactos los lienzos/documentos reales del Editor PRO */
body.arsb-dark :is(.pro-stage,.full-editor-stage,.tpl-stage),
body.arsb-theme-dark :is(.pro-stage,.full-editor-stage,.tpl-stage){background:#fff!important}
}


/* ARSB v4.1 — Contraste de módulos, 18/10/2026.
   Corrección centralizada: informes, encuesta, copias y contraseña.
   No afecta al lienzo del Editor PRO ni a la lógica PHP. */
/* Superficies claras: texto siempre legible incluso con tema oscuro heredado. */
.pro-content .arsb-backup-card{background:#fff!important;color:#172033!important;border-color:#d9e1ec!important}
.pro-content .arsb-backup-card :is(h3,p,small){color:#172033!important}
.pro-content .survey-help{background:#f3f7ff!important;color:#172033!important;border-color:#c8dcff!important}
.pro-content .survey-help :is(b,span:not(.survey-status)){color:#172033!important}
.pro-content .passwordShell{background:#fff!important;color:#172033!important}
.pro-content .passwordCard{background:#fff!important;color:#172033!important}
.pro-content .passwordCardHead{background:#f4f7fb!important;color:#172033!important}
.pro-content .passwordCardHead p{color:#475569!important}
.pro-content .passwordField label{color:#263a5f!important}
.pro-content .passwordIntro{background:#f0f6ff!important;color:#284567!important}
.pro-content .passwordField input{background:#fff!important;color:#172033!important}
.pro-content .reportDashboard{background:#fff!important;color:#172033!important}
.pro-content .reportTitleRow p{color:#475569!important}
.pro-content .reportSection,.pro-content .completeSection{background:#fff!important;color:#172033!important}
.pro-content .reportSection :is(p,small,label),.pro-content .completeSection :is(p,small,label){color:#334155!important}
.pro-content .reportNote{background:#f0f6ff!important;color:#284567!important}
/* Mantener legibles las superficies oscuras deliberadas (cabeceras y KPIs). */
.pro-content .passwordHero,.pro-content .passwordHero :is(h2,p),
.pro-content .reportKpi,.pro-content .statKpi,
.pro-content .reportKpi span,.pro-content .statKpi span{color:#fff!important}
/* En modo oscuro, sustituir los paneles claros por superficies oscuras de verdad. */
body.arsb-dark .pro-content :is(.arsb-backup-card,.passwordShell,.passwordCard,.reportDashboard,.reportSection,.completeSection),
body.arsb-theme-dark .pro-content :is(.arsb-backup-card,.passwordShell,.passwordCard,.reportDashboard,.reportSection,.completeSection){background:#172438!important;color:#edf3ff!important;border-color:#425571!important}
body.arsb-dark .pro-content :is(.arsb-backup-card,.passwordCard,.reportSection,.completeSection) :is(h3,p,small,label),
body.arsb-theme-dark .pro-content :is(.arsb-backup-card,.passwordCard,.reportSection,.completeSection) :is(h3,p,small,label){color:#edf3ff!important}
body.arsb-dark .pro-content :is(.survey-help,.passwordIntro,.reportNote,.passwordCardHead),
body.arsb-theme-dark .pro-content :is(.survey-help,.passwordIntro,.reportNote,.passwordCardHead){background:#233754!important;color:#edf3ff!important;border-color:#54739b!important}
body.arsb-dark .pro-content :is(.survey-help,.passwordIntro,.reportNote,.passwordCardHead) :is(b,p,span:not(.survey-status)),
body.arsb-theme-dark .pro-content :is(.survey-help,.passwordIntro,.reportNote,.passwordCardHead) :is(b,p,span:not(.survey-status)){color:#edf3ff!important}
body.arsb-dark .pro-content .passwordField label,
body.arsb-theme-dark .pro-content .passwordField label{color:#edf3ff!important}
body.arsb-dark .pro-content .reportTitleRow p,
body.arsb-theme-dark .pro-content .reportTitleRow p{color:#cbd5e1!important}
body.arsb-dark .pro-content .passwordField input,
body.arsb-theme-dark .pro-content .passwordField input{background:#101e32!important;color:#fff!important;border-color:#54739b!important}
/* Etiquetas de estado conservan sus colores propios. */
.pro-content .survey-status.on{color:#166534!important}
.pro-content .survey-status.off{color:#991b1b!important}
