/* GENERADO por scripts/generar-tema-oscuro.mjs desde index.html — no editar a mano; vuelve a generarlo.
   Se aplica solo con <html data-tema="oscuro">. 771 reglas · 992 declaraciones. Archivos: assets/app.css, assets/seguridad.css, assets/cuenta.css, assets/examenes.css, assets/simuladores.css, assets/historial.css, assets/ultraresumenes.css, assets/ultra-tinta.css, assets/beta.css, assets/escalas.css, assets/herramientas.css, assets/progreso.css, assets/progreso-beta.css, assets/notificaciones.css, assets/cta.css, assets/recorrido.css, assets/interfaz-simple.css */

/* ── assets/app.css ── */
:where(html[data-tema="oscuro"]) .login-marca-cab span { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .btn-ver-password:hover { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .btn-logout-chat:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .tab-app:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .tab-app.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .msg-bubble b.gpc-cita { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .chat-sugerencias button:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .fuente-item { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .fuente-item b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .btn-flashcard-mini { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .btn-flashcard-guardar { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .act-opcion:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .act-switch::after { background: #121B2E; }
:where(html[data-tema="oscuro"]) .act-opcion:has(input:checked) { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .act-enlace { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .pro-etq { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pro-btn:hover:not(:disabled) { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .pro-captura { background: #121B2E; }
:where(html[data-tema="oscuro"]) .tbl-datos tbody th { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .tbl-datos tbody tr:nth-child(even) td { background: #1D222E; }
:where(html[data-tema="oscuro"]) .tbl-datos tbody tr:hover td { background: #13243A; }
:where(html[data-tema="oscuro"]) .alg-accion .alg-ico { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .alg-cab { background: linear-gradient(180deg, #1E262F, #121B2E); }
:where(html[data-tema="oscuro"]) .alg-titulo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .alg-pie { background: #1E262F; }
:where(html[data-tema="oscuro"]) .alg-firma { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .alg-fs { background: #202932; }
:where(html[data-tema="oscuro"]) .alg-fs-titulo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .alg-fs-acciones button:hover:not(:disabled) { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .fuentes-n { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .alg-comp { background: #121B2E; }
:where(html[data-tema="oscuro"]) .alg-comp-tit { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .act-tabla { background: #121B2E; }
:where(html[data-tema="oscuro"]) .act-tabla .tbl-datos thead th { background: var(--dn-fill-warn); }
:where(html[data-tema="oscuro"]) .flashcard-tarjeta { background: #121B2E; }
:where(html[data-tema="oscuro"]) .fc-lienzo { color: #ACBCE1; }
:where(html[data-tema="oscuro"]) .fc-pill { background: rgba(11, 18, 32, 0.78); }
:where(html[data-tema="oscuro"]) .fc-bloque { background: rgba(11, 18, 32, 0.92); }
:where(html[data-tema="oscuro"]) .fc-tabla tbody tr:nth-child(even) td { background: rgba(11, 18, 32, 0.6); }
:where(html[data-tema="oscuro"]) .fc-pie { background: #121B2E; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .fc-origen { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .fb-btn:hover { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .fb-btn.activo { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .fb-link { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .fb-cats input:checked + span { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .accion-chat { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .accion-chat:hover { background: #152540; }
:where(html[data-tema="oscuro"]) .sugerencia-estudio { background: #122137; }
:where(html[data-tema="oscuro"]) .sugerencia-tag { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .fc-nota { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .fc-pag-btn { background: rgba(11, 18, 32, 0.92); color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .reg-ayuda-password { color: var(--ui-grey, #8896AE); }
:where(html[data-tema="oscuro"]) .login-marca-cab img { background: #121B2E; }
:where(html[data-tema="oscuro"]) .login-input-wrap:focus-within > svg { stroke: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .gpc-cod { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ext-cab { background: var(--warn-bg, #3D3514); border: 1px solid var(--warn-borde, #5C5229); color: var(--warn, #F3A97D); }
:where(html[data-tema="oscuro"]) .ext-fuente .n { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ext-fuente a { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .btn-copiar-icono { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .act-farmaco-t svg { stroke: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .act-farmaco-t b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .fuente-abrir { color: var(--dn-enlace); }

/* ── assets/seguridad.css ── */
:where(html[data-tema="oscuro"]) .seg-modal { background: #121B2E; color: #B3C2DB; }
:where(html[data-tema="oscuro"]) .seg-modal h2 { color: #AAC3E4; }
:where(html[data-tema="oscuro"]) .seg-modal p { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .seg-cerrar { background: #202932; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .seg-importante { background: #3D2B14; border: 1px solid #5C4428; color: #F09B7F !important; }
:where(html[data-tema="oscuro"]) .seg-ok { background: #173C2A; border: 1px solid #2E5644; color: #97F7DB !important; }
:where(html[data-tema="oscuro"]) .seg-sub { color: #B3C3DB !important; }
:where(html[data-tema="oscuro"]) .seg-qr { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .seg-clave code { background: #202932; color: #ACBCE1; }
:where(html[data-tema="oscuro"]) .seg-campo span { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .seg-campo input { border: 1px solid #3B4249; }
:where(html[data-tema="oscuro"]) .seg-btn { border: 1px solid #3B4249; background: #121B2E; color: #AAC3E4; }
:where(html[data-tema="oscuro"]) .seg-btn:hover:not(:disabled) { background: #14253C; }
:where(html[data-tema="oscuro"]) .seg-peligro { border-color: #5B2929; color: #EC8383; }
:where(html[data-tema="oscuro"]) .seg-peligro:hover:not(:disabled) { background: #3A1515; }
:where(html[data-tema="oscuro"]) .seg-aviso { color: #EC8383 !important; }
:where(html[data-tema="oscuro"]) .seg-codigos { background: #1E262F; border: 1px dashed #3B4249; }
:where(html[data-tema="oscuro"]) .seg-codigos code { color: #ACBCE1; }
:where(html[data-tema="oscuro"]) .seg-bloque { border-top: 1px solid #3A414B; }
:where(html[data-tema="oscuro"]) .login-2fa p { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .login-2fa input { border: 1px solid #3B4249; }

/* ── assets/cuenta.css ── */
:where(html[data-tema="oscuro"]) .login-tab.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .login-link { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .login-link:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .cuenta-avatar { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .herramienta-chip:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .herramienta-icon { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .btn-secondary-account { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .cuenta-plan-card { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .plan-card > strong { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .plan-card li.todo-anterior { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pago-resumen { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .metodos-pago button.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .referencia-pago b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .gate-card .gate-icon { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .cuenta-seg-txt { color: var(--text-2, #9FB3D1); }
:where(html[data-tema="oscuro"]) .calendario-atraso { color: var(--rojo, #EB8484); }
:where(html[data-tema="oscuro"]) .calendario-tarea-icono svg { stroke: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .calendario-tarea-icono.examen svg { stroke: var(--verde, #7BF4CF); }
:where(html[data-tema="oscuro"]) .dia-chip.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .prioridad-num { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .prioridad-flechas button { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .config-volver:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .config-nav-item.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .asis-atajo { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .asis-resumen { background: rgba(11, 18, 32, 0.72); }
:where(html[data-tema="oscuro"]) .asis-editar { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .asis-form .seg-mal { color: var(--rojo, #EB8484); }
:where(html[data-tema="oscuro"]) .calendario-plan .cal-aviso { color: #F3A97D; background: #3D3514; border: 1px solid #5C5229; }
:where(html[data-tema="oscuro"]) .calendario-plan .cal-ok { color: #97F7DB; }
:where(html[data-tema="oscuro"]) .cal-chip.repaso { background: #1D153F; color: #AD86EA; border-color: #32295C; }
:where(html[data-tema="oscuro"]) .calendario-tarea-icono.repaso svg { stroke: #A87CF3; }
:where(html[data-tema="oscuro"]) .asis-aviso .asis-aviso-mal { color: #F3A97D; background: #3D3514; border: 1px solid #5C5229; }
:where(html[data-tema="oscuro"]) .pl-toast button { background: #121B2E; color: #ACBCE1; }
:where(html[data-tema="oscuro"]) .pl-err { color: #EC8383; }
:where(html[data-tema="oscuro"]) .pl-area.hecha { background: #173922; border-color: #2D573C; }
:where(html[data-tema="oscuro"]) .pl-ok { color: #97F7DB; }
:where(html[data-tema="oscuro"]) .pl-buscador { background: #14253C; }
:where(html[data-tema="oscuro"]) .pl-buscador-et { color: #819EEE; }
:where(html[data-tema="oscuro"]) .pl-buscador .pl-buscar { background: #121B2E; border: 1.5px solid #29415C; }
:where(html[data-tema="oscuro"]) .inicio-card > div { background: var(--superficie-1, #121B2E); }
:where(html[data-tema="oscuro"]) .inicio-sig { border-color: #293F5C !important; background: #14263B !important; }
:where(html[data-tema="oscuro"]) .inicio-sig small { color: #819EEE; }
:where(html[data-tema="oscuro"]) .pl-gpc-chip.hecha { background: #173922; border-color: #2D573C; }
:where(html[data-tema="oscuro"]) .pl-chip.ok { background: #173C2A; border-color: #2E5644; color: #97F7DB; }
:where(html[data-tema="oscuro"]) .pl-chip.warn { background: #3D3514; border-color: #5C5229; color: #F3A97D; }
:where(html[data-tema="oscuro"]) .pl-link { color: #7CA1F3; }
:where(html[data-tema="oscuro"]) .pl-demo-aviso { background: #4D421A; color: #F3A97D; }
:where(html[data-tema="oscuro"]) .pl-demo-cols section.pro { border-color: #32295C; background: #1F1338; }
:where(html[data-tema="oscuro"]) .pl-demo-repaso { background: #29153F; }
:where(html[data-tema="oscuro"]) .pl-comparacion thead th em { color: #97F7DB; }
:where(html[data-tema="oscuro"]) .cal-banner { background: #3D3514; border: 1px solid #5C5229; color: #F3A97D; }
:where(html[data-tema="oscuro"]) .cal-banner.prueba { background: #173C2A; border-color: #2E5644; color: #97F7DB; }
:where(html[data-tema="oscuro"]) .pg-banner { background: #173C2A; border: 1px solid #2E5644; color: #97F7DB; }
:where(html[data-tema="oscuro"]) .pg-banner.lectura { background: #3D3514; border-color: #5C5229; color: #F3A97D; }
:where(html[data-tema="oscuro"]) .pl-listo { background: var(--superficie-1, #121B2E); }
:where(html[data-tema="oscuro"]) .pl-dm-hero .tab-pro,
:where(html[data-tema="oscuro"]) .gate-pro-hero .tab-pro { color: #B3C4DB; }
:where(html[data-tema="oscuro"]) .pl-pro-demo .cuenta-modal-close { background: rgba(11, 18, 32, 0.9); }
:where(html[data-tema="oscuro"]) .pl-dm-hero .pl-tabs button.activa { background: #121B2E; color: #8AA2E5; border-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .pl-dm-ejemplo { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-dm-anillo { background: linear-gradient(160deg, #14253C, #173C2A); }
:where(html[data-tema="oscuro"]) .pl-dm-anillo b { color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .pl-dm-anillo span { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-dm-stat { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-dm-stat span { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-dm-stat b { color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .pl-dm-stat em { color: #7BF4CF; }
:where(html[data-tema="oscuro"]) .pl-dm-h4 { color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .pl-dm-tarea { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-dm-tarea small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-dm-dia { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-dm-dia.hoy { background: linear-gradient(180deg, #14253C, #121B2E); }
:where(html[data-tema="oscuro"]) .pl-dm-dia small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-dm-dia b { color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .pl-dm-dia em { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-dm-chip { background: #172A44; color: #819EEE; }
:where(html[data-tema="oscuro"]) .pl-dm-chip.examen { background: #1C4731; color: #97F7DB; }
:where(html[data-tema="oscuro"]) .pl-dm-chip.repaso { background: #1D153F; color: #AD86EA; }
:where(html[data-tema="oscuro"]) .pl-dm-bloque { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-dm-bloque h4 { color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .pl-dm-barra div { background: #222933; }
:where(html[data-tema="oscuro"]) .pl-dm-barra b { color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .pl-dm-barra em { color: #7BF4CF; }
:where(html[data-tema="oscuro"]) .pl-dm-nota { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-dm-nota b { color: #7BF4CF; }
:where(html[data-tema="oscuro"]) .pl-dm-boton { background: #121B2E; color: #AD86EA; }
:where(html[data-tema="oscuro"]) .pl-dm-practica li { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-dm-practica li span { color: #F37D99; }
:where(html[data-tema="oscuro"]) .gate-pro-vista { border: 1px solid #3A414B; background: #1E262F; }
:where(html[data-tema="oscuro"]) .gate-pro-tile { border: 1px solid #3A414B; background: linear-gradient(180deg, #121B2E, #1E262F); }
:where(html[data-tema="oscuro"]) .gate-pro-tile i { background: #14253C; }
:where(html[data-tema="oscuro"]) .gate-pro-tile b { color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .gate-pro-tile span { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .gate-pro-tile i svg { stroke: #819EEE; }
:where(html[data-tema="oscuro"]) .asis-nota-fecha { background: var(--azul-suave, #14223C); color: var(--text-2, #9FB3D1); }
:where(html[data-tema="oscuro"]) .prioridad-lista li.seleccionada { background: #13243A; }
:where(html[data-tema="oscuro"]) .prioridad-lista li.arrastrando { background: #121B2E; }
:where(html[data-tema="oscuro"]) .asis-res-ico { background: linear-gradient(135deg, #162442, #1F3F34); color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .asis-res-card small { color: var(--text-3, #9FB3D1); }
:where(html[data-tema="oscuro"]) .asis-res-card b { color: var(--text-main, #ACBCE1); }
:where(html[data-tema="oscuro"]) .asis-res-card em { color: var(--text-2, #9FB3D1); }
:where(html[data-tema="oscuro"]) .asis-res-chips i { background: var(--azul-suave, #14223C); color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .asis-res-prio small { color: var(--text-3, #9FB3D1); }
:where(html[data-tema="oscuro"]) .asis-res-prio li { background: #13243A; border: 1px solid #293F5B; color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .asis-generando { background: radial-gradient(circle at 50% 28%, #15243E 0%, #121B2E 68%); }
:where(html[data-tema="oscuro"]) .reg-pista { color: var(--ui-grey, #8896AE); }
:where(html[data-tema="oscuro"]) .pl-contador-txt { color: var(--text-2, #9FB3D1); }
:where(html[data-tema="oscuro"]) .pl-contador-txt b { color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .pl-contador-barra { background: #272E38; }
:where(html[data-tema="oscuro"]) .pl-contador small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-maq { border: 1px solid #3A414B; background: #1E262F; }
:where(html[data-tema="oscuro"]) .pl-maq small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-maq-linea { background: #272E38; }
:where(html[data-tema="oscuro"]) .pl-maq-card { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-maq-btn { border: 1px solid #3B4249; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-maq-anillo span { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-maq-stats span { border: 1px solid #3A414B; background: #121B2E; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-maq-stats span::after { background: #272E38; }
:where(html[data-tema="oscuro"]) .pl-maq-seg { background: #272E38; }
:where(html[data-tema="oscuro"]) .pl-maq-seg em { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-maq-seg em.activa { background: #121B2E; color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .pl-maq-dia { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-maq-chip { background: #172A44; }
:where(html[data-tema="oscuro"]) .pl-maq-chip.examen { background: #1C4731; }
:where(html[data-tema="oscuro"]) .pl-maq-ley { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .pl-maq-ley i { background: #172A44; }
:where(html[data-tema="oscuro"]) .pl-maq-ley i.examen { background: #1C4731; }
:where(html[data-tema="oscuro"]) .pl-maq-tema { border: 1px solid #3A414B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-maq-recordatorio { border: 1px dashed #3B4249; background: #121B2E; }
:where(html[data-tema="oscuro"]) .pl-maq-recordatorio svg { stroke: #7CA1F3; }
:where(html[data-tema="oscuro"]) .pl-maq-puntos li { color: #B3C3DB; }
:where(html[data-tema="oscuro"]) .pl-maq-puntos svg { background: #1C4731; stroke: #97F7DB; }
:where(html[data-tema="oscuro"]) .pl-maq-aviso { background: #202932; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .gate-pro-maq .pl-maq { background: #1E262F; }
:where(html[data-tema="oscuro"]) .gate-pro-tile i svg { stroke: #819EEE; }
:where(html[data-tema="oscuro"]) .plan-card li .ico-check { stroke: var(--ok, #7BF4CF); }
:where(html[data-tema="oscuro"]) .pl-gpc small { color: var(--text-3, #9FB3D1); }
:where(html[data-tema="oscuro"]) .pl-gpc-sub { color: var(--text-3, #9FB3D1); }
:where(html[data-tema="oscuro"]) .login-olvide { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .login-olvide:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) #form-recuperar .rec-msg.ok { color: var(--ok, #97F7DB); }
:where(html[data-tema="oscuro"]) .pl-gpc.confirmando { border-color: var(--azul-borde, #293F5C); background: var(--azul-suave, #14253C); }
:where(html[data-tema="oscuro"]) .pl-confirmar b { color: var(--text-main, #ACBCE1); }

/* ── assets/examenes.css ── */
:where(html[data-tema="oscuro"]) .ex-btn:hover:not(:disabled) { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-btn-texto { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ex-chip-doc { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-subnav button:hover { background: rgba(11, 18, 32, 0.8); color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-subnav button.activo { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ex-cuota-chip { background: rgba(11, 18, 32, 0.9); color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-cat-btn.sel { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-num.sel { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-toast.error { background: var(--dn-fill-bad); }
:where(html[data-tema="oscuro"]) .ex-comparacion { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-explica b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-toggle button.activo { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .exm-cat { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .exm-nav { background: rgba(11, 18, 32, 0.7); }
:where(html[data-tema="oscuro"]) .exm-nq.resp { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .exm-calificando { background: rgba(11, 18, 32, 0.88); }
:where(html[data-tema="oscuro"]) .ex-btn:hover:not(:disabled) { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-chip-doc { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-subnav button.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-chip-bloq { background: #4D421A; color: #F3A97D; border-color: #5C5229; }
:where(html[data-tema="oscuro"]) .exm-pro.bloqueada { border: 1px dashed #34295B; background: #261339; }
:where(html[data-tema="oscuro"]) .exm-pro.bloqueada b { color: #AD86EA; }
:where(html[data-tema="oscuro"]) .exm-pro.bloqueada span { color: #8896AE; }
:where(html[data-tema="oscuro"]) .ex-btn-pro { border-color: #34295B; color: #AD86EA; background: #261339; }
:where(html[data-tema="oscuro"]) .exm-pro-contenido { border: 1px solid #32295C; background: #1F1338; }
:where(html[data-tema="oscuro"]) .exm-pro-contenido h4 { color: #AD86EA; }
:where(html[data-tema="oscuro"]) .exm-pro-orientacion { background: #29153F; }
:where(html[data-tema="oscuro"]) .exm-pro-sustento { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ex-sel-chip { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ex-sel-chip i { background: rgba(11, 18, 32, 0.7); }
:where(html[data-tema="oscuro"]) .ex-gpc-grupo-cab { background: var(--superficie, #121B2E); }
:where(html[data-tema="oscuro"]) .ex-gpc-check { background: #121B2E; }
:where(html[data-tema="oscuro"]) .ex-gpc.sel .ex-gpc-check::after { border: solid #1E2A43; }
:where(html[data-tema="oscuro"]) .ex-gpc-estado::before { background: #313943; }
:where(html[data-tema="oscuro"]) .ex-gpc-estado.en_progreso { color: #F4AF7B; }
:where(html[data-tema="oscuro"]) .ex-gpc-estado.dominada { color: #97F7DB; }
:where(html[data-tema="oscuro"]) .ex-gpc.bloqueada { background: var(--superficie-2, #1E262F); }
:where(html[data-tema="oscuro"]) .ex-retro-op { background: #121B2E; }
:where(html[data-tema="oscuro"]) .ex-retro-nombre em { background: #194327; color: #A3EBBE; }
:where(html[data-tema="oscuro"]) .ex-retro-final-cifras span { background: var(--superficie-2, #202932); }
:where(html[data-tema="oscuro"]) .ex-retro-final-cifras .bad b { color: #EC8383; }
:where(html[data-tema="oscuro"]) .ex-retro-final-cifras .ok b { color: #97F7DB; }
:where(html[data-tema="oscuro"]) .ex-retro-item { background: #121B2E; }
:where(html[data-tema="oscuro"]) .ex-retro-etq { background: #272E38; }
:where(html[data-tema="oscuro"]) .ex-retro-item.incorrectas .ex-retro-etq { background: #421616; color: #EA8686; }
:where(html[data-tema="oscuro"]) .ex-retro-item.correctas .ex-retro-etq { background: #194327; color: #A3EBBE; }
:where(html[data-tema="oscuro"]) .ex-gpc-mias { border: 1px solid #293F5C; background: linear-gradient(135deg, #14253C, #173C2A); }
:where(html[data-tema="oscuro"]) .ex-gpc-mas { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ex-dominio-lista { border-top: 1px solid var(--linea, #3A414B); border-bottom: 1px solid var(--linea, #3A414B); }
:where(html[data-tema="oscuro"]) .ex-dominio-nota { color: var(--text-2, #9FB3D1); }
:where(html[data-tema="oscuro"]) .ex-dominio-vacio p { color: var(--text-2, #9FB3D1); }
:where(html[data-tema="oscuro"]) .ex-dominio-sug li { border: 1px solid var(--linea, #3A414B); }
:where(html[data-tema="oscuro"]) .ex-dominio-sug small { color: var(--text-2, #9FB3D1); }
:where(html[data-tema="oscuro"]) .ex-btn-ia { border-color: #293F5C; color: #819EEE; background: #14263B; }
:where(html[data-tema="oscuro"]) .exm-ia.abierto { border: 1px solid #293F5C; background: #132338; }
:where(html[data-tema="oscuro"]) .exm-ia-cab { color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .exm-ia-x { background: #15253F; color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .exm-ia-r { background: #121B2E; border: 1px solid #293F5B; }
:where(html[data-tema="oscuro"]) .exm-ia-fuente { border-top: 1px dashed #293F5B; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .exm-ia-r.pensando i { background: #214063; }
:where(html[data-tema="oscuro"]) .exm-ia-error { background: #3A1515; color: #EC8383; }
:where(html[data-tema="oscuro"]) .exm-ia-chip { border: 1px solid #293F5C; background: #121B2E; color: #819EEE; }
:where(html[data-tema="oscuro"]) .exm-ia-form textarea { border: 1px solid #293F5C; background: #121B2E; }
:where(html[data-tema="oscuro"]) .exm-ia-costo { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ex-card-tit { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-card-tit svg { stroke: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-titulo-grande { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-btn-contorno { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-btn-blanco { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-btn-blanco:hover:not(:disabled) { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-link { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ex-link:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) svg.ex-anillo .valor { stroke: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-dona b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-kpi b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-comp-barra { background: var(--superficie-2, #202932); }
:where(html[data-tema="oscuro"]) .ex-meta-anillo b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-tabla-hist .ex-fila-cab { background: var(--superficie-2, #202932); }
:where(html[data-tema="oscuro"]) .ex-fila.clic:hover .ex-fila-ir svg { stroke: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-paso-cab h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-gpc-ayuda kbd { background: var(--superficie-2, #1E262F); }
:where(html[data-tema="oscuro"]) .ex-rapida { background: var(--superficie-2, #1E262F); }
:where(html[data-tema="oscuro"]) .ex-pill.on .ex-pill-ico { border-color: #1E2A43; background: #121B2E; }
:where(html[data-tema="oscuro"]) .ex-pill.on .ex-pill-ico svg { stroke: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-pill-mas { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ex-pill-mas:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-accion-chip,
:where(html[data-tema="oscuro"]) .ex-azar { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-azar button { background: var(--superficie-2, #202932); color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-selecc-acciones .ex-contador b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-sel-tit { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-sel-chip { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-gpc-grupo-tog:hover:not(:disabled) { background: var(--superficie-2, #1E262F); }
:where(html[data-tema="oscuro"]) .ex-gpc-grupo-cab b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-grupo-sel { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-grupo-sel.on .ex-gpc-check::after { border: solid #1E2A43; }
:where(html[data-tema="oscuro"]) .ex-wiz-pasos li.actual .ex-wiz-t b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-wiz-eyebrow { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ex-wiz-cab h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-seg button.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-sel-cab .ex-contador { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-area-ver:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-area.on .ex-area-txt small { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-wiz-barra { background: rgba(11, 18, 32, 0.94); }
:where(html[data-tema="oscuro"]) .ex-wiz-estado b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-areas-troncal { color: var(--text-3, #9FB3D1); }
:where(html[data-tema="oscuro"]) .exm-gpc { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-num-rapido { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-num-rapido.sobra small { color: var(--warn, #F4AF7B); }
:where(html[data-tema="oscuro"]) .ex-aviso-min { background: #3D3514; border: 1px solid #5C5229; color: #F3A97D; }

/* ── assets/simuladores.css ── */
:where(html[data-tema="oscuro"]) .sim-insignia.azul { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-migas-btn { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-peligro.ex-btn-primario { background: var(--dn-fill-bad); }
:where(html[data-tema="oscuro"]) .sim-modo h2 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-eleccion h1 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-eleccion-btn b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-eleccion-tipo { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-grande b { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-regla-v { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-pasos span.on { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-atajo:hover:not(:disabled) { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-atajo.on { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-paso button { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-sub-limpiar { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-seg button:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-seg button.on { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-resumen-c b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-icono:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-npreg { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-caso-tag { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-caso-ver { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-img img { background: #121B2E; }
:where(html[data-tema="oscuro"]) .sim-op .tag { background: rgba(11, 18, 32, 0.7); }
:where(html[data-tema="oscuro"]) .sim-nav-filtros button.on { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-nq.resp { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-nq.marc::after { border: 1.5px solid #1E2A43; }
:where(html[data-tema="oscuro"]) .sim-calificando { background: rgba(11, 18, 32, 0.9); }
:where(html[data-tema="oscuro"]) .sim-aro .valor { stroke: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-nota-info h2 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-carrusel-cab h2 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-rev-tit em { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-modal h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-toast.warn { background: var(--dn-fill-warn); }
:where(html[data-tema="oscuro"]) .sim-toast.error { background: var(--dn-fill-bad); }
:where(html[data-tema="oscuro"]) .sim-extra { border: 1px solid var(--linea, #3A414B); }
:where(html[data-tema="oscuro"]) .sim-perla { background: #4E4A1A; color: #F0C59E; }
:where(html[data-tema="oscuro"]) .sim-gpc-rev { border: 1px solid var(--linea, #3A414B); }
:where(html[data-tema="oscuro"]) .sim-gpc-otra { border-top: 1px solid var(--linea, #3A414B); }
:where(html[data-tema="oscuro"]) .sim-h3 .sim-svg { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-modo-hero .sim-hero-tag { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-regla-b { background: rgba(11, 18, 32, 0.7); }
:where(html[data-tema="oscuro"]) .sim-hist-ico { background: #163142; color: #97D5F7; }
:where(html[data-tema="oscuro"]) .sim-hist-ico.enarm { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-enarm-cta { background: #121B2E; color: var(--dn-texto-acento); }

/* ── assets/historial.css ── */
:where(html[data-tema="oscuro"]) .hist-cab h2 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .hist-mas:hover { color: var(--dn-enlace); }

/* ── assets/ultraresumenes.css ── */
:where(html[data-tema="oscuro"]) .ur-btn:hover:not(:disabled) { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-chip.doc { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-icono:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-buscador .ur-borrar { background: #1C2635; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ur-buscador .ur-borrar:hover { background: #19273D; color: #8AADE5; }
:where(html[data-tema="oscuro"]) .ur-ejemplo button { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ur-vistas button:hover { background: rgba(11, 18, 32, 0.8); color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-vistas button.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-alfabeto button { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-filtros label:hover { background: rgba(11, 18, 32, 0.8); }
:where(html[data-tema="oscuro"]) .ur-enfoque-barra { background: rgba(11, 18, 32, 0.94); }
:where(html[data-tema="oscuro"]) .ur-timer-min { background: #121B2E; }
:where(html[data-tema="oscuro"]) .ur-timer.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-doc-cab .ruta button { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ur-num { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) mark.ur-marca[data-color="verde"] { background: #205131; }
:where(html[data-tema="oscuro"]) mark.ur-marca[data-color="azul"] { background: #1B3250; }
:where(html[data-tema="oscuro"]) mark.ur-marca[data-color="rosa"] { background: #491B35; }
:where(html[data-tema="oscuro"]) mark.ur-marca[data-color="naranja"] { background: #593D1E; }
:where(html[data-tema="oscuro"]) mark.ur-marca[data-color="morado"] { background: #2E1746; }
:where(html[data-tema="oscuro"]) .ur-marca-color:hover,
:where(html[data-tema="oscuro"]) .ur-marca-color.actual { border-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .ur-marca-color:focus-visible { outline: 2px solid #1E2A43; }
:where(html[data-tema="oscuro"]) .ur-html li::marker { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ur-iframe-nota a { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ur-ind.activo { color: var(--dn-texto-acento); }
@media (max-width: 900px) {
:where(html[data-tema="oscuro"]) .ur-fab-filtrar .n { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-mobbar { background: rgba(11, 18, 32, 0.96); }
}
:where(html[data-tema="oscuro"]) .ur-btn:hover:not(:disabled) { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-chip.doc { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-vistas button.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-num { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-marca-nota:focus-visible { outline: 2px solid #1E2A43; }
:where(html[data-tema="oscuro"]) .ur-nota-pop,
:where(html[data-tema="oscuro"]) .ur-nota-tip { background: #121B2E; }
:where(html[data-tema="oscuro"]) .ur-study-trigger:focus-visible { outline: 3px solid #283E5D; }
:where(html[data-tema="oscuro"]) .ur-study-action:hover:not(:disabled),
:where(html[data-tema="oscuro"]) .ur-study-action:focus-visible { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-study-action.ur-study-key { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-study-action.on { color: var(--dn-texto-acento); }
@media (max-width: 720px) {
:where(html[data-tema="oscuro"]) .ur-lector .ur-enfoque-barra { background: rgba(11, 18, 32, 0.97); }
:where(html[data-tema="oscuro"]) .ur-lector .ur-enfoque-barra .ur-nav-sec { color: var(--dn-texto-acento); }
}
:where(html[data-tema="oscuro"]) .ur-fila.bloqueada .ur-nombre-ico { color: #F3A97D; }
:where(html[data-tema="oscuro"]) .ur-btn-bloq { background: #4D421A; color: #F3A97D; border-color: #5C5229; }
:where(html[data-tema="oscuro"]) .ur-cierre { border: 1px solid var(--linea, #3A414B); background: var(--superficie-2, #1E262F); }
:where(html[data-tema="oscuro"]) .ur-cierre span { color: var(--text-2, #9FB3D1); }
:where(html[data-tema="oscuro"]) .ur-mias { border: 1px solid #293F5C; background: linear-gradient(135deg, #14253C, #173C2A); }
:where(html[data-tema="oscuro"]) .ur-mias b { color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .ur-mias.vacia span { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ur-mia { border: 1px solid #293F5B; background: #121B2E; }
:where(html[data-tema="oscuro"]) .ur-mia small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ur-mia span { color: #7CA1F3; }
:where(html[data-tema="oscuro"]) .ur-ia-pop { background: #121B2E; border: 1px solid #293F5C; color: #B3C2DB; }
:where(html[data-tema="oscuro"]) .ur-ia-cab { color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .ur-ia-x { background: #15253F; color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .ur-ia-cita { border-left: 3px solid #29415C; background: #13243A; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ur-ia-chips button { border: 1px solid #293F5C; background: #121B2E; color: #819EEE; }
:where(html[data-tema="oscuro"]) .ur-ia-libre input { border: 1px solid #3B4249; }
:where(html[data-tema="oscuro"]) .ur-ia-pensando { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ur-ia-pensando i { background: #214063; }
:where(html[data-tema="oscuro"]) .ur-ia-error { background: #3A1515; color: #EC8383; }
:where(html[data-tema="oscuro"]) .ur-ia-res label { color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .ur-ia-res label small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ur-ia-res textarea { border: 1px solid #293F5C; background: #132338; }
:where(html[data-tema="oscuro"]) .ur-ia-costo { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ur-tip-colores .ur-marca-color.actual { border-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .ur-hero .ur-buscador input { background: #121B2E; }
:where(html[data-tema="oscuro"]) .ur-filtros .ur-limpiar { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ur-filtros .ur-limpiar:hover:not(:disabled) { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .ur-alfa-card .ur-alfabeto button { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-fila:hover .ur-nombre-ico { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-accion .ur-btn.ur-btn-bloq { background: #4D421A; color: #F3A97D; border-color: #5C5229; }
:where(html[data-tema="oscuro"]) .ur-accion .ur-btn.ur-btn-bloq:hover:not(:disabled) { color: #F3BB9B; }
:where(html[data-tema="oscuro"]) .ur-grupo-cab .ur-esp-ico { stroke: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-troncal { color: var(--text-3, #9FB3D1); }
:where(html[data-tema="oscuro"]) .ur-pestana { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) mark.ur-marca[data-color="morado"] { background: rgba(11, 18, 32, 0.82); }
:where(html[data-tema="oscuro"]) mark.ur-marca.con-nota[data-color="morado"] { background: rgba(11, 18, 32, 0.6); }
:where(html[data-tema="oscuro"]) .ur-fmt button:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ur-nota-prev { background: var(--superficie-2, #1E262F); }
:where(html[data-tema="oscuro"]) .ur-ia-pie,
:where(html[data-tema="oscuro"]) .ur-nota-pop-acciones { border-top: 1px solid var(--ur-linea, #3A414B); background: #121B2E; }
:where(html[data-tema="oscuro"]) .ur-ia-etq { color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .ur-ia-editar { border: 1px solid #293F5C; background: #121B2E; color: #819EEE; }
:where(html[data-tema="oscuro"]) .ur-ia-editar:hover { background: #14253C; border-color: #29415C; }
:where(html[data-tema="oscuro"]) .ur-rico { border: 1px solid #293F5C; background: #121B2E; }
:where(html[data-tema="oscuro"]) .ur-rico strong,
:where(html[data-tema="oscuro"]) .ur-rico b { color: #ACBCE1; }
:where(html[data-tema="oscuro"]) .ur-rico.lectura { background: #132338; border-color: #293F5B; }
:where(html[data-tema="oscuro"]) .ur-fmt-cont.alto { color: #F4AF7B; }
:where(html[data-tema="oscuro"]) .ur-pestana:focus-visible { outline: 3px solid #29415C; }
:where(html[data-tema="oscuro"]) .ur-pestana .n { background: #121B2E; color: #819EEE; }

/* ── assets/ultra-tinta.css ── */
:where(html[data-tema="oscuro"]) .ut-barra { background: #121B2E; border: 1px solid var(--azul-borde, #354050); }
:where(html[data-tema="oscuro"]) .ut-grupo { border-right: 1px solid var(--azul-borde, #354050); }
:where(html[data-tema="oscuro"]) .ut-btn { color: var(--azul-oscuro, #A1BEED); }
:where(html[data-tema="oscuro"]) .ut-btn:hover:not(:disabled) { background: var(--azul-suave, #15243E); }
:where(html[data-tema="oscuro"]) .ut-btn.on { background: var(--azul-suave, #15243E); color: var(--azul, #84ADEB); }
:where(html[data-tema="oscuro"]) .ut-peligro { background: var(--bad-bg, #421616); color: var(--bad, #EC8383); }
:where(html[data-tema="oscuro"]) .ut-color { border: 2px solid #1E2A43; }
:where(html[data-tema="oscuro"]) .ut-grosor.on { background: var(--azul-suave, #15243E); }
:where(html[data-tema="oscuro"]) .ut-confirmar { color: var(--azul-oscuro, #A1BEED); }
:where(html[data-tema="oscuro"]) .ut-estado { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .ut-estado.guardando { color: var(--warn, #F4AF7B); }
:where(html[data-tema="oscuro"]) .ut-estado.guardado { color: var(--ok, #9FEFBD); }
:where(html[data-tema="oscuro"]) .ut-estado.error { color: var(--bad, #EC8383); }
:where(html[data-tema="oscuro"]) .ut-sep { background: var(--azul-borde, #273346); }
:where(html[data-tema="oscuro"]) .ut-paleta { color: var(--azul-oscuro, #A1BEED); border: 1px dashed var(--azul-borde, #354050); }
:where(html[data-tema="oscuro"]) .ut-paleta:hover { background: var(--azul-suave, #15243E); }

/* ── assets/beta.css ── */
:where(html[data-tema="oscuro"]) .bn-pop { background: #121B2E; color: var(--azul-oscuro, #A1BEED); border: 1px solid var(--azul-borde, #354050); }
:where(html[data-tema="oscuro"]) .bn-x:hover { background: var(--azul-suave, #15243E); }
:where(html[data-tema="oscuro"]) .bn-lugar span { background: #4D421A; color: #F3A97D; }
:where(html[data-tema="oscuro"]) .bn-el { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .bn-texto { border: 1px solid var(--azul-borde, #354050); background: #121B2E; }
:where(html[data-tema="oscuro"]) .bn-error { color: #EC8383; }
:where(html[data-tema="oscuro"]) .bn-cont { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .bn-btn { border: 1px solid var(--azul-borde, #354050); background: #121B2E; }
:where(html[data-tema="oscuro"]) .bn-btn:hover { background: var(--azul-suave, #15243E); }
:where(html[data-tema="oscuro"]) .bn-boton { background: #3D3514; color: #F3A97D; }

/* ── assets/escalas.css ── */
:where(html[data-tema="oscuro"]) .panel-mas h2,
:where(html[data-tema="oscuro"]) .panel-mas h3,
:where(html[data-tema="oscuro"]) .panel-mas h4 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-btn { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-btn-blanco { background: #121B2E; color: #8AA2E5; border-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .esc-btn-blanco:hover { background: #14253C; }
:where(html[data-tema="oscuro"]) .esc-btn-vidrio:hover { border-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .esc-atras:hover { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .esc-enlace { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .esc-hub-card { background: linear-gradient(160deg, #121B2E 0%, #14253C 100%); }
:where(html[data-tema="oscuro"]) .esc-hub-card strong { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-hub-card em { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .esc-hub-card-ico { background: #172A44; color: #819EEE; }
:where(html[data-tema="oscuro"]) .esc-buscar { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-buscar:focus-within { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .esc-seg { background: var(--superficie-2, #202932); }
:where(html[data-tema="oscuro"]) .esc-seg button.on { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-filtros select { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-letras button { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-grupo-t { background: var(--bg, #14253C); color: var(--fg, #819EEE) !important; }
:where(html[data-tema="oscuro"]) .esc-grupo-t i { background: rgba(11, 18, 32, 0.7); }
:where(html[data-tema="oscuro"]) .esc-card { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-tipo { background: var(--acento-bg, #14253C); color: var(--acento, #819EEE); }
:where(html[data-tema="oscuro"]) .esc-card-kick { color: var(--acento, #7CA1F3); }
:where(html[data-tema="oscuro"]) .esc-card-tit { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-vacio b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-sec { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-sec h3 svg { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .esc-interp { background: linear-gradient(160deg, #173922, #173C2A); }
:where(html[data-tema="oscuro"]) .esc-tabla tbody tr:nth-child(even) { background: #1E262F; }
:where(html[data-tema="oscuro"]) .esc-pill { background: var(--c, #172A44); color: #A2C1EC; }
:where(html[data-tema="oscuro"]) .esc-gpc.sin { background: #1E262F; }
:where(html[data-tema="oscuro"]) .esc-gpc b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-stats div { background: #1E262F; }
:where(html[data-tema="oscuro"]) .esc-stats b { color: var(--dn-texto-acento); }
@media (max-width: 960px) {
:where(html[data-tema="oscuro"]) .esc-tabla td::before { color: var(--dn-texto-acento); }
}
:where(html[data-tema="oscuro"]) .esc-card-cfg { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-nums button { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-prog-barra { background: #272E38; }
:where(html[data-tema="oscuro"]) .esc-q { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-op { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-let { background: #202932; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-anillo { background: radial-gradient(closest-side, #121B2E 78%, transparent 80% 100%), conic-gradient(var(--azul) calc(var(--p) * 1%), #272E38 0); }
:where(html[data-tema="oscuro"]) .esc-anillo b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-rev-i { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-modal-c { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-modal-c header { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-x { background: #202932; }
:where(html[data-tema="oscuro"]) .esc-modal-img { background: #202932; }
:where(html[data-tema="oscuro"]) .esc-rel { background: #1A133A; border: 1px solid #32295C; }
:where(html[data-tema="oscuro"]) .esc-rel-t { color: #AD86E9; }
:where(html[data-tema="oscuro"]) .esc-rel-i b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-rel-i button { border: 1px solid #34295B; background: #121B2E; color: #AD86E9; }
:where(html[data-tema="oscuro"]) .esc-rel-i button:hover { background: #1D153F; }
:where(html[data-tema="oscuro"]) .esc-lista { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-lista-cab { background: #1E262F; }
:where(html[data-tema="oscuro"]) .esc-f-nom strong { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-parte h3 svg { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .esc-tabla thead th { background: #202932; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-tabla tbody th { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-tabla tbody tr:nth-child(even) { background: #1D222E; }
:where(html[data-tema="oscuro"]) .esc-desp { background: #121B2E; }
:where(html[data-tema="oscuro"]) .esc-desp > summary { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-desp-c h4 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-desp-c { color: var(--texto, #B3C4DB); }

/* ── assets/herramientas.css ── */
:where(html[data-tema="oscuro"]) .hr-sec-t svg { color: #F4BC7B; }
:where(html[data-tema="oscuro"]) .hr-chip-h { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .hr-nota-hub { background: #142C3B; border: 1px solid #294A5B; color: #97D5F7; }
:where(html[data-tema="oscuro"]) .hr-estado-pend { background: #4D421A; color: #F3A97D; }
:where(html[data-tema="oscuro"]) .hr-estado-orient { background: #163142; color: #97D5F7; }
:where(html[data-tema="oscuro"]) .hr-estado-valid { background: #194327; color: #A3EBBE; }
:where(html[data-tema="oscuro"]) .hr-estado-cons { background: #202932; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .hr-asoc-preliminar { background: #4D421A; color: #F3A97D; }
:where(html[data-tema="oscuro"]) .hr-asoc-verificada { background: #194327; color: #A3EBBE; }
:where(html[data-tema="oscuro"]) .hr-fila { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-fila-pend { background: #393213; }
:where(html[data-tema="oscuro"]) .hr-f-nom strong { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .hr-f-ir { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .hr-fav-ico { color: #F4BC7B; }
:where(html[data-tema="oscuro"]) .hr-btn-fav.on,
:where(html[data-tema="oscuro"]) .hr-btn-star.on { background: #3D3514; color: #F3A97D; }
:where(html[data-tema="oscuro"]) .hr-btn-star.on svg,
:where(html[data-tema="oscuro"]) .hr-btn-fav.on svg { fill: #F4C77B; stroke: #F4BC7B; }
:where(html[data-tema="oscuro"]) .hr-banner-pend { background: #3D3514; color: #F3BB9B; }
:where(html[data-tema="oscuro"]) .hr-banner-ori { background: #142C3B; border: 1px solid #294A5B; color: #97D5F7; }
:where(html[data-tema="oscuro"]) .hr-grupo { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-lbl { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .hr-form input[type=text],
:where(html[data-tema="oscuro"]) .hr-form input[type=date],
:where(html[data-tema="oscuro"]) .hr-form select { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-form select.hr-un { background: var(--superficie-2, #202932); }
:where(html[data-tema="oscuro"]) .hr-un-fijo { background: var(--superficie-2, #202932); }
:where(html[data-tema="oscuro"]) .hr-err { color: #EC8383; }
:where(html[data-tema="oscuro"]) .hr-op { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-op.on { background: #172A44; color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .hr-pts { background: #162042; color: #9591DF; }
:where(html[data-tema="oscuro"]) .hr-check { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-check:has(input:checked) { background: #14253C; }
:where(html[data-tema="oscuro"]) .hr-priv svg { color: #81EEA9; }
:where(html[data-tema="oscuro"]) .hr-res { background: linear-gradient(160deg, #121B2E 0%, #14253C 100%); }
:where(html[data-tema="oscuro"]) .hr-res-val b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .hr-aviso-d { background: #3A1515; color: #EA8686; }
:where(html[data-tema="oscuro"]) .hr-sec > div { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-det summary { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .hr-subst { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-conv { color: #9FB3D1; background: #1E262F; }
:where(html[data-tema="oscuro"]) .hr-adv li { color: #F3BB9B; background: #3D3514; }
:where(html[data-tema="oscuro"]) .hr-adv svg { color: #F4BC7B; }
:where(html[data-tema="oscuro"]) .hr-res-error { color: #EA8686; }
:where(html[data-tema="oscuro"]) .hr-parte { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-parte h3 svg { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .hr-formula { background: #1E262F; }
:where(html[data-tema="oscuro"]) .hr-parte-lim { background: #3D3514; border-color: #5C5229; }
:where(html[data-tema="oscuro"]) .hr-fuentes a { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .hr-tutor-txt { background: #1A133A; border: 1px solid #32295C; }
:where(html[data-tema="oscuro"]) .hr-caso-v { background: #1E262F; }
:where(html[data-tema="oscuro"]) .hr-caso-op { background: #121B2E; }
:where(html[data-tema="oscuro"]) .hr-caso-op.ok { background: #194327; }
:where(html[data-tema="oscuro"]) .hr-caso-op.mal { background: #421616; }
:where(html[data-tema="oscuro"]) .hr-caso-fb.ok { background: #173922; border: 1px solid #2D573C; }
:where(html[data-tema="oscuro"]) .hr-caso-fb.mal { background: #3A1515; border: 1px solid #5C2929; }
:where(html[data-tema="oscuro"]) .hr-mas { border: 1px solid var(--borde,#3C4149); }

/* ── assets/progreso.css ── */
:where(html[data-tema="oscuro"]) .pg-btn { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pg-card-anillo { background: linear-gradient(180deg, #121B2E 0%, var(--azul-suave) 100%); }
:where(html[data-tema="oscuro"]) .pg-anillo-centro b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pg-anillo-centro b small { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .pg-stat.hoy .pg-stat-icono { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .pg-siguiente .pg-btn-primario { background: #121B2E; border-color: #1E2A43; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pg-tarea-icono { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .pg-tira header b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pg-tira-tarea:hover { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .pg-cal-flecha { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pg-cal-dia.hoy header b { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .pg-cal-chip:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pg-cal-chip.examen { background: color-mix(in srgb, var(--ok) 12%, #121B2E); }
:where(html[data-tema="oscuro"]) .pg-cal-chip.atrasada { background: color-mix(in srgb, var(--bad) 10%, #121B2E); }
:where(html[data-tema="oscuro"]) .pg-punto.atrasada { background: var(--dn-fill-bad); }
:where(html[data-tema="oscuro"]) .pg-hero-puntos li { background: rgba(11, 18, 32, 0.75); }
:where(html[data-tema="oscuro"]) .pg-hero-puntos svg { stroke: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .pg-destacados-flecha { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pg-repaso { color: #AD86EA; }
:where(html[data-tema="oscuro"]) .pg-enlace { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-cabecera .tab-pro { color: #B3C4DB; }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-card { border-color: #3A414B; }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-hero-vacio { border: 1px solid #293F5B; background: radial-gradient(circle at 90% 10%, rgba(14, 165, 233, .12), transparent 45%), linear-gradient(160deg, #121B2E, #14263B); }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-siguiente .pg-btn-primario { background: #121B2E; border-color: #1E2A43; color: #8AA2E5; }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-siguiente .pg-btn-primario:hover { background: #15243E; border-color: #283C5D; color: #A1B7EC; }

/* ── assets/progreso-beta.css ── */
:where(html[data-tema="oscuro"]) .mp-tab:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-beta-sello { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-kpi { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-recursos a { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .mp-toggle { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .mp-rango { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-mas { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-modal h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-toast.error { background: var(--dn-fill-bad); }
:where(html[data-tema="oscuro"]) .mp-form label.mp-grande { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-bloque-campo legend { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-chip { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-segmentos span { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-novedades b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-pensando { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-bloque h3,
:where(html[data-tema="oscuro"]) .mp-seccion h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-lista-hoy b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .mp-seccion .mp-estado { color: var(--dn-texto-acento); }

/* ── assets/notificaciones.css ── */
:where(html[data-tema="oscuro"]) .notif-tabs button.activo { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .notif-item-icono { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .notif-link { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .notif-fila input[type=checkbox]::after { background: #121B2E; }
:where(html[data-tema="oscuro"]) .notif-toast-icono { color: var(--dn-enlace); }

/* ── assets/cta.css ── */
:where(html[data-tema="oscuro"]) .pg-siguiente .pg-btn.pg-btn-primario { background: #121B2E; border-color: #1E2A43; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .pg-siguiente .pg-btn.pg-btn-primario:hover:not(:disabled) { background: #14253C; border-color: #283F5D; color: var(--dn-texto-acento); }

/* ── assets/recorrido.css ── */
:where(html[data-tema="oscuro"]) #recorrido-overlay,
:where(html[data-tema="oscuro"]) #recorrido-chooser { color: #B3C2DB; }
:where(html[data-tema="oscuro"]) .recorrido-spot { border: 2px solid #1E2A43; }
:where(html[data-tema="oscuro"]) .recorrido-card { border: 1px solid #2F4156; background: #121B2E; }
:where(html[data-tema="oscuro"]) .recorrido-kicker { color: #7CA1F3; }
:where(html[data-tema="oscuro"]) .recorrido-icono { background: #1A2536; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-icono:hover,
:where(html[data-tema="oscuro"]) .recorrido-icono:focus-visible { background: #152540; outline: 2px solid #283C5D; }
:where(html[data-tema="oscuro"]) .recorrido-prog { background: #202935; }
:where(html[data-tema="oscuro"]) .recorrido-card h2 { color: #AAC3E4; }
:where(html[data-tema="oscuro"]) .recorrido-copy p { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-copy b { color: #B3C2DB; }
:where(html[data-tema="oscuro"]) .recorrido-plan-tit { color: #AAC3E4 !important; }
:where(html[data-tema="oscuro"]) .recorrido-lista { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-lista li::before { color: #8AADE5; }
:where(html[data-tema="oscuro"]) .recorrido-costo { background: #3F3215; color: #F3A97D !important; }
:where(html[data-tema="oscuro"]) .recorrido-task { background: #173C2A; border: 1px solid #2E5644; }
:where(html[data-tema="oscuro"]) .recorrido-task-tit { color: #97F7DB; }
:where(html[data-tema="oscuro"]) .recorrido-task-txt { color: #97F7DD; }
:where(html[data-tema="oscuro"]) .recorrido-checks li { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-checks li::before { background: #121B2E; }
:where(html[data-tema="oscuro"]) .recorrido-checks li.ok { color: #97F7DB; }
:where(html[data-tema="oscuro"]) .recorrido-espera { color: #9BF2EC; }
:where(html[data-tema="oscuro"]) .recorrido-ayuda-btn { background: #121B2E; color: #97F7DB; }
:where(html[data-tema="oscuro"]) .recorrido-ayuda-btn:hover,
:where(html[data-tema="oscuro"]) .recorrido-ayuda-btn:focus-visible { background: #1C4731; }
:where(html[data-tema="oscuro"]) .recorrido-task.hecho { background: #173922; }
:where(html[data-tema="oscuro"]) .recorrido-actions { border-top: 1px solid #39414B; }
:where(html[data-tema="oscuro"]) .recorrido-counter { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-actions button,
:where(html[data-tema="oscuro"]) .recorrido-acciones-extra button,
:where(html[data-tema="oscuro"]) .recorrido-options button { border: 1px solid #36414E; background: #121B2E; color: #B0C5DE; }
:where(html[data-tema="oscuro"]) .recorrido-link { color: #9FB3D1 !important; }
:where(html[data-tema="oscuro"]) #recorrido-overlay.recorrido-anclada .recorrido-card { border-color: #2E5644; }
:where(html[data-tema="oscuro"]) #recorrido-mini { border: 1px solid #2E5644; }
:where(html[data-tema="oscuro"]) #recorrido-retomar { background: #121B2E; border: 1px solid #2F3F55; }
:where(html[data-tema="oscuro"]) .recorrido-retomar-btn { color: #AAC3E4; }
:where(html[data-tema="oscuro"]) .recorrido-retomar-btn small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-retomar-x { border-left: 1px solid #39414B; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-retomar-btn:hover,
:where(html[data-tema="oscuro"]) .recorrido-retomar-btn:focus-visible { background: #13213A; }
:where(html[data-tema="oscuro"]) .recorrido-chooser-panel { background: #121B2E; }
:where(html[data-tema="oscuro"]) .recorrido-chooser-panel h2 { color: #AAC3E4; }
:where(html[data-tema="oscuro"]) .recorrido-chooser-panel>p { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-close { background: #1A2536; color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-resume { border: 1px solid #2E5644; background: #173C2A; color: #97F7DD; }
:where(html[data-tema="oscuro"]) .recorrido-options button { background: #132138; }
:where(html[data-tema="oscuro"]) .recorrido-options button:hover,
:where(html[data-tema="oscuro"]) .recorrido-options button:focus-visible { background: #15273F; border-color: #2F4055; }
:where(html[data-tema="oscuro"]) .recorrido-options button.hecho { background: #193425; border-color: #2D573C; }
:where(html[data-tema="oscuro"]) .recorrido-opt-ico { background: #152540; }
:where(html[data-tema="oscuro"]) .recorrido-opt-txt b { color: #AAC3E4; }
:where(html[data-tema="oscuro"]) .recorrido-opt-txt small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-opt-estado { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-options button.hecho .recorrido-opt-estado { color: #7BF4CF; }
:where(html[data-tema="oscuro"]) .recorrido-check { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-ruta li { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-ruta li::before { border: 1.5px solid #3B4249; }
:where(html[data-tema="oscuro"]) .recorrido-ruta li.ok { color: #97F7DB; }
:where(html[data-tema="oscuro"]) .recorrido-ruta li.actual { color: #AAC3E4; }
:where(html[data-tema="oscuro"]) .recorrido-ruta li.actual::before { color: #8AADE5; }
:where(html[data-tema="oscuro"]) .recorrido-drawer-help { border: 1px solid #2E3F57; background: #13213A; color: #90AFDF; }
:where(html[data-tema="oscuro"]) .recorrido-drawer-help:hover,
:where(html[data-tema="oscuro"]) .recorrido-drawer-help:focus-visible { background: #15253F; border-color: #2C3E58; outline: 2px solid #283C5D; }
:where(html[data-tema="oscuro"]) .recorrido-drawer-help small { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-drawer-chevron { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-bienvenida-badge { background: linear-gradient(90deg,#172A44,#1C4731); color: #8AA2E5; }
:where(html[data-tema="oscuro"]) .recorrido-bienvenida-sub { color: #9FB3D1; }
@media (max-width:640px) {
:where(html[data-tema="oscuro"]) #recorrido-overlay.recorrido-bienvenida .recorrido-acciones-extra { background: #121B2E; border-top: 1px solid #39414B; }
}
:where(html[data-tema="oscuro"]) .recorrido-noauto-link { color: #9FB3D1; }
:where(html[data-tema="oscuro"]) .recorrido-opt-ico { color: #8AADE5; }

/* ── assets/interfaz-simple.css ── */
@media (max-width: 720px) {
:where(html[data-tema="oscuro"]) .tab-app.activo { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .tab-app.activo svg { stroke: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .tab-centro { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .tab-centro .tab-centro-ico { color: var(--dn-enlace); }
}
:where(html[data-tema="oscuro"]) .hub-sim-btn:hover { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-eleccion-simple .sim-eleccion-btn:hover .sim-el-go { color: var(--dn-enlace); }
@media (max-width: 720px) {
:where(html[data-tema="oscuro"]) .tab-app.activo,
:where(html[data-tema="oscuro"]) .tab-app.activo svg { color: var(--dn-texto-acento); stroke: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .tab-centro .tab-centro-ico { color: var(--dn-texto-acento); }
}
:where(html[data-tema="oscuro"]) .chat-sugerencias .chat-sugerencias-pista button { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .chat-sugerencias .chat-sugerencias-nav { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-sesion .ex-btn-blanco { background: #121B2E; color: var(--ok); }
:where(html[data-tema="oscuro"]) .ex-sesion .ex-btn-blanco:hover:not(:disabled) { color: var(--ok); }
:where(html[data-tema="oscuro"]) .ex-sesion .ex-btn-blanco svg { stroke: var(--ok); }
:where(html[data-tema="oscuro"]) .ex-desempeno svg.ex-anillo .valor { stroke: #BAE6FD; }
:where(html[data-tema="oscuro"]) .ex-meta-card .ex-card-tit svg { stroke: #FDE68A; }
:where(html[data-tema="oscuro"]) .ex-meta-card .ex-racha { color: #FDE68A; }
:where(html[data-tema="oscuro"]) .ex-meta-card .ex-racha svg { stroke: #FDE68A; }
:where(html[data-tema="oscuro"]) .ex-meta-card .ex-btn-marino { background: #121B2E; border-color: #1E2A43; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-wiz-eyebrow { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-wiz-cab h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-wiz-pasos li.actual .ex-wiz-t b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-wiz-pasos li.hecho .ex-wiz-t b { color: var(--ok); }
:where(html[data-tema="oscuro"]) .ex-area.on .ex-area-check { background: #121B2E; border-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .sim-enarm-hero .sim-enarm-cta { background: #121B2E; color: var(--dn-texto-acento); border-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .ur-hero .ur-buscador input { background: #121B2E; }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-cabecera .tab-pro,
:where(html[data-tema="oscuro"]) .pl-dm-hero .tab-pro,
:where(html[data-tema="oscuro"]) .gate-pro-hero .tab-pro { color: #B3C4DB; }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-btn-primario { background: #121B2E; border-color: #1E2A43; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-btn-primario svg { stroke: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) #panel-progreso .pg-hero-vacio .pg-hero-puntos li svg { stroke: #BAE6FD; }
:where(html[data-tema="oscuro"]) .ex-areas .ex-area.on { background: color-mix(in srgb, var(--tr) 9%, #121B2E); }
:where(html[data-tema="oscuro"]) .sim-modo-unico .sim-modo-hero h2 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-pasos span.on { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-pasos span.hecho { color: var(--ok); }
:where(html[data-tema="oscuro"]) .sim-dif-card.on { background: color-mix(in srgb, var(--c-marino) 8%, #121B2E) !important; }
:where(html[data-tema="oscuro"]) .sim-dif-card.on b { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-accion-card h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .chat-volver { color: var(--dn-texto-acento); }
@media (min-width: 721px) {
:where(html[data-tema="oscuro"]) .app-header { background: rgba(11, 18, 32, 0.86); }
}
:where(html[data-tema="oscuro"]) .dn-meta-linea .ex-racha { color: #FDE68A; }
:where(html[data-tema="oscuro"]) .dn-meta-linea .ex-racha svg { stroke: #FDE68A; }
:where(html[data-tema="oscuro"]) .ex-vacio-hist svg { stroke: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .ex-modal h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .dn-continuar-btn { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .plan-card .btn-cuenta-primary { background: #121B2E; color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .dn-ios-hoja { background: var(--bg-paper, #121B2E); }
:where(html[data-tema="oscuro"]) .dn-ios-hoja h3 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .dn-ios-hoja li { color: var(--text-2, #B3C3DB); }
:where(html[data-tema="oscuro"]) .dn-ios-hoja li svg { stroke: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .dn-ios-n { background: var(--superficie-2, #222933); color: var(--dn-texto-acento); }

/* Herramientas: lista unificada y ficha */
:where(html[data-tema="oscuro"]) .hr-barra-der select { background: #121B2E; color: var(--dn-texto-acento); border-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .hr-lista-cab { border-bottom-color: #2A3B63; }
:where(html[data-tema="oscuro"]) .hr-lista-cab h3,
:where(html[data-tema="oscuro"]) .hr-item-nom { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .hr-item-nom:hover { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .hr-ins { background: #172A44; color: #9DB7F4; }
:where(html[data-tema="oscuro"]) .hr-item { border-bottom-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .hr-item-usala b,
:where(html[data-tema="oscuro"]) .hr-pitch-t { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .hr-pitch { border-bottom-color: #1E2A43; }
:where(html[data-tema="oscuro"]) .hr-barra-res { background: #0B1426; }

/* Resultado del simulador rediseñado */
:where(html[data-tema="oscuro"]) .sim-paso-card h2, :where(html[data-tema="oscuro"]) .sim-nota-info h2 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-paso-tag { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-area-barra u { background: var(--dn-texto-acento); opacity: .7; }
:where(html[data-tema="oscuro"]) .sim-area-prio { background: var(--dn-fill-bad, var(--bad-bg)); color: #fff; }
:where(html[data-tema="oscuro"]) .sim-heat tbody th i { background: var(--azul); }
:where(html[data-tema="oscuro"]) .sim-mt { background: transparent; }

:where(html[data-tema="oscuro"]) .esc-grupo-t { background: transparent !important; color: var(--dn-texto-acento) !important; }
:where(html[data-tema="oscuro"]) .esc-hero { background: var(--superficie) !important; }
:where(html[data-tema="oscuro"]) .esc-hero h2 { color: var(--dn-texto-acento) !important; }
:where(html[data-tema="oscuro"]) .esc-hero-kick { color: var(--dn-enlace) !important; }

:where(html[data-tema="oscuro"]) .esc-cab-ficha h2 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .esc-callout h3 { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .esc-callout-prec h3 { color: var(--warn); }
:where(html[data-tema="oscuro"]) .sim-paso-prim { color: #1B1F27; }
:where(html[data-tema="oscuro"]) .sim-res-info h2 { color: var(--dn-texto-acento); }
:where(html[data-tema="oscuro"]) .sim-area-prac { color: var(--dn-enlace); border-color: var(--dn-enlace); background: transparent; }
:where(html[data-tema="oscuro"]) .sim-area-prac:hover { background: var(--azul); color: #fff; border-color: var(--azul); }
:where(html[data-tema="oscuro"]) .sim-ver-mas-enl, :where(html[data-tema="oscuro"]) .sim-leyenda .marc { color: var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-mt.marc { border-color: var(--dn-enlace); box-shadow: 0 0 0 2px var(--dn-enlace); }
:where(html[data-tema="oscuro"]) .sim-mt.omitida { background: transparent; }

/* Lector de ultrarresúmenes (v28) */
html[data-tema="oscuro"] .ur-sec h3, html[data-theme="dark"] .ur-sec h3 { color: var(--text); }
html[data-tema="oscuro"] .ur-sec h3 .ur-num, html[data-theme="dark"] .ur-sec h3 .ur-num { background: var(--azul); color: #fff; }
html[data-tema="oscuro"] .ur-tabla th, html[data-theme="dark"] .ur-tabla th { background: rgba(255,255,255,.06); }
html[data-tema="oscuro"] .ur-tb-ico, html[data-theme="dark"] .ur-tb-ico { background: transparent; }
html[data-tema="oscuro"] .ur-tabla { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.14); }
html[data-tema="oscuro"] .ur-tabla th { color: #CBD5E1; }
html[data-tema="oscuro"] .ur-tabla td { color: #E2E8F0; border-color: rgba(255,255,255,.1); }
html[data-tema="oscuro"] .ur-tabla td:first-child { color: #93C5FD; }
html[data-tema="oscuro"] .ur-tb-fav.on { background: var(--azul); border-color: var(--azul); }
html[data-tema="oscuro"] .ur-tb .ur-btn-primario { background: var(--azul); border-color: var(--azul); }
html[data-tema="oscuro"] #ur-centro#ur-centro .ur-tabla table thead :is(th, td), html[data-tema="oscuro"] #ur-centro#ur-centro .ur-tabla table tr:first-child > th { background: rgba(59,130,246,.30); color: #F1F5F9; }
html[data-tema="oscuro"] #ur-centro#ur-centro .ur-tabla table tbody > tr > :is(td, th):first-child { background: rgba(59,130,246,.14); color: #F1F5F9; }
html[data-tema="oscuro"] #ur-centro#ur-centro .ur-tabla table tbody > tr > :is(td, th):not(:first-child) { background: transparent; color: #E2E8F0; }
html[data-tema="oscuro"] .ur-tabla td:first-child { color: #F1F5F9; }

/* dn-ur-extra-oscuro · «Puntos clave» y «Referencias» del lector (secciones extra): fondo claro con texto claro no se veía en modo oscuro */
html[data-tema="oscuro"] .ur-sec.extra, html[data-theme="dark"] .ur-sec.extra { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.28); color: #E2E8F0; }
html[data-tema="oscuro"] .ur-sec.extra h3, html[data-theme="dark"] .ur-sec.extra h3 { color: #FDE68A; border-bottom-color: rgba(251,191,36,.35); }
html[data-tema="oscuro"] .ur-sec.extra h3::after, html[data-theme="dark"] .ur-sec.extra h3::after { background: #FBBF24; }
html[data-tema="oscuro"] .ur-sec.extra h3 .ur-num, html[data-theme="dark"] .ur-sec.extra h3 .ur-num { background: rgba(251,191,36,.22); color: #FDE68A; }
html[data-tema="oscuro"] .ur-sec.extra :is(p, li, ol, ul, blockquote, em), html[data-theme="dark"] .ur-sec.extra :is(p, li, ol, ul, blockquote, em) { color: #E2E8F0; }
html[data-tema="oscuro"] .ur-sec.extra :is(strong, b), html[data-theme="dark"] .ur-sec.extra :is(strong, b) { color: #F8FAFC; }
html[data-tema="oscuro"] .ur-sec.extra li::marker, html[data-theme="dark"] .ur-sec.extra li::marker { color: #FBBF24; }
html[data-tema="oscuro"] .ur-sec.extra a, html[data-theme="dark"] .ur-sec.extra a { color: #93C5FD; }
html[data-tema="oscuro"] .ur-sec.extra .ur-tabla, html[data-theme="dark"] .ur-sec.extra .ur-tabla { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); }
html[data-tema="oscuro"] .ur-sec.extra .ur-tabla :is(td, th), html[data-theme="dark"] .ur-sec.extra .ur-tabla :is(td, th) { color: #E2E8F0; border-color: rgba(255,255,255,.12); }
html[data-tema="oscuro"] .ur-ind.extra .n, html[data-theme="dark"] .ur-ind.extra .n { background: rgba(251,191,36,.22); color: #FDE68A; }
