/* Modo noche (html.oscuro; lo decide layout.php en <head>: «auto» sigue al sistema, Ajustes → Cuenta lo fuerza). Primera parte: reasigna los colores fijos de los atributos style (generada una vez); segunda: clases de cada pantalla. Se edita a mano. */
html.oscuro{color-scheme:dark;--rejilla:#243146;--tinta:#E5EAF2}
html.oscuro body,html.oscuro .bg-fondo{background:#0B1220!important;color:#E5EAF2}
html.oscuro [style*="background:#fff;" i],
html.oscuro [style$="background:#fff" i],
html.oscuro [style*="background: #fff;" i],
html.oscuro [style$="background: #fff" i],
html.oscuro [style*="background:#ffffff;" i],
html.oscuro [style$="background:#ffffff" i],
html.oscuro [style*="background: #ffffff;" i],
html.oscuro [style$="background: #ffffff" i],
html.oscuro [style*="background:white;" i],
html.oscuro [style$="background:white" i],
html.oscuro [style*="background: white;" i],
html.oscuro [style$="background: white" i],
html.oscuro [style*="background-color:#fff;" i],
html.oscuro [style$="background-color:#fff" i],
html.oscuro [style*="background-color: #fff;" i],
html.oscuro [style$="background-color: #fff" i],
html.oscuro [style*="background-color:#ffffff;" i],
html.oscuro [style$="background-color:#ffffff" i],
html.oscuro [style*="background-color: #ffffff;" i],
html.oscuro [style$="background-color: #ffffff" i],
html.oscuro [style*="background-color:white;" i],
html.oscuro [style$="background-color:white" i],
html.oscuro [style*="background-color: white;" i],
html.oscuro [style$="background-color: white" i]{background-color:#141D2C!important}
html.oscuro [style*="background:#f8fafc;" i],
html.oscuro [style$="background:#f8fafc" i],
html.oscuro [style*="background: #f8fafc;" i],
html.oscuro [style$="background: #f8fafc" i],
html.oscuro [style*="background:#f1f5f9;" i],
html.oscuro [style$="background:#f1f5f9" i],
html.oscuro [style*="background: #f1f5f9;" i],
html.oscuro [style$="background: #f1f5f9" i],
html.oscuro [style*="background:#f3f6fa;" i],
html.oscuro [style$="background:#f3f6fa" i],
html.oscuro [style*="background: #f3f6fa;" i],
html.oscuro [style$="background: #f3f6fa" i],
html.oscuro [style*="background:#eef2f6;" i],
html.oscuro [style$="background:#eef2f6" i],
html.oscuro [style*="background: #eef2f6;" i],
html.oscuro [style$="background: #eef2f6" i],
html.oscuro [style*="background:#e8eef3;" i],
html.oscuro [style$="background:#e8eef3" i],
html.oscuro [style*="background: #e8eef3;" i],
html.oscuro [style$="background: #e8eef3" i],
html.oscuro [style*="background:#ecefe9;" i],
html.oscuro [style$="background:#ecefe9" i],
html.oscuro [style*="background: #ecefe9;" i],
html.oscuro [style$="background: #ecefe9" i],
html.oscuro [style*="background:#e5e7eb;" i],
html.oscuro [style$="background:#e5e7eb" i],
html.oscuro [style*="background: #e5e7eb;" i],
html.oscuro [style$="background: #e5e7eb" i],
html.oscuro [style*="background-color:#f8fafc;" i],
html.oscuro [style$="background-color:#f8fafc" i],
html.oscuro [style*="background-color: #f8fafc;" i],
html.oscuro [style$="background-color: #f8fafc" i],
html.oscuro [style*="background-color:#f1f5f9;" i],
html.oscuro [style$="background-color:#f1f5f9" i],
html.oscuro [style*="background-color: #f1f5f9;" i],
html.oscuro [style$="background-color: #f1f5f9" i],
html.oscuro [style*="background-color:#f3f6fa;" i],
html.oscuro [style$="background-color:#f3f6fa" i],
html.oscuro [style*="background-color: #f3f6fa;" i],
html.oscuro [style$="background-color: #f3f6fa" i],
html.oscuro [style*="background-color:#eef2f6;" i],
html.oscuro [style$="background-color:#eef2f6" i],
html.oscuro [style*="background-color: #eef2f6;" i],
html.oscuro [style$="background-color: #eef2f6" i],
html.oscuro [style*="background-color:#e8eef3;" i],
html.oscuro [style$="background-color:#e8eef3" i],
html.oscuro [style*="background-color: #e8eef3;" i],
html.oscuro [style$="background-color: #e8eef3" i],
html.oscuro [style*="background-color:#ecefe9;" i],
html.oscuro [style$="background-color:#ecefe9" i],
html.oscuro [style*="background-color: #ecefe9;" i],
html.oscuro [style$="background-color: #ecefe9" i],
html.oscuro [style*="background-color:#e5e7eb;" i],
html.oscuro [style$="background-color:#e5e7eb" i],
html.oscuro [style*="background-color: #e5e7eb;" i],
html.oscuro [style$="background-color: #e5e7eb" i]{background-color:#1C2738!important}
html.oscuro [style*="background:#e2e8f0;" i],
html.oscuro [style$="background:#e2e8f0" i],
html.oscuro [style*="background: #e2e8f0;" i],
html.oscuro [style$="background: #e2e8f0" i],
html.oscuro [style*="background:#cbd5e1;" i],
html.oscuro [style$="background:#cbd5e1" i],
html.oscuro [style*="background: #cbd5e1;" i],
html.oscuro [style$="background: #cbd5e1" i],
html.oscuro [style*="background-color:#e2e8f0;" i],
html.oscuro [style$="background-color:#e2e8f0" i],
html.oscuro [style*="background-color: #e2e8f0;" i],
html.oscuro [style$="background-color: #e2e8f0" i],
html.oscuro [style*="background-color:#cbd5e1;" i],
html.oscuro [style$="background-color:#cbd5e1" i],
html.oscuro [style*="background-color: #cbd5e1;" i],
html.oscuro [style$="background-color: #cbd5e1" i]{background-color:#243146!important}
html.oscuro [style*="background:#f0fdf4;" i],
html.oscuro [style$="background:#f0fdf4" i],
html.oscuro [style*="background: #f0fdf4;" i],
html.oscuro [style$="background: #f0fdf4" i],
html.oscuro [style*="background-color:#f0fdf4;" i],
html.oscuro [style$="background-color:#f0fdf4" i],
html.oscuro [style*="background-color: #f0fdf4;" i],
html.oscuro [style$="background-color: #f0fdf4" i]{background-color:rgba(0,166,81,.14)!important}
html.oscuro [style*="background:#dcfce7;" i],
html.oscuro [style$="background:#dcfce7" i],
html.oscuro [style*="background: #dcfce7;" i],
html.oscuro [style$="background: #dcfce7" i],
html.oscuro [style*="background:#bbf7d0;" i],
html.oscuro [style$="background:#bbf7d0" i],
html.oscuro [style*="background: #bbf7d0;" i],
html.oscuro [style$="background: #bbf7d0" i],
html.oscuro [style*="background-color:#dcfce7;" i],
html.oscuro [style$="background-color:#dcfce7" i],
html.oscuro [style*="background-color: #dcfce7;" i],
html.oscuro [style$="background-color: #dcfce7" i],
html.oscuro [style*="background-color:#bbf7d0;" i],
html.oscuro [style$="background-color:#bbf7d0" i],
html.oscuro [style*="background-color: #bbf7d0;" i],
html.oscuro [style$="background-color: #bbf7d0" i]{background-color:rgba(0,166,81,.24)!important}
html.oscuro [style*="background:#eff6ff;" i],
html.oscuro [style$="background:#eff6ff" i],
html.oscuro [style*="background: #eff6ff;" i],
html.oscuro [style$="background: #eff6ff" i],
html.oscuro [style*="background-color:#eff6ff;" i],
html.oscuro [style$="background-color:#eff6ff" i],
html.oscuro [style*="background-color: #eff6ff;" i],
html.oscuro [style$="background-color: #eff6ff" i]{background-color:rgba(0,102,204,.18)!important}
html.oscuro [style*="background:#dbeafe;" i],
html.oscuro [style$="background:#dbeafe" i],
html.oscuro [style*="background: #dbeafe;" i],
html.oscuro [style$="background: #dbeafe" i],
html.oscuro [style*="background-color:#dbeafe;" i],
html.oscuro [style$="background-color:#dbeafe" i],
html.oscuro [style*="background-color: #dbeafe;" i],
html.oscuro [style$="background-color: #dbeafe" i]{background-color:rgba(0,102,204,.28)!important}
html.oscuro [style*="background:#fefce8;" i],
html.oscuro [style$="background:#fefce8" i],
html.oscuro [style*="background: #fefce8;" i],
html.oscuro [style$="background: #fefce8" i],
html.oscuro [style*="background-color:#fefce8;" i],
html.oscuro [style$="background-color:#fefce8" i],
html.oscuro [style*="background-color: #fefce8;" i],
html.oscuro [style$="background-color: #fefce8" i]{background-color:rgba(250,204,21,.13)!important}
html.oscuro [style*="background:#fff7ed;" i],
html.oscuro [style$="background:#fff7ed" i],
html.oscuro [style*="background: #fff7ed;" i],
html.oscuro [style$="background: #fff7ed" i],
html.oscuro [style*="background-color:#fff7ed;" i],
html.oscuro [style$="background-color:#fff7ed" i],
html.oscuro [style*="background-color: #fff7ed;" i],
html.oscuro [style$="background-color: #fff7ed" i]{background-color:rgba(249,115,22,.15)!important}
html.oscuro [style*="background:#fef2f2;" i],
html.oscuro [style$="background:#fef2f2" i],
html.oscuro [style*="background: #fef2f2;" i],
html.oscuro [style$="background: #fef2f2" i],
html.oscuro [style*="background-color:#fef2f2;" i],
html.oscuro [style$="background-color:#fef2f2" i],
html.oscuro [style*="background-color: #fef2f2;" i],
html.oscuro [style$="background-color: #fef2f2" i]{background-color:rgba(239,68,68,.15)!important}
html.oscuro [style*="background:#f5f3ff;" i],
html.oscuro [style$="background:#f5f3ff" i],
html.oscuro [style*="background: #f5f3ff;" i],
html.oscuro [style$="background: #f5f3ff" i],
html.oscuro [style*="background-color:#f5f3ff;" i],
html.oscuro [style$="background-color:#f5f3ff" i],
html.oscuro [style*="background-color: #f5f3ff;" i],
html.oscuro [style$="background-color: #f5f3ff" i]{background-color:rgba(124,58,237,.18)!important}
html.oscuro [style*="background:#f7fee7;" i],
html.oscuro [style$="background:#f7fee7" i],
html.oscuro [style*="background: #f7fee7;" i],
html.oscuro [style$="background: #f7fee7" i],
html.oscuro [style*="background-color:#f7fee7;" i],
html.oscuro [style$="background-color:#f7fee7" i],
html.oscuro [style*="background-color: #f7fee7;" i],
html.oscuro [style$="background-color: #f7fee7" i]{background-color:rgba(132,204,22,.15)!important}
html.oscuro [style*="color:#1e293b;" i],
html.oscuro [style$="color:#1e293b" i],
html.oscuro [style*="color: #1e293b;" i],
html.oscuro [style$="color: #1e293b" i],
html.oscuro [style*="color:#0f172a;" i],
html.oscuro [style$="color:#0f172a" i],
html.oscuro [style*="color: #0f172a;" i],
html.oscuro [style$="color: #0f172a" i],
html.oscuro [style*="color:#334155;" i],
html.oscuro [style$="color:#334155" i],
html.oscuro [style*="color: #334155;" i],
html.oscuro [style$="color: #334155" i]{color:#E5EAF2!important}
html.oscuro [style*="color:#475569;" i],
html.oscuro [style$="color:#475569" i],
html.oscuro [style*="color: #475569;" i],
html.oscuro [style$="color: #475569" i],
html.oscuro [style*="color:#64748b;" i],
html.oscuro [style$="color:#64748b" i],
html.oscuro [style*="color: #64748b;" i],
html.oscuro [style$="color: #64748b" i]{color:#A7B4C6!important}
html.oscuro [style*="color:#94a3b8;" i],
html.oscuro [style$="color:#94a3b8" i],
html.oscuro [style*="color: #94a3b8;" i],
html.oscuro [style$="color: #94a3b8" i]{color:#7C8BA1!important}
html.oscuro [style*="color:#006b3b;" i],
html.oscuro [style$="color:#006b3b" i],
html.oscuro [style*="color: #006b3b;" i],
html.oscuro [style$="color: #006b3b" i],
html.oscuro [style*="color:#14532d;" i],
html.oscuro [style$="color:#14532d" i],
html.oscuro [style*="color: #14532d;" i],
html.oscuro [style$="color: #14532d" i],
html.oscuro [style*="color:#166534;" i],
html.oscuro [style$="color:#166534" i],
html.oscuro [style*="color: #166534;" i],
html.oscuro [style$="color: #166534" i]{color:#4ADE80!important}
html.oscuro [style*="color:#4d7c0f;" i],
html.oscuro [style$="color:#4d7c0f" i],
html.oscuro [style*="color: #4d7c0f;" i],
html.oscuro [style$="color: #4d7c0f" i]{color:#BEF264!important}
html.oscuro [style*="color:#a16207;" i],
html.oscuro [style$="color:#a16207" i],
html.oscuro [style*="color: #a16207;" i],
html.oscuro [style$="color: #a16207" i],
html.oscuro [style*="color:#713f12;" i],
html.oscuro [style$="color:#713f12" i],
html.oscuro [style*="color: #713f12;" i],
html.oscuro [style$="color: #713f12" i],
html.oscuro [style*="color:#854d0e;" i],
html.oscuro [style$="color:#854d0e" i],
html.oscuro [style*="color: #854d0e;" i],
html.oscuro [style$="color: #854d0e" i]{color:#FDE047!important}
html.oscuro [style*="color:#c2410c;" i],
html.oscuro [style$="color:#c2410c" i],
html.oscuro [style*="color: #c2410c;" i],
html.oscuro [style$="color: #c2410c" i]{color:#FDBA74!important}
html.oscuro [style*="color:#b91c1c;" i],
html.oscuro [style$="color:#b91c1c" i],
html.oscuro [style*="color: #b91c1c;" i],
html.oscuro [style$="color: #b91c1c" i],
html.oscuro [style*="color:#dc2626;" i],
html.oscuro [style$="color:#dc2626" i],
html.oscuro [style*="color: #dc2626;" i],
html.oscuro [style$="color: #dc2626" i]{color:#FCA5A5!important}
html.oscuro [style*="color:#6d28d9;" i],
html.oscuro [style$="color:#6d28d9" i],
html.oscuro [style*="color: #6d28d9;" i],
html.oscuro [style$="color: #6d28d9" i]{color:#C4B5FD!important}
html.oscuro [style*="color:#1e3a8a;" i],
html.oscuro [style$="color:#1e3a8a" i],
html.oscuro [style*="color: #1e3a8a;" i],
html.oscuro [style$="color: #1e3a8a" i],
html.oscuro [style*="color:#1e40af;" i],
html.oscuro [style$="color:#1e40af" i],
html.oscuro [style*="color: #1e40af;" i],
html.oscuro [style$="color: #1e40af" i],
html.oscuro [style*="color:#004fa3;" i],
html.oscuro [style$="color:#004fa3" i],
html.oscuro [style*="color: #004fa3;" i],
html.oscuro [style$="color: #004fa3" i]{color:#93C5FD!important}
html.oscuro [style*="color:#0066cc;" i],
html.oscuro [style$="color:#0066cc" i],
html.oscuro [style*="color: #0066cc;" i],
html.oscuro [style$="color: #0066cc" i]{color:#5AA9FF!important}
html.oscuro [style*="border:1px solid #e2e8f0" i],
html.oscuro [style*="border-top:1px solid #e2e8f0" i],
html.oscuro [style*="border-bottom:1px solid #e2e8f0" i],
html.oscuro [style*="border: 1px solid #e2e8f0" i],
html.oscuro [style*="border-top: 1px solid #e2e8f0" i],
html.oscuro [style*="border-bottom: 1px solid #e2e8f0" i],
html.oscuro [style*="border:1.5px solid #e2e8f0" i],
html.oscuro [style*="border-top:1.5px solid #e2e8f0" i],
html.oscuro [style*="border-bottom:1.5px solid #e2e8f0" i],
html.oscuro [style*="border: 1.5px solid #e2e8f0" i],
html.oscuro [style*="border-top: 1.5px solid #e2e8f0" i],
html.oscuro [style*="border-bottom: 1.5px solid #e2e8f0" i],
html.oscuro [style*="border:2px solid #e2e8f0" i],
html.oscuro [style*="border-top:2px solid #e2e8f0" i],
html.oscuro [style*="border-bottom:2px solid #e2e8f0" i],
html.oscuro [style*="border: 2px solid #e2e8f0" i],
html.oscuro [style*="border-top: 2px solid #e2e8f0" i],
html.oscuro [style*="border-bottom: 2px solid #e2e8f0" i],
html.oscuro [style*="border:1px solid #eef2f6" i],
html.oscuro [style*="border-top:1px solid #eef2f6" i],
html.oscuro [style*="border-bottom:1px solid #eef2f6" i],
html.oscuro [style*="border: 1px solid #eef2f6" i],
html.oscuro [style*="border-top: 1px solid #eef2f6" i],
html.oscuro [style*="border-bottom: 1px solid #eef2f6" i],
html.oscuro [style*="border:1.5px solid #eef2f6" i],
html.oscuro [style*="border-top:1.5px solid #eef2f6" i],
html.oscuro [style*="border-bottom:1.5px solid #eef2f6" i],
html.oscuro [style*="border: 1.5px solid #eef2f6" i],
html.oscuro [style*="border-top: 1.5px solid #eef2f6" i],
html.oscuro [style*="border-bottom: 1.5px solid #eef2f6" i],
html.oscuro [style*="border:2px solid #eef2f6" i],
html.oscuro [style*="border-top:2px solid #eef2f6" i],
html.oscuro [style*="border-bottom:2px solid #eef2f6" i],
html.oscuro [style*="border: 2px solid #eef2f6" i],
html.oscuro [style*="border-top: 2px solid #eef2f6" i],
html.oscuro [style*="border-bottom: 2px solid #eef2f6" i],
html.oscuro [style*="border:1px solid #f1f5f9" i],
html.oscuro [style*="border-top:1px solid #f1f5f9" i],
html.oscuro [style*="border-bottom:1px solid #f1f5f9" i],
html.oscuro [style*="border: 1px solid #f1f5f9" i],
html.oscuro [style*="border-top: 1px solid #f1f5f9" i],
html.oscuro [style*="border-bottom: 1px solid #f1f5f9" i],
html.oscuro [style*="border:1.5px solid #f1f5f9" i],
html.oscuro [style*="border-top:1.5px solid #f1f5f9" i],
html.oscuro [style*="border-bottom:1.5px solid #f1f5f9" i],
html.oscuro [style*="border: 1.5px solid #f1f5f9" i],
html.oscuro [style*="border-top: 1.5px solid #f1f5f9" i],
html.oscuro [style*="border-bottom: 1.5px solid #f1f5f9" i],
html.oscuro [style*="border:2px solid #f1f5f9" i],
html.oscuro [style*="border-top:2px solid #f1f5f9" i],
html.oscuro [style*="border-bottom:2px solid #f1f5f9" i],
html.oscuro [style*="border: 2px solid #f1f5f9" i],
html.oscuro [style*="border-top: 2px solid #f1f5f9" i],
html.oscuro [style*="border-bottom: 2px solid #f1f5f9" i],
html.oscuro [style*="border:1px solid #cbd5e1" i],
html.oscuro [style*="border-top:1px solid #cbd5e1" i],
html.oscuro [style*="border-bottom:1px solid #cbd5e1" i],
html.oscuro [style*="border: 1px solid #cbd5e1" i],
html.oscuro [style*="border-top: 1px solid #cbd5e1" i],
html.oscuro [style*="border-bottom: 1px solid #cbd5e1" i],
html.oscuro [style*="border:1.5px solid #cbd5e1" i],
html.oscuro [style*="border-top:1.5px solid #cbd5e1" i],
html.oscuro [style*="border-bottom:1.5px solid #cbd5e1" i],
html.oscuro [style*="border: 1.5px solid #cbd5e1" i],
html.oscuro [style*="border-top: 1.5px solid #cbd5e1" i],
html.oscuro [style*="border-bottom: 1.5px solid #cbd5e1" i],
html.oscuro [style*="border:2px solid #cbd5e1" i],
html.oscuro [style*="border-top:2px solid #cbd5e1" i],
html.oscuro [style*="border-bottom:2px solid #cbd5e1" i],
html.oscuro [style*="border: 2px solid #cbd5e1" i],
html.oscuro [style*="border-top: 2px solid #cbd5e1" i],
html.oscuro [style*="border-bottom: 2px solid #cbd5e1" i],
html.oscuro [style*="border:1px solid #fff" i],
html.oscuro [style*="border-top:1px solid #fff" i],
html.oscuro [style*="border-bottom:1px solid #fff" i],
html.oscuro [style*="border: 1px solid #fff" i],
html.oscuro [style*="border-top: 1px solid #fff" i],
html.oscuro [style*="border-bottom: 1px solid #fff" i],
html.oscuro [style*="border:1.5px solid #fff" i],
html.oscuro [style*="border-top:1.5px solid #fff" i],
html.oscuro [style*="border-bottom:1.5px solid #fff" i],
html.oscuro [style*="border: 1.5px solid #fff" i],
html.oscuro [style*="border-top: 1.5px solid #fff" i],
html.oscuro [style*="border-bottom: 1.5px solid #fff" i],
html.oscuro [style*="border:2px solid #fff" i],
html.oscuro [style*="border-top:2px solid #fff" i],
html.oscuro [style*="border-bottom:2px solid #fff" i],
html.oscuro [style*="border: 2px solid #fff" i],
html.oscuro [style*="border-top: 2px solid #fff" i],
html.oscuro [style*="border-bottom: 2px solid #fff" i]{border-color:#2C3A50!important}
html.oscuro [style*="border:1px solid #bbf7d0" i],
html.oscuro [style*="border-top:1px solid #bbf7d0" i],
html.oscuro [style*="border-bottom:1px solid #bbf7d0" i],
html.oscuro [style*="border: 1px solid #bbf7d0" i],
html.oscuro [style*="border-top: 1px solid #bbf7d0" i],
html.oscuro [style*="border-bottom: 1px solid #bbf7d0" i],
html.oscuro [style*="border:1.5px solid #bbf7d0" i],
html.oscuro [style*="border-top:1.5px solid #bbf7d0" i],
html.oscuro [style*="border-bottom:1.5px solid #bbf7d0" i],
html.oscuro [style*="border: 1.5px solid #bbf7d0" i],
html.oscuro [style*="border-top: 1.5px solid #bbf7d0" i],
html.oscuro [style*="border-bottom: 1.5px solid #bbf7d0" i],
html.oscuro [style*="border:2px solid #bbf7d0" i],
html.oscuro [style*="border-top:2px solid #bbf7d0" i],
html.oscuro [style*="border-bottom:2px solid #bbf7d0" i],
html.oscuro [style*="border: 2px solid #bbf7d0" i],
html.oscuro [style*="border-top: 2px solid #bbf7d0" i],
html.oscuro [style*="border-bottom: 2px solid #bbf7d0" i],
html.oscuro [style*="border:1px solid #dcfce7" i],
html.oscuro [style*="border-top:1px solid #dcfce7" i],
html.oscuro [style*="border-bottom:1px solid #dcfce7" i],
html.oscuro [style*="border: 1px solid #dcfce7" i],
html.oscuro [style*="border-top: 1px solid #dcfce7" i],
html.oscuro [style*="border-bottom: 1px solid #dcfce7" i],
html.oscuro [style*="border:1.5px solid #dcfce7" i],
html.oscuro [style*="border-top:1.5px solid #dcfce7" i],
html.oscuro [style*="border-bottom:1.5px solid #dcfce7" i],
html.oscuro [style*="border: 1.5px solid #dcfce7" i],
html.oscuro [style*="border-top: 1.5px solid #dcfce7" i],
html.oscuro [style*="border-bottom: 1.5px solid #dcfce7" i],
html.oscuro [style*="border:2px solid #dcfce7" i],
html.oscuro [style*="border-top:2px solid #dcfce7" i],
html.oscuro [style*="border-bottom:2px solid #dcfce7" i],
html.oscuro [style*="border: 2px solid #dcfce7" i],
html.oscuro [style*="border-top: 2px solid #dcfce7" i],
html.oscuro [style*="border-bottom: 2px solid #dcfce7" i]{border-color:rgba(0,166,81,.45)!important}
html.oscuro [style*="border:1px solid #bfdbfe" i],
html.oscuro [style*="border-top:1px solid #bfdbfe" i],
html.oscuro [style*="border-bottom:1px solid #bfdbfe" i],
html.oscuro [style*="border: 1px solid #bfdbfe" i],
html.oscuro [style*="border-top: 1px solid #bfdbfe" i],
html.oscuro [style*="border-bottom: 1px solid #bfdbfe" i],
html.oscuro [style*="border:1.5px solid #bfdbfe" i],
html.oscuro [style*="border-top:1.5px solid #bfdbfe" i],
html.oscuro [style*="border-bottom:1.5px solid #bfdbfe" i],
html.oscuro [style*="border: 1.5px solid #bfdbfe" i],
html.oscuro [style*="border-top: 1.5px solid #bfdbfe" i],
html.oscuro [style*="border-bottom: 1.5px solid #bfdbfe" i],
html.oscuro [style*="border:2px solid #bfdbfe" i],
html.oscuro [style*="border-top:2px solid #bfdbfe" i],
html.oscuro [style*="border-bottom:2px solid #bfdbfe" i],
html.oscuro [style*="border: 2px solid #bfdbfe" i],
html.oscuro [style*="border-top: 2px solid #bfdbfe" i],
html.oscuro [style*="border-bottom: 2px solid #bfdbfe" i],
html.oscuro [style*="border:1px solid #dbeafe" i],
html.oscuro [style*="border-top:1px solid #dbeafe" i],
html.oscuro [style*="border-bottom:1px solid #dbeafe" i],
html.oscuro [style*="border: 1px solid #dbeafe" i],
html.oscuro [style*="border-top: 1px solid #dbeafe" i],
html.oscuro [style*="border-bottom: 1px solid #dbeafe" i],
html.oscuro [style*="border:1.5px solid #dbeafe" i],
html.oscuro [style*="border-top:1.5px solid #dbeafe" i],
html.oscuro [style*="border-bottom:1.5px solid #dbeafe" i],
html.oscuro [style*="border: 1.5px solid #dbeafe" i],
html.oscuro [style*="border-top: 1.5px solid #dbeafe" i],
html.oscuro [style*="border-bottom: 1.5px solid #dbeafe" i],
html.oscuro [style*="border:2px solid #dbeafe" i],
html.oscuro [style*="border-top:2px solid #dbeafe" i],
html.oscuro [style*="border-bottom:2px solid #dbeafe" i],
html.oscuro [style*="border: 2px solid #dbeafe" i],
html.oscuro [style*="border-top: 2px solid #dbeafe" i],
html.oscuro [style*="border-bottom: 2px solid #dbeafe" i]{border-color:rgba(0,102,204,.5)!important}
html.oscuro [style*="border:1px solid #fde68a" i],
html.oscuro [style*="border-top:1px solid #fde68a" i],
html.oscuro [style*="border-bottom:1px solid #fde68a" i],
html.oscuro [style*="border: 1px solid #fde68a" i],
html.oscuro [style*="border-top: 1px solid #fde68a" i],
html.oscuro [style*="border-bottom: 1px solid #fde68a" i],
html.oscuro [style*="border:1.5px solid #fde68a" i],
html.oscuro [style*="border-top:1.5px solid #fde68a" i],
html.oscuro [style*="border-bottom:1.5px solid #fde68a" i],
html.oscuro [style*="border: 1.5px solid #fde68a" i],
html.oscuro [style*="border-top: 1.5px solid #fde68a" i],
html.oscuro [style*="border-bottom: 1.5px solid #fde68a" i],
html.oscuro [style*="border:2px solid #fde68a" i],
html.oscuro [style*="border-top:2px solid #fde68a" i],
html.oscuro [style*="border-bottom:2px solid #fde68a" i],
html.oscuro [style*="border: 2px solid #fde68a" i],
html.oscuro [style*="border-top: 2px solid #fde68a" i],
html.oscuro [style*="border-bottom: 2px solid #fde68a" i]{border-color:rgba(250,204,21,.45)!important}
html.oscuro [style*="border:1px solid #fecaca" i],
html.oscuro [style*="border-top:1px solid #fecaca" i],
html.oscuro [style*="border-bottom:1px solid #fecaca" i],
html.oscuro [style*="border: 1px solid #fecaca" i],
html.oscuro [style*="border-top: 1px solid #fecaca" i],
html.oscuro [style*="border-bottom: 1px solid #fecaca" i],
html.oscuro [style*="border:1.5px solid #fecaca" i],
html.oscuro [style*="border-top:1.5px solid #fecaca" i],
html.oscuro [style*="border-bottom:1.5px solid #fecaca" i],
html.oscuro [style*="border: 1.5px solid #fecaca" i],
html.oscuro [style*="border-top: 1.5px solid #fecaca" i],
html.oscuro [style*="border-bottom: 1.5px solid #fecaca" i],
html.oscuro [style*="border:2px solid #fecaca" i],
html.oscuro [style*="border-top:2px solid #fecaca" i],
html.oscuro [style*="border-bottom:2px solid #fecaca" i],
html.oscuro [style*="border: 2px solid #fecaca" i],
html.oscuro [style*="border-top: 2px solid #fecaca" i],
html.oscuro [style*="border-bottom: 2px solid #fecaca" i]{border-color:rgba(239,68,68,.45)!important}
html.oscuro [style*="solid #1E293B" i]{border-color:#CBD5E1!important}
html.oscuro [style*="background:#1E293B;border-radius:0 2px" i],html.oscuro .fc-bat .polo,html.oscuro .bat-polo{background:#CBD5E1!important}

/* ── Clases propias de cada pantalla ── */
/* Tarjetas */
html.oscuro .pl-card,html.oscuro .aj-card,html.oscuro .nt-card,html.oscuro .nt-kpi,html.oscuro .nt-calc,html.oscuro .fc-guias,html.oscuro .cara,
html.oscuro #panel,html.oscuro .aj-tabs,html.oscuro .tab-bar,html.oscuro .pl-kpi,html.oscuro .dia-btn,html.oscuro #diasStrip .dia-btn,
html.oscuro .bg-white,html.oscuro .nt details,html.oscuro .chip,html.oscuro #abajo button,html.oscuro .fc-pill,html.oscuro .trip,html.oscuro .pl-sug,
html.oscuro .maplibregl-popup-content,html.oscuro .maplibregl-ctrl-group{background-color:#141D2C!important;color:#E5EAF2}
/* Superficies interiores, campos y segmentos */
html.oscuro .pl-in,html.oscuro .aj-in,html.oscuro .aj-viaje,html.oscuro .aj-seg,html.oscuro .gas-box,html.oscuro .chip-d,html.oscuro .btn-atras,
html.oscuro .filtros-d,html.oscuro #barraDual,html.oscuro .fc-spec,html.oscuro .fc-tiempo,html.oscuro .fc-calc,html.oscuro .fc-chip,html.oscuro #panel table,
html.oscuro .pl-vel,html.oscuro .gas-usos,html.oscuro .aj-salir,html.oscuro .fc-sem .bar,html.oscuro .nt-barra,html.oscuro .pl-barra,html.oscuro .nt-mini,
html.oscuro .fc-aut i,html.oscuro .fc-tiempo .b,html.oscuro .bg-slate-50,html.oscuro .bg-slate-100,html.oscuro .fc-viaje .ic,
html.oscuro input:not([type=checkbox]):not([type=radio]):not([type=range]),html.oscuro select,html.oscuro textarea{background-color:#1C2738!important;color:#E5EAF2;border-color:#2C3A50!important}
html.oscuro .pl-in::placeholder,html.oscuro .aj-in::placeholder,html.oscuro input::placeholder,html.oscuro textarea::placeholder{color:#7C8BA1}
html.oscuro .filtro-btn.activo,html.oscuro .filtro-btn:hover,html.oscuro .gas-usos button[aria-checked="true"],html.oscuro .pl-vel button[aria-checked="true"],
html.oscuro .aj-seg button.on,html.oscuro .aj-seg .btn-tipo-on,html.oscuro .fc-tiempo.max,html.oscuro .nl:hover,html.oscuro .fc-spec:hover{background-color:#2A3850!important;color:#E5EAF2}
html.oscuro .gas-usos button[aria-checked="true"],html.oscuro .pl-vel button[aria-checked="true"],html.oscuro .filtro-btn.activo{color:#5AA9FF!important}
/* Tintes de color de las tarjetas especiales */
html.oscuro .coche-link,html.oscuro .fc-kpi.az,html.oscuro .fc-viaje,html.oscuro .pl-guardado,html.oscuro .fc-chip.a,html.oscuro .dia-btn.futuro,html.oscuro .bg-blue-50{background-color:rgba(0,102,204,.18)!important}
html.oscuro .fc-kpi,html.oscuro .nt-cta,html.oscuro .fc-chip.v,html.oscuro .dia-btn.hoy,html.oscuro .bg-green-50{background-color:rgba(0,166,81,.14)!important}
html.oscuro .bg-amber-50{background-color:rgba(250,204,21,.12)!important;border-color:rgba(250,204,21,.4)!important;color:#FDE68A!important}
html.oscuro .gas-ico{background-color:rgba(249,115,22,.15)!important}
html.oscuro .fc-chip.a,html.oscuro .coche-link{color:#5AA9FF!important}
html.oscuro .fc-kpi .nt-lab,html.oscuro .fc-chip.v{color:#4ADE80!important}
html.oscuro .fc-kpi.az .nt-lab{color:#5AA9FF!important}
html.oscuro .fc-kpi .v{color:#22C55E} html.oscuro .fc-kpi.az .v{color:#5AA9FF}
/* Textos */
html.oscuro .nt,html.oscuro .nt h1,html.oscuro .nt h2,html.oscuro .nt h3,html.oscuro .text-slate-900,html.oscuro .text-slate-800,html.oscuro .text-slate-700,
html.oscuro .fc-fila span:last-child,html.oscuro .nt-fila a,html.oscuro .nt-fila .nm,html.oscuro .fc-guias a,html.oscuro .nt details p,html.oscuro .text-tinta{color:#E5EAF2!important}
html.oscuro .nt-lead,html.oscuro .fc-hero p,html.oscuro .gas-box p,html.oscuro .text-slate-600,html.oscuro .text-slate-500,html.oscuro .nl,html.oscuro .filtro-btn,
html.oscuro .nt-kpi .s,html.oscuro .fc-kpi .s,html.oscuro .fc-fila span:first-child,html.oscuro .nt-cta p{color:#A7B4C6!important}
html.oscuro .nt-lab,html.oscuro .aj-lab,html.oscuro .pl-lab,html.oscuro .nt-nota,html.oscuro .nt th,html.oscuro .text-slate-400,html.oscuro .nt-ejes,html.oscuro .nt-x,
html.oscuro .pz-y,html.oscuro .pz-x,html.oscuro #diasStrip .dia-btn.pasado{color:#7C8BA1!important}
html.oscuro .nt a,html.oscuro .text-brand,html.oscuro .link-primary,html.oscuro .link-secondary,html.oscuro a.text-\[\#0066CC\],html.oscuro .text-\[\#0066CC\]{color:#5AA9FF}
html.oscuro .nt-cta .bt,html.oscuro .pill-azul,html.oscuro .nt-tag,html.oscuro .fc-esta,html.oscuro .fc-guias .pu{color:#fff!important}
/* Bordes y tablas */
html.oscuro .nt td,html.oscuro .nt th,html.oscuro .nt-fila,html.oscuro .fc-fila,html.oscuro .border-slate-100,html.oscuro .border-slate-200,html.oscuro .border-slate-300,
html.oscuro .divide-slate-100>*,html.oscuro header.bg-white,html.oscuro .border-b,html.oscuro .border-t,html.oscuro .chip,html.oscuro .fc-pill,html.oscuro .nt details,
html.oscuro .aj-card,html.oscuro .pz-mm,html.oscuro .res-card{border-color:#2C3A50}
html.oscuro .nt tbody tr:hover,html.oscuro .hover\:bg-slate-100:hover,html.oscuro .hover\:bg-blue-50:hover{background-color:#1C2738!important}
/* Baterías: silueta clara */
html.oscuro .bat-caja,html.oscuro .fc-bat .cuerpo{border-color:#CBD5E1!important}
html.oscuro .bat-polo,html.oscuro .fc-bat .polo{background:#CBD5E1!important}
html.oscuro .tirador,html.oscuro .fc-tir{background:#141D2C}
/* Logos de marca (muchos son negros): sobre una pastilla blanca */
html.oscuro img[src*="/assets/marcas/"]{background:#fff;border-radius:8px;padding:3px;box-sizing:content-box}
html.oscuro img[src*="logo-sm"]{filter:brightness(1.25) saturate(1.1)}
/* Colores de marca algo más suaves de noche (verde y azul intensos sobre oscuro cansan) */
html.oscuro .cta-calcular,html.oscuro .pl-cta,html.oscuro .fc-cta,html.oscuro .nt-cta .bt,html.oscuro .tab-bar a.on,html.oscuro .tab-bar button.on,html.oscuro .nl.on,
html.oscuro .aj-tab.on,html.oscuro .aj-guardar,html.oscuro [style*="background:#00A651" i]{background-color:#0B8F4D!important;box-shadow:none!important}
html.oscuro .pill-azul,html.oscuro .pl-fab,html.oscuro .cc-fab,html.oscuro #diasStrip .dia-btn.seleccionado,html.oscuro [style*="background:#0066CC" i],html.oscuro .bg-\[\#0066CC\]{background-color:#1F6BC2!important;box-shadow:none!important}
html.oscuro [style*="color:#00A651" i]{color:#2BD27A!important}
/* Tooltips oscuros: un punto más claros para que se separen del fondo */
html.oscuro .nt-tip,html.oscuro .fc-vc .tip,html.oscuro .cc-fab-ok{background:#334155!important}
/* Mapa del planificador y de zonas mientras carga */
html.oscuro #zonaMapa,html.oscuro #cpMapa,html.oscuro .pl-mapa,html.oscuro #mapa{background:#45516E!important}
/* Números grandes de la batería en Calcular: sin caja */
html.oscuro input.num-pc{background:transparent!important;border:0!important}
/* Controles de MapLibre (zoom): iconos claros */
html.oscuro .maplibregl-ctrl button .maplibregl-ctrl-icon{filter:invert(1) brightness(1.4)}
html.oscuro .maplibregl-ctrl-group button+button{border-top-color:#2C3A50}
/* Botón «Ver en el mapa» de la página de cada cargador */
html.oscuro .cp-mapa{background:#141D2C!important;color:#E5EAF2!important;border-color:#2C3A50!important}
/* Títulos de tarjetas (Ajustes, planificador…) */
html.oscuro h1,html.oscuro h2,html.oscuro h3,html.oscuro .aj-card h2,html.oscuro summary{color:#E5EAF2}
/* Chips del mapa (OpenStreetMap con color de texto fijo) y textos de color de Tailwind sobre tintes */
html.oscuro .chip:not([data-pot]):not(.on),html.oscuro .chip[data-osm],html.oscuro .chip[data-osm].on{color:#E5EAF2!important}
html.oscuro .chip[data-pot="rapida"]:not(.on){color:#5AA9FF!important} html.oscuro .chip[data-pot="ultra"]:not(.on){color:#C4B5FD!important} html.oscuro .chip[data-pot="todas"]:not(.on){color:#4ADE80!important}
html.oscuro .text-green-900,html.oscuro .text-green-800,html.oscuro .text-green-700{color:#86EFAC!important}
html.oscuro .text-amber-900,html.oscuro .text-amber-800,html.oscuro .text-amber-700{color:#FDE68A!important}
html.oscuro .text-red-700,html.oscuro .text-red-800{color:#FCA5A5!important}
html.oscuro .text-blue-900,html.oscuro .text-blue-800{color:#93C5FD!important}
html.oscuro .border-amber-200{border-color:rgba(250,204,21,.4)!important}
html.oscuro .bg-red-50{background-color:rgba(239,68,68,.15)!important}
/* Chips activos del mapa: conservan su color de fondo */
html.oscuro .chip[data-pot="todas"].on{background-color:#0B8F4D!important;border-color:#0B8F4D!important;color:#fff!important}
html.oscuro .chip[data-pot="rapida"].on,html.oscuro .chip[data-con].on,html.oscuro .chip.on:not([data-pot]):not([data-osm]){background-color:#1F6BC2!important;border-color:#1F6BC2!important;color:#fff!important}
html.oscuro .chip[data-pot="ultra"].on{background-color:#6D3FD1!important;border-color:#6D3FD1!important;color:#fff!important}
/* Ajustes: opciones (bono social…) */
html.oscuro .aj-opt{background-color:#1C2738!important;border-color:#2C3A50!important;color:#E5EAF2}
html.oscuro .aj-opt:has(input:checked){background-color:rgba(0,166,81,.14)!important;border-color:#0B8F4D!important}
html.oscuro .aj-opt input{background:#141D2C;border-color:#475569}
html.oscuro .aj-opt input:checked{border-color:#0B8F4D}
/* /precios: el número del día (9/10) sin seleccionar, del mismo tono que el día de la semana (antes salía casi negro) */
html.oscuro #diasStrip .dia-btn:not(.seleccionado) .dia-label,html.oscuro #diasStrip .dia-btn:not(.seleccionado) .dia-fecha{color:inherit!important}
html.oscuro .fc-broma{background-color:rgba(0,166,81,.12)!important;color:#BBF7D0!important}
/* Botón de lectura de la cabecera */
html.oscuro .cc-leer-btn{color:#7DB4F0} html.oscuro .cc-leer-btn:hover,html.oscuro .cc-leer-btn[aria-expanded="true"]{background:#1E293B}
html.oscuro .cc-leer-punto{box-shadow:0 0 0 2px #0F172A} html.oscuro .cc-leer-ult{background:#11291C} html.oscuro .cc-leer-etq{color:#4ADE80}
html.oscuro .cc-leer-etq.nuevo{color:#F87171} html.oscuro .cc-leer-op:hover{background:#1E293B} html.oscuro .cc-leer-op svg{color:#7DB4F0}

/* Recuadro «¿Vas de viaje…? Planificar» de las fichas: texto claro de noche */
html.oscuro .fc-viaje{color:#E5EAF2!important} html.oscuro .fc-viaje .ir{color:#7DB4F0}
/* Pastillas «Otros … enchufables» de las fichas: texto claro de noche */
html.oscuro .fc-pill{color:#E5EAF2!important} html.oscuro .fc-pill:hover{color:#7DB4F0!important;border-color:#7DB4F0}
