/* Pillan360 v10.9-RC-HF1 · Contraste cromático del modo claro
 * Únicamente cambia color de texto/iconos; no modifica colores temáticos de riesgo,
 * marcadores de emergencia, capas Leaflet ni controles dentro de Mapas.
 * Paleta de tinta sobre superficies claras de alta legibilidad.
 * Los botones de fondo oscuro conservan texto blanco (sin pasteles).
 */
body.light-mode { color-scheme: light; }
/* Clases suaves heredadas (Tailwind). Se excluye íntegramente el visor Mapas. */
body.light-mode :is(.text-slate-100,.text-slate-200,.text-slate-300,.text-slate-400,.text-gray-100,.text-gray-200,.text-gray-300,.text-gray-400):not(#tab-maps *) { color: #334155 !important; }
body.light-mode :is(.text-blue-100,.text-blue-200,.text-blue-300,.text-blue-400,.text-sky-100,.text-sky-200,.text-sky-300,.text-sky-400,.text-cyan-100,.text-cyan-200,.text-cyan-300,.text-cyan-400):not(#tab-maps *) { color: #075985 !important; }
body.light-mode :is(.text-purple-100,.text-purple-200,.text-purple-300,.text-purple-400,.text-violet-100,.text-violet-200,.text-violet-300,.text-violet-400,.text-indigo-100,.text-indigo-200,.text-indigo-300,.text-indigo-400,.text-fuchsia-100,.text-fuchsia-200,.text-fuchsia-300,.text-fuchsia-400,.text-pink-100,.text-pink-200,.text-pink-300,.text-pink-400):not(#tab-maps *) { color: #6b21a8 !important; }
body.light-mode :is(.text-emerald-100,.text-emerald-200,.text-emerald-300,.text-emerald-400,.text-green-100,.text-green-200,.text-green-300,.text-green-400,.text-teal-100,.text-teal-200,.text-teal-300,.text-teal-400,.text-lime-100,.text-lime-200,.text-lime-300,.text-lime-400):not(#tab-maps *) { color: #047857 !important; }
body.light-mode :is(.text-yellow-100,.text-yellow-200,.text-yellow-300,.text-yellow-400,.text-amber-100,.text-amber-200,.text-amber-300,.text-amber-400,.text-orange-100,.text-orange-200,.text-orange-300,.text-orange-400):not(#tab-maps *) { color: #92400e !important; }
body.light-mode :is(.text-red-100,.text-red-200,.text-red-300,.text-red-400):not(#tab-maps *) { color: #991b1b !important; }
/* Un fondo oscuro declarado en las utilidades necesita tinta blanca; evita
   letras oscuras sobre botones/tarjetas que deliberadamente conservan ese fondo. */
body.light-mode :is([class*="bg-slate-7"],[class*="bg-slate-8"],[class*="bg-slate-9"],[class*="bg-gray-7"],[class*="bg-gray-8"],[class*="bg-gray-9"],[class*="bg-blue-6"],[class*="bg-blue-7"],[class*="bg-blue-8"],[class*="bg-blue-9"],[class*="bg-indigo-7"],[class*="bg-indigo-8"],[class*="bg-purple-7"],[class*="bg-purple-8"],[class*="bg-cyan-7"],[class*="bg-cyan-8"],[class*="bg-emerald-7"],[class*="bg-emerald-8"],[class*="bg-green-7"],[class*="bg-green-8"],[class*="bg-red-7"],[class*="bg-red-8"],[class*="bg-orange-7"],[class*="bg-orange-8"]):is([class*="text-"]):not(#tab-maps *),
body.light-mode :is([class*="bg-slate-7"],[class*="bg-slate-8"],[class*="bg-slate-9"],[class*="bg-gray-7"],[class*="bg-gray-8"],[class*="bg-gray-9"],[class*="bg-blue-6"],[class*="bg-blue-7"],[class*="bg-blue-8"],[class*="bg-blue-9"],[class*="bg-indigo-7"],[class*="bg-indigo-8"],[class*="bg-purple-7"],[class*="bg-purple-8"],[class*="bg-cyan-7"],[class*="bg-cyan-8"],[class*="bg-emerald-7"],[class*="bg-emerald-8"],[class*="bg-green-7"],[class*="bg-green-8"],[class*="bg-red-7"],[class*="bg-red-8"],[class*="bg-orange-7"],[class*="bg-orange-8"]) :is([class*="text-"]):not(#tab-maps *) { color: #ffffff !important; }
/* Colores de iconos que definen directamente el trazo/relleno, cuando se usan
   en una superficie clara sin heredar currentColor. */
body.light-mode :is(.stroke-slate-200,.stroke-slate-300,.stroke-slate-400):not(#tab-maps *) { stroke: #334155 !important; }
body.light-mode :is(.fill-slate-200,.fill-slate-300,.fill-slate-400):not(#tab-maps *) { fill: #334155 !important; }
body.light-mode :is(.stroke-blue-200,.stroke-blue-300,.stroke-cyan-200,.stroke-cyan-300,.stroke-sky-200,.stroke-sky-300):not(#tab-maps *) { stroke: #075985 !important; }
body.light-mode :is(.stroke-purple-200,.stroke-purple-300,.stroke-violet-200,.stroke-violet-300):not(#tab-maps *) { stroke: #6b21a8 !important; }
/* En pantallas reducidas, el bloque secundario se apila debajo de la búsqueda. */
#tab-recommendations #rec-context-10832 { margin-top: .3rem; }
