@media screen {
/* Modo oscuro, generado al arrancar desde cabeza de index.html, tipografia.css, cuerpo de index.html (tema-oscuro.cjs). Cada regla
   repite una de la hoja de origen con su color fijo pasado a oscuro, bajo :where() para no sumar especificidad.
   Los arreglos hechos a mano van en tema.css. */

/* ── cabeza de index.html ── */
:where(:root[data-theme="oscuro"]) .ay-modal { background: #1A1F26; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .ay-cab { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .ay-buscar { border: 1px solid #272B33; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .ay-icono { border: 1px solid #272B33; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .ay-icono:hover { background: #1E2127; }
:where(:root[data-theme="oscuro"]) .ay-indice { border-right: 1px solid #272B33; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .ay-indice a:hover { background: #142230; }
:where(:root[data-theme="oscuro"]) .ay-indice a.on { background: #343114; }
:where(:root[data-theme="oscuro"]) .ay-estado { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .ay-pie { border-top: 1px solid #272B33; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .ay-btn { border: 1.5px solid #272B33; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .ay-btn:hover { color: #15181D; }
:where(:root[data-theme="oscuro"]) .sf-modal { background: #1A1F26; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .sf-cab { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .sf-rango { border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .sf-rango[aria-pressed="true"] { color: #15181D; }
:where(:root[data-theme="oscuro"]) .sf-cerrar { border: 1px solid #2C3B4D; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .sf-tarj { border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .sf-tit { border-bottom: 1px solid #272B33; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .sf-barra .riel { background: #121E2A; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .sf-tabla th { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .sf-tabla td { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .sf-vacio { border: 1px dashed #2C3B4D; }
:where(:root[data-theme="oscuro"]) .sf-error { border: 1px solid #5E2424; background: #2E1111; color: #E46565; }
:where(:root[data-theme="oscuro"]) .rc-grid > .rc-flota,
:where(:root[data-theme="oscuro"]) .rc-grid > .rc-mapa-slot,
:where(:root[data-theme="oscuro"]) .rc-grid > .rc-det { background: #1A1F26; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .rc-buscador { border-bottom: 1px solid #272B33; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .rc-buscador input { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) #vistaConsolaRentacar .rc-buscador input { border-color: #323A46; }
:where(:root[data-theme="oscuro"]) .rc-filtros { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .rc-filtro { border: 1px solid #323A46; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-filtro[aria-pressed="true"] { background: #2E3540; border-color: #2E3540; }
:where(:root[data-theme="oscuro"]) .rc-filtro[aria-pressed="true"] .n { background: rgba(25, 25, 25, 0.2); }
:where(:root[data-theme="oscuro"]) .rc-fila { border-bottom: 1px solid #1E242A; }
:where(:root[data-theme="oscuro"]) .rc-fila:hover { background: #121E2A; }
:where(:root[data-theme="oscuro"]) .rc-fila.abierta::before { color: #15181D; }
:where(:root[data-theme="oscuro"]) .rc-punto { background: var(--c, #929AA6); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, #929AA6) 18%, transparent); }
:where(:root[data-theme="oscuro"]) .rc-punto.sin { background: #1A1F26; border: 2px dashed var(--c, #929AA6); }
:where(:root[data-theme="oscuro"]) .rc-patente { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-velo.mueve { color: #82E19E; }
:where(:root[data-theme="oscuro"]) .rc-llave { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-llave:hover { border-color: #51627A; }
:where(:root[data-theme="oscuro"]) .rc-llave.on { color: #4AEBB6; }
:where(:root[data-theme="oscuro"]) .rc-globo .pie { border-top: 1px solid rgba(25, 25, 25, 0.12); }
:where(:root[data-theme="oscuro"]) .rc-det-vacio svg { color: #8496AE; }
:where(:root[data-theme="oscuro"]) .rc-detalle { border-bottom: 1px solid #272B33; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .rc-det .rc-detalle { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-det-cab { border-bottom: 1px solid #272B33; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-det-cerrar { border: 1px solid #272B33; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-det-cerrar:hover { background: #121E2A; }
:where(:root[data-theme="oscuro"]) .rc-chip { background: var(--chip-f, #142230); color: var(--chip-t, #A8B6CB); }
:where(:root[data-theme="oscuro"]) .rc-sec { border-bottom: 1px solid #1E242A; }
:where(:root[data-theme="oscuro"]) .rc-bloque { background: #1A1F26; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .rc-sensor { border-bottom: 1px dotted #272B33; }
:where(:root[data-theme="oscuro"]) .rc-mini > div { background: #1A1F26; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .rc-btn { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-btn:hover { border-color: #51627A; }
:where(:root[data-theme="oscuro"]) .rc-btn.marca { color: #15181D; }
:where(:root[data-theme="oscuro"]) .rc-conf.esperando { background: #121E2A; border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .rc-conf.ok { background: #133223; border: 1px solid #1CA770; color: #9FF4DD; }
:where(:root[data-theme="oscuro"]) .rc-conf.pendiente { background: #312B13; border: 1px solid #C99B03; color: #EF9E6D; }
:where(:root[data-theme="oscuro"]) .rc-conf.neutro { background: #121E2A; border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .rc-kpi { background: #1A1F26; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) button.rc-kpi:hover { border-color: #2C3B4D; }
:where(:root[data-theme="oscuro"]) .rc-kpi .s.mal { color: #E7564B; }
:where(:root[data-theme="oscuro"]) .rc-btn-cab { border: 1px solid #272B33; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-btn-cab:hover { border-color: #2C3B4D; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .rc-leyenda { background: #1A1F26; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .rc-leyenda i.sin { background: #1A1F26; border: 2px dashed #929AA6; }
:where(:root[data-theme="oscuro"]) .rc-capa { background: #1A1F26; border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .rc-capa[aria-pressed="true"] { background: #2E3540; border-color: #2E3540; }
:where(:root[data-theme="oscuro"]) .rc-actualizado { background: #1A1F26; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .rc-pin { border: 2px solid #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-pin.sin { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .dlg-caja { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .dlg-icono.peligro { background: #2E1111; color: #E34F4F; }
:where(:root[data-theme="oscuro"]) .dlg-icono.aviso { background: #312B13; color: #EC9654; }
:where(:root[data-theme="oscuro"]) .dlg-icono.ok { background: #133223; color: #8CF2D5; }
:where(:root[data-theme="oscuro"]) .dlg-icono.neutro { background: #142230; }
:where(:root[data-theme="oscuro"]) .dlg-btn { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .dlg-btn:hover { background: #121E2A; }
:where(:root[data-theme="oscuro"]) .dlg-btn:focus-visible { outline: 3px solid #C99B03; }
:where(:root[data-theme="oscuro"]) .panico-bsj { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .panico-bsj-horas > div { background: #2E1111; }
:where(:root[data-theme="oscuro"]) .panico-bsj-horas b { color: #E44E4E; }
:where(:root[data-theme="oscuro"]) .panico-bsj-eventos { border-top: 1px solid #371515; background: #270F0F; }
:where(:root[data-theme="oscuro"]) .rc-repro { background: #1A1F26; border-top: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .rc-repro-cerrar { border: 1px solid #2C3B4D; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .rc-campo input { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-btn-chico { color: #15181D; }
:where(:root[data-theme="oscuro"]) .rc-rapido { border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .rc-rapido[aria-pressed="true"] { color: #15181D; }
:where(:root[data-theme="oscuro"]) .rc-mandos { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-mando { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .rc-mando.rc-play { color: #15181D; }
:where(:root[data-theme="oscuro"]) .rc-vel { border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .rc-parcial { background: #312B13; border: 1px solid #C99B03; color: #EF9E6D; }
:where(:root[data-theme="oscuro"]) .rc-neutro { background: #121E2A; border: 1px solid #2C3B4D; }
@media (max-width: 720px) {
  :where(:root[data-theme="oscuro"]) .rc-tab { border: 1px solid #2C3B4D; background: #1A1F26; }
  :where(:root[data-theme="oscuro"]) .rc-tab[aria-selected="true"] { color: #15181D; }
}
:where(:root[data-theme="oscuro"]) .rc-globo-punto:before { border-top-color: #C9D3EC; }
:where(:root[data-theme="oscuro"]) .tl-pista { border: 1px solid #1E2A3A; background: #1B242F; background-image: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(81, 98, 122, 0.1) 6px, rgba(81, 98, 122, 0.1) 7px); }
:where(:root[data-theme="oscuro"]) .rc-aviso-mapa { background: rgba(49, 43, 19, 0.95); border: 1px solid #C99B03; color: #EF9E6D; }
:where(:root[data-theme="oscuro"]) .rc-mapa-slot { background: #1E2127; }
:where(:root[data-theme="oscuro"]) .imx-boton { border: 1px solid #8CE1B3; background: #1A1F26; color: #8DE1B3; }
:where(:root[data-theme="oscuro"]) .imx-boton:hover { background: #122F1B; }
:where(:root[data-theme="oscuro"]) .imx-caja-modal { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .imx-cab { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .imx-x { border: 1px solid #272B33; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) #imxPie { border-top: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .imx-pasos span { background: #1E242A; }
:where(:root[data-theme="oscuro"]) .imx-pasos span.on { background: #2E3540; }
:where(:root[data-theme="oscuro"]) .imx-op { border: 1px solid #272B33; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .imx-op:hover { border-color: #2C3B4D; }
:where(:root[data-theme="oscuro"]) .imx-op i { border: 2px solid #5B6370; }
:where(:root[data-theme="oscuro"]) .imx-caja { border: 1px dashed #2C3B4D; }
:where(:root[data-theme="oscuro"]) .imx-soltar { border: 2px dashed #8CE1B3; background: #122F1B; }
:where(:root[data-theme="oscuro"]) .imx-soltar.encima { background: #173C24; }
:where(:root[data-theme="oscuro"]) .imx-btn { border: 1px solid #272B33; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .imx-btn:hover { background: #121E2A; }
:where(:root[data-theme="oscuro"]) .imx-btn.prim { background: #2E3540; border-color: #2E3540; }
:where(:root[data-theme="oscuro"]) .imx-btn.marca { color: #15181D; }
:where(:root[data-theme="oscuro"]) .imx-aviso { background: #312B13; border: 1px solid #C99B03; color: #EF9E6D; }
:where(:root[data-theme="oscuro"]) .imx-chip.ok { background: #173C24; color: #82E19E; }
:where(:root[data-theme="oscuro"]) .imx-chip.av { background: #483F1B; color: #EF9E6D; }
:where(:root[data-theme="oscuro"]) .imx-chip.mal { background: #371515; color: #E7564B; }
:where(:root[data-theme="oscuro"]) .imx-chip.gr { background: #1E242A; }
:where(:root[data-theme="oscuro"]) .imx-tabla th { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .imx-tabla td { border-bottom: 1px solid #1E242A; }
:where(:root[data-theme="oscuro"]) .imx-tabla tr.imx-mal td { background: #2A1010; }
:where(:root[data-theme="oscuro"]) .imx-tabla tr.imx-av td { background: #2C2811; }
:where(:root[data-theme="oscuro"]) .imx-est.ok { color: #82E19E; }
:where(:root[data-theme="oscuro"]) .imx-est.av { color: #EF9E6D; }
:where(:root[data-theme="oscuro"]) .imx-est.mal { color: #E7564B; }
:where(:root[data-theme="oscuro"]) .imx-tic { background: #173C24; color: #82E19E; }
:where(:root[data-theme="oscuro"]) .imx-lista { background: #121E2A; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .sidebar { border-right: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) #btnToggleSidebar { border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) #btnToggleSidebar:hover { background: #181E24; }
:where(:root[data-theme="oscuro"]) #tooltipMenu::before { border-right-color: #CBC8DF; }
@media (min-width: 901px) {
  :where(:root[data-theme="oscuro"]) .sidebar.colapsado .nav-item:hover { background: #121E2A; }
  :where(:root[data-theme="oscuro"]) .sidebar.colapsado .nav-item.active { color: #15181D; }
  :where(:root[data-theme="oscuro"]) .sidebar.colapsado .nav-grupo { border-top: 1px solid #272B33; }
  :where(:root[data-theme="oscuro"]) .sidebar.colapsado .nav-item[style*="border-left"]::before { background: var(--marca-menu, #400ABB); }
  :where(:root[data-theme="oscuro"]) .sidebar.colapsado .nav-item .badge { border: 2px solid #1A1F26; }
  :where(:root[data-theme="oscuro"]) .sidebar.colapsado .menu-cuenta .logout-btn { border: 1px solid #51241F; color: #E7564B; }
}
:where(:root[data-theme="oscuro"]) .nav-item { border-bottom: 1px solid var(--line-2, #1F252C); }
:where(:root[data-theme="oscuro"]) .os-pestanas { border-bottom: 1px solid var(--line-2, #1F252C); }
:where(:root[data-theme="oscuro"]) .nav-item:hover { background-color: #1A1F24; }
:where(:root[data-theme="oscuro"]) .nav-item.active { color: #15181D; }
:where(:root[data-theme="oscuro"]) .menu-usuario { background: var(--soft, #181D26); }
:where(:root[data-theme="oscuro"]) .menu-usuario:hover { background: #1F252C; }
:where(:root[data-theme="oscuro"]) .menu-usuario .avatar { background: #2E3540; }
:where(:root[data-theme="oscuro"]) .user-info[data-estado="cargando"] .menu-usuario .avatar::after { color: #15181D; }
:where(:root[data-theme="oscuro"]) .menu-cuenta .menu-cuenta-perfil:hover { background: var(--soft, #181D26); }
:where(:root[data-theme="oscuro"]) .menu-cuenta .logout-btn:hover { background: #331713; color: #E7564B; }
:where(:root[data-theme="oscuro"]) .card { border: 1px solid var(--line, #272D36); }
:where(:root[data-theme="oscuro"]) .btn { color: #15181D; }
:where(:root[data-theme="oscuro"]) .btn:hover { color: #15181D; }
:where(:root[data-theme="oscuro"]) label .obligatorio { color: #E7564B; }
:where(:root[data-theme="oscuro"]) .aviso-modal { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .aviso-franja { color: #15181D; }
:where(:root[data-theme="oscuro"]) .aviso-x { background: #142230; }
:where(:root[data-theme="oscuro"]) .aviso-x:hover { background: #1E2A3A; }
:where(:root[data-theme="oscuro"]) .aviso-etiqueta { background: #483F1B; color: #EF9E6D; }
:where(:root[data-theme="oscuro"]) .aviso-destacado { background: #121E2A; border: 1px solid #1E2A3A; }
:where(:root[data-theme="oscuro"]) .barra-aviso { background: #1A1F26; border: 1px solid #6E612A; }
:where(:root[data-theme="oscuro"]) .barra-aviso-ico { color: #15181D; }
:where(:root[data-theme="oscuro"]) .barra-aviso-x:hover { background: #121E2A; }
:where(:root[data-theme="oscuro"]) details { background: #181E24; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) summary { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) summary:hover { background: #1E2127; }
:where(:root[data-theme="oscuro"]) details[open] summary { border-bottom: 1px solid #272B33; background: #1E2127; }
:where(:root[data-theme="oscuro"]) .widget-content { background: #181E24; }
:where(:root[data-theme="oscuro"]) .badge { background: #9CA6B4; }
:where(:root[data-theme="oscuro"]) .info-auditoria { border-top: 1px solid rgba(25, 25, 25, 0.1); }
:where(:root[data-theme="oscuro"]) .btn-minimizar-carga { background: rgba(25, 25, 25, 0.08); }
:where(:root[data-theme="oscuro"]) .btn-minimizar-carga:hover { background: rgba(25, 25, 25, 0.16); }
:where(:root[data-theme="oscuro"]) .login-admin-box { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .progress-fill { color: #15181D; }
:where(:root[data-theme="oscuro"]) .search-input { border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .caja-vehiculos-mtt { border: 1px solid #272B33; background: #181E24; }
:where(:root[data-theme="oscuro"]) .item-vehiculo-mtt { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .res-item-mtt { border: 1px solid #353B44; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .res-verde-mtt { background-color: #133223; }
:where(:root[data-theme="oscuro"]) .resultado-caja { border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .slider { background-color: #2C3B4D; }
:where(:root[data-theme="oscuro"]) .slider:before { background-color: #1A1F26; }
:where(:root[data-theme="oscuro"]) .kpi-orange { color: #15181D; }
:where(:root[data-theme="oscuro"]) .cert-tabs { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .cert-tab { background: #181E24; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .cert-tab:hover { background: #272B33; }
:where(:root[data-theme="oscuro"]) .kv { border: 1px solid #272B33; background: #181E24; }
:where(:root[data-theme="oscuro"]) .table-cert th,
:where(:root[data-theme="oscuro"]) .table-cert td { border-bottom: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .table-cert th { background: #1E2127; }
:where(:root[data-theme="oscuro"]) .mapa-expandido { background: #1A1F26 !important; }
:where(:root[data-theme="oscuro"]) .btn-pantalla-completa { background: #1A1F26; border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .btn-pantalla-completa:hover { background: #142230; }
:where(:root[data-theme="oscuro"]) .panel-flotante-mapa { background: #1A1F26; border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .panel-flotante-mapa input { border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .btn-popup-recorrido { border: 1px solid #2C3B4D; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .btn-popup-recorrido:hover { background: #1E2A3A; }
:where(:root[data-theme="oscuro"]) .barra-editor { border: 1px solid #2C3B4D; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .barra-editor button:hover { background: #1E2A3A; }
:where(:root[data-theme="oscuro"]) .barra-editor button.activo { color: #15181D; }
:where(:root[data-theme="oscuro"]) .barra-editor select { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .sep-editor { background: #2C3B4D; }
:where(:root[data-theme="oscuro"]) .caja-editor { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .medidor-editor { background: #272B33; }
:where(:root[data-theme="oscuro"]) .alerta-editor { background: #2E1111; border: 1px solid #5E2424; color: #E46565; }
:where(:root[data-theme="oscuro"]) .previa-libre { border-top: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .previa-hojas { background: #1E2127; }
:where(:root[data-theme="oscuro"]) .previa-hoja { border: 1px solid #2C3B4D; background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .sheet-zip { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .header-zip { border-bottom: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .logo-cliente-zip { background-color: #1A1F26; }
:where(:root[data-theme="oscuro"]) .box-zip { border: 1px solid #1E2A3A; background: #121E2A; }
:where(:root[data-theme="oscuro"]) .map-zip { border: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .footer-fixed-zip { background: #1A1F26; }
:where(:root[data-theme="oscuro"]) .footer-zip { border-top: 1px dashed #2C3B4D; }
:where(:root[data-theme="oscuro"]) .signature-block-zip { border-top: 1px solid #2C3B4D; }
:where(:root[data-theme="oscuro"]) .sig-line-zip { border-bottom: 2px solid #4A5A6F; }
:where(:root[data-theme="oscuro"]) .btn-formato { background: #1A1F26; border: 2px solid #1E2A3A; }
:where(:root[data-theme="oscuro"]) .btn-pdf i { color: #EB4747; }
:where(:root[data-theme="oscuro"]) .btn-pdf:hover { border-color: #5E2424; background: #2E1111; }
:where(:root[data-theme="oscuro"]) .btn-pdf:hover span { color: #EB4747; }
:where(:root[data-theme="oscuro"]) .btn-excel i { color: #4AEBB6; }
:where(:root[data-theme="oscuro"]) .btn-excel:hover { border-color: #1CA770; background: #133223; }
:where(:root[data-theme="oscuro"]) .btn-excel:hover span { color: #4AEBB6; }
:where(:root[data-theme="oscuro"]) .btn-formato.is-loading { border-color: #2C3B4D; }
:where(:root[data-theme="oscuro"]) .caja-controles-rep { background: #121E2A; border: 1px solid #272B33; }
:where(:root[data-theme="oscuro"]) .caja-controles-rep label i { color: #4785EB; }

/* ── tipografia.css ── */

/* ── cuerpo de index.html ── */
:root[data-theme="oscuro"] #informesView .inf-caja { background: var(--blanco-tarjetas, #1A1F26); border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-chip { background: var(--soft, #181D26); border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-chip.pat { color: #15181D; }
:root[data-theme="oscuro"] #informesView .inf-chip.grupo { background: #141E35; color: #7490E1; border-color: #1D2B4C; }
:root[data-theme="oscuro"] #informesView .inf-chip.rojo { background: #331713; color: #E7564B; border-color: #542620; }
:root[data-theme="oscuro"] #informesView .inf-chip.verde { background: #193922; color: #82E19E; border-color: #275A38; }
:root[data-theme="oscuro"] #informesView .inf-tarjeta { background: var(--blanco-tarjetas, #1A1F26); border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-tarjeta.activa b::before { background: #2E3540; border-color: #2E3540; }
:root[data-theme="oscuro"] #informesView .inf-lista > div { border-bottom: 1px solid var(--line-2, #1F252C); }
:root[data-theme="oscuro"] #informesView .inf-chips { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] #informesView .inf-desplegable { background: var(--blanco-tarjetas, #1A1F26); border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-desplegable div { border-bottom: 1px solid var(--line-2, #1F252C); }
:root[data-theme="oscuro"] #informesView .inf-desplegable div:hover { background: var(--soft, #181D26); }
:root[data-theme="oscuro"] #informesView .inf-periodo { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] #informesView .inf-periodo.activo { background: #2E3540; border-color: #2E3540; }
:root[data-theme="oscuro"] #informesView .inf-rango input,
:root[data-theme="oscuro"] #informesView .inf-avanzadas select { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] #informesView .inf-banner.ambar { background: #372A15; border-color: #604924; color: #F0AA7B; }
:root[data-theme="oscuro"] #informesView .inf-banner.rojo { background: #331713; border-color: #542620; color: #E7564B; }
:root[data-theme="oscuro"] #informesView .inf-banner.verde { background: #193922; border-color: #275A38; color: #82E19E; }
:root[data-theme="oscuro"] #informesView .inf-banner.azul { background: #141E35; border-color: #1D2B4C; color: #7490E1; }
:root[data-theme="oscuro"] #informesView .inf-barra { background: var(--line-2, #1F252C); }
:root[data-theme="oscuro"] #informesView .inf-barra > div { background: #2E3540; }
:root[data-theme="oscuro"] #informesView .inf-kpi { background: var(--blanco-tarjetas, #1A1F26); border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-vistas { background: var(--soft, #181D26); border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-vista.activa { background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] #informesView table.inf-tabla td { border-bottom: 1px solid var(--line-2, #1F252C); }
:root[data-theme="oscuro"] #informesView table.inf-tabla tfoot td { border-top: 2px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-pestanas { border-bottom: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-pestana .inf-n { background: #2E3540; }
:root[data-theme="oscuro"] #informesView .inf-pestana:not(.activa) .inf-n { background: var(--soft, #181D26); }
:root[data-theme="oscuro"] #informesView .inf-sensor { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] #informesView .inf-sensor input { accent-color: #D8DCE2; }
:root[data-theme="oscuro"] #informesView .inf-tabs-hojas button { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] #informesView .inf-tabs-hojas button.activa { background: #2E3540; border-color: #2E3540; }
:root[data-theme="oscuro"] #informesView .inf-tabla-hoja { border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-tabla-hoja th { background: var(--soft, #181D26); border-bottom: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-tabla-hoja td { border-bottom: 1px solid var(--line-2, #1F252C); }
:root[data-theme="oscuro"] #informesView .inf-chip.nuevo { background: #141E35; color: #7490E1; }
:root[data-theme="oscuro"] #informesView .inf-menu { background: var(--blanco-tarjetas, #1A1F26); border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] #informesView .inf-menu button:hover { background: var(--soft, #181D26); }
:root[data-theme="oscuro"] #informesView .inf-geo-fila select { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] #informesView .inf-chip.estado-ok { background: #193922; color: #82E19E; }
:root[data-theme="oscuro"] #informesView .inf-chip.estado-mal { background: #331713; color: #E7564B; }
:root[data-theme="oscuro"] #informesView .inf-chip.estado-pausa { background: #372A15; color: #F0AA7B; }
:root[data-theme="oscuro"] .inf-modal { background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] .inf-modal .inf-campo input[type=text],
:root[data-theme="oscuro"] .inf-modal .inf-campo input[type=time],
:root[data-theme="oscuro"] .inf-modal .inf-campo select { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] .inf-modal .inf-opciones button { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] .inf-modal .inf-opciones button.activo { background: #2E3540; border-color: #2E3540; }
:root[data-theme="oscuro"] .inf-modal .inf-dias button { border: 1px solid var(--line, #272D36); background: var(--blanco-tarjetas, #1A1F26); }
:root[data-theme="oscuro"] .inf-modal .inf-dias button.activo { color: #15181D; }
:root[data-theme="oscuro"] .inf-modal .inf-correos { border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] .inf-modal .inf-chip { background: var(--soft, #181D26); border: 1px solid var(--line, #272D36); }
:root[data-theme="oscuro"] .inf-modal .inf-error { background: #331713; color: #E7564B; }
:root[data-theme="oscuro"] #ralentiView .rl-kpi.hero { border-color: #6E612A; }
:root[data-theme="oscuro"] #ralentiView .rl-delta.sube { color: #E44E4E; }
:root[data-theme="oscuro"] #ralentiView .rl-delta.baja { color: #7DEAA5; }
:root[data-theme="oscuro"] #ralentiView .rl-aviso { background: #312B13; border: 1px solid #6E612A; color: #EF9E6D; }
:root[data-theme="oscuro"] #ralentiView .rl-eje { fill: #51627A; }
:root[data-theme="oscuro"] #ralentiView .rl-ref { fill: #7A899F; }
:root[data-theme="oscuro"] #ralentiView .rl-dir { fill: #C9D3EC; }
:root[data-theme="oscuro"] #ralentiView table.rl-tabla th { border-bottom: 2px solid #C9D3EC; }
:root[data-theme="oscuro"] #ralentiView .rl-rueda { border: 3px solid #6E612A; }
:root[data-theme="oscuro"] #combustiblesView .btnCom.pri,
:root[data-theme="oscuro"] #modalDetalleCarga .btnCom.pri { color: #15181D; }
:root[data-theme="oscuro"] #combustiblesView .btnCom.pri:hover:not(:disabled),
:root[data-theme="oscuro"] #modalDetalleCarga .btnCom.pri:hover:not(:disabled) { color: #15181D; }
:root[data-theme="oscuro"] #combustiblesView .btnCom.sec:hover:not(:disabled),
:root[data-theme="oscuro"] #modalDetalleCarga .btnCom.sec:hover:not(:disabled) { border-color: #2C3B4D; }
:root[data-theme="oscuro"] #combustiblesView .btnCom.peligro,
:root[data-theme="oscuro"] #modalDetalleCarga .btnCom.peligro { color: #E44E4E; border-color: #461B1B; }
:root[data-theme="oscuro"] #combustiblesView .btnCom.peligro:hover:not(:disabled),
:root[data-theme="oscuro"] #modalDetalleCarga .btnCom.peligro:hover:not(:disabled) { background: #2E1111; border-color: #5E2424; }
:root[data-theme="oscuro"] #combustiblesView .mpEnlace { color: #EB7F47; }
:root[data-theme="oscuro"] #combustiblesView .mpMarcaFila:hover,
:root[data-theme="oscuro"] #combustiblesView .mpMarcaFila.mpResaltada { background: #302312; }
:root[data-theme="oscuro"] #informeAhorroView .btnIa { border: 1px solid #2C3B4D; }
:root[data-theme="oscuro"] #informeAhorroView .btnIa.pri { color: #15181D; }
:root[data-theme="oscuro"] #informeAhorroView .btnIa.pri:hover:not(:disabled) { color: #15181D; }
:root[data-theme="oscuro"] .mv-caja { background: #1A1F26; border: 1px solid #272B33; }
:root[data-theme="oscuro"] .mv-franja i.n { color: #15181D; }
:root[data-theme="oscuro"] .mv-franja i.g { background: #2C3B4D; }
:root[data-theme="oscuro"] .mv-franja i.sel { outline: 3px solid #C9D3EC; }
:root[data-theme="oscuro"] .mv-tabs { border: 1px solid #272B33; background: #1A1F26; }
:root[data-theme="oscuro"] .mv-tabla th { border-bottom: 2px solid #C9D3EC; }
:root[data-theme="oscuro"] .mv-tabla td { border-bottom: 1px solid #272B33; }
:root[data-theme="oscuro"] .mv-tabla tr.fila:hover td { background: #121E2A; }
:root[data-theme="oscuro"] .mv-mini { background: #1E2A3A; }
:root[data-theme="oscuro"] .mv-mini i.bajo { color: #15181D; }
:root[data-theme="oscuro"] .mv-hoy { color: #E44E4E; }
:root[data-theme="oscuro"] .mv-senal-t { color: #EC9654; }
:root[data-theme="oscuro"] .mv-tarjeta.sel { outline: 3px solid #C9D3EC; }
:root[data-theme="oscuro"] .cb-barra i.bajo { color: #15181D; }
:root[data-theme="oscuro"] .cb-barra em { background: #6E612A; }
:root[data-theme="oscuro"] .tp-remolque:before,
:root[data-theme="oscuro"] .tp-remolque:after { border-top: 1px dashed #9CA6B4; }
:root[data-theme="oscuro"] .tp-rango { background: linear-gradient(90deg,#9CA6B4 0 25%,#D1DBEF 25% 75%,#9CA6B4 75% 100%); }
:root[data-theme="oscuro"] .tp-rango i { background: #1A1F26; border: 2px solid #CCD5E9; }
:root[data-theme="oscuro"] .tp-banda i.n { color: #15181D; }
:root[data-theme="oscuro"] .tp-banda-t { background: #1E2A3A; }
:root[data-theme="oscuro"] .tp-banda-t i.n { color: #15181D; }
}
