/* =========================================================================================================
   StonIA: modo noche, parte GENERADA por _mantenimiento/generar_tema_oscuro.py.
   NO editar a mano: los ajustes van en assets/css/tema-oscuro.css (se carga después). Colores fijos claros de las
   hojas trasladados a la familia azul noche de #1d273f.
   ========================================================================================================= */
@media screen {
/* -- app.css -- */
[data-theme="dark"] body{ background-color:#0f1626; background-image:linear-gradient(115deg, #1b253a 0%, #1d263d 30%, #1e2840 50%, #1d263d 70%, #1b253a 100%); }
[data-theme="dark"] .skip-link{ background:#162036; }
[data-theme="dark"] .layout-with-sidebar{ background-color:#0f1626; }
[data-theme="dark"] .app-footer{ background:#162036; }
[data-theme="dark"] .topbar{ background-color:#162036; }
[data-theme="dark"] .topbar-menu{ background:#162036; }
[data-theme="dark"] .card{ background:#162036; }
[data-theme="dark"] .modal-content{ background:#162036; }
[data-theme="dark"] .section-box{ background:#162036; }
@media screen{ [data-theme="dark"] .section-box{ background:rgba(22,32,54,.8); } }
[data-theme="dark"] .section-box .plan-nav{ background:#1c263c; border-bottom:1px solid #303c59; }
[data-theme="dark"] .section-box .plan-tabs{ background:#1c263c; }
[data-theme="dark"] .section-box .plan-tab{ color:#bcc5d0; }
[data-theme="dark"] .section-box .plan-tab.active{ background:#162036; color:#8ec0eb; }
[data-theme="dark"] .section-box .plan-tab:hover:not(.active){ color:#9ab8df; }
[data-theme="dark"] .integ-card{ background:#162036; border:1px solid #313d5b; }
[data-theme="dark"] .integ-card-header{ border-bottom:1px solid #313d5b; background:#1b2338; }
[data-theme="dark"] .integ-card-footer{ border-top:1px solid #2d3954; background:#1b2439; }
[data-theme="dark"] .btn-outline-secondary{ background:#162036; }
[data-theme="dark"] .btn-icon{ background:#162036; }
[data-theme="dark"] .btn-icon--success{ border-color:#347a4b; color:#a5e9c0; }
[data-theme="dark"] .btn-icon--success:hover{ background:#1f4d2f; color:#a5e9c0; }
[data-theme="dark"] .btn-icon--danger{ border-color:#773533; color:#eda0a0; }
[data-theme="dark"] .btn-icon--danger:hover{ background:#522222; border-color:#773533; color:#eda0a0; }
[data-theme="dark"] .table th,
[data-theme="dark"] .table td{ border-bottom:1px solid #2d3954; }
[data-theme="dark"] .table thead th{ background:#1b2439; }
[data-theme="dark"] .table tbody tr{ background:#162036; }
[data-theme="dark"] .table tbody tr:hover{ background:#1b243a; }
[data-theme="dark"] .alert-info{ background:#1c263c; border:1px solid #344261; color:#8ec1eb; }
[data-theme="dark"] .alert-danger{ background:#421b1b; border:1px solid #6c2e2e; }
[data-theme="dark"] .alert-success{ background:#1b4328; border:1px solid #307047; color:#a3ebbe; }
[data-theme="dark"] .alert-warning{ background:#443c1c; border:1px solid #796c34; color:#eebda0; }
[data-theme="dark"] .fx-toast{ background:#162036; }
[data-theme="dark"] .fx-sesion-aviso__caja{ background:#162036; }
[data-theme="dark"] .login-body{ background:radial-gradient(circle at 0% 0%, rgba(30,113,184,0.10) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(29,39,63,0.06) 0%, transparent 45%),
    #0f1626; }
[data-theme="dark"] .login-card{ background:#162036; }
[data-theme="dark"] .df-qr{ background:#162036; }
[data-theme="dark"] .user-menu-item--logout:hover{ background:#421b1b; }
/* -- stonia.css -- */
[data-theme="dark"] .fx-org-chip{ background:#1c263c; border:1px solid #303c59; color:#e2e6f0; }
[data-theme="dark"] .fx-ficha,
[data-theme="dark"] .fx-descargas,
[data-theme="dark"] .cuenta-datos,
[data-theme="dark"] .fx-marca,
[data-theme="dark"] .fx-acerca,
[data-theme="dark"] .fx-comparar,
[data-theme="dark"] .fx-pertenencias,
[data-theme="dark"] .fx-bast,
[data-theme="dark"] .fx-dash,
[data-theme="dark"] .fx-remedio,
[data-theme="dark"] .fx-niveles,
[data-theme="dark"] .fx-mapa,
[data-theme="dark"] .fx-red{ --zl-campo-borde:#344261; --zl-ok-tx:#a3ebbe; --zl-aviso-tx:#eeb3a0; --zl-malo-tx:#eea0a0; --zl-info-tx:#8ec0eb; }
[data-theme="dark"] .fx-nota{ color:#c2cbd6; }
[data-theme="dark"] .fx-nota-boton{ color:#c2cbd6; border:1px dashed #344261; }
[data-theme="dark"] .fx-migas{ color:#c2cbd6; }
[data-theme="dark"] .fx-valor{ background:#1d273e; color:#e2e6f0; }
[data-theme="dark"] .fx-huella{ color:#e2e6f0; }
[data-theme="dark"] .fx-esperado{ color:#b7c7d8; }
[data-theme="dark"] .fx-cifra{ background:rgba(22,32,54,.8); color:#e2e6f0; }
[data-theme="dark"] .fx-cifra:hover{ color:#e2e6f0; }
[data-theme="dark"] .fx-cifra__icono{ color:#8ec0eb; }
[data-theme="dark"] .fx-cifra__valor{ color:#e2e6f0; }
[data-theme="dark"] .fx-cifra__rotulo{ color:#e2e6f0; }
[data-theme="dark"] .fx-cifra__sub{ color:#c2cbd6; }
[data-theme="dark"] .fx-cifra--bueno .fx-cifra__valor{ color:#a3ebbe; }
[data-theme="dark"] .fx-cifra--regular .fx-cifra__valor{ color:#eec2a0; }
[data-theme="dark"] .fx-cifra--malo .fx-cifra__valor{ color:#eea0a0; }
[data-theme="dark"] .fx-cifra--malo .fx-cifra__icono{ color:#eea0a0; }
[data-theme="dark"] .fx-grafica__titulo{ color:#e2e6f0; }
[data-theme="dark"] .fx-grafica__nota{ color:#c2cbd6; }
[data-theme="dark"] .fx-vacio-guia__titulo{ color:#e2e6f0; }
[data-theme="dark"] .fx-vacio-guia__texto{ color:#b7c7d8; }
[data-theme="dark"] .fx-pasos-cortos{ color:#e2e6f0; }
[data-theme="dark"] .fx-ficha__nombre{ color:#e2e6f0; }
[data-theme="dark"] .fx-ficha__nombre .bi{ color:#8ec0eb; }
[data-theme="dark"] .fx-datos dt{ color:#c2cbd6; }
[data-theme="dark"] .fx-datos dd{ color:#e2e6f0; }
[data-theme="dark"] .fx-mini{ background:#1d273e; }
[data-theme="dark"] .fx-mini b{ color:#e2e6f0; }
[data-theme="dark"] .fx-mini span{ color:#c2cbd6; }
[data-theme="dark"] .fx-mini--bueno b{ color:#a3ebbe; }
[data-theme="dark"] .fx-mini--malo b{ color:#eea0a0; }
[data-theme="dark"] .fx-firma{ background:#1b4328; border:1px solid #307047; color:#a5e9c0; }
[data-theme="dark"] .fx-firma > .bi{ color:#a0eebd; }
[data-theme="dark"] .fx-firma code{ color:#a5e9c0; }
[data-theme="dark"] .fx-zona{ border:2px dashed #405076; background:#1b2439; color:#e2e6f0; }
[data-theme="dark"] .fx-zona:hover,
[data-theme="dark"] .fx-zona--encima{ background:#1e283f; }
[data-theme="dark"] .fx-zona__icono{ color:#8ec0eb; }
[data-theme="dark"] .fx-zona__texto{ color:#b7c7d8; }
[data-theme="dark"] .fx-zona__enlace{ color:#8ec0eb; }
[data-theme="dark"] .fx-zona__texto code{ color:#eea0bf; }
[data-theme="dark"] .fx-lista-check{ color:#e2e6f0; }
[data-theme="dark"] .fx-lista-check .bi{ color:#a0eebd; }
[data-theme="dark"] .fx-cola__resumen{ color:#b7c7d8; }
[data-theme="dark"] .fx-cola__item{ background:#162036; border:1px solid #303c59; }
[data-theme="dark"] .fx-cola__icono{ color:#b7c7d8; }
[data-theme="dark"] .fx-cola__nombre{ color:#e2e6f0; }
[data-theme="dark"] .fx-cola__estado{ color:#b7c7d8; }
[data-theme="dark"] .fx-cola__item--ok{ border-color:#307047; background:#1b4328; }
[data-theme="dark"] .fx-cola__item--ok .fx-cola__icono,
[data-theme="dark"] .fx-cola__item--ok .fx-cola__estado{ color:#a0eebd; }
[data-theme="dark"] .fx-cola__item--dup{ border-color:#344261; background:#1c263c; }
[data-theme="dark"] .fx-cola__item--dup .fx-cola__icono{ color:#8ec0eb; }
[data-theme="dark"] .fx-cola__item--mal{ border-color:#6c2e2e; background:#421b1b; }
[data-theme="dark"] .fx-cola__item--mal .fx-cola__icono,
[data-theme="dark"] .fx-cola__item--mal .fx-cola__estado{ color:#eea0a0; }
[data-theme="dark"] .fx-comparar__lado{ background:#1d273e; color:#e2e6f0; }
[data-theme="dark"] .fx-comparar__lado:hover{ background:#202a43; color:#e2e6f0; }
[data-theme="dark"] .fx-comparar__rotulo{ color:#c2cbd6; }
[data-theme="dark"] .fx-comparar__fecha{ color:#b7c7d8; }
[data-theme="dark"] .fx-comparar__flecha{ color:#8ec0eb; }
[data-theme="dark"] .fx-comparar__dif--mejor{ color:#a0eebd; }
[data-theme="dark"] .fx-comparar__dif--peor{ color:#eea0a0; }
[data-theme="dark"] .fx-comparar__dif--igual{ color:#b7c7d8; }
[data-theme="dark"] .fx-comparar__cuenta{ color:#e2e6f0; }
[data-theme="dark"] .fx-aviso-caja{ background:#1c263c; border:1px solid #344261; color:#e2e6f0; }
[data-theme="dark"] .fx-aviso-caja > .bi{ color:#8ec0eb; }
[data-theme="dark"] .fx-descarga{ border:1px solid #303c59; background:#162036; }
[data-theme="dark"] .fx-descarga__cab{ background:#1b2439; border-bottom:1px solid #303c59; }
[data-theme="dark"] .fx-descarga__titulo{ color:#e2e6f0; }
[data-theme="dark"] .fx-descarga__nota{ color:#c2cbd6; }
[data-theme="dark"] .fx-descarga__item{ border-bottom:1px solid #2d3954; }
[data-theme="dark"] .fx-descarga__nombre{ color:#e2e6f0; }
[data-theme="dark"] .fx-descarga__req,
[data-theme="dark"] .fx-descarga__huella{ color:#c2cbd6; }
[data-theme="dark"] .section-box__pestanas{ background:#1c263c; }
[data-theme="dark"] .section-box__pestanas .plan-tab{ color:#c2cbd6; }
[data-theme="dark"] .section-box__pestanas .plan-tab.active{ background:#162036; color:#8ec0eb; }
[data-theme="dark"] .fx-pasos{ color:#e2e6f0; }
[data-theme="dark"] .fx-pasos code,
[data-theme="dark"] .fx-aviso-sistema code{ color:#eea0bf; background:#421b31; }
[data-theme="dark"] .fx-aviso-sistema{ background:#443c1c; border:1px solid #796c34; color:#e2e6f0; }
[data-theme="dark"] .fx-aviso-sistema h4{ color:#eebda0; }
[data-theme="dark"] .fx-acerca__version{ color:#e2e6f0; }
[data-theme="dark"] .fx-acerca__texto{ color:#b7c7d8; }
[data-theme="dark"] .fx-version{ border-top:1px solid #2d3954; }
[data-theme="dark"] .fx-version__num{ color:#8ec0eb; }
[data-theme="dark"] .fx-version__fecha{ color:#c2cbd6; }
[data-theme="dark"] .fx-version__titulo{ color:#e2e6f0; }
[data-theme="dark"] .fx-version__cambios li{ color:#e2e6f0; }
[data-theme="dark"] .fx-org-chip--selector:hover,
[data-theme="dark"] .fx-org-chip--selector[aria-expanded="true"]{ background:#202b44; border-color:#344261; }
[data-theme="dark"] .fx-org-chip--elegir{ background:#162036; border:1px dashed #3b4b6e; color:#92b9e7; }
[data-theme="dark"] .fx-org-menu__cab{ color:#c2cbd6; }
[data-theme="dark"] .fx-org-menu__item{ color:#e2e6f0; }
[data-theme="dark"] .fx-org-menu__item .bi{ color:#8ec0eb; }
[data-theme="dark"] .fx-org-menu__item.active,
[data-theme="dark"] .fx-org-menu__item:active{ background:#202b44; color:#e2e6f0; }
[data-theme="dark"] .fx-org-menu__rol{ color:#c2cbd6; }
[data-theme="dark"] .fx-org-menu__nota{ color:#c2cbd6; }
[data-theme="dark"] .fx-org-menu__vacio{ color:#c2cbd6; }
[data-theme="dark"] .fx-org-menu__buscar .bi{ color:#c2cbd6; }
[data-theme="dark"] .fx-bast__icono{ background:#1c263c; border:1px solid #303c59; color:#8ec0eb; }
[data-theme="dark"] .fx-bast__nombre{ color:#e2e6f0; }
[data-theme="dark"] .fx-bast__rol{ color:#c2cbd6; }
[data-theme="dark"] .fx-bast__auto{ background:#43321b; border:1px solid #725431; color:#e2e6f0; }
[data-theme="dark"] .fx-bast__auto > .bi{ color:#eeb7a0; }
[data-theme="dark"] .fx-flash{ background:#1c263c; border:1px solid #344261; color:#e2e6f0; }
[data-theme="dark"] .fx-flash > .bi{ color:#8ec0eb; }
[data-theme="dark"] .fx-aviso-caja--aviso{ background:#43321b; border-color:#725431; color:#eeb1a0; }
[data-theme="dark"] .fx-aviso-caja--aviso > .bi{ color:#eeb7a0; }
[data-theme="dark"] .fx-pertenencia{ border:1px solid #303c59; background:#1b2439; }
[data-theme="dark"] .fx-pertenencia__org{ color:#e2e6f0; }
[data-theme="dark"] .fx-remedio__grupo{ border:1px solid #303c59; }
[data-theme="dark"] .fx-remedio__grupo-cab{ background:#1b2439; border-bottom:1px solid #303c59; color:#e2e6f0; }
[data-theme="dark"] .fx-remedio__lista--manual{ border:1px solid #303c59; }
[data-theme="dark"] .fx-asignar{ border:1px solid #303c59; background:#1b2439; }
[data-theme="dark"] .fx-mo-aviso{ color:#eecfa0; }
[data-theme="dark"] .fx-nivtab,
[data-theme="dark"] .fx-nivpanel{ --nv-fondo:#1c4529; }
[data-theme="dark"] .fx-nivtab--2,
[data-theme="dark"] .fx-nivpanel--2{ --nv-fondo:#1d273e; }
[data-theme="dark"] .fx-nivtab--3,
[data-theme="dark"] .fx-nivpanel--3{ --nv-fondo:#452b1c; }
[data-theme="dark"] .fx-paso--2{ border-top:2px dashed #344261; }
[data-theme="dark"] .fx-paso__etq{ color:#8ec0eb; }
[data-theme="dark"] .fx-paso__remite{ background:#1e283f; border:1px solid #344261; }
[data-theme="dark"] .fx-paso__remite .bi{ color:#8ec0eb; }
}
