/* Pillan360 v10.8.13-G · corrección cromática exclusiva del modo claro.
   La paleta oscura y las tarjetas deliberadamente oscuras mantienen sus tonos.
   WCAG AA sobre blanco: azul #075985 ≈7.4:1, gris #475569 ≈7.6:1. */
body.light-mode {
  --text-sub: #475569;
  --accent: #1d4ed8;
  --rec-context-ink: #334155;
}
/* Clases Tailwind de baja legibilidad sobre superficies claras. */
body.light-mode :is(.text-cyan-100,.text-cyan-200,.text-cyan-300,.text-cyan-400,.text-sky-300,.text-sky-400,.text-blue-200,.text-blue-300,.text-blue-400) { color: #075985; }
body.light-mode :is(.text-slate-200,.text-slate-300,.text-slate-400,.text-gray-300,.text-gray-400) { color: #475569; }
/* No invertir contrastes en pastillas o tarjetas que siguen teniendo fondo oscuro. */
body.light-mode :is([class*="bg-slate-7"],[class*="bg-slate-8"],[class*="bg-slate-9"],[class*="bg-blue-8"],[class*="bg-blue-9"]) :is(.text-slate-200,.text-slate-300,.text-slate-400,.text-gray-300,.text-gray-400),
body.light-mode :is([class*="bg-slate-7"],[class*="bg-slate-8"],[class*="bg-slate-9"],[class*="bg-blue-8"],[class*="bg-blue-9"]):is(.text-slate-200,.text-slate-300,.text-slate-400,.text-gray-300,.text-gray-400) { color:#e2e8f0; }
body.light-mode :is([class*="bg-slate-7"],[class*="bg-slate-8"],[class*="bg-slate-9"],[class*="bg-blue-8"],[class*="bg-blue-9"]) :is(.text-blue-200,.text-blue-300,.text-blue-400,.text-cyan-100,.text-cyan-200,.text-cyan-300,.text-cyan-400,.text-sky-300,.text-sky-400),
body.light-mode :is([class*="bg-slate-7"],[class*="bg-slate-8"],[class*="bg-slate-9"],[class*="bg-blue-8"],[class*="bg-blue-9"]):is(.text-blue-200,.text-blue-300,.text-blue-400,.text-cyan-100,.text-cyan-200,.text-cyan-300,.text-cyan-400,.text-sky-300,.text-sky-400) { color:#7dd3fc; }
/* Fichas de consulta: el color no será el único indicador de selección. */
body.light-mode #tab-recommendations .rec-topic.is-current { background:#e0f2fe; border-color:#075985; }
body.light-mode #tab-recommendations .rec-stage.active { background:#dbeafe; border-color:#1d4ed8; }
body.light-mode #tab-recommendations :is(.rec-topic-group,.rec-check-progress) { color:#075985; }
