/* HORUS - modo escuro. Só vale quando <html> tem a classe "dark" (botão de tema no cabeçalho).
   Ajusta as cores mais usadas do Tailwind; o menu lateral já é escuro e não muda. */
html.dark { color-scheme: dark; }
html.dark body { background-color: #0b1220; color: #e2e8f0; }
html.dark input, html.dark select, html.dark textarea { background-color: #0d1526; color: #e2e8f0; border-color: #33425f; }
html.dark input::placeholder, html.dark textarea::placeholder { color: #6b7a94; }
html.dark input:disabled, html.dark select:disabled, html.dark textarea:disabled { background-color: #162036; color: #7a889f; }
html.dark input[type="checkbox"], html.dark input[type="radio"] { background-color: initial; }
html.dark .custom-scrollbar::-webkit-scrollbar-thumb { background: #33425f; }
html.dark .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #4a5b7d; }
html.dark table { color: #cbd5e1; }
html.dark .shadow-sm, html.dark .shadow-md, html.dark .shadow-lg, html.dark .shadow-xl, html.dark .shadow-2xl { --tw-shadow-color: rgba(0,0,0,.5); }

html.dark .bg-slate-100 { background-color: #0b1220 !important; }
html.dark .bg-white { background-color: #131c31 !important; }
html.dark .bg-slate-50 { background-color: #101a2e !important; }
html.dark .bg-slate-200 { background-color: #243252 !important; }
html.dark .bg-slate-300 { background-color: #33425f !important; }
html.dark .hover\:bg-slate-50:hover { background-color: #1a2540 !important; }
html.dark .hover\:bg-slate-100:hover { background-color: #1a2540 !important; }
html.dark .hover\:bg-slate-200:hover { background-color: #2d3d60 !important; }
html.dark .hover\:bg-slate-300:hover { background-color: #38496e !important; }
html.dark .bg-rose-50 { background-color: rgba(244,63,94,.12) !important; }
html.dark .bg-rose-100 { background-color: rgba(244,63,94,.22) !important; }
html.dark .bg-rose-50\/60 { background-color: rgba(244,63,94,.12) !important; }
html.dark .hover\:bg-rose-50:hover { background-color: rgba(244,63,94,.18) !important; }
html.dark .bg-red-50 { background-color: rgba(239,68,68,.12) !important; }
html.dark .hover\:bg-red-50:hover { background-color: rgba(239,68,68,.18) !important; }
html.dark .hover\:bg-red-100:hover { background-color: rgba(239,68,68,.25) !important; }
html.dark .bg-emerald-50 { background-color: rgba(16,185,129,.12) !important; }
html.dark .bg-emerald-100 { background-color: rgba(16,185,129,.22) !important; }
html.dark .hover\:bg-emerald-50:hover { background-color: rgba(16,185,129,.18) !important; }
html.dark .hover\:bg-emerald-100:hover { background-color: rgba(16,185,129,.28) !important; }
html.dark .bg-amber-50 { background-color: rgba(245,158,11,.12) !important; }
html.dark .bg-amber-100 { background-color: rgba(245,158,11,.22) !important; }
html.dark .hover\:bg-amber-50:hover { background-color: rgba(245,158,11,.18) !important; }
html.dark .bg-indigo-50 { background-color: rgba(99,102,241,.14) !important; }
html.dark .bg-indigo-100 { background-color: rgba(99,102,241,.24) !important; }
html.dark .bg-blue-50 { background-color: rgba(59,130,246,.14) !important; }
html.dark .hover\:bg-blue-50:hover { background-color: rgba(59,130,246,.2) !important; }
html.dark .to-blue-50 { --tw-gradient-to: rgba(59,130,246,.14) !important; }
html.dark .from-indigo-50 { --tw-gradient-from: rgba(99,102,241,.14) !important; }
html.dark .text-slate-900 { color: #f1f5f9 !important; }
html.dark .text-slate-800 { color: #e2e8f0 !important; }
html.dark .text-slate-700 { color: #cbd5e1 !important; }
html.dark .text-slate-600 { color: #a9b6ca !important; }
html.dark .text-slate-500 { color: #8d9bb3 !important; }
html.dark .text-slate-400 { color: #74829b !important; }
html.dark .hover\:text-slate-600:hover { color: #cbd5e1 !important; }
html.dark .hover\:text-slate-700:hover { color: #e2e8f0 !important; }
html.dark .text-rose-600 { color: #fb7185 !important; }
html.dark .text-rose-700 { color: #fda4af !important; }
html.dark .text-rose-800 { color: #fecdd3 !important; }
html.dark .text-red-500 { color: #f87171 !important; }
html.dark .text-red-600 { color: #f87171 !important; }
html.dark .text-red-700 { color: #fca5a5 !important; }
html.dark .text-emerald-600 { color: #34d399 !important; }
html.dark .text-emerald-700 { color: #6ee7b7 !important; }
html.dark .text-emerald-800 { color: #a7f3d0 !important; }
html.dark .text-amber-600 { color: #fbbf24 !important; }
html.dark .text-amber-700 { color: #fcd34d !important; }
html.dark .text-amber-800 { color: #fde68a !important; }
html.dark .text-blue-600 { color: #60a5fa !important; }
html.dark .text-blue-800 { color: #93c5fd !important; }
html.dark .text-blue-900 { color: #bfdbfe !important; }
html.dark .text-indigo-600 { color: #a5b4fc !important; }
html.dark .text-indigo-700 { color: #c7d2fe !important; }
html.dark .hover\:text-rose-600:hover { color: #fb7185 !important; }
html.dark .hover\:text-red-600:hover { color: #f87171 !important; }
html.dark .hover\:text-emerald-700:hover { color: #6ee7b7 !important; }
html.dark .hover\:text-amber-600:hover { color: #fbbf24 !important; }
html.dark .hover\:text-blue-900:hover { color: #bfdbfe !important; }
html.dark .border-slate-100 { border-color: #1c2842 !important; }
html.dark .border-slate-200 { border-color: #26344f !important; }
html.dark .border-slate-300 { border-color: #33425f !important; }
html.dark .border-rose-100 { border-color: rgba(244,63,94,.25) !important; }
html.dark .border-rose-200 { border-color: rgba(244,63,94,.35) !important; }
html.dark .border-rose-300 { border-color: rgba(244,63,94,.45) !important; }
html.dark .border-red-200 { border-color: rgba(239,68,68,.35) !important; }
html.dark .border-red-300 { border-color: rgba(239,68,68,.45) !important; }
html.dark .border-emerald-100 { border-color: rgba(16,185,129,.25) !important; }
html.dark .border-emerald-200 { border-color: rgba(16,185,129,.35) !important; }
html.dark .border-blue-100 { border-color: rgba(59,130,246,.3) !important; }
html.dark .border-white { border-color: #131c31 !important; }
html.dark .divide-slate-200 > :not([hidden]) ~ :not([hidden]) { border-color: #26344f !important; }
html.dark .divide-slate-100 > :not([hidden]) ~ :not([hidden]) { border-color: #1c2842 !important; }

/* ----- complementos (variações com transparência, violeta e textos escuros) ----- */
html.dark input.bg-transparent, html.dark select.bg-transparent, html.dark textarea.bg-transparent, html.dark .bg-transparent { background-color: transparent !important; }
html.dark .bg-emerald-50\/20 { background-color: rgba(16,185,129,.08) !important; }
html.dark .bg-emerald-50\/40 { background-color: rgba(16,185,129,.12) !important; }
html.dark .bg-indigo-50\/40 { background-color: rgba(99,102,241,.12) !important; }
html.dark .bg-rose-50\/40 { background-color: rgba(244,63,94,.10) !important; }
html.dark .bg-violet-50 { background-color: rgba(139,92,246,.14) !important; }
html.dark .hover\:bg-violet-100:hover { background-color: rgba(139,92,246,.24) !important; }
html.dark .border-amber-200 { border-color: rgba(245,158,11,.35) !important; }
html.dark .border-blue-100\/50 { border-color: rgba(59,130,246,.25) !important; }
html.dark .border-blue-200 { border-color: rgba(59,130,246,.4) !important; }
html.dark .border-emerald-100\/70 { border-color: rgba(16,185,129,.25) !important; }
html.dark .border-emerald-300 { border-color: rgba(16,185,129,.5) !important; }
html.dark .border-indigo-200 { border-color: rgba(99,102,241,.4) !important; }
html.dark .border-rose-100\/70 { border-color: rgba(244,63,94,.25) !important; }
html.dark .border-violet-200 { border-color: rgba(139,92,246,.4) !important; }
html.dark .text-blue-700 { color: #93c5fd !important; }
html.dark .text-emerald-900 { color: #a7f3d0 !important; }
html.dark .text-violet-700 { color: #c4b5fd !important; }
html.dark .text-violet-900 { color: #ddd6fe !important; }
html.dark .hover\:text-red-900:hover { color: #fecaca !important; }
html.dark .hover\:text-emerald-600:hover { color: #34d399 !important; }
html.dark .text-amber-950 { color: #451a03 !important; }
