/* ============================================================
   veyron-theme.css — Sistema de diseño v1.0 (IFS Cloud + Veyron)
   Se carga DESPUÉS del <style> de index.html para sobrescribir.
   No toca la lógica: solo reestiliza clases existentes.
   ============================================================ */
:root{
  --brand:#6C21AA; --brand-2:#8427E2; --brand-dark:#511980;
  --blue:#6C21AA; --blue-2:#8427E2; --blue-3:#F0E6FA;
  --bg:#F4F5F8; --card:#FFFFFF; --line:#ECECEC; --soft:#F7F6F4;
  --text:#2B2B2B; --muted:#6B7280; --ok:#10B981; --warn:#F59E0B; --err:#EF4444;
  --nav-active:#EAF3FC; --nav-active-bar:#2E6CA8; --nav-active-tx:#1F5C99;
  --req:#F3F6F1; --req-bd:#DFE9DA;
  --r:9px; --r-lg:13px; --shadow:0 1px 2px rgba(20,16,40,.05),0 4px 16px rgba(20,16,40,.045);
}
html,body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;background:var(--bg)}

/* ---------- SIDEBAR neutral (estilo IFS) ---------- */
.sb{background:#fff !important;color:var(--text) !important;border-right:1px solid var(--line)}
.sb .logo{border-bottom:1px solid var(--line)}
.sb nav button{color:var(--muted) !important;opacity:1 !important;border-left:3px solid transparent;font-weight:500;border-radius:0;margin:1px 8px;padding:10px 16px;border-radius:9px}
.sb nav button:hover{background:var(--soft) !important;color:var(--text) !important}
.sb nav button.active{background:var(--nav-active) !important;color:var(--nav-active-tx) !important;border-left-color:var(--nav-active-bar) !important;font-weight:600;box-shadow:inset 3px 0 0 var(--nav-active-bar)}
.sb .foot{border-top:1px solid var(--line);color:#9CA3AF;opacity:1}

/* ---------- TOPBAR ---------- */
.top{border-bottom:1px solid var(--line)}
.top h2{font-weight:600}

/* ---------- BOTONES ---------- */
.btn{border-radius:var(--r);font-weight:600}
.btn.primary{background:var(--brand)}.btn.primary:hover{background:var(--brand-dark)}
.btn.ghost{background:#fff;color:var(--text);border:1px solid var(--line)}.btn.ghost:hover{background:var(--soft)}
.btn.danger{background:#FDECEC;color:var(--err);border:1px solid #F6CFCF}.btn.danger:hover{background:#FBDCDC}

/* ---------- TARJETAS ---------- */
.card{border-radius:var(--r-lg);box-shadow:var(--shadow);border:1px solid var(--line)}
.kpi .val,.kpi .num{letter-spacing:-.5px}

/* ---------- INPUTS ---------- */
.form-grid label input,.form-grid label select,.form-grid label textarea{border-radius:var(--r);border:1px solid var(--line)}
.form-grid label input:focus,.form-grid label select:focus,.form-grid label textarea:focus{border-color:var(--brand-2);box-shadow:0 0 0 3px rgba(132,39,226,.14)}
input:focus,select:focus,textarea:focus{outline:none}

/* Campo obligatorio vacío -> verde salvia (se marca con data-req sin valor) */
input[data-req]:placeholder-shown:not(:focus),
textarea[data-req]:placeholder-shown:not(:focus){background:var(--req) !important;border-color:var(--req-bd) !important}
select[data-req].reqx,input[data-req].reqx,textarea[data-req].reqx{background:var(--req) !important;border-color:var(--req-bd) !important}

/* ---------- TABLAS ---------- */
.tbl th{background:var(--soft);border-bottom:1px solid var(--line)}
.tbl td{border-bottom:1px solid var(--line)}
.tbl tr:nth-child(even) td{background:#fff}
.tbl tr:hover td{background:#FBFAFD}

/* ---------- TABS ---------- */
.tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}
.tabs button:hover{color:var(--brand)}

/* ---------- MODALES ---------- */
.modal{border-radius:var(--r-lg);box-shadow:0 18px 50px rgba(20,16,40,.28)}
.modal h3{color:var(--brand)}

/* ---------- BADGES ---------- */
.badge{text-transform:none;letter-spacing:.2px}
html #viewBody[data-view="pmproy"] .badge,html #viewBody[data-view="miproyecto"] .badge{font-size:11px !important}
.badge.ok{background:#E6F7F0;color:#0B7A53}
.badge.warn{background:#FEF3E2;color:#9A6400}
.badge.err{background:#FDECEC;color:#B42318}
.badge.gray{background:#EFEFF3;color:#5B5B66}

/* ---------- LOGIN ---------- */
.login-card h1{color:var(--brand)}

/* ====== Cobertura ampliada (todas las pantallas) ====== */
/* Logo / claim del sidebar sobre blanco */
.sb .logo span{color:var(--brand-dark)}
.sb nav .ico{opacity:.9}

/* User chip topbar */
.user-chip{border:1px solid var(--line);border-radius:99px}
.user-chip button.logout{background:var(--soft)}

/* KPI cards (dashboard, mi semana) */
.kpi{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow)}
.kpi .lbl{color:var(--muted)}
.kpi .num,.kpi .val,.kpi b{letter-spacing:-.4px}

/* Encabezado de tarjeta tipo IFS */
.card h3{color:var(--muted)}

/* Notices / alertas */
.notice{border-radius:var(--r-lg)}
.notice.ok{background:#E6F7F0;border:1px solid #BFE8D6;color:#0B7A53}

/* Login */
.login-card{border-radius:16px;box-shadow:0 18px 50px rgba(20,16,40,.12)}
.login-card .tag-portal{background:var(--blue-3);color:var(--brand)}

/* Inputs globales (fuera de form-grid) — radio consistente */
input[type=text],input[type=email],input[type=date],input[type=number],input[type=time],select,textarea{border-radius:var(--r)}

/* ====== Chevron propio en TODOS los <select> (quita la flecha nativa fea) ====== */
select{
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat:no-repeat;background-position:right 10px center;background-size:11px;
  padding-right:28px !important;
}
select::-ms-expand{display:none}
select:disabled{opacity:.7}

/* Chips de proyecto: borde sutil para que no compitan */
.tag{border:1px solid rgba(0,0,0,.05)}

/* Scrollbar discreto */
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-thumb{background:#D9DCE3;border-radius:8px}
*::-webkit-scrollbar-thumb:hover{background:#C3C7D0}

/* Botones small radio */
.btn.small{border-radius:7px}

/* ====== Panel de Filtros del Dashboard (sidebar) — contraste en sidebar neutral ====== */
#sbFilters{background:#F4F5F8 !important;border:1px solid var(--line)}
#sbFilters .sbf-title{color:var(--brand-dark) !important}
/* ========================================================= */
/* ================ SISTEMA DE TEMAS (por perfil) ========== */
/* Veyron = :root (default). ifs / oscuro / geist por data-theme */

/* ---------- IFS (azul corporativo) ---------- */
html[data-theme="ifs"]{
  --brand:#17527D; --brand-2:#2680C2; --brand-dark:#0F3F63;
  --blue:#17527D; --blue-2:#2680C2; --blue-3:#E4EEF7;
  --bg:#EEF2F7; --card:#FFFFFF; --line:#DCE4EE; --soft:#F1F5FA;
  --text:#1E2A38; --muted:#5A6B7E;
  --nav-active:#E4EEF7; --nav-active-bar:#2680C2; --nav-active-tx:#0F3F63;
  --req:#EAF3EA; --req-bd:#CFE3CF;
}
html[data-theme="ifs"] .tbl tr:hover td{background:#F1F6FB}

/* ---------- GEIST / VERCEL (monocromo) ---------- */
html[data-theme="geist"]{
  --brand:#171717; --brand-2:#0070F3; --brand-dark:#000000;
  --blue:#171717; --blue-2:#0070F3; --blue-3:#F4F4F4;
  --bg:#FFFFFF; --card:#FFFFFF; --line:#EBEBEB; --soft:#FAFAFA;
  --text:#171717; --muted:#666666;
  --nav-active:#F4F4F4; --nav-active-bar:#171717; --nav-active-tx:#171717;
  --req:#F4F4F4; --req-bd:#E5E5E5;
  --shadow:0 1px 2px rgba(0,0,0,.06);
}
html[data-theme="geist"] .tbl tr:hover td{background:#FAFAFA}

/* ---------- OSCURO ---------- */
html[data-theme="oscuro"]{
  --brand:#9A4DE8; --brand-2:#B072F0; --brand-dark:#7B3FA0;
  --blue:#9A4DE8; --blue-2:#B072F0; --blue-3:#241A33;
  --bg:#0F1115; --card:#181B21; --line:#2A2F3A; --soft:#1E222B;
  --text:#E6E8EE; --muted:#9AA3B2;
  --nav-active:#241A33; --nav-active-bar:#B072F0; --nav-active-tx:#D9C4F5;
  --req:#16241A; --req-bd:#2C4A34;
  --shadow:0 1px 2px rgba(0,0,0,.45),0 6px 20px rgba(0,0,0,.4);
}
html[data-theme="oscuro"] body{background:var(--bg);color:var(--text)}
/* superficies con blanco "clavado" en el CSS base */
html[data-theme="oscuro"] .sb{background:#14171D !important}
html[data-theme="oscuro"] .top{background:var(--card) !important}
html[data-theme="oscuro"] .sb .logo{background:#14171D !important;border-bottom-color:var(--line) !important}
html[data-theme="oscuro"] .sb .logo img{filter:brightness(0) invert(1)}
html[data-theme="oscuro"] .sb .logo span{color:#C9B6E8 !important}
html[data-theme="oscuro"] .user-chip{background:#20242D !important;border-color:var(--line) !important}
html[data-theme="oscuro"] .user-chip .name, html[data-theme="oscuro"] .user-chip .role{color:var(--text)}
html[data-theme="oscuro"] .sb .foot{color:#8A93A3}
html[data-theme="oscuro"] .btn.ghost{background:#20242D;color:var(--text);border-color:var(--line)}
html[data-theme="oscuro"] .btn.ghost:hover{background:#262b35}
html[data-theme="oscuro"] .btn.danger{background:#3A1E1E;color:#F8A8A8;border-color:#5A2A2A}
html[data-theme="oscuro"] .tbl tr:nth-child(even) td{background:#181B21}
html[data-theme="oscuro"] .tbl tr:hover td{background:#20242D}
html[data-theme="oscuro"] .user-chip button.logout{background:#20242D;color:var(--muted)}
html[data-theme="oscuro"] #sbFilters{background:#14171D !important}
html[data-theme="oscuro"] .card, html[data-theme="oscuro"] .modal, html[data-theme="oscuro"] .pm-modal,
html[data-theme="oscuro"] .vui-modal, html[data-theme="oscuro"] .pm-kpi, html[data-theme="oscuro"] .pm-card{background:var(--card) !important;color:var(--text)}
html[data-theme="oscuro"] input, html[data-theme="oscuro"] select, html[data-theme="oscuro"] textarea{background:#14171D !important;color:var(--text) !important;border-color:var(--line) !important}
html[data-theme="oscuro"] input::placeholder, html[data-theme="oscuro"] textarea::placeholder{color:#6B7280}
/* captura de estilos EN LÍNEA (inline): fondos blancos -> card, texto casi-negro -> text */
html[data-theme="oscuro"] [style*="background:#fff" i], html[data-theme="oscuro"] [style*="background:#FFF" i],
html[data-theme="oscuro"] [style*="background:#ffffff" i], html[data-theme="oscuro"] [style*="background:#FFFFFF" i],
html[data-theme="oscuro"] [style*="background: #fff" i], html[data-theme="oscuro"] [style*="background:white" i],
html[data-theme="oscuro"] [style*="background-color:#fff" i]{background-color:var(--card) !important}
html[data-theme="oscuro"] [style*="color:#111" i], html[data-theme="oscuro"] [style*="color:#000" i],
html[data-theme="oscuro"] [style*="color:#222" i], html[data-theme="oscuro"] [style*="color:#333" i],
html[data-theme="oscuro"] [style*="color:#2B2B2B" i], html[data-theme="oscuro"] [style*="color:#2b2b2b" i],
html[data-theme="oscuro"] [style*="color:#1E3A8A" i], html[data-theme="oscuro"] [style*="color:#1F" i]{color:var(--text) !important}
html[data-theme="oscuro"] [style*="background:#F4F5F8" i], html[data-theme="oscuro"] [style*="background:#f7" i],
html[data-theme="oscuro"] [style*="background:#F7" i], html[data-theme="oscuro"] [style*="background:#fa" i]{background-color:#1E222B !important}


/* ===== Oscuro: cobertura exhaustiva de colores inline (auto-generado por luminancia) ===== */
html[data-theme="oscuro"] [style*="background:#d1fae5" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#d1fae5" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #d1fae5" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #d1fae5" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#d4edda" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#d4edda" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #d4edda" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #d4edda" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#d6efd8" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#d6efd8" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #d6efd8" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #d6efd8" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#dbeafe" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#dbeafe" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #dbeafe" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #dbeafe" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#e0d7f5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#e0d7f5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #e0d7f5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #e0d7f5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#e0eaf8" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#e0eaf8" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #e0eaf8" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #e0eaf8" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#e0f0e2" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#e0f0e2" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #e0f0e2" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #e0f0e2" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#e0f0ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#e0f0ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #e0f0ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #e0f0ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#e0f2e2" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#e0f2e2" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #e0f2e2" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #e0f2e2" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#e0f2ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#e0f2ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #e0f2ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #e0f2ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#e1f5ee" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#e1f5ee" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #e1f5ee" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #e1f5ee" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#e2e8f0" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#e2e8f0" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #e2e8f0" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #e2e8f0" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#e3f3e7" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#e3f3e7" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #e3f3e7" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #e3f3e7" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#e5e7eb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#e5e7eb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #e5e7eb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #e5e7eb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#e5e9f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#e5e9f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #e5e9f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #e5e9f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#e8dff5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#e8dff5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #e8dff5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #e8dff5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#e8e6f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#e8e6f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #e8e6f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #e8e6f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#e8f5ee" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#e8f5ee" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #e8f5ee" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #e8f5ee" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#eaf4ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#eaf4ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #eaf4ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #eaf4ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#ebddf5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#ebddf5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #ebddf5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #ebddf5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#ecfdf3" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#ecfdf3" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #ecfdf3" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #ecfdf3" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#ecfdf5" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#ecfdf5" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #ecfdf5" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #ecfdf5" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#ede7f5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#ede7f5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #ede7f5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #ede7f5" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#ede9fe" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#ede9fe" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #ede9fe" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #ede9fe" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#eee" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#eee" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #eee" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #eee" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#eee3f7" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#eee3f7" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #eee3f7" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #eee3f7" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#eef1f5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#eef1f5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #eef1f5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #eef1f5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#eef2f7" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#eef2f7" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #eef2f7" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #eef2f7" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#eef2ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#eef2ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #eef2ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #eef2ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#efeaff" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#efeaff" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #efeaff" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #efeaff" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#efefef" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#efefef" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #efefef" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #efefef" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#efeff3" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#efeff3" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #efeff3" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #efeff3" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#eff6ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#eff6ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #eff6ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #eff6ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#f0e6fa" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#f0e6fa" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #f0e6fa" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #f0e6fa" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#f0f3f7" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f0f3f7" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f0f3f7" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f0f3f7" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f0f4fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f0f4fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f0f4fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f0f4fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f0f7ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color:#f0f7ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background: #f0f7ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background-color: #f0f7ff" i]{background-color:#152232 !important}
html[data-theme="oscuro"] [style*="background:#f0fbf5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f0fbf5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f0fbf5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f0fbf5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f0fdf4" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f0fdf4" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f0fdf4" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f0fdf4" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f1f5f9" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f1f5f9" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f1f5f9" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f1f5f9" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f3eafb" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#f3eafb" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #f3eafb" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #f3eafb" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#f3eefa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f3eefa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f3eefa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f3eefa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f3f0fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f3f0fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f3f0fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f3f0fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f3f4f6" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f3f4f6" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f3f4f6" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f3f4f6" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f3f4f8" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f3f4f8" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f3f4f8" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f3f4f8" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f4f1fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f4f1fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f4f1fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f4f1fa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f4f4f8" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f4f4f8" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f4f4f8" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f4f4f8" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f4f7fc" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f4f7fc" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f4f7fc" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f4f7fc" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f5f2fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f5f2fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f5f2fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f5f2fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f6effd" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#f6effd" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #f6effd" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #f6effd" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#f6f7fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f6f7fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f6f7fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f6f7fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f6f8fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f6f8fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f6f8fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f6f8fb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f7c9c9" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#f7c9c9" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #f7c9c9" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #f7c9c9" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#f7f6f4" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f7f6f4" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f7f6f4" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f7f6f4" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f8fafc" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f8fafc" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f8fafc" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f8fafc" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f8fcf9" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f8fcf9" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f8fcf9" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f8fcf9" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#f9fafb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#f9fafb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #f9fafb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #f9fafb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#faeeda" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#faeeda" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #faeeda" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #faeeda" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fafafa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fafafa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fafafa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fafafa" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#fafafb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fafafb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fafafb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fafafb" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#fafbfd" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fafbfd" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fafbfd" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fafbfd" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#fbe3b0" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fbe3b0" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fbe3b0" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fbe3b0" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fbe3e3" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#fbe3e3" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #fbe3e3" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #fbe3e3" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#fbefd9" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fbefd9" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fbefd9" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fbefd9" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fce4e4" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#fce4e4" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #fce4e4" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #fce4e4" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#fcebeb" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#fcebeb" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #fcebeb" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #fcebeb" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#fcfbfe" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fcfbfe" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fcfbfe" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fcfbfe" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#fde0e0" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#fde0e0" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #fde0e0" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #fde0e0" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#fdecc4" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fdecc4" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fdecc4" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fdecc4" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fdecec" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#fdecec" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #fdecec" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #fdecec" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#fee2e2" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color:#fee2e2" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background: #fee2e2" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background-color: #fee2e2" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#fee89e" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fee89e" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fee89e" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fee89e" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fef2f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fef2f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fef2f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fef2f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#fef3c7" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fef3c7" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fef3c7" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fef3c7" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fef6f6" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fef6f6" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fef6f6" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fef6f6" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#ffe9d6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#ffe9d6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #ffe9d6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #ffe9d6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fff" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fff" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fff" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fff" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#fff1d6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fff1d6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fff1d6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fff1d6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fff1d9" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fff1d9" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fff1d9" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fff1d9" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fff3cd" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fff3cd" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fff3cd" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fff3cd" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fff7e6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fff7e6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fff7e6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fff7e6" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fff8e0" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color:#fff8e0" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background: #fff8e0" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background-color: #fff8e0" i]{background-color:#33290F !important}
html[data-theme="oscuro"] [style*="background:#fff8f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fff8f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fff8f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fff8f2" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background:#fffcf5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color:#fffcf5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background: #fffcf5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="background-color: #fffcf5" i]{background-color:#181B21 !important}
html[data-theme="oscuro"] [style*="color:#000" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #000" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#0064b0" i]{color:#A1D2F7 !important}
html[data-theme="oscuro"] [style*="color: #0064b0" i]{color:#A1D2F7 !important}
html[data-theme="oscuro"] [style*="color:#059669" i]{color:#A1F7DC !important}
html[data-theme="oscuro"] [style*="color: #059669" i]{color:#A1F7DC !important}
html[data-theme="oscuro"] [style*="color:#065f46" i]{color:#A1F7DF !important}
html[data-theme="oscuro"] [style*="color: #065f46" i]{color:#A1F7DF !important}
html[data-theme="oscuro"] [style*="color:#067647" i]{color:#A1F7D3 !important}
html[data-theme="oscuro"] [style*="color: #067647" i]{color:#A1F7D3 !important}
html[data-theme="oscuro"] [style*="color:#0d3370" i]{color:#A4C3F4 !important}
html[data-theme="oscuro"] [style*="color: #0d3370" i]{color:#A4C3F4 !important}
html[data-theme="oscuro"] [style*="color:#0f172a" i]{color:#B0C1E8 !important}
html[data-theme="oscuro"] [style*="color: #0f172a" i]{color:#B0C1E8 !important}
html[data-theme="oscuro"] [style*="color:#0f6e56" i]{color:#A5F3DF !important}
html[data-theme="oscuro"] [style*="color: #0f6e56" i]{color:#A5F3DF !important}
html[data-theme="oscuro"] [style*="color:#111" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #111" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#127a3e" i]{color:#A6F2C6 !important}
html[data-theme="oscuro"] [style*="color: #127a3e" i]{color:#A6F2C6 !important}
html[data-theme="oscuro"] [style*="color:#155724" i]{color:#ADEBBB !important}
html[data-theme="oscuro"] [style*="color: #155724" i]{color:#ADEBBB !important}
html[data-theme="oscuro"] [style*="color:#16a34a" i]{color:#A5F3C2 !important}
html[data-theme="oscuro"] [style*="color: #16a34a" i]{color:#A5F3C2 !important}
html[data-theme="oscuro"] [style*="color:#1a2233" i]{color:#B0C2E8 !important}
html[data-theme="oscuro"] [style*="color: #1a2233" i]{color:#B0C2E8 !important}
html[data-theme="oscuro"] [style*="color:#1c5024" i]{color:#B0E8B9 !important}
html[data-theme="oscuro"] [style*="color: #1c5024" i]{color:#B0E8B9 !important}
html[data-theme="oscuro"] [style*="color:#1d2330" i]{color:#B0C2E8 !important}
html[data-theme="oscuro"] [style*="color: #1d2330" i]{color:#B0C2E8 !important}
html[data-theme="oscuro"] [style*="color:#1d4ed8" i]{color:#A5B9F3 !important}
html[data-theme="oscuro"] [style*="color: #1d4ed8" i]{color:#A5B9F3 !important}
html[data-theme="oscuro"] [style*="color:#1d9e75" i]{color:#A9EFD9 !important}
html[data-theme="oscuro"] [style*="color: #1d9e75" i]{color:#A9EFD9 !important}
html[data-theme="oscuro"] [style*="color:#1e3a8a" i]{color:#ABBCED !important}
html[data-theme="oscuro"] [style*="color: #1e3a8a" i]{color:#ABBCED !important}
html[data-theme="oscuro"] [style*="color:#1e40af" i]{color:#A8B9F0 !important}
html[data-theme="oscuro"] [style*="color: #1e40af" i]{color:#A8B9F0 !important}
html[data-theme="oscuro"] [style*="color:#1e6b2a" i]{color:#AFE9B8 !important}
html[data-theme="oscuro"] [style*="color: #1e6b2a" i]{color:#AFE9B8 !important}
html[data-theme="oscuro"] [style*="color:#1f2937" i]{color:#B0C7E8 !important}
html[data-theme="oscuro"] [style*="color: #1f2937" i]{color:#B0C7E8 !important}
html[data-theme="oscuro"] [style*="color:#1f3f73" i]{color:#AFC5E9 !important}
html[data-theme="oscuro"] [style*="color: #1f3f73" i]{color:#AFC5E9 !important}
html[data-theme="oscuro"] [style*="color:#1f6022" i]{color:#B0E8B3 !important}
html[data-theme="oscuro"] [style*="color: #1f6022" i]{color:#B0E8B3 !important}
html[data-theme="oscuro"] [style*="color:#2563eb" i]{color:#A2BCF6 !important}
html[data-theme="oscuro"] [style*="color: #2563eb" i]{color:#A2BCF6 !important}
html[data-theme="oscuro"] [style*="color:#2b2b2b" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #2b2b2b" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#2c3e50" i]{color:#B0CCE8 !important}
html[data-theme="oscuro"] [style*="color: #2c3e50" i]{color:#B0CCE8 !important}
html[data-theme="oscuro"] [style*="color:#2e75b6" i]{color:#AECDEA !important}
html[data-theme="oscuro"] [style*="color: #2e75b6" i]{color:#AECDEA !important}
html[data-theme="oscuro"] [style*="color:#2e7d32" i]{color:#B0E8B3 !important}
html[data-theme="oscuro"] [style*="color: #2e7d32" i]{color:#B0E8B3 !important}
html[data-theme="oscuro"] [style*="color:#333" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #333" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#3538cd" i]{color:#ADAEEB !important}
html[data-theme="oscuro"] [style*="color: #3538cd" i]{color:#ADAEEB !important}
html[data-theme="oscuro"] [style*="color:#374151" i]{color:#B0C6E8 !important}
html[data-theme="oscuro"] [style*="color: #374151" i]{color:#B0C6E8 !important}
html[data-theme="oscuro"] [style*="color:#3b82f6" i]{color:#A1C2F7 !important}
html[data-theme="oscuro"] [style*="color: #3b82f6" i]{color:#A1C2F7 !important}
html[data-theme="oscuro"] [style*="color:#3f2b96" i]{color:#BAB0E8 !important}
html[data-theme="oscuro"] [style*="color: #3f2b96" i]{color:#BAB0E8 !important}
html[data-theme="oscuro"] [style*="color:#3fa75a" i]{color:#B0E8BF !important}
html[data-theme="oscuro"] [style*="color: #3fa75a" i]{color:#B0E8BF !important}
html[data-theme="oscuro"] [style*="color:#475467" i]{color:#B0C7E8 !important}
html[data-theme="oscuro"] [style*="color: #475467" i]{color:#B0C7E8 !important}
html[data-theme="oscuro"] [style*="color:#4b5563" i]{color:#B0C7E8 !important}
html[data-theme="oscuro"] [style*="color: #4b5563" i]{color:#B0C7E8 !important}
html[data-theme="oscuro"] [style*="color:#511980" i]{color:#CFAAEE !important}
html[data-theme="oscuro"] [style*="color: #511980" i]{color:#CFAAEE !important}
html[data-theme="oscuro"] [style*="color:#555" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #555" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#5b2f9e" i]{color:#C6B0E8 !important}
html[data-theme="oscuro"] [style*="color: #5b2f9e" i]{color:#C6B0E8 !important}
html[data-theme="oscuro"] [style*="color:#5b34d6" i]{color:#BAAAEE !important}
html[data-theme="oscuro"] [style*="color: #5b34d6" i]{color:#BAAAEE !important}
html[data-theme="oscuro"] [style*="color:#5b6473" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #5b6473" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#64748b" i]{color:#B0C7E8 !important}
html[data-theme="oscuro"] [style*="color: #64748b" i]{color:#B0C7E8 !important}
html[data-theme="oscuro"] [style*="color:#664d03" i]{color:#F7E1A1 !important}
html[data-theme="oscuro"] [style*="color: #664d03" i]{color:#F7E1A1 !important}
html[data-theme="oscuro"] [style*="color:#666" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #666" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#667085" i]{color:#B0C2E8 !important}
html[data-theme="oscuro"] [style*="color: #667085" i]{color:#B0C2E8 !important}
html[data-theme="oscuro"] [style*="color:#6b22a4" i]{color:#D0ABED !important}
html[data-theme="oscuro"] [style*="color: #6b22a4" i]{color:#D0ABED !important}
html[data-theme="oscuro"] [style*="color:#6b3030" i]{color:#E8B0B0 !important}
html[data-theme="oscuro"] [style*="color: #6b3030" i]{color:#E8B0B0 !important}
html[data-theme="oscuro"] [style*="color:#6b4406" i]{color:#F7D6A1 !important}
html[data-theme="oscuro"] [style*="color: #6b4406" i]{color:#F7D6A1 !important}
html[data-theme="oscuro"] [style*="color:#6b7280" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #6b7280" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#6c21aa" i]{color:#CFAAEE !important}
html[data-theme="oscuro"] [style*="color: #6c21aa" i]{color:#CFAAEE !important}
html[data-theme="oscuro"] [style*="color:#78350f" i]{color:#F4C1A4 !important}
html[data-theme="oscuro"] [style*="color: #78350f" i]{color:#F4C1A4 !important}
html[data-theme="oscuro"] [style*="color:#7a3030" i]{color:#E8B0B0 !important}
html[data-theme="oscuro"] [style*="color: #7a3030" i]{color:#E8B0B0 !important}
html[data-theme="oscuro"] [style*="color:#7a5e00" i]{color:#F7E3A1 !important}
html[data-theme="oscuro"] [style*="color: #7a5e00" i]{color:#F7E3A1 !important}
html[data-theme="oscuro"] [style*="color:#7b2cbf" i]{color:#CEACEC !important}
html[data-theme="oscuro"] [style*="color: #7b2cbf" i]{color:#CEACEC !important}
html[data-theme="oscuro"] [style*="color:#7f1d1d" i]{color:#ECACAC !important}
html[data-theme="oscuro"] [style*="color: #7f1d1d" i]{color:#ECACAC !important}
html[data-theme="oscuro"] [style*="color:#8427e2" i]{color:#CCA5F3 !important}
html[data-theme="oscuro"] [style*="color: #8427e2" i]{color:#CCA5F3 !important}
html[data-theme="oscuro"] [style*="color:#854f0b" i]{color:#F7D1A1 !important}
html[data-theme="oscuro"] [style*="color: #854f0b" i]{color:#F7D1A1 !important}
html[data-theme="oscuro"] [style*="color:#888" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color: #888" i]{color:#D8DCE4 !important}
html[data-theme="oscuro"] [style*="color:#8a6d00" i]{color:#F7E5A1 !important}
html[data-theme="oscuro"] [style*="color: #8a6d00" i]{color:#F7E5A1 !important}
html[data-theme="oscuro"] [style*="color:#8a6d1a" i]{color:#EFDDA9 !important}
html[data-theme="oscuro"] [style*="color: #8a6d1a" i]{color:#EFDDA9 !important}
html[data-theme="oscuro"] [style*="color:#8b2020" i]{color:#ECACAC !important}
html[data-theme="oscuro"] [style*="color: #8b2020" i]{color:#ECACAC !important}
html[data-theme="oscuro"] [style*="color:#92400e" i]{color:#F6C2A2 !important}
html[data-theme="oscuro"] [style*="color: #92400e" i]{color:#F6C2A2 !important}
html[data-theme="oscuro"] [style*="color:#991b1b" i]{color:#F0A8A8 !important}
html[data-theme="oscuro"] [style*="color: #991b1b" i]{color:#F0A8A8 !important}
html[data-theme="oscuro"] [style*="color:#9a1f1f" i]{color:#EEAAAA !important}
html[data-theme="oscuro"] [style*="color: #9a1f1f" i]{color:#EEAAAA !important}
html[data-theme="oscuro"] [style*="color:#9a5b00" i]{color:#F7D4A1 !important}
html[data-theme="oscuro"] [style*="color: #9a5b00" i]{color:#F7D4A1 !important}
html[data-theme="oscuro"] [style*="color:#9b1c1c" i]{color:#EFA9A9 !important}
html[data-theme="oscuro"] [style*="color: #9b1c1c" i]{color:#EFA9A9 !important}
html[data-theme="oscuro"] [style*="color:#a32d2d" i]{color:#E9AFAF !important}
html[data-theme="oscuro"] [style*="color: #a32d2d" i]{color:#E9AFAF !important}
html[data-theme="oscuro"] [style*="color:#a35200" i]{color:#F7CCA1 !important}
html[data-theme="oscuro"] [style*="color: #a35200" i]{color:#F7CCA1 !important}
html[data-theme="oscuro"] [style*="color:#b23" i]{color:#EFA9B1 !important}
html[data-theme="oscuro"] [style*="color: #b23" i]{color:#EFA9B1 !important}
html[data-theme="oscuro"] [style*="color:#b42318" i]{color:#F3AAA5 !important}
html[data-theme="oscuro"] [style*="color: #b42318" i]{color:#F3AAA5 !important}
html[data-theme="oscuro"] [style*="color:#b7791f" i]{color:#F0D3A8 !important}
html[data-theme="oscuro"] [style*="color: #b7791f" i]{color:#F0D3A8 !important}
html[data-theme="oscuro"] [style*="color:#c2700a" i]{color:#F7D1A1 !important}
html[data-theme="oscuro"] [style*="color: #c2700a" i]{color:#F7D1A1 !important}
html[data-theme="oscuro"] [style*="color:#c62828" i]{color:#EEAAAA !important}
html[data-theme="oscuro"] [style*="color: #c62828" i]{color:#EEAAAA !important}
html[data-theme="oscuro"] [style*="color:#c77700" i]{color:#F7D4A1 !important}
html[data-theme="oscuro"] [style*="color: #c77700" i]{color:#F7D4A1 !important}
html[data-theme="oscuro"] [style*="color:#dc2626" i]{color:#F1A7A7 !important}
html[data-theme="oscuro"] [style*="color: #dc2626" i]{color:#F1A7A7 !important}
html[data-theme="oscuro"] [style*="color:#ed7d31" i]{color:#F7C4A1 !important}
html[data-theme="oscuro"] [style*="color: #ed7d31" i]{color:#F7C4A1 !important}


/* ===== Oscuro: cobertura de clases con fondo claro (componentes) ===== */
html[data-theme="oscuro"] .bar{background-color:#152232 !important}
html[data-theme="oscuro"] .danger{background-color:#241A33 !important}
html[data-theme="oscuro"] .dcard{background-color:#181B21 !important}
html[data-theme="oscuro"] .dchip{background-color:#181B21 !important}
html[data-theme="oscuro"] .dclist{background-color:#181B21 !important}
html[data-theme="oscuro"] .ghost{background-color:#181B21 !important}
html[data-theme="oscuro"] .info{background-color:#241A33 !important}
html[data-theme="oscuro"] .ini-tile{background-color:#181B21 !important}
html[data-theme="oscuro"] .kpi2{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-combo-list{background-color:#181B21 !important}
html[data-theme="oscuro"] .ok{background-color:#14261B !important}
html[data-theme="oscuro"] .pm-card{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-col{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-detail{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-drop{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-kpi{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-legend{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-mini{background-color:#241A33 !important}
html[data-theme="oscuro"] .pm-modal{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-stepdot{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-stepline{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-tree{background-color:#181B21 !important}
html[data-theme="oscuro"] .pmbar{background-color:#241A33 !important}
html[data-theme="oscuro"] .q{background-color:#241A33 !important}
html[data-theme="oscuro"] .rl-name{background-color:#181B21 !important}
html[data-theme="oscuro"] .rl-ok{background-color:#14261B !important}
html[data-theme="oscuro"] .rl-over{background-color:#241A33 !important}
html[data-theme="oscuro"] .rl-warn{background-color:#33290F !important}
html[data-theme="oscuro"] .selected{background-color:#241A33 !important}
html[data-theme="oscuro"] .warn{background-color:#33290F !important}
html[data-theme="oscuro"] .md-hfout input.md-hf{background:#14261B !important;color:#9FE3B0 !important}
html[data-theme="oscuro"] .md-hfout input.md-hnf{background:#33290F !important;color:#F2D08A !important}
html[data-theme="oscuro"] .md-readonly{background:#181B21 !important;color:var(--text) !important}
html[data-theme="oscuro"] .pm-tree, html[data-theme="oscuro"] .pm-detail, html[data-theme="oscuro"] .pm-col{background:#181B21 !important}
html[data-theme="oscuro"] .rl-name{background:#181B21 !important}

/* ---------- Selector de tema (barra superior) ---------- */
#vy-theme-wrap{position:relative;margin-left:auto}
#vy-theme-btn{display:inline-flex;align-items:center;gap:6px;width:auto;height:auto;padding:7px 14px;border-radius:8px;border:1px solid var(--line);background:var(--card);color:var(--text);cursor:pointer;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;flex:0 0 auto}
#vy-theme-btn:hover{border-color:var(--brand-2)}
#vy-theme-menu{position:absolute;right:0;top:40px;background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:6px;min-width:170px;z-index:100001;display:none}
#vy-theme-menu.open{display:block}
#vy-theme-menu button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:none;background:transparent;color:var(--text);padding:8px 10px;border-radius:7px;cursor:pointer;font-size:13px;font-family:inherit}
#vy-theme-menu button:hover{background:var(--soft)}
#vy-theme-menu button.on{background:var(--nav-active);color:var(--nav-active-tx);font-weight:600}
#vy-theme-menu .sw{width:14px;height:14px;border-radius:4px;border:1px solid rgba(0,0,0,.15)}

/* ===== Oscuro: dhtmlxGantt (Cronograma) — librería externa ===== */
html[data-theme="oscuro"] .gantt_container, html[data-theme="oscuro"] .gantt_grid, html[data-theme="oscuro"] .gantt_data_area,
html[data-theme="oscuro"] .gantt_grid_data, html[data-theme="oscuro"] .gantt_task_bg, html[data-theme="oscuro"] .gantt_task,
html[data-theme="oscuro"] .gantt_grid_scale, html[data-theme="oscuro"] .gantt_task_scale, html[data-theme="oscuro"] .gantt_layout_content{background:#181B21 !important;color:#E6E8EE !important}
html[data-theme="oscuro"] .gantt_grid_scale, html[data-theme="oscuro"] .gantt_task_scale, html[data-theme="oscuro"] .gantt_scale_cell,
html[data-theme="oscuro"] .gantt_grid_head_cell{color:#9AA3B2 !important;border-color:#2A2F3A !important;background:#14171D !important}
html[data-theme="oscuro"] .gantt_row, html[data-theme="oscuro"] .gantt_task_row, html[data-theme="oscuro"] .gantt_cell,
html[data-theme="oscuro"] .gantt_task_cell, html[data-theme="oscuro"] .gantt_scale_line, html[data-theme="oscuro"] .gantt_task_scale .gantt_scale_cell{border-color:#2A2F3A !important;color:#E6E8EE !important}
html[data-theme="oscuro"] .gantt_grid_data .gantt_row.odd, html[data-theme="oscuro"] .gantt_task_row.odd{background:#1E222B !important}
html[data-theme="oscuro"] .gantt_tree_content, html[data-theme="oscuro"] .gantt_cell, html[data-theme="oscuro"] .gantt_tree_icon{color:#E6E8EE !important}
html[data-theme="oscuro"] .gantt_task_line{border-color:transparent}
html[data-theme="oscuro"] .gantt_task_cell.week_end{background:#1A1D24 !important}
html[data-theme="oscuro"] .weekend, html[data-theme="oscuro"] .gantt_material_weekend{background:#15181e !important}
/* Gantt: TODAS las filas (par/impar) + celdas, incluyendo atenuadas */
html[data-theme="oscuro"] .gantt_grid_data .gantt_row, html[data-theme="oscuro"] .gantt_task_bg .gantt_task_row,
html[data-theme="oscuro"] .gantt_grid_data .gantt_row.gantt_selected, html[data-theme="oscuro"] .gantt_data_area .gantt_task_row{background:#181B21 !important}
html[data-theme="oscuro"] .gantt_grid_data .gantt_row.odd, html[data-theme="oscuro"] .gantt_task_bg .gantt_task_row.odd{background:#1E222B !important}
html[data-theme="oscuro"] .gantt_grid_data .gantt_row:hover, html[data-theme="oscuro"] .gantt_task_row:hover{background:#20242D !important}
html[data-theme="oscuro"] .gantt_cell, html[data-theme="oscuro"] .gantt_grid_data .gantt_cell{background:transparent !important}
/* Mapa de carga de recursos: encabezados y celdas base */
html[data-theme="oscuro"] .rl-head, html[data-theme="oscuro"] .rl-wk, html[data-theme="oscuro"] .rl-tbl th, html[data-theme="oscuro"] .rl-tbl td{background:#181B21 !important;color:#E6E8EE !important;border-color:#2A2F3A !important}
/* Carga de recursos (heatmap): contenedor + encabezados */
html[data-theme="oscuro"] .rl-scroll, html[data-theme="oscuro"] .rl-tbl, html[data-theme="oscuro"] .rl-head, html[data-theme="oscuro"] .rl-name{background:#181B21 !important;color:#E6E8EE !important;border-color:#2A2F3A !important}
html[data-theme="oscuro"] .rl-tbl th, html[data-theme="oscuro"] .rl-tbl td{border-color:#2A2F3A !important}
html[data-theme="oscuro"] .rl-name{background:#14171D !important}

/* ===== Oscuro: clases con formato '.clase {' (espacio) — 2a pasada ===== */
html[data-theme="oscuro"] .bar{background-color:#152232 !important}
html[data-theme="oscuro"] .btn-del{background-color:#181B21 !important}
html[data-theme="oscuro"] .cat-block{background-color:#181B21 !important}
html[data-theme="oscuro"] .cat-children{background-color:#181B21 !important}
html[data-theme="oscuro"] .cat-count{background-color:#181B21 !important}
html[data-theme="oscuro"] .danger{background-color:#241A33 !important}
html[data-theme="oscuro"] .dcard{background-color:#181B21 !important}
html[data-theme="oscuro"] .dchip{background-color:#181B21 !important}
html[data-theme="oscuro"] .dclist{background-color:#181B21 !important}
html[data-theme="oscuro"] .eq-block{background-color:#181B21 !important}
html[data-theme="oscuro"] .eq-children{background-color:#181B21 !important}
html[data-theme="oscuro"] .eq-count{background-color:#181B21 !important}
html[data-theme="oscuro"] .eq-flag-aprueba{background-color:#241A33 !important}
html[data-theme="oscuro"] .eq-flag-captura{background-color:#14261B !important}
html[data-theme="oscuro"] .eq-flag-supervisa{background-color:#152232 !important}
html[data-theme="oscuro"] .eq-persona{background-color:#152232 !important}
html[data-theme="oscuro"] .eq-rolblock{background-color:#181B21 !important}
html[data-theme="oscuro"] .eq-rolcount{background-color:#181B21 !important}
html[data-theme="oscuro"] .eq-unico{background-color:#33290F !important}
html[data-theme="oscuro"] .eq-warn{background-color:#33290F !important}
html[data-theme="oscuro"] .eq-x{background-color:#181B21 !important}
html[data-theme="oscuro"] .ga-cancel{background-color:#181B21 !important}
html[data-theme="oscuro"] .ghost{background-color:#181B21 !important}
html[data-theme="oscuro"] .hf{background-color:#14261B !important}
html[data-theme="oscuro"] .hnf{background-color:#33290F !important}
html[data-theme="oscuro"] .info{background-color:#241A33 !important}
html[data-theme="oscuro"] .ini-tile{background-color:#181B21 !important}
html[data-theme="oscuro"] .is-marked{background-color:#14261B !important}
html[data-theme="oscuro"] .kpi2{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-acta{background-color:#33290F !important}
html[data-theme="oscuro"] .md-acta-card{background-color:#33290F !important}
html[data-theme="oscuro"] .md-acta-mini{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-btn-add{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-capturas{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-card{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-chip{background-color:#241A33 !important}
html[data-theme="oscuro"] .md-combo-list{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-edit{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-en-acta{background-color:#152232 !important}
html[data-theme="oscuro"] .md-entreg-btn{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-entreg-panel{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-estado-aprobada{background-color:#14261B !important}
html[data-theme="oscuro"] .md-estado-borrador{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-estado-pendiente{background-color:#33290F !important}
html[data-theme="oscuro"] .md-estado-rechazada{background-color:#241A33 !important}
html[data-theme="oscuro"] .md-file-btn{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-genacta-modal{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-guardadas{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-header{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-hf{background-color:#14261B !important}
html[data-theme="oscuro"] .md-hnf{background-color:#33290F !important}
html[data-theme="oscuro"] .md-mandar-acta{background-color:#33290F !important}
html[data-theme="oscuro"] .md-marcada{background-color:#14261B !important}
html[data-theme="oscuro"] .md-mini-add-asist{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-mini-tbl{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-motivo-rechazo{background-color:#241A33 !important}
html[data-theme="oscuro"] .md-nueva-acta-btn{background-color:#33290F !important}
html[data-theme="oscuro"] .md-quitar-acta{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-readonly{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-reflink{background-color:#152232 !important}
html[data-theme="oscuro"] .md-reflink-big{background-color:#152232 !important}
html[data-theme="oscuro"] .md-reflink-disabled{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-row-bloqueada{background-color:#181B21 !important}
html[data-theme="oscuro"] .md-tag{background-color:#241A33 !important}
html[data-theme="oscuro"] .ok{background-color:#14261B !important}
html[data-theme="oscuro"] .pm-card{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-col{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-detail{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-drop{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-kpi{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-legend{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-mini{background-color:#241A33 !important}
html[data-theme="oscuro"] .pm-modal{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-stepdot{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-stepline{background-color:#181B21 !important}
html[data-theme="oscuro"] .pm-tree{background-color:#181B21 !important}
html[data-theme="oscuro"] .pmbar{background-color:#241A33 !important}
html[data-theme="oscuro"] .q{background-color:#241A33 !important}
html[data-theme="oscuro"] .rl-name{background-color:#181B21 !important}
html[data-theme="oscuro"] .rl-ok{background-color:#14261B !important}
html[data-theme="oscuro"] .rl-over{background-color:#241A33 !important}
html[data-theme="oscuro"] .rl-warn{background-color:#33290F !important}
html[data-theme="oscuro"] .selected{background-color:#241A33 !important}
html[data-theme="oscuro"] .tipo-block{background-color:#181B21 !important}
html[data-theme="oscuro"] .tipo-children{background-color:#181B21 !important}
html[data-theme="oscuro"] .tipo-count{background-color:#181B21 !important}
html[data-theme="oscuro"] .tipo-row{background-color:#181B21 !important}
html[data-theme="oscuro"] .tot{background-color:#152232 !important}
html[data-theme="oscuro"] .warn{background-color:#33290F !important}


/* ===== Oscuro · parche de contraste (p4–p8, 13-jul) ===== */
/* p4 — La tarjeta de login SIEMPRE es blanca; forzar texto oscuro aunque el tema guardado sea oscuro */
html[data-theme="oscuro"] .login-card{color:#2C3E50 !important}
html[data-theme="oscuro"] .login-card .pitch{color:#2C3E50 !important}
html[data-theme="oscuro"] .login-card .sub,
html[data-theme="oscuro"] .login-card .demo,
html[data-theme="oscuro"] .login-card .demo .muted,
html[data-theme="oscuro"] .login-card .tag-portal{color:#5A6472 !important}
html[data-theme="oscuro"] .login-card .tag-portal{background:#EBDDF5 !important}

/* p8 — badges legibles sobre superficie oscura */
html[data-theme="oscuro"] .badge.ok{background:#14261B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .badge.warn{background:#2A2113 !important;color:#FBBF24 !important}
html[data-theme="oscuro"] .badge.err{background:#2A1616 !important;color:#F87171 !important}
html[data-theme="oscuro"] .badge.gray{background:#242833 !important;color:#C3CAD6 !important}
html[data-theme="oscuro"] .badge.info{background:#241A33 !important;color:#C9B6E8 !important}

/* p5 — encabezados de acordeón de catálogo (fondo claro no temado) */
html[data-theme="oscuro"] [style*="background:#F4F4F8" i],
html[data-theme="oscuro"] [style*="background: #F4F4F8" i],
html[data-theme="oscuro"] [style*="background:#f4f4f8" i]{background-color:var(--soft) !important}

/* p6 — banner de semáforo: oscurecer fondos claros y aclarar el texto de color */
html[data-theme="oscuro"] [style*="background:#ECFDF3" i],
html[data-theme="oscuro"] [style*="background:#E6F7F0" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#FAEEDA" i],
html[data-theme="oscuro"] [style*="background:#FEF3E2" i]{background-color:#2A2113 !important}
html[data-theme="oscuro"] [style*="background:#FCEBEB" i],
html[data-theme="oscuro"] [style*="background:#FDECEC" i]{background-color:#2A1616 !important}
html[data-theme="oscuro"] [style*="background:#F2F4F7" i]{background-color:var(--soft) !important}
html[data-theme="oscuro"] [style*="color:#067647" i]{color:#4ADE80 !important}
html[data-theme="oscuro"] [style*="color:#B7791F" i]{color:#FBBF24 !important}
html[data-theme="oscuro"] [style*="color:#9A1F1F" i]{color:#F87171 !important}
html[data-theme="oscuro"] [style*="color:#0064B0" i]{color:#7CB9F0 !important}

/* ===== Oscuro · títulos de tarjeta y encabezados de tabla (gris #6B7280 fijo en index.html) ===== */
html[data-theme="oscuro"] .card h3{color:#B8C0CC !important}
html[data-theme="oscuro"] .tbl th{color:#AEB6C4 !important}
html[data-theme="oscuro"] .pm-sec{color:#B8C0CC !important}

/* ===== Oscuro · pestañas/pills de Administración (nav_reorg) y componentes con fondo claro fijo ===== */
html[data-theme="oscuro"] .adm-tabbar button{background:#241A33;color:#C9B6E8;border-color:#3A2B52}
html[data-theme="oscuro"] .adm-tabbar button.active{background:var(--brand);color:#fff;border-color:var(--brand)}
html[data-theme="oscuro"] .adm-grpopts button{background:#20242D;color:var(--text);border-color:var(--line)}
html[data-theme="oscuro"] .adm-grpopts button:hover{background:#262b35;border-color:#3A2B52}
html[data-theme="oscuro"] .adm-grpopts button.active{background:var(--brand);color:#fff;border-color:var(--brand)}
html[data-theme="oscuro"] .adm-gbtn{color:#9AA3B2}
html[data-theme="oscuro"] .adm-gbtn:hover{color:#C9B6E8}
html[data-theme="oscuro"] .adm-gbtn.active{color:#C9B6E8;border-bottom-color:#B072F0}
html[data-theme="oscuro"] .adm-grpsel{border-bottom-color:var(--line)}
/* tiles / cards de filtros y combos */
html[data-theme="oscuro"] .ini-tile,
html[data-theme="oscuro"] .kpi2,
html[data-theme="oscuro"] .dcard,
html[data-theme="oscuro"] .dclist,
html[data-theme="oscuro"] .md-combo-list{background:var(--card) !important;border-color:var(--line) !important;color:var(--text)}
html[data-theme="oscuro"] .md-combo-item:hover,
html[data-theme="oscuro"] .dci:hover{background:#20242D !important}
html[data-theme="oscuro"] .dchip{background:#20242D !important;color:var(--text) !important;border-color:var(--line) !important}

/* ===== Oscuro · barrido completo de componentes (auto-generado por luminancia/hue, 14-jul) ===== */
html[data-theme="oscuro"] #adminContent ul li:hover{background:#1E222B !important}
html[data-theme="oscuro"] #nav .nav-grp:hover{color:#C9B6E8 !important}
html[data-theme="oscuro"] #sbToggle{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] #sbToggle:hover{background:#1E222B !important}
html[data-theme="oscuro"] .adm-gbtn.active{color:#C9B6E8 !important}
html[data-theme="oscuro"] .adm-gbtn:hover{color:#C9B6E8 !important}
html[data-theme="oscuro"] .adm-grpopts button{background:#1E222B !important;color:#C7CEDA !important}
html[data-theme="oscuro"] .adm-grpopts button:hover{background:#1E222B !important}
html[data-theme="oscuro"] .adm-tabbar button{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] .bar{background:#1E222B !important}
html[data-theme="oscuro"] .btn-add-small{color:#7CB9F0 !important}
html[data-theme="oscuro"] .btn-add-small:hover{background:#152232 !important}
html[data-theme="oscuro"] .btn-del{background:#1E222B !important}
html[data-theme="oscuro"] .btn-del:hover{background:#1E222B !important;color:#F87171 !important}
html[data-theme="oscuro"] .btn-edit:hover{background:#1E222B !important}
html[data-theme="oscuro"] .cat-block{background:#1E222B !important}
html[data-theme="oscuro"] .cat-children{background:#1E222B !important}
html[data-theme="oscuro"] .cat-count{background:#1E222B !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .cat-name{color:#7CB9F0 !important}
html[data-theme="oscuro"] .cat-toggle{color:#7CB9F0 !important}
html[data-theme="oscuro"] .dcard{background:#1E222B !important}
html[data-theme="oscuro"] .dchip{background:#1E222B !important}
html[data-theme="oscuro"] .dci:hover{background:#1E222B !important}
html[data-theme="oscuro"] .dclist{background:#1E222B !important}
html[data-theme="oscuro"] .dtbl .fact{color:#7CB9F0 !important}
html[data-theme="oscuro"] .dtbl tbody tr:hover td{background:#1E222B !important}
html[data-theme="oscuro"] .dtbl td:first-child{background:#1E222B !important}
html[data-theme="oscuro"] .dtbl tfoot td{background:#1E222B !important}
html[data-theme="oscuro"] .dtbl thead th:first-child{background:#1E222B !important}
html[data-theme="oscuro"] .ent-name{color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-add{color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-add:hover{background:#152232 !important}
html[data-theme="oscuro"] .eq-block{background:#1E222B !important}
html[data-theme="oscuro"] .eq-children{background:#1E222B !important}
html[data-theme="oscuro"] .eq-cli{color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-count{background:#1E222B !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-flag-aprueba{background:#2A1616 !important;color:#F87171 !important}
html[data-theme="oscuro"] .eq-flag-captura{background:#14261B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .eq-flag-supervisa{background:#152232 !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-name{color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-persona{background:#1E222B !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-pm{color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-rolblock{background:#1E222B !important}
html[data-theme="oscuro"] .eq-rolcount{background:#1E222B !important}
html[data-theme="oscuro"] .eq-rolname{color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-toggle{color:#7CB9F0 !important}
html[data-theme="oscuro"] .eq-unico{background:#2A2113 !important;color:#F87171 !important}
html[data-theme="oscuro"] .eq-warn{background:#2A2113 !important;color:#F87171 !important}
html[data-theme="oscuro"] .eq-x{background:#1E222B !important;color:#F87171 !important}
html[data-theme="oscuro"] .gantt_scale_cell.pm-today-col{color:#F87171 !important}
html[data-theme="oscuro"] .ini-tile{background:#1E222B !important}
html[data-theme="oscuro"] .kpi2{background:#1E222B !important}
html[data-theme="oscuro"] .kpi2 .v{color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-acta{background:#2A2113 !important;color:#FBBF24 !important}
html[data-theme="oscuro"] .md-acta-card{background:#2A2113 !important;color:#FBBF24 !important}
html[data-theme="oscuro"] .md-acta-card:hover{background:#2A2113 !important}
html[data-theme="oscuro"] .md-acta-mini{background:#1E222B !important}
html[data-theme="oscuro"] .md-acta:hover{background:#2A2113 !important}
html[data-theme="oscuro"] .md-btn-add{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] .md-btn-add:hover{background:#1E222B !important}
html[data-theme="oscuro"] .md-btn-save:disabled{background:#152232 !important}
html[data-theme="oscuro"] .md-capturas{background:#1E222B !important}
html[data-theme="oscuro"] .md-capturas h3{color:#C9B6E8 !important}
html[data-theme="oscuro"] .md-card{background:#1E222B !important}
html[data-theme="oscuro"] .md-card-footer .md-acta-card:hover{background:#2A2113 !important}
html[data-theme="oscuro"] .md-card-footer .md-del{color:#F87171 !important}
html[data-theme="oscuro"] .md-card-footer .md-del:hover{background:#2A1616 !important}
html[data-theme="oscuro"] .md-card-footer .md-mandar-acta{background:#2A2113 !important;color:#FBBF24 !important}
html[data-theme="oscuro"] .md-card-footer .md-mandar-acta.is-marked{background:#14261B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .md-cerrar-info{color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-chip{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] .md-chip .md-x:hover{color:#F87171 !important}
html[data-theme="oscuro"] .md-combo-item:hover{background:#1E222B !important}
html[data-theme="oscuro"] .md-combo-list{background:#1E222B !important}
html[data-theme="oscuro"] .md-del{color:#F87171 !important}
html[data-theme="oscuro"] .md-del-row{color:#F87171 !important}
html[data-theme="oscuro"] .md-del:hover{background:#2A1616 !important}
html[data-theme="oscuro"] .md-edit{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] .md-edit:hover{background:#152232 !important}
html[data-theme="oscuro"] .md-editing{color:#F87171 !important}
html[data-theme="oscuro"] .md-en-acta{background:#152232 !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-entreg-btn{background:#1E222B !important}
html[data-theme="oscuro"] .md-entreg-btn:hover{background:#1E222B !important}
html[data-theme="oscuro"] .md-entreg-panel{background:#1E222B !important}
html[data-theme="oscuro"] .md-estado-aprobada{background:#14261B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .md-estado-borrador{background:#1E222B !important}
html[data-theme="oscuro"] .md-estado-pendiente{background:#2A2113 !important;color:#F87171 !important}
html[data-theme="oscuro"] .md-estado-rechazada{background:#2A1616 !important;color:#F87171 !important}
html[data-theme="oscuro"] .md-fecha-box label{color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-field select:disabled{background:#1E222B !important}
html[data-theme="oscuro"] .md-field textarea{background:#1E222B !important}
html[data-theme="oscuro"] .md-field.md-catf input{background:#1E222B !important}
html[data-theme="oscuro"] .md-field.md-hfout input.md-hf{background:#1E222B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .md-field.md-hfout input.md-hnf{background:#2A2113 !important;color:#F87171 !important}
html[data-theme="oscuro"] .md-file-btn{background:#1E222B !important}
html[data-theme="oscuro"] .md-file-btn:hover{background:#1E222B !important}
html[data-theme="oscuro"] .md-genacta-actions .ga-cancel{background:#1E222B !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-genacta-actions .ga-ok:disabled{background:#152232 !important}
html[data-theme="oscuro"] .md-genacta-modal{background:#1E222B !important}
html[data-theme="oscuro"] .md-genacta-modal h3{color:#C9B6E8 !important}
html[data-theme="oscuro"] .md-genacta-row label{color:#C7CEDA !important}
html[data-theme="oscuro"] .md-guardadas{background:#1E222B !important}
html[data-theme="oscuro"] .md-guardadas h3{color:#C9B6E8 !important}
html[data-theme="oscuro"] .md-header{background:#1E222B !important}
html[data-theme="oscuro"] .md-kpi.hf{background:#1E222B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .md-kpi.hnf{background:#2A2113 !important;color:#F87171 !important}
html[data-theme="oscuro"] .md-kpi.tot{background:#1E222B !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-marcada{background:#14261B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .md-mini-add-asist{background:#1E222B !important}
html[data-theme="oscuro"] .md-mini-del{color:#F87171 !important}
html[data-theme="oscuro"] .md-mini-tbl{background:#1E222B !important}
html[data-theme="oscuro"] .md-mini-tbl th{background:#1E222B !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-motivo-rechazo{background:#2A1616 !important;color:#F87171 !important}
html[data-theme="oscuro"] .md-motivo-rechazo strong{color:#F87171 !important}
html[data-theme="oscuro"] .md-nueva-acta-btn{background:#2A2113 !important;color:#FBBF24 !important}
html[data-theme="oscuro"] .md-num-cell.hnf{color:#F87171 !important}
html[data-theme="oscuro"] .md-panel-item{color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-panel-item:hover{background:#1E222B !important}
html[data-theme="oscuro"] .md-quitar-acta{background:#1E222B !important;color:#F87171 !important}
html[data-theme="oscuro"] .md-readonly{background:#1E222B !important}
html[data-theme="oscuro"] .md-reflink{background:#1E222B !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-reflink-big{background:#1E222B !important;color:#7CB9F0 !important}
html[data-theme="oscuro"] .md-reflink-disabled{background:#1E222B !important}
html[data-theme="oscuro"] .md-reflink-disabled:hover{background:#1E222B !important}
html[data-theme="oscuro"] .md-reflink:hover{background:#152232 !important}
html[data-theme="oscuro"] .md-row-bloqueada{background:#1E222B !important}
html[data-theme="oscuro"] .md-table thead th{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] .md-tag{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] .neg{color:#F87171 !important}
html[data-theme="oscuro"] .ochNode .chip{background:#1E222B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .ochNode .vac{background:#1E222B !important;color:#F87171 !important}
html[data-theme="oscuro"] .pm-card{background:#1E222B !important}
html[data-theme="oscuro"] .pm-chev{color:#C9B6E8 !important}
html[data-theme="oscuro"] .pm-col{background:#1E222B !important}
html[data-theme="oscuro"] .pm-detail{background:#1E222B !important}
html[data-theme="oscuro"] .pm-kpi{background:#1E222B !important}
html[data-theme="oscuro"] .pm-kpi .v{color:#C9B6E8 !important}
html[data-theme="oscuro"] .pm-legend{background:#1E222B !important}
html[data-theme="oscuro"] .pm-lrow:hover{background:#1E222B !important}
html[data-theme="oscuro"] .pm-mini{background:#1E222B !important}
html[data-theme="oscuro"] .pm-modal{background:#1E222B !important}
html[data-theme="oscuro"] .pm-n-proj{color:#C9B6E8 !important}
html[data-theme="oscuro"] .pm-n-sub{color:#C9B6E8 !important}
html[data-theme="oscuro"] .pm-node.pm-drop{background:#1E222B !important}
html[data-theme="oscuro"] .pm-node.selected{background:#1E222B !important}
html[data-theme="oscuro"] .pm-node:hover{background:#1E222B !important}
html[data-theme="oscuro"] .pm-stepdot{background:#1E222B !important}
html[data-theme="oscuro"] .pm-stepline{background:#1E222B !important}
html[data-theme="oscuro"] .pm-tree{background:#1E222B !important}
html[data-theme="oscuro"] .pmbar{background:#1E222B !important}
html[data-theme="oscuro"] .rl-legend .sw.rl-ok{background:#14261B !important}
html[data-theme="oscuro"] .rl-legend .sw.rl-over{background:#2A1616 !important}
html[data-theme="oscuro"] .rl-legend .sw.rl-warn{background:#2A2113 !important}
html[data-theme="oscuro"] .rl-ok{background:#14261B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .rl-over{background:#2A1616 !important;color:#F87171 !important}
html[data-theme="oscuro"] .rl-tbl .rl-name{background:#1E222B !important}
html[data-theme="oscuro"] .rl-tbl th{background:#1E222B !important}
html[data-theme="oscuro"] .rl-tbl th.rl-name{background:#1E222B !important}
html[data-theme="oscuro"] .rl-warn{background:#2A2113 !important}
html[data-theme="oscuro"] .tipo-block{background:#1E222B !important}
html[data-theme="oscuro"] .tipo-children{background:#1E222B !important}
html[data-theme="oscuro"] .tipo-count{background:#1E222B !important}
html[data-theme="oscuro"] .tipo-name{color:#7CB9F0 !important}
html[data-theme="oscuro"] .tipo-row{background:#1E222B !important}
html[data-theme="oscuro"] .vui-btn.ghost{background:#1E222B !important}
html[data-theme="oscuro"] .vui-btn.ghost:hover{background:#1E222B !important}
html[data-theme="oscuro"] .vui-ic.danger{background:#2A1616 !important;color:#F87171 !important}
html[data-theme="oscuro"] .vui-ic.info{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] .vui-ic.ok{background:#1E222B !important;color:#4ADE80 !important}
html[data-theme="oscuro"] .vui-ic.q{background:#1E222B !important;color:#C9B6E8 !important}
html[data-theme="oscuro"] .vui-ic.warn{background:#2A2113 !important}

/* ===== Oscuro · pase visual 16-jul (zonas ilegibles reportadas) ===== */
/* Avisos (notice) */
html[data-theme="oscuro"] .notice{background:#2A2113 !important;color:#FBBF24 !important;border-color:#4A3A1A !important}
html[data-theme="oscuro"] .notice.info{background:#152232 !important;color:#9DC3E6 !important;border-color:#2A3B52 !important}
html[data-theme="oscuro"] .notice.ok{background:#14261B !important;color:#7BD88F !important;border-color:#2C4A34 !important}
/* KPI grandes de Mi día (número navy sobre fondo oscuro) */
html[data-theme="oscuro"] .kpi .n{color:var(--text) !important}
html[data-theme="oscuro"] .kpi .n.fact{color:#4ADE80 !important}
html[data-theme="oscuro"] .kpi .n.nofact{color:#FBBF24 !important}
/* Gantt: barras claras -> más oscuras para que el texto blanco se lea */
html[data-theme="oscuro"] .gantt_task_line.pm-g-planned{background:#39597A !important;border-color:#2E4A64 !important}
html[data-theme="oscuro"] .gantt_task_line.pm-g-closed{background:#3E5A34 !important;border-color:#334A2A !important}
html[data-theme="oscuro"] .gantt_task_line.pm-g-canceled{background:#4A3E68 !important;border-color:#3A3052 !important}
/* Tablas dashboard "por persona/cliente", tarjetas de estado y fila de Privacidad: fondos claros inline -> oscuros; texto de color -> brillante */
html[data-theme="oscuro"] [style*="background:#E1F5EE" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#FCEBEB" i]{background-color:#2A1616 !important}
html[data-theme="oscuro"] [style*="background:#FAEEDA" i]{background-color:#2A2113 !important}
html[data-theme="oscuro"] [style*="background:#EEEDFE" i]{background-color:#241A33 !important}
html[data-theme="oscuro"] [style*="background:#F6EFFD" i]{background-color:#1E222B !important}
html[data-theme="oscuro"] [style*="color:#0F6E56" i]{color:#4ADE80 !important}
html[data-theme="oscuro"] [style*="color:#A32D2D" i]{color:#F87171 !important}
html[data-theme="oscuro"] [style*="color:#854F0B" i]{color:#FBBF24 !important}
html[data-theme="oscuro"] [style*="color:#7F77DD" i]{color:#B9A8F0 !important}
html[data-theme="oscuro"] [style*="color:#6B7280" i]{color:#AEB6C4 !important}


/* ===== Fix modo oscuro 24-jul (post-auditoría QA) ===== */
html[data-theme="oscuro"] optgroup { background:var(--card); color:var(--muted); }
html[data-theme="oscuro"] select option { background:var(--card); color:var(--text); }
html[data-theme="oscuro"] [style*="color:#1e4f9a" i]{ color:#7FB0F0 !important; }
html[data-theme="oscuro"] [style*="color:#b42318" i]{ color:#F87171 !important; }
html[data-theme="oscuro"] [style*="color:#6c21aa" i]{ color:var(--brand) !important; }
html[data-theme="oscuro"] [style*="color:#8427e2" i]{ color:var(--brand) !important; }
html[data-theme="oscuro"] [style*="color:#2e75b6" i]{ color:#7FB0F0 !important; }
html[data-theme="oscuro"] [style*="color:#127a3e" i]{ color:#5FD08A !important; }

/* ===== Fix chips modo oscuro 24-jul (fondos que faltaban) ===== */
html[data-theme="oscuro"] [style*="background:#def7ec" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color:#def7ec" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background: #def7ec" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background-color: #def7ec" i]{background-color:#14261B !important}
html[data-theme="oscuro"] [style*="background:#f1f1f1" i]{background-color:#22262E !important}
html[data-theme="oscuro"] [style*="background-color:#f1f1f1" i]{background-color:#22262E !important}
html[data-theme="oscuro"] [style*="background: #f1f1f1" i]{background-color:#22262E !important}
html[data-theme="oscuro"] [style*="background-color: #f1f1f1" i]{background-color:#22262E !important}
html[data-theme="oscuro"] [style*="background:#e3ecfb" i]{background-color:#16223A !important}
html[data-theme="oscuro"] [style*="background-color:#e3ecfb" i]{background-color:#16223A !important}
html[data-theme="oscuro"] [style*="background: #e3ecfb" i]{background-color:#16223A !important}
html[data-theme="oscuro"] [style*="background-color: #e3ecfb" i]{background-color:#16223A !important}
html[data-theme="oscuro"] [style*="background:#fef0ee" i]{background-color:#331714 !important}
html[data-theme="oscuro"] [style*="background-color:#fef0ee" i]{background-color:#331714 !important}
html[data-theme="oscuro"] [style*="background: #fef0ee" i]{background-color:#331714 !important}
html[data-theme="oscuro"] [style*="background-color: #fef0ee" i]{background-color:#331714 !important}
html[data-theme="oscuro"] [style*="background:#f1efe8" i]{background-color:#2A2822 !important}
html[data-theme="oscuro"] [style*="background-color:#f1efe8" i]{background-color:#2A2822 !important}
html[data-theme="oscuro"] [style*="background: #f1efe8" i]{background-color:#2A2822 !important}
html[data-theme="oscuro"] [style*="background-color: #f1efe8" i]{background-color:#2A2822 !important}

/* color-scheme: controles nativos (date picker, spinners, scrollbars) en oscuro */
html[data-theme="oscuro"]{ color-scheme: dark; }

/* === Veyron · Inter en TODA la interfaz (chrome) === */
html, body, .sb, .sb nav button, .top, #viewTitle{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
}
/* === Veyron · tamaño de fuente uniforme: Inter 12px en el cuerpo de TODAS las vistas, EXCEPTO Mi día y Proyectos === */
#viewBody[data-view]:not([data-view="dia"]),
#viewBody[data-view]:not([data-view="dia"]) *:not(.ti):not(.ti *){
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
  font-size:12px !important;
}
#viewBody .ti,#viewBody .ti::before{font-family:"tabler-icons" !important}
/* 11px donde aplique: encabezados de sección y etiquetas en mayúsculas */
#viewBody[data-view]:not([data-view="dia"]) .card h3,
#viewBody[data-view]:not([data-view="dia"]) [style*="text-transform:uppercase" i]{
  font-size:11px !important;
}

/* ============================================================
   QA · Tema OSCURO — overrides de clases rediseñadas (CSS por clase
   que la capa [style*] inline no alcanzaba). Scoped a oscuro. 2026
   ============================================================ */
/* grid_veyron: popover de columnas + fila de filtros + hovers */
html[data-theme="oscuro"] .vypop{background:var(--card) !important;border-color:var(--line) !important;color:var(--text) !important}
html[data-theme="oscuro"] .vypop *{color:var(--text)}
html[data-theme="oscuro"] .vypop input[type="text"],html[data-theme="oscuro"] .vypop input[type="number"]{background:#14171D !important;border-color:var(--line) !important}
html[data-theme="oscuro"] .vybtn:hover,html[data-theme="oscuro"] .vyrow:hover,html[data-theme="oscuro"] .vymenu:hover{background:#20242D !important}
html[data-theme="oscuro"] #viewBody table.tbl thead tr.vyfilter th{background:#1E222B !important}
/* PM · chips, tira de horas, árbol/detalle, pestañas folder */
html[data-theme="oscuro"] .pm-mchip{background:#20242D;border-color:var(--line)}
html[data-theme="oscuro"] .pm-hstrip,html[data-theme="oscuro"] .pm-tree,html[data-theme="oscuro"] .pm-detail{background:var(--card);border-color:var(--line)}
html[data-theme="oscuro"] .pm-ptabs button{background:#20242D;border-color:var(--line);color:var(--muted)}
html[data-theme="oscuro"] .pm-ptabs button.active{background:var(--brand);color:#fff;border-color:var(--brand)}
html[data-theme="oscuro"] .pm-lk .l,html[data-theme="oscuro"] .pm-lk .v{color:var(--text) !important}
html[data-theme="oscuro"] .pm-lk .s{color:var(--muted) !important}
/* PM · Gantt filas de grupo + escala (opción 3) en oscuro */
html[data-theme="oscuro"] #viewBody #pmGantt .gantt_row.pm-grow,html[data-theme="oscuro"] #viewBody #pmGantt .gantt_row.pm-grow .gantt_cell{background:#1E2A3A !important;color:#BCD6F5 !important}
html[data-theme="oscuro"] #viewBody #pmGantt .gantt_task_scale,html[data-theme="oscuro"] #viewBody #pmGantt .gantt_scale_line{background:#14171D !important}
html[data-theme="oscuro"] #viewBody #pmGantt .gantt_scale_cell{color:var(--muted) !important;border-right-color:var(--line) !important}
html[data-theme="oscuro"] #viewBody #pmGantt .gantt_task_scale .gantt_scale_line:first-child .gantt_scale_cell{background:#1E2430 !important;color:#BCD6F5 !important}
/* nav_reorg · dominios (pills) + tarjetas de catálogo + grupo de nav */
html[data-theme="oscuro"] .adm-tabbtn{background:#20242D;border-color:var(--line);color:var(--muted)}
html[data-theme="oscuro"] .adm-tabbtn:hover{background:#262b35;color:var(--text);border-color:var(--line)}
html[data-theme="oscuro"] .adm-tabbtn.active{background:var(--brand);color:#fff;border-color:var(--brand)}
html[data-theme="oscuro"] .adm-grpopts button{background:#20242D !important;border-color:var(--line) !important;color:var(--text) !important}
html[data-theme="oscuro"] .adm-grpopts button:hover{background:#262b35 !important;border-color:var(--brand) !important}
html[data-theme="oscuro"] .adm-panels{background:var(--card);border-color:var(--line)}
html[data-theme="oscuro"] .nav-group{background:#241A33 !important;color:#D9C4F5 !important}
/* Licencias · matriz */
html[data-theme="oscuro"] .vylic-mx tbody tr:nth-child(odd) td{background:var(--card)}
html[data-theme="oscuro"] .vylic-mx tbody tr:nth-child(even) td{background:#1E222B}
html[data-theme="oscuro"] .vylic-mx tbody tr:hover td{background:#20242D}
html[data-theme="oscuro"] .vylic-mx th.k,html[data-theme="oscuro"] .vylic-mx td.k{background:var(--card)}
html[data-theme="oscuro"] .vylic-mx td.tot{background:#1E222B;color:#B072F0}
html[data-theme="oscuro"] .vylic-tab{color:var(--muted)}
/* Activos / Cómputo · zebra + thead propio claro */
html[data-theme="oscuro"] .vy-activos .tbl tbody tr:nth-child(even) td{background:#181B21}
html[data-theme="oscuro"] .vy-activos .tbl tbody tr:hover td{background:#20242D}
/* dash_pm_ui · tarjetas KPI del tablero */
html[data-theme="oscuro"] .dcard{background:var(--card) !important;border-color:var(--line) !important;color:var(--text)}
/* Remap de textos oscuros (dark-shade) usados en tints inline → legibles en oscuro */
html[data-theme="oscuro"] [style*="color:#0C447C" i]{color:#8CBCF0 !important}
html[data-theme="oscuro"] [style*="color:#3C3489" i]{color:#C3B6F2 !important}
html[data-theme="oscuro"] [style*="color:#0F6E56" i]{color:#69C9A6 !important}
html[data-theme="oscuro"] [style*="color:#633806" i],html[data-theme="oscuro"] [style*="color:#854F0B" i]{color:#E3B26B !important}
html[data-theme="oscuro"] [style*="color:#A32D2D" i]{color:#F0A0A0 !important}
html[data-theme="oscuro"] [style*="color:#185FA5" i]{color:#8CBCF0 !important}
