/* ═══ MODO CLARO · 2026-10-02 ═════════════════════════════════════════════
   Todo este archivo vive bajo html[data-theme="light"]: sin ese atributo
   (el PREDETERMINADO, el oscuro) ninguna regla de acá aplica, y el oscuro
   queda exactamente como estaba.

   Cómo se hizo: main.css tiene ~450 colores fijos además de las variables.
   Cada regla de main.css con un gris fijo tiene acá su espejo, generado con
   un mapeo por luminancia y por propiedad (fondo, texto, borde): los fondos
   oscuros pasan a #f5f5f3 / #ffffff / #f0efec, los bordes a #e2e1dd /
   #d2d1cc, el texto a #1c1b19 / #403e3a / #6b6964. Los textos de COLOR
   (severidades, estados) se oscurecen conservando el tono hasta >= 4.5:1
   sobre blanco. El texto blanco sobre un fondo de color no se toca.
   Los style= en línea se alcanzan por su texto (con !important, que es lo
   único que le gana a un style=). Al final, los ajustes puntuales.

   ⚠ Si se agrega un color fijo a main.css, el claro no lo ve hasta que se
   agregue acá. Una regla nueva que use las variables sí lo ve sola.
   GRISES DEL 2026-10-11 (Nico, panel de alertas fase 1, informe §4.2): texto
   #1c1b19 (17,2:1 sobre blanco), secundario #403e3a (10,7:1) y etiqueta #6b6964
   (5,5:1). El gris de etiqueta anterior, #86847f, daba 3,6:1: no llegaba a AA.
   ═════════════════════════════════════════════════════════════════════════ */

html[data-theme="light"] {
  color-scheme: light;
  /* Crítica, en claro (2026-10-17): texto/fondo 6,96:1; texto/blanco 8,14:1. */
  --sev-critica-fondo: #f3eafb; --sev-critica-texto: #6d28b0; --sev-critica-borde: #d9c2f0;
  --dark: #f5f5f3;
  --dark2: #ffffff;
  --dark3: #f0efec;
  --dark4: #e2e1dd;
  --dark1: #ffffff;
  --gray: #6b6964;
  --light: #1c1b19;
  --txt2: #403e3a;
  --orange: #d9661a;
  --orange-light: #c4570f;
  --green: #1e8549;
  --red: #ce4435;
  --yellow: #8c7209;
  --blue: #2a7aaf;
  --gate-monitored: #577895;
  --gate-review: #8d7100;
  --gate-blocked: #c81e3c;
  --accion-correctiva-texto: #344050; --accion-correctiva-fondo: #eef1f4; --accion-correctiva-borde: #b9c1cb;
}

/* ── Espejo de main.css ── */
html[data-theme="light"] body { color: #1c1b19; }
html[data-theme="light"] #login-screen { background: linear-gradient(135deg, #f5f5f3 0%, #f5f5f3 50%, #f7f0e9 100%); }
html[data-theme="light"] .login-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] #login-screen.restoring #session-restore { border: 1px solid #e2e1dd; }
html[data-theme="light"] .login-brand .logo { color: #1c1b19; }
html[data-theme="light"] .login-title { color: #1c1b19; }
html[data-theme="light"] .field-input { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .login-ok { color: var(--green, #278453); }
html[data-theme="light"] nav { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .nav-brand { color: #1c1b19; }
html[data-theme="light"] .tema-boton { border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .tema-boton:hover { color: #1c1b19; background: #f0efec; }
html[data-theme="light"] .nav-client-selector { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .user-pill { border: 1px solid #e2e1dd; }
html[data-theme="light"] .user-name { color: #1c1b19; }
html[data-theme="light"] .user-dropdown { border: 1px solid #e2e1dd; }
html[data-theme="light"] .dropdown-item { color: #403e3a; }
html[data-theme="light"] .dropdown-item:hover { color: #1c1b19; }
html[data-theme="light"] .dropdown-divider { border-top: 1px solid #e2e1dd; }
html[data-theme="light"] aside { border-right: 1px solid #e2e1dd; }
html[data-theme="light"] .sidebar-item { color: #403e3a; }
html[data-theme="light"] .sidebar-item:hover { color: #1c1b19; }
html[data-theme="light"] .rules-tab:hover { color: #1c1b19; }
html[data-theme="light"] .rules-tab.activa { color: #1c1b19; }
html[data-theme="light"] .rules-tab.activa .rules-tab-estado { color: #6b6964; }
html[data-theme="light"] .tab-count { background: rgba(0,0,0,.12); }
html[data-theme="light"] .screening-module-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .smc-title { color: #1c1b19; }
html[data-theme="light"] .smc-weight { background: rgba(0,0,0,.06); }
html[data-theme="light"] .smc-score-bar { background: #f0efec; }
html[data-theme="light"] .smc-hit-name { color: #1c1b19; }
html[data-theme="light"] .screening-result-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .screening-tab-btn { border: 1px solid #e2e1dd; }
html[data-theme="light"] .role-banner.admin { color: #b45d18; }
html[data-theme="light"] .page-title { color: #1c1b19; }
html[data-theme="light"] .card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .card-value { color: #1c1b19; }
html[data-theme="light"] .table-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .table-header { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .table-title { color: #1c1b19; }
html[data-theme="light"] th { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] td { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .risk-bar-bg { background: #e2e1dd; }
html[data-theme="light"] .risk-high .risk-num { color: #af601a; }
html[data-theme="light"] .btn-secondary { color: #1c1b19; border: 1px solid #d2d1cc; }
html[data-theme="light"] .btn-secondary:hover { background: #d2d1cc; }
html[data-theme="light"] .input-field { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .analyzer-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .result-header { border: 1px solid #e2e1dd; }
html[data-theme="light"] .result-section { border: 1px solid #e2e1dd; }
html[data-theme="light"] .info-row { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .info-val { color: #1c1b19; }
html[data-theme="light"] .flag-item { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .ai-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .ai-content { color: #403e3a; }
html[data-theme="light"] .md strong { color: #1c1b19; }
html[data-theme="light"] .md code { background: rgba(0,0,0,.07); border: 1px solid rgba(0,0,0,.12); }
html[data-theme="light"] .md hr { border-top: 1px solid #e2e1dd; }
html[data-theme="light"] .app-version { color: #6b6964; }
html[data-theme="light"] .screening-form { border: 1px solid #e2e1dd; }
html[data-theme="light"] .screening-form textarea { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .list-toggle { border: 1px solid #d2d1cc; }
html[data-theme="light"] .alert-item { border: 1px solid #e2e1dd; }
html[data-theme="light"] .alert-body h4 { color: #1c1b19; }
html[data-theme="light"] .report-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .client-row-expanded { border-top: 1px solid #e2e1dd; }
html[data-theme="light"] .wallet-chip { border: 1px solid #d2d1cc; }
html[data-theme="light"] .wallet-chip .wbal { color: #1c1b19; }
html[data-theme="light"] .user-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .loader { border: 2px solid #d2d1cc; }
html[data-theme="light"] .cases-group-header td { border-top: 2px solid #e2e1dd; border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] #case-panel { border-left: 1px solid #e2e1dd; }
html[data-theme="light"] .panel-header { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .panel-close { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .panel-section { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .timeline::before { background: #e2e1dd; }
html[data-theme="light"] .timeline-text { color: #403e3a; }
html[data-theme="light"] .status-step { border: 1px solid #d2d1cc; }
html[data-theme="light"] .status-step.done { border-color: #e2e1dd; color: #6b6964; }
html[data-theme="light"] .status-arrow { color: #6b6964; }
html[data-theme="light"] .note-input-area { border: 1px solid #d2d1cc; }
html[data-theme="light"] .note-input-area textarea { color: #1c1b19; }
html[data-theme="light"] .ros-modal-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .ros-header { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .ncm-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .nec-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .ncm-header { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .ncm-title { color: #1c1b19; }
html[data-theme="light"] .ncm-input, html[data-theme="light"] .ncm-select, html[data-theme="light"] .ncm-textarea { border: 1px solid #e2e1dd; color: #1c1b19; }
html[data-theme="light"] .ncm-section { border-top: 1px solid #e2e1dd; }
html[data-theme="light"] .ncm-toggle button { border: 1px solid #e2e1dd; }
html[data-theme="light"] .ncm-footer { border-top: 1px solid #e2e1dd; }
html[data-theme="light"] .ncm-error { color: #ce4435; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #d2d1cc; }
html[data-theme="light"] .client-summary-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .client-summary-card .cs-name { color: #1c1b19; }
html[data-theme="light"] .client-summary-card .cs-stat-val { color: #1c1b19; }
html[data-theme="light"] #end-client-panel { border-left: 1px solid #e2e1dd; }
html[data-theme="light"] .kyc-ok { color: #1e8549; }
html[data-theme="light"] .kyc-pend { color: #8c7209; }
html[data-theme="light"] .kyc-obs { color: #ce4435; }
html[data-theme="light"] .profile-tab:hover { color: #1c1b19; }
html[data-theme="light"] .tx-estado-ok { color: #1e8549; }
html[data-theme="light"] .tx-estado-alerta { color: #ce4435; }
html[data-theme="light"] .tx-estado-rev { color: #8c7209; }
html[data-theme="light"] .profile-header-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .profile-stat-val { color: #1c1b19; }
html[data-theme="light"] .kyc-attach-btn { border: 1px dashed #d2d1cc; }
html[data-theme="light"] .kyc-file-badge { color: #1e8549; }
html[data-theme="light"] .kyc-file-remove { color: #ce4435; }
html[data-theme="light"] .kyc-file-link { color: #1e8549; }
html[data-theme="light"] .kyc-no-file { color: #6b6964; }
html[data-theme="light"] .hit-modal-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .hit-tipo-badge.sanciones { color: #ce4435; }
html[data-theme="light"] .hit-tipo-badge.pep { color: #af601a; }
html[data-theme="light"] .hit-tipo-badge.adverse_media { color: #8c7209; }
html[data-theme="light"] .hit-tipo-badge.otro { color: #2a7aaf; }
html[data-theme="light"] .hit-status-pill.pendiente { color: #ce4435; }
html[data-theme="light"] .hit-status-pill.falso_positivo { color: #1e8549; }
html[data-theme="light"] .hit-status-pill.confirmado { color: #ce4435; }
html[data-theme="light"] .hit-fuente-cb label { color: #403e3a; }
html[data-theme="light"] .hit-fuente-cb label:hover { border-color: #d2d1cc; }
html[data-theme="light"] .disp-toggle button { border: 1px solid #e2e1dd; }
html[data-theme="light"] .rule-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .rule-card:hover { border-color: #d2d1cc; }
html[data-theme="light"] .rule-card-title { color: #1c1b19; }
html[data-theme="light"] .rule-formula { color: #403e3a; }
html[data-theme="light"] .rule-param-input { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .rule-param-unit { color: #6b6964; }
html[data-theme="light"] .rule-reg { color: #6b6964; border-top: 1px solid #e2e1dd; }
html[data-theme="light"] .rule-perf { border-top: 1px solid #e2e1dd; }
html[data-theme="light"] .rule-perf-val { color: #1c1b19; }
html[data-theme="light"] .rule-save-btn { border: 1px solid #d2d1cc; }
html[data-theme="light"] .alert-kpi { border: 1px solid #e2e1dd; }
html[data-theme="light"] .alert-kpi:hover { border-color: #d2d1cc; background: #ffffff; }
html[data-theme="light"] .alert-kpi-val { color: #1c1b19; }
html[data-theme="light"] .kpi-filter-hint { color: #6b6964; }
html[data-theme="light"] .alert-item-v2 { border: 1px solid #e2e1dd; }
html[data-theme="light"] .alert-item-v2:hover { border-color: #d2d1cc; }
html[data-theme="light"] .alert-v2-title { color: #1c1b19; }
html[data-theme="light"] .wf-fp { background: rgba(0,0,0,0.08); color: #6b6964; border: 1px solid #d2d1cc; }
html[data-theme="light"] .wf-fp:hover { background: rgba(0,0,0,0.14); color: #1c1b19; border-color: #d2d1cc; }
html[data-theme="light"] .arb-fp { background: rgba(0,0,0,0.08); color: #6b6964; border: 1px solid #d2d1cc; }
html[data-theme="light"] .arb-link:hover { color: #41799e; }
html[data-theme="light"] .at-thead th { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .at-row { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .at-row:hover { background: #f5f5f3; }
html[data-theme="light"] .at-row td:last-child { color: #6b6964; }
html[data-theme="light"] .at-row:hover td:last-child { color: #6b6964; }
html[data-theme="light"] .at-id { color: #6b6964; background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .at-title { color: #1c1b19; }
html[data-theme="light"] .aq-tabs { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .aq-tab { border: 1px solid #e2e1dd; color: #6b6964; }
html[data-theme="light"] .aq-tab:hover { border-color: #d2d1cc; color: #403e3a; }
html[data-theme="light"] .aq-tab .aq-badge { background: #e2e1dd; color: #6b6964; }
html[data-theme="light"] .aq-queue-badge { color: #2a7aaf; }
html[data-theme="light"] .aq-claim-btn { color: #2a7aaf; }
html[data-theme="light"] .aq-release-btn { color: #6b6964; }
html[data-theme="light"] .aq-release-btn:hover { background: #f5f5f3; color: #6b6964; }
html[data-theme="light"] .adp-why-text { color: #403e3a; }
html[data-theme="light"] .at-client { color: #403e3a; }
html[data-theme="light"] .at-rule { color: #6b6964; }
html[data-theme="light"] .at-amount { color: #403e3a; }
html[data-theme="light"] .at-estado-pend { color: #6b6964; background: #ffffff; border: 1px solid #e2e1dd; }
html[data-theme="light"] .at-estado-fp { background: rgba(0,0,0,0.08); color: #6b6964; border: 1px solid #d2d1cc; }
html[data-theme="light"] .at-entity-group-header { border-top: 2px solid #e2e1dd; border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .at-entity-group-header:hover { background: #f0efec; }
html[data-theme="light"] .at-egh-name { color: #1c1b19; }
html[data-theme="light"] .at-egh-high { color: #ce4435; }
html[data-theme="light"] .at-egh-amount { color: #a3690c; }
html[data-theme="light"] .at-egh-dl { color: #6b6964; }
html[data-theme="light"] .at-egh-chevron { color: #6b6964; }
html[data-theme="light"] .alert-groupby-btn { border: 1px solid #e2e1dd; color: #6b6964; }
html[data-theme="light"] .alert-groupby-btn:hover { border-color: #d2d1cc; color: #403e3a; }
html[data-theme="light"] .at-split { border: 1px solid #e2e1dd; }
html[data-theme="light"] .at-entity-sidebar { border-right: 1px solid #e2e1dd; }
html[data-theme="light"] .at-entity-sidebar-header { color: #6b6964; border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .at-esi { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .at-esi:hover { background: rgba(0,0,0,.03); }
html[data-theme="light"] .at-esi-name { color: #1c1b19; }
html[data-theme="light"] .at-esi.active .at-esi-name { color: #1c1b19; }
html[data-theme="light"] .at-esi-count { color: #6b6964; background: #ffffff; }
html[data-theme="light"] .at-esi-amount { color: #6b6964; }
html[data-theme="light"] .at-esi-sinval { color: var(--amber,#9f691b); }
html[data-theme="light"] .at-cadena { color: #6b6964; }
html[data-theme="light"] .at-cadena-falta { color: var(--amber,#9f691b); }
html[data-theme="light"] .adp-cadena { color: #403e3a; }
html[data-theme="light"] .adp-cadena-falta { color: var(--amber,#9f691b); }
html[data-theme="light"] .adp-notas-cuenta { background: #e2e1dd; color: #1c1b19; }
html[data-theme="light"] .at-notas { color: #6b6964; }
html[data-theme="light"] .at-notas.vacia { color: var(--amber,#9f691b); }
html[data-theme="light"] .kyc-search-input { background: #f5f5f3; border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .kyc-search-input::placeholder { color: #6b6964; }
html[data-theme="light"] .kyc-search-input:focus { border-color: #d2d1cc; }
html[data-theme="light"] .kyc-filter-select { background: #f5f5f3; border: 1px solid #e2e1dd; color: #6b6964; }
html[data-theme="light"] .kyc-filter-select:focus, html[data-theme="light"] .kyc-filter-select:hover { border-color: #d2d1cc; color: #403e3a; }
html[data-theme="light"] .kyc-row-name { color: #1c1b19; }
html[data-theme="light"] .kyc-row-sub { color: #6b6964; }
html[data-theme="light"] .kyc-result-count { color: #6b6964; }
html[data-theme="light"] .acc-sin-sujeto-texto { color: #403e3a; }
html[data-theme="light"] .acc-encabezado { color: #403e3a; }
html[data-theme="light"] .acc-fila { border-left: 3px solid #e2e1dd; }
html[data-theme="light"] .acc-que { color: #1c1b19; }
html[data-theme="light"] .kyc-verificaron { color: #6b6964; }
html[data-theme="light"] .bulk-res-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .bulk-res-title { color: #1c1b19; }
html[data-theme="light"] .bulk-res-lista { border: 1px solid #e2e1dd; }
html[data-theme="light"] .bulk-res-fila { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .bulk-res-clave { color: #1c1b19; }
html[data-theme="light"] .ddc-badge.normal { color: #537a90; }
html[data-theme="light"] .kyc-doc-item { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .kyc-doc-item .doc-label { color: #403e3a; }
html[data-theme="light"] .kyc-doc-item.ok    .doc-label { color: #403e3a; }
html[data-theme="light"] .kyc-doc-item.pending .doc-label { color: #1c1b19; }
html[data-theme="light"] .kyc-progress-bar { background: #f0efec; }
html[data-theme="light"] .kyc-section-card { border: 1px solid #e2e1dd; }
html[data-theme="light"] .kyc-section-title { color: #b45d18; }
html[data-theme="light"] .kyc-field-row { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .kyc-field-row .field-value { color: #1c1b19; }
html[data-theme="light"] .kyc-mini-chip { background: #f0efec; border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .cl-motivo-largo > summary { color: #403e3a; }
html[data-theme="light"] .pedir-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .pedir-titulo { color: #1c1b19; }
html[data-theme="light"] .pedir-texto { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .pedir-opcion { border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .pedir-opcion:hover { color: #1c1b19; }
html[data-theme="light"] .pedir-palabra { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .subdispatch-box { border: 1px solid #e2e1dd; }
html[data-theme="light"] .subdispatch-title { color: #1c1b19; }
html[data-theme="light"] .subdispatch-option { border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .subdispatch-option:hover { color: #1c1b19; }
html[data-theme="light"] .cfg-aviso { border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .cfg-aviso b { color: #1c1b19; }
html[data-theme="light"] .screening-frontera { border: 1px solid #d2d1cc; color: #403e3a; }
html[data-theme="light"] .screening-frontera strong { color: #1c1b19; }
html[data-theme="light"] .subdisp-proc { border: 1px solid #d2d1cc; }
html[data-theme="light"] .subdispatch-note { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .cl-wrap { border: 1px solid #e2e1dd; }
html[data-theme="light"] .cl-item { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .cl-que { color: #1c1b19; }
html[data-theme="light"] .cl-item.ok .cl-que { color: #6b6964; }
html[data-theme="light"] .cl-btn { border: 1px solid #d2d1cc; color: #403e3a; }
html[data-theme="light"] .cl-btn:hover { color: #1c1b19; }
html[data-theme="light"] .cl-salteado .cl-que { color: #8d711b; }
html[data-theme="light"] .cl-detalle { border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .cl-detalle b { color: #1c1b19; }
html[data-theme="light"] .cl-excepcion { color: #8d711b; }
html[data-theme="light"] #alert-detail-panel { border-left: 1px solid #e2e1dd; }
html[data-theme="light"] .adp-header { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .adp-title { color: #1c1b19; }
html[data-theme="light"] .adp-icon-strip { border-left: 1px solid #e2e1dd; }
html[data-theme="light"] .adp-icon-btn:hover { color: #1c1b19; }
html[data-theme="light"] .adp-icon-btn .adp-tooltip { background: #f5f5f3; border: 1px solid #e2e1dd; color: #1c1b19; }
html[data-theme="light"] .adp-field-row { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .adp-field-value { color: #1c1b19; }
html[data-theme="light"] .wf-row-label { color: #403e3a; }
html[data-theme="light"] .wf-bar-track { background: #ffffff; }
html[data-theme="light"] .wf-row-val.risk { color: #ce4435; }
html[data-theme="light"] .wf-row-val.mitig { color: #1e864a; }
html[data-theme="light"] .wf-row-val.neutral { color: #a3690c; }
html[data-theme="light"] .wf-divider { border-top: 1px solid #e2e1dd; }
html[data-theme="light"] .wf-total-row { background: #ffffff; }
html[data-theme="light"] .wf-total-label { color: #1c1b19; }
html[data-theme="light"] .wf-total-track { background: #f5f5f3; }
html[data-theme="light"] .wf-score-title { color: #1c1b19; }
html[data-theme="light"] .audit-timeline::before { background: #ffffff; }
html[data-theme="light"] .audit-event-desc { color: #403e3a; }
html[data-theme="light"] .narrative-editor { border: 1px solid #d2d1cc; color: #1c1b19; }
html[data-theme="light"] .tx-trigger-table th { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .tx-trigger-table td { border-bottom: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .tx-trigger-table tr:hover td { background: rgba(0,0,0,.025); }
html[data-theme="light"] .tx-trigger-badge.match { color: #ce4435; }
html[data-theme="light"] .tx-trigger-badge.review { color: #8c7209; }
html[data-theme="light"] .tx-trigger-badge.ok { color: #1e8549; }
html[data-theme="light"] .tx-trigger-why { color: #ce4435; }
html[data-theme="light"] .tx-trigger-hash { color: #6b6964; background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .tx-trigger-summary { color: #403e3a; }
html[data-theme="light"] .adp-action-bar { border-top: 1px solid #e2e1dd; background: #f5f5f3; }
html[data-theme="light"] .adp-action-bar-label { color: #1c1b19; }
html[data-theme="light"] .adp-resolved-badge.fp { background: rgba(0,0,0,0.08); color: #6b6964; border: 1px solid #d2d1cc; }
html[data-theme="light"] .adp-resolved-badge.conf { color: #1e8549; }
html[data-theme="light"] .kpi-card { border: 1px solid rgba(0,0,0,.07); }
html[data-theme="light"] .kpi-card:hover { border-color: rgba(0,0,0,.16); background: #f0efec; }
html[data-theme="light"] .kpi-card::before { background: rgba(0,0,0,.12); }
html[data-theme="light"] .priority-dropdown { border-top: 1px solid rgba(0,0,0,.08); }
html[data-theme="light"] .priority-band { color: #403e3a; }
html[data-theme="light"] .priority-band:hover { background: rgba(0,0,0,.06); color: #1c1b19; }
html[data-theme="light"] .priority-band.priority-band-all { border-bottom: 1px dashed rgba(0,0,0,.12); }
html[data-theme="light"] .kpi-card .kpi-label { color: #403e3a; }
html[data-theme="light"] .kpi-card .kpi-number { color: #1c1b19; }
html[data-theme="light"] .kpi-card .kpi-delta { color: #6b6964; }
html[data-theme="light"] .alert-inbox { border: 1px solid rgba(0,0,0,.06); }
html[data-theme="light"] .alert-inbox-header { border-bottom: 1px solid rgba(0,0,0,.06); }
html[data-theme="light"] .alert-inbox-header .title { color: #403e3a; }
html[data-theme="light"] .alert-inbox-header .aux { color: #403e3a; }
html[data-theme="light"] .alert-row { border-bottom: 1px solid rgba(0,0,0,.05); }
html[data-theme="light"] .alert-row:hover { background: rgba(0,0,0,.04); }
html[data-theme="light"] .alert-row.low { border-left-color: #d2d1cc; }
html[data-theme="light"] .sev-badge.low { color: #403e3a; }
html[data-theme="light"] .meta-chip { color: #403e3a; background: rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.06); }
html[data-theme="light"] .meta-chip.rule { color: #403e3a; }
html[data-theme="light"] .meta-chip.deadline.info { color: #403e3a; border-color: rgba(0,0,0,.06); background: rgba(0,0,0,.04); }
html[data-theme="light"] .alert-title { color: #1c1b19; }
html[data-theme="light"] .alert-desc { color: #403e3a; }
html[data-theme="light"] .ai-analysis { color: #403e3a; }
html[data-theme="light"] .ai-rec { color: #403e3a; }
html[data-theme="light"] .alert-entity { color: #403e3a; }
html[data-theme="light"] .alert-entity strong { color: #403e3a; }
html[data-theme="light"] .btn-take.assign { background: rgba(0,0,0,0.08); color: #403e3a; border: 1px solid #d2d1cc; }
html[data-theme="light"] .btn-take.assign:hover { background: rgba(0,0,0,0.14); border-color: #d2d1cc; }
html[data-theme="light"] .btn-take.assigned-other { background: rgba(0,0,0,.04); color: #6b6964; border: 1px solid #e2e1dd; }
html[data-theme="light"] .action-meta { color: #6b6964; }
html[data-theme="light"] .alert-actions .btn-ghost { color: #6b6964; }
html[data-theme="light"] .alert-actions .btn-ghost:hover { color: #1c1b19; border-color: rgba(0,0,0,.12); }
html[data-theme="light"] .kpi-card-v2.orange-band .kpi-value { color: #af601a; }
html[data-theme="light"] .kpi-card-v2:hover { background: #f0efec; }
html[data-theme="light"] .kpi-card-v2 .kpi-label { color: #6b6964; }
html[data-theme="light"] .kpi-card-v2.gray .kpi-value { color: #403e3a; }
html[data-theme="light"] .kpi-card-v2 .kpi-sub { color: #403e3a; }
html[data-theme="light"] .alert-card:hover { background: #f0efec; }
html[data-theme="light"] .alert-card .risk-foot { color: #6b6964; }
html[data-theme="light"] .alert-card .alert-icon.fiat { background: #f0efec; color: #403e3a; }
html[data-theme="light"] .alert-card .alert-title { color: #1c1b19; }
html[data-theme="light"] .alert-card .alert-meta-line { color: #6b6964; }
html[data-theme="light"] .alert-card .meta-sep { color: #6b6964; }
html[data-theme="light"] .alert-card .type-badge { color: #836a96; }
html[data-theme="light"] .alert-card .rule-badge { color: #403e3a; background: #f0efec; border: 1px solid #e2e1dd; }
html[data-theme="light"] .alert-card .rule-badge--delMotor { color: #7a6d99; }
html[data-theme="light"] .alert-card .rule-badge--huerfana { color: #8b6f53; }
html[data-theme="light"] .alert-card .alert-id { color: #6b6964; }
html[data-theme="light"] .alert-card .alert-tag { background: #f0efec; color: #403e3a; border: 1px solid #e2e1dd; }
html[data-theme="light"] .alert-card .meta-label { color: #6b6964; }
html[data-theme="light"] .alert-card .meta-value { color: #403e3a; }
html[data-theme="light"] .alert-card .alert-amount { color: #1c1b19; }
html[data-theme="light"] .alert-card .due-chip.red { color: #ce4435; }
html[data-theme="light"] .alert-card .due-chip.yellow { color: #8c7209; }
html[data-theme="light"] .alert-card .due-chip.gray { background: #f0efec; color: #403e3a; border-color: #e2e1dd; }
html[data-theme="light"] .alert-card .alert-assignee.unassigned { background: #ffffff; color: #6b6964; border-color: #e2e1dd; }
html[data-theme="light"] .alert-card .btn-assign { background: #f0efec; color: #1c1b19; border: 1px solid #e2e1dd; }
html[data-theme="light"] .alert-card .btn-assign:hover { background: #e2e1dd; color: #1c1b19; }
html[data-theme="light"] .alert-pagination .page-count { color: #6b6964; }
html[data-theme="light"] .alert-pagination .page-btn { background: #ffffff; border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .alert-pagination .page-btn:hover:not(.active):not(:disabled) { background: #f0efec; color: #1c1b19; }
html[data-theme="light"] .alerts-incompletas { background: #f7efdd; border: 1px solid #dec9a0; }
html[data-theme="light"] .gs-context-btn { background: #f5f5f3; border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .gs-context-btn:hover { background: #ffffff; }
html[data-theme="light"] .gs-context-btn .gs-ctx-arrow { color: #6b6964; }
html[data-theme="light"] .global-search-input { background: #f5f5f3; border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .global-search-input::placeholder { color: #6b6964; }
html[data-theme="light"] .global-search-kbd { background: #f5f5f3; border: 1px solid #e2e1dd; color: #6b6964; }
html[data-theme="light"] .gs-context-dropdown { background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .gs-ctx-option { color: #403e3a; }
html[data-theme="light"] .gs-ctx-option:hover { background: #ffffff; }
html[data-theme="light"] .global-search-results { background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .gs-result { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .gs-result:hover { background: #ffffff; }
html[data-theme="light"] .gs-result-label { color: #1c1b19; }
html[data-theme="light"] .gs-result-sub { color: #6b6964; }
html[data-theme="light"] .gs-empty { color: #6b6964; }
html[data-theme="light"] #bulk-action-bar { background: #f5f5f3; }
html[data-theme="light"] #bulk-action-bar .bulk-btn { background: #f5f5f3; border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] #bulk-action-bar .bulk-btn:hover { background: #ffffff; }
html[data-theme="light"] #bulk-action-bar .bulk-clear { color: #6b6964; }
html[data-theme="light"] #bulk-action-bar .bulk-clear:hover { color: #403e3a; }
html[data-theme="light"] .inbox-select-all-wrap { color: #6b6964; }
html[data-theme="light"] .rb-template-group { color: #6b6964; }
html[data-theme="light"] .rb-template-option { border: 1px solid #e2e1dd; }
html[data-theme="light"] .rb-template-option:hover { border-color: #d2d1cc; background: #f5f5f3; }
html[data-theme="light"] .rb-template-name { color: #1c1b19; }
html[data-theme="light"] .rb-template-desc { color: #6b6964; }
html[data-theme="light"] .rb-madlib { color: #403e3a; background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .rb-madlib input[type="number"] { background: #f5f5f3; }
html[data-theme="light"] .rb-config-label { color: #6b6964; }
html[data-theme="light"] .rb-config-select { background: #f5f5f3; border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .txn-search-input { border: 1px solid #e2e1dd; color: #1c1b19; }
html[data-theme="light"] .txn-filters select { border: 1px solid #e2e1dd; color: #1c1b19; }
html[data-theme="light"] .txn-row { border: 1px solid #e2e1dd; }
html[data-theme="light"] .txn-kind { color: #6b6964; }
html[data-theme="light"] .txn-client { color: #403e3a; }
html[data-theme="light"] .txn-amount { color: #1c1b19; }
html[data-theme="light"] .txn-subject { color: #403e3a; }
html[data-theme="light"] .txn-time { color: #6b6964; }
html[data-theme="light"] .txn-status.pending { color: #6b6964; }
html[data-theme="light"] .txn-stat-chip { border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .txn-stat-chip.muted { color: #6b6964; }
html[data-theme="light"] .txn-detail { border: 1px solid #e2e1dd; }
html[data-theme="light"] .txn-detail-section h4 { color: #6b6964; }
html[data-theme="light"] .txn-detail-row { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .txn-detail-row span:first-child { color: #6b6964; }
html[data-theme="light"] .txn-detail-row span:last-child, html[data-theme="light"] .txn-detail-row code { color: #1c1b19; }
html[data-theme="light"] .txn-no-alerts { color: #6b6964; }
html[data-theme="light"] .kyv-header { background: #f5f5f3; border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-header-title { color: #1c1b19; }
html[data-theme="light"] .kyv-header-subtitle { color: #6b6964; }
html[data-theme="light"] .kyv-header-stats { color: #6b6964; }
html[data-theme="light"] .kyv-live-badge { color: #1a8548; }
html[data-theme="light"] .kyv-search-input { background: #f5f5f3; border: 1.5px solid #e2e1dd; color: #1c1b19; caret-color: #b45d18; }
html[data-theme="light"] .kyv-search-icon { color: #6b6964; }
html[data-theme="light"] .kyv-chip { border: 1px solid #e2e1dd; background: #ffffff; color: #6b6964; }
html[data-theme="light"] .kyv-chip:hover { color: #403e3a; }
html[data-theme="light"] .kyv-stat-card { background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-stat-card .kyv-stat-number { color: #b45d18; }
html[data-theme="light"] .kyv-stat-card .kyv-stat-label { color: #6b6964; }
html[data-theme="light"] .kyv-card { background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-avatar { color: #1c1b19; }
html[data-theme="light"] .kyv-risk-badge.tier-1 { color: #1a8548; }
html[data-theme="light"] .kyv-risk-badge.tier-2 { color: #12863d; }
html[data-theme="light"] .kyv-risk-badge.tier-3 { color: #b06005; }
html[data-theme="light"] .kyv-risk-badge.tier-4 { color: #c94c0a; }
html[data-theme="light"] .kyv-risk-badge.tier-5 { color: #d53d3d; }
html[data-theme="light"] .kyv-breadcrumb { color: #6b6964; border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-breadcrumb a { color: #b45d18; }
html[data-theme="light"] .kyv-profile-header { background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-profile-actions button { background: #f5f5f3; border: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .kyv-profile-actions button:hover { color: #b45d18; }
html[data-theme="light"] .kyv-rail-card { background: #f5f5f3; border: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-rail-title { color: #6b6964; }
html[data-theme="light"] .kyv-tabs { border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-tab { color: #6b6964; }
html[data-theme="light"] .kyv-tab:hover { color: #403e3a; }
html[data-theme="light"] .kyv-tab.active { color: #b45d18; }
html[data-theme="light"] .kyv-score-bar-label { color: #403e3a; }
html[data-theme="light"] .kyv-score-bar-track { background: #ffffff; }
html[data-theme="light"] .kyv-exposure-none { color: #1a8548; }
html[data-theme="light"] .kyv-exposure-low { color: #4577b4; }
html[data-theme="light"] .kyv-exposure-medium { color: #88722a; }
html[data-theme="light"] .kyv-exposure-high { color: #ab6329; }
html[data-theme="light"] .kyv-exposure-critical { color: #d53d3d; }
html[data-theme="light"] .kyv-event-card { background: #f0efec; border: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-event-card.info { border-left-color: #bcc9de; }
html[data-theme="light"] .kyv-event-meta { color: #6b6964; }
html[data-theme="light"] .kyv-event-title { color: #1c1b19; }
html[data-theme="light"] .kyv-event-summary { color: #6b6964; }
html[data-theme="light"] .kyv-event-source { color: #b45d18; }
html[data-theme="light"] .kyv-event-source a { color: #b45d18; }
html[data-theme="light"] .kyv-twocol .lbl { color: #6b6964; }
html[data-theme="light"] .kyv-twocol .val { color: #1c1b19; }
html[data-theme="light"] .kyv-mini-table th { color: #6b6964; border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .kyv-mini-table td { border-bottom: 1px solid #e2e1dd; color: #403e3a; }
html[data-theme="light"] .kyv-check { color: #1a8548; }
html[data-theme="light"] .kyv-cross { color: #d53d3d; }
html[data-theme="light"] .kyv-warn { color: #b06005; }
html[data-theme="light"] .kyv-no-results { color: #6b6964; }
html[data-theme="light"] .users-invitar { border: 1px solid #e2e1dd; }
html[data-theme="light"] .user-card .user-rol { color: #1c1b19; border: 1px solid #d2d1cc; }
html[data-theme="light"] .users-enlace { border: 1px solid #d2d1cc; }

/* ── style= en línea ── */
html[data-theme="light"] [style^="background:#0e0e0e"],
html[data-theme="light"] [style*=";background:#0e0e0e"],
html[data-theme="light"] [style*="; background:#0e0e0e"],
html[data-theme="light"] [style*=" background:#0e0e0e"] { background: #f0efec !important; }
html[data-theme="light"] [style^="background:#0f1c24"],
html[data-theme="light"] [style*=";background:#0f1c24"],
html[data-theme="light"] [style*="; background:#0f1c24"],
html[data-theme="light"] [style*=" background:#0f1c24"] { background: #dcedf7 !important; }
html[data-theme="light"] [style^="background:#111"],
html[data-theme="light"] [style*=";background:#111"],
html[data-theme="light"] [style*="; background:#111"],
html[data-theme="light"] [style*=" background:#111"] { background: #f5f5f3 !important; }
html[data-theme="light"] [style^="background:#1a1a1a"],
html[data-theme="light"] [style*=";background:#1a1a1a"],
html[data-theme="light"] [style*="; background:#1a1a1a"],
html[data-theme="light"] [style*=" background:#1a1a1a"] { background: #f5f5f3 !important; }
html[data-theme="light"] [style^="background:#1a1a2e"],
html[data-theme="light"] [style*=";background:#1a1a2e"],
html[data-theme="light"] [style*="; background:#1a1a2e"],
html[data-theme="light"] [style*=" background:#1a1a2e"] { background: #ddddf7 !important; }
html[data-theme="light"] [style^="background:#1a2222"],
html[data-theme="light"] [style*=";background:#1a2222"],
html[data-theme="light"] [style*="; background:#1a2222"],
html[data-theme="light"] [style*=" background:#1a2222"] { background: #edf7f7 !important; }
html[data-theme="light"] [style^="background:#1a2b3a"],
html[data-theme="light"] [style*=";background:#1a2b3a"],
html[data-theme="light"] [style*="; background:#1a2b3a"],
html[data-theme="light"] [style*=" background:#1a2b3a"] { background: #cde4f7 !important; }
html[data-theme="light"] [style^="background:#1c1608"],
html[data-theme="light"] [style*=";background:#1c1608"],
html[data-theme="light"] [style*="; background:#1c1608"],
html[data-theme="light"] [style*=" background:#1c1608"] { background: #f7efdd !important; }
html[data-theme="light"] [style^="background:#1c1c10"],
html[data-theme="light"] [style*=";background:#1c1c10"],
html[data-theme="light"] [style*="; background:#1c1c10"],
html[data-theme="light"] [style*=" background:#1c1c10"] { background: #f7f7e7 !important; }
html[data-theme="light"] [style^="background:#1c2a1c"],
html[data-theme="light"] [style*=";background:#1c2a1c"],
html[data-theme="light"] [style*="; background:#1c2a1c"],
html[data-theme="light"] [style*=" background:#1c2a1c"] { background: #e5f7e5 !important; }
html[data-theme="light"] [style^="background:#1e1e1e"],
html[data-theme="light"] [style*=";background:#1e1e1e"],
html[data-theme="light"] [style*="; background:#1e1e1e"],
html[data-theme="light"] [style*=" background:#1e1e1e"] { background: #ffffff !important; }
html[data-theme="light"] [style^="background:#1f1a14"],
html[data-theme="light"] [style*=";background:#1f1a14"],
html[data-theme="light"] [style*="; background:#1f1a14"],
html[data-theme="light"] [style*=" background:#1f1a14"] { background: #f7f0e9 !important; }
html[data-theme="light"] [style^="background:#222"],
html[data-theme="light"] [style*=";background:#222"],
html[data-theme="light"] [style*="; background:#222"],
html[data-theme="light"] [style*=" background:#222"] { background: #ffffff !important; }
html[data-theme="light"] [style^="background:#2a1a05"],
html[data-theme="light"] [style*=";background:#2a1a05"],
html[data-theme="light"] [style*="; background:#2a1a05"],
html[data-theme="light"] [style*=" background:#2a1a05"] { background: #f7e2c7 !important; }
html[data-theme="light"] [style^="background:#2a2410"],
html[data-theme="light"] [style*=";background:#2a2410"],
html[data-theme="light"] [style*="; background:#2a2410"],
html[data-theme="light"] [style*=" background:#2a2410"] { background: #f7efd5 !important; }
html[data-theme="light"] [style^="background:#2a2a2a"],
html[data-theme="light"] [style*=";background:#2a2a2a"],
html[data-theme="light"] [style*="; background:#2a2a2a"],
html[data-theme="light"] [style*=" background:#2a2a2a"] { background: #f0efec !important; }
html[data-theme="light"] [style^="background:#2a2a4a"],
html[data-theme="light"] [style*=";background:#2a2a4a"],
html[data-theme="light"] [style*="; background:#2a2a4a"],
html[data-theme="light"] [style*=" background:#2a2a4a"] { background: #cdcdf7 !important; }
html[data-theme="light"] [style^="background:#333"],
html[data-theme="light"] [style*=";background:#333"],
html[data-theme="light"] [style*="; background:#333"],
html[data-theme="light"] [style*=" background:#333"] { background: #e2e1dd !important; }
html[data-theme="light"] [style^="background:#3a0f0f"],
html[data-theme="light"] [style*=";background:#3a0f0f"],
html[data-theme="light"] [style*="; background:#3a0f0f"],
html[data-theme="light"] [style*=" background:#3a0f0f"] { background: #f7bfbf !important; }
html[data-theme="light"] [style^="background:#3a2a10"],
html[data-theme="light"] [style*=";background:#3a2a10"],
html[data-theme="light"] [style*="; background:#3a2a10"],
html[data-theme="light"] [style*=" background:#3a2a10"] { background: #f7e2c0 !important; }
html[data-theme="light"] [style^="background:#3a2a12"],
html[data-theme="light"] [style*=";background:#3a2a12"],
html[data-theme="light"] [style*="; background:#3a2a12"],
html[data-theme="light"] [style*=" background:#3a2a12"] { background: #f7e2c3 !important; }
html[data-theme="light"] [style^="border-bottom:1px solid #1a1a2e"],
html[data-theme="light"] [style*=";border-bottom:1px solid #1a1a2e"],
html[data-theme="light"] [style*="; border-bottom:1px solid #1a1a2e"],
html[data-theme="light"] [style*=" border-bottom:1px solid #1a1a2e"] { border-bottom: 1px solid #c4c4de !important; }
html[data-theme="light"] [style^="border-bottom:1px solid #222"],
html[data-theme="light"] [style*=";border-bottom:1px solid #222"],
html[data-theme="light"] [style*="; border-bottom:1px solid #222"],
html[data-theme="light"] [style*=" border-bottom:1px solid #222"] { border-bottom: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border-bottom:1px solid #232323"],
html[data-theme="light"] [style*=";border-bottom:1px solid #232323"],
html[data-theme="light"] [style*="; border-bottom:1px solid #232323"],
html[data-theme="light"] [style*=" border-bottom:1px solid #232323"] { border-bottom: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border-bottom:1px solid #2a2a2a"],
html[data-theme="light"] [style*=";border-bottom:1px solid #2a2a2a"],
html[data-theme="light"] [style*="; border-bottom:1px solid #2a2a2a"],
html[data-theme="light"] [style*=" border-bottom:1px solid #2a2a2a"] { border-bottom: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border-bottom:1px solid #333"],
html[data-theme="light"] [style*=";border-bottom:1px solid #333"],
html[data-theme="light"] [style*="; border-bottom:1px solid #333"],
html[data-theme="light"] [style*=" border-bottom:1px solid #333"] { border-bottom: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border-color:#2f4a2f"],
html[data-theme="light"] [style*=";border-color:#2f4a2f"],
html[data-theme="light"] [style*="; border-color:#2f4a2f"],
html[data-theme="light"] [style*=" border-color:#2f4a2f"] { border-color: #bbdebb !important; }
html[data-theme="light"] [style^="border-color:#4a3a1a"],
html[data-theme="light"] [style*=";border-color:#4a3a1a"],
html[data-theme="light"] [style*="; border-color:#4a3a1a"],
html[data-theme="light"] [style*=" border-color:#4a3a1a"] { border-color: #dec9a0 !important; }
html[data-theme="light"] [style^="border-left:2px solid #333"],
html[data-theme="light"] [style*=";border-left:2px solid #333"],
html[data-theme="light"] [style*="; border-left:2px solid #333"],
html[data-theme="light"] [style*=" border-left:2px solid #333"] { border-left: 2px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border-left:3px solid #666"],
html[data-theme="light"] [style*=";border-left:3px solid #666"],
html[data-theme="light"] [style*="; border-left:3px solid #666"],
html[data-theme="light"] [style*=" border-left:3px solid #666"] { border-left: 3px solid #d2d1cc !important; }
html[data-theme="light"] [style^="border-top:1px solid #1e1e1e"],
html[data-theme="light"] [style*=";border-top:1px solid #1e1e1e"],
html[data-theme="light"] [style*="; border-top:1px solid #1e1e1e"],
html[data-theme="light"] [style*=" border-top:1px solid #1e1e1e"] { border-top: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border-top:1px solid #222"],
html[data-theme="light"] [style*=";border-top:1px solid #222"],
html[data-theme="light"] [style*="; border-top:1px solid #222"],
html[data-theme="light"] [style*=" border-top:1px solid #222"] { border-top: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border-top:1px solid #2a2a2a"],
html[data-theme="light"] [style*=";border-top:1px solid #2a2a2a"],
html[data-theme="light"] [style*="; border-top:1px solid #2a2a2a"],
html[data-theme="light"] [style*=" border-top:1px solid #2a2a2a"] { border-top: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border-top:1px solid #333"],
html[data-theme="light"] [style*=";border-top:1px solid #333"],
html[data-theme="light"] [style*="; border-top:1px solid #333"],
html[data-theme="light"] [style*=" border-top:1px solid #333"] { border-top: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border:1px solid #1e1e1e"],
html[data-theme="light"] [style*=";border:1px solid #1e1e1e"],
html[data-theme="light"] [style*="; border:1px solid #1e1e1e"],
html[data-theme="light"] [style*=" border:1px solid #1e1e1e"] { border: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border:1px solid #1e3a4a"],
html[data-theme="light"] [style*=";border:1px solid #1e3a4a"],
html[data-theme="light"] [style*="; border:1px solid #1e3a4a"],
html[data-theme="light"] [style*=" border:1px solid #1e3a4a"] { border: 1px solid #a5c9de !important; }
html[data-theme="light"] [style^="border:1px solid #222"],
html[data-theme="light"] [style*=";border:1px solid #222"],
html[data-theme="light"] [style*="; border:1px solid #222"],
html[data-theme="light"] [style*=" border:1px solid #222"] { border: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border:1px solid #2a2a2a"],
html[data-theme="light"] [style*=";border:1px solid #2a2a2a"],
html[data-theme="light"] [style*="; border:1px solid #2a2a2a"],
html[data-theme="light"] [style*=" border:1px solid #2a2a2a"] { border: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border:1px solid #2a2a4a"],
html[data-theme="light"] [style*=";border:1px solid #2a2a4a"],
html[data-theme="light"] [style*="; border:1px solid #2a2a4a"],
html[data-theme="light"] [style*=" border:1px solid #2a2a4a"] { border: 1px solid #b4b4de !important; }
html[data-theme="light"] [style^="border:1px solid #2a3b5a"],
html[data-theme="light"] [style*=";border:1px solid #2a3b5a"],
html[data-theme="light"] [style*="; border:1px solid #2a3b5a"],
html[data-theme="light"] [style*=" border:1px solid #2a3b5a"] { border: 1px solid #a0b6de !important; }
html[data-theme="light"] [style^="border:1px solid #333"],
html[data-theme="light"] [style*=";border:1px solid #333"],
html[data-theme="light"] [style*="; border:1px solid #333"],
html[data-theme="light"] [style*=" border:1px solid #333"] { border: 1px solid #e2e1dd !important; }
html[data-theme="light"] [style^="border:1px solid #3a3a1e"],
html[data-theme="light"] [style*=";border:1px solid #3a3a1e"],
html[data-theme="light"] [style*="; border:1px solid #3a3a1e"],
html[data-theme="light"] [style*=" border:1px solid #3a3a1e"] { border: 1px solid #dedeba !important; }
html[data-theme="light"] [style^="border:1px solid #3a3a3a"],
html[data-theme="light"] [style*=";border:1px solid #3a3a3a"],
html[data-theme="light"] [style*="; border:1px solid #3a3a3a"],
html[data-theme="light"] [style*=" border:1px solid #3a3a3a"] { border: 1px solid #d2d1cc !important; }
html[data-theme="light"] [style^="border:1px solid #3a3a5e"],
html[data-theme="light"] [style*=";border:1px solid #3a3a5e"],
html[data-theme="light"] [style*="; border:1px solid #3a3a5e"],
html[data-theme="light"] [style*=" border:1px solid #3a3a5e"] { border: 1px solid #afafde !important; }
html[data-theme="light"] [style^="border:1px solid #444"],
html[data-theme="light"] [style*=";border:1px solid #444"],
html[data-theme="light"] [style*="; border:1px solid #444"],
html[data-theme="light"] [style*=" border:1px solid #444"] { border: 1px solid #d2d1cc !important; }
html[data-theme="light"] [style^="border:1px solid #4a3a1a"],
html[data-theme="light"] [style*=";border:1px solid #4a3a1a"],
html[data-theme="light"] [style*="; border:1px solid #4a3a1a"],
html[data-theme="light"] [style*=" border:1px solid #4a3a1a"] { border: 1px solid #dec9a0 !important; }
html[data-theme="light"] [style^="border:2px dashed #444"],
html[data-theme="light"] [style*=";border:2px dashed #444"],
html[data-theme="light"] [style*="; border:2px dashed #444"],
html[data-theme="light"] [style*=" border:2px dashed #444"] { border: 2px dashed #d2d1cc !important; }
html[data-theme="light"] [style^="border:2px solid #333"],
html[data-theme="light"] [style*=";border:2px solid #333"],
html[data-theme="light"] [style*="; border:2px solid #333"],
html[data-theme="light"] [style*=" border:2px solid #333"] { border: 2px solid #e2e1dd !important; }
html[data-theme="light"] [style^="color:#1F9D55"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#1F9D55"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#1F9D55"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#1F9D55"]:not([style*="background"]) { color: #1a8548 !important; }
html[data-theme="light"] [style^="color:#2ecc71"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#2ecc71"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#2ecc71"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#2ecc71"]:not([style*="background"]) { color: #1e8549 !important; }
html[data-theme="light"] [style^="color:#333"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#333"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#333"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#333"]:not([style*="background"]) { color: #6b6964 !important; }
html[data-theme="light"] [style^="color:#3498db"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#3498db"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#3498db"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#3498db"]:not([style*="background"]) { color: #2a7aaf !important; }
html[data-theme="light"] [style^="color:#444"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#444"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#444"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#444"]:not([style*="background"]) { color: #6b6964 !important; }
html[data-theme="light"] [style^="color:#555"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#555"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#555"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#555"]:not([style*="background"]) { color: #6b6964 !important; }
html[data-theme="light"] [style^="color:#5dade2"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#5dade2"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#5dade2"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#5dade2"]:not([style*="background"]) { color: #41799e !important; }
html[data-theme="light"] [style^="color:#666"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#666"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#666"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#666"]:not([style*="background"]) { color: #6b6964 !important; }
html[data-theme="light"] [style^="color:#777"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#777"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#777"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#777"]:not([style*="background"]) { color: #6b6964 !important; }
html[data-theme="light"] [style^="color:#7fb3d3"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#7fb3d3"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#7fb3d3"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#7fb3d3"]:not([style*="background"]) { color: #55788d !important; }
html[data-theme="light"] [style^="color:#7fb3d5"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#7fb3d5"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#7fb3d5"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#7fb3d5"]:not([style*="background"]) { color: #55788f !important; }
html[data-theme="light"] [style^="color:#888"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#888"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#888"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#888"]:not([style*="background"]) { color: #6b6964 !important; }
html[data-theme="light"] [style^="color:#8a7a3a"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#8a7a3a"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#8a7a3a"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#8a7a3a"]:not([style*="background"]) { color: #837437 !important; }
html[data-theme="light"] [style^="color:#8a7f5a"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#8a7f5a"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#8a7f5a"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#8a7f5a"]:not([style*="background"]) { color: #7f7553 !important; }
html[data-theme="light"] [style^="color:#8e6fd8"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#8e6fd8"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#8e6fd8"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#8e6fd8"]:not([style*="background"]) { color: #8064c2 !important; }
html[data-theme="light"] [style^="color:#8fbcd4"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#8fbcd4"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#8fbcd4"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#8fbcd4"]:not([style*="background"]) { color: #5c7888 !important; }
html[data-theme="light"] [style^="color:#8fd18f"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#8fd18f"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#8fd18f"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#8fd18f"]:not([style*="background"]) { color: #567d56 !important; }
html[data-theme="light"] [style^="color:#999"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#999"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#999"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#999"]:not([style*="background"]) { color: #6b6964 !important; }
html[data-theme="light"] [style^="color:#9aa0a6"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#9aa0a6"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#9aa0a6"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#9aa0a6"]:not([style*="background"]) { color: #707579 !important; }
html[data-theme="light"] [style^="color:#9bb"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#9bb"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#9bb"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#9bb"]:not([style*="background"]) { color: #627878 !important; }
html[data-theme="light"] [style^="color:#EF4444"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#EF4444"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#EF4444"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#EF4444"]:not([style*="background"]) { color: #d53d3d !important; }
html[data-theme="light"] [style^="color:#F59E0B"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#F59E0B"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#F59E0B"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#F59E0B"]:not([style*="background"]) { color: #a26807 !important; }
html[data-theme="light"] [style^="color:#aaa"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#aaa"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#aaa"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#aaa"]:not([style*="background"]) { color: #403e3a !important; }
html[data-theme="light"] [style^="color:#b8ab7d"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#b8ab7d"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#b8ab7d"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#b8ab7d"]:not([style*="background"]) { color: #7d7455 !important; }
html[data-theme="light"] [style^="color:#b9a5e8"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#b9a5e8"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#b9a5e8"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#b9a5e8"]:not([style*="background"]) { color: #7a6d99 !important; }
html[data-theme="light"] [style^="color:#bbb"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#bbb"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#bbb"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#bbb"]:not([style*="background"]) { color: #403e3a !important; }
html[data-theme="light"] [style^="color:#c9b458"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#c9b458"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#c9b458"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#c9b458"]:not([style*="background"]) { color: #837539 !important; }
html[data-theme="light"] [style^="color:#c9b6ef"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#c9b6ef"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#c9b6ef"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#c9b6ef"]:not([style*="background"]) { color: #7b6f92 !important; }
html[data-theme="light"] [style^="color:#c9c9c9"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#c9c9c9"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#c9c9c9"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#c9c9c9"]:not([style*="background"]) { color: #403e3a !important; }
html[data-theme="light"] [style^="color:#ccc"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#ccc"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#ccc"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#ccc"]:not([style*="background"]) { color: #403e3a !important; }
html[data-theme="light"] [style^="color:#d9c88a"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#d9c88a"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#d9c88a"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#d9c88a"]:not([style*="background"]) { color: #7e7450 !important; }
html[data-theme="light"] [style^="color:#ddd"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#ddd"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#ddd"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#ddd"]:not([style*="background"]) { color: #1c1b19 !important; }
html[data-theme="light"] [style^="color:#e67e22"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#e67e22"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#e67e22"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#e67e22"]:not([style*="background"]) { color: #af601a !important; }
html[data-theme="light"] [style^="color:#e74c3c"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#e74c3c"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#e74c3c"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#e74c3c"]:not([style*="background"]) { color: #ce4435 !important; }
html[data-theme="light"] [style^="color:#e8b98a"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#e8b98a"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#e8b98a"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#e8b98a"]:not([style*="background"]) { color: #8b6f53 !important; }
html[data-theme="light"] [style^="color:#e8c14d"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#e8c14d"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#e8c14d"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#e8c14d"]:not([style*="background"]) { color: #89722d !important; }
html[data-theme="light"] [style^="color:#eee"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#eee"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#eee"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#eee"]:not([style*="background"]) { color: #1c1b19 !important; }
html[data-theme="light"] [style^="color:#f0c080"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#f0c080"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#f0c080"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#f0c080"]:not([style*="background"]) { color: #8b6f4a !important; }
html[data-theme="light"] [style^="color:#f1c40f"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#f1c40f"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#f1c40f"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#f1c40f"]:not([style*="background"]) { color: #8c7209 !important; }
html[data-theme="light"] [style^="color:#f37e21"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#f37e21"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#f37e21"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#f37e21"]:not([style*="background"]) { color: #b45d18 !important; }
html[data-theme="light"] [style^="color:#f39c12"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#f39c12"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#f39c12"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#f39c12"]:not([style*="background"]) { color: #a3690c !important; }
html[data-theme="light"] [style^="color:#f59e0b"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#f59e0b"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#f59e0b"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#f59e0b"]:not([style*="background"]) { color: #a26807 !important; }
html[data-theme="light"] [style^="color:#fbd28b"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#fbd28b"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#fbd28b"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#fbd28b"]:not([style*="background"]) { color: #88714b !important; }
html[data-theme="light"] [style^="color:#fca5a5"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#fca5a5"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#fca5a5"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#fca5a5"]:not([style*="background"]) { color: #9c6666 !important; }
html[data-theme="light"] [style^="color:#fda4af"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#fda4af"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#fda4af"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#fda4af"]:not([style*="background"]) { color: #9d666c !important; }
html[data-theme="light"] [style^="color:#fff"]:not([style*="background"]),
html[data-theme="light"] [style*=";color:#fff"]:not([style*="background"]),
html[data-theme="light"] [style*="; color:#fff"]:not([style*="background"]),
html[data-theme="light"] [style*=" color:#fff"]:not([style*="background"]) { color: #1c1b19 !important; }
html[data-theme="light"] [style*="background:#0e0e0e"][style*="color:#999"] { color: #6b6964 !important; }
html[data-theme="light"] [style*="background:#0e0e0e"][style*="color:#ddd"] { color: #1c1b19 !important; }
html[data-theme="light"] [style*="background:#0f1c24"][style*="color:#8fbcd4"] { color: #5c7888 !important; }
html[data-theme="light"] [style*="background:#111"][style*="color:#ccc"] { color: #403e3a !important; }
html[data-theme="light"] [style*="background:#1a1a1a"][style*="color:#999"] { color: #6b6964 !important; }
html[data-theme="light"] [style*="background:#1a1a1a"][style*="color:#aaa"] { color: #403e3a !important; }
html[data-theme="light"] [style*="background:#1a1a1a"][style*="color:#c9c9c9"] { color: #403e3a !important; }
html[data-theme="light"] [style*="background:#1a1a1a"][style*="color:#ccc"] { color: #403e3a !important; }
html[data-theme="light"] [style*="background:#1a1a1a"][style*="color:#f37e21"] { color: #b45d18 !important; }
html[data-theme="light"] [style*="background:#1a2b3a"][style*="color:#9bb"] { color: #627878 !important; }
html[data-theme="light"] [style*="background:#1c1608"][style*="color:#d9c88a"] { color: #7e7450 !important; }
html[data-theme="light"] [style*="background:#1c1608"][style*="color:#e8c14d"] { color: #89722d !important; }
html[data-theme="light"] [style*="background:#1c1c10"][style*="color:#c9b458"] { color: #837539 !important; }
html[data-theme="light"] [style*="background:#1c2a1c"][style*="color:#8fd18f"] { color: #567d56 !important; }
html[data-theme="light"] [style*="background:#1f1a14"][style*="color:#f0c080"] { color: #8b6f4a !important; }
html[data-theme="light"] [style*="background:#222"][style*="color:#666"] { color: #6b6964 !important; }
html[data-theme="light"] [style*="background:#2a1a05"][style*="color:#fbd28b"] { color: #88714b !important; }
html[data-theme="light"] [style*="background:#2a2410"][style*="color:#d9c88a"] { color: #7e7450 !important; }
html[data-theme="light"] [style*="background:#2a2a2a"][style*="color:#f37e21"] { color: #b45d18 !important; }
html[data-theme="light"] [style*="background:#3a2a10"][style*="color:#e8c14d"] { color: #89722d !important; }
html[data-theme="light"] [style*="background:#3a2a12"][style*="color:#f1c40f"] { color: #8c7209 !important; }

/* ── Ajustes puntuales (Cowork, en vivo en staging, 2026-10-02) ── */
/* Ingreso: el degradé oscuro, plano. */
html[data-theme="light"] #login-screen { background: var(--dark); }
html[data-theme="light"] .login-box, html[data-theme="light"] #login-screen.restoring #session-restore { background: #ffffff; }
/* El logo: en claro se ve el archivo oficial para fondo claro (el oscuro se oculta). */
html[data-theme="light"] .solo-oscuro { display: none; }
/* El ítem activo del menú toma el color de marca, también su ícono (currentColor). */
html[data-theme="light"] .sidebar-item.active { color: var(--orange); }
/* Selects y campos: nunca fondo negro. */
html[data-theme="light"] select, html[data-theme="light"] input, html[data-theme="light"] textarea { color-scheme: light; }
html[data-theme="light"] #alert-filter-bar select { background: #ffffff !important; color: #1c1b19 !important; border: 1px solid #d2d1cc !important; }
/* Píldoras CRYPTO / FIAT / TRACE: más tinta, más borde. */
html[data-theme="light"] .badge-orange { background: rgba(217,102,26,.12); color: #b4510f; box-shadow: inset 0 0 0 1px rgba(217,102,26,.35); }
html[data-theme="light"] .alert-card .type-badge { background: rgba(142,68,173,.10); color: #6c3483; box-shadow: inset 0 0 0 1px rgba(142,68,173,.30); }
html[data-theme="light"] .badge-blue { background: rgba(31,95,174,.10); color: #1f5fae; box-shadow: inset 0 0 0 1px rgba(31,95,174,.30); }
/* Tarjetas KPI: blancas, con borde fino, y el borde de color se conserva. */
html[data-theme="light"] .kpi-card-v2 { background: #ffffff; border-left: 1px solid #e2e1dd; border-right: 1px solid #e2e1dd; border-bottom: 1px solid #e2e1dd; }
html[data-theme="light"] .kpi-card-v2.orange-band { border-left-color: #e67e22; }
html[data-theme="light"] .kpi-card-v2:hover { background: #f0efec; }
html[data-theme="light"] .kpi-card { background: #ffffff; border: 1px solid #e2e1dd; }
html[data-theme="light"] .kpi-card.kpi-active, html[data-theme="light"] .kpi-card.priority-kpi.expanded { border-color: var(--orange); }
html[data-theme="light"] .kpi-card::before { background: #d2d1cc; }
html[data-theme="light"] .kpi-card.high::before { background: var(--red); }
html[data-theme="light"] .kpi-card.medium::before { background: var(--yellow); }
html[data-theme="light"] .kpi-card.resolved::before { background: var(--green); }
html[data-theme="light"] .kpi-card.time::before { background: var(--blue); }
html[data-theme="light"] .kpi-card.priority-kpi.high::before { background: var(--priority-color, var(--red)); }
html[data-theme="light"] .alert-kpi { background: #ffffff; }
html[data-theme="light"] .alert-kpi.kpi-active { border-color: var(--orange) !important; }
/* Sombras de tarjetas: suaves, en vez del borde oscuro. */
html[data-theme="light"] nav, html[data-theme="light"] aside { background: #ffffff; }
/* El botón del tema. */
html[data-theme="light"] .tema-boton { color: #403e3a; border-color: #d2d1cc; }
html[data-theme="light"] .tema-boton:hover { color: #1c1b19; background: #f0efec; }

/* «Alerta de prueba» atenuada con --txt2 (filtro de estado, 2026-10-09): la regla de
   arriba para .alert-title le gana a la de main.css, así que se repite acá. */
html[data-theme="light"] .alert-card.prueba .alert-title,
html[data-theme="light"] .alert-card.prueba .alert-amount { color: var(--txt2); }

/* ── Panel de alertas, fase 1 (2026-10-11) ──
   La tarjeta, blanca con borde: era gris sobre gris. El detalle flota sobre la
   cola sin velo, así que se separa con borde y una sombra corta (informe §3.1). */
html[data-theme="light"] .alert-card { background: #ffffff; border: 1px solid #e2e1dd; }
html[data-theme="light"] .alert-card:hover { background: #f5f5f3; }
html[data-theme="light"] #alert-detail-panel { border-left: 1px solid #d2d1cc; box-shadow: -6px 0 18px rgba(0,0,0,.08); }
