/* TimIklan light theme. Shared by every layout; keep layout and business behavior intact. */
:root { color-scheme: light; --page-bg:#f6f7fb; --surface:#ffffff; --surface-muted:#f1f5f9; --surface-hover:#f5f3ff; --text-primary:#1e293b; --text-secondary:#475569; --text-muted:#5b6b80; --border:#e2e8f0; --brand:#7c3aed; --brand-soft:#f3e8ff; }
html[data-theme="light"] body { background:var(--page-bg)!important; color:var(--text-primary); }
html[data-theme="light"] #sidebar { background:var(--surface)!important; color:var(--text-primary)!important; border-right:1px solid var(--border); box-shadow:2px 0 12px #0f172a05; }
html[data-theme="light"] #main-content > header { background:rgba(255,255,255,.97)!important; border-color:var(--border)!important; }
html[data-theme="light"] :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=color]):not([type=range]):not([type=hidden]),select,textarea) { background-color:var(--surface)!important; color:var(--text-primary)!important; border-color:#cbd5e1!important; color-scheme:light; }
html[data-theme="light"] :is(input,select,textarea):focus { border-color:var(--brand)!important; outline-color:var(--brand); --tw-ring-color:#a78bfa; }
html[data-theme="light"] :is(input,textarea)::placeholder { color:var(--text-muted)!important; opacity:1; }
html[data-theme="light"] :is(input,select,textarea):disabled,html[data-theme="light"] input[readonly] { background-color:var(--surface-muted)!important; color:var(--text-secondary)!important; }
html[data-theme="light"] select option { background:var(--surface)!important; color:var(--text-primary)!important; }
html[data-theme="light"] :is(.glass,.glass-card) { background:var(--surface)!important; border-color:var(--border)!important; }
html[data-theme="light"] :is(pre,code) { color:var(--text-primary); }
html[data-theme="light"] :is(dialog,[role=dialog],.flatpickr-calendar,.datepicker-dropdown,.swal2-popup,.tippy-box) { background:var(--surface)!important; color:var(--text-primary)!important; border-color:var(--border)!important; }
html[data-theme="light"] :is(.flatpickr-day,.flatpickr-weekday,.flatpickr-current-month,.swal2-title,.swal2-html-container) { color:var(--text-primary)!important; }
html[data-theme="light"] .flatpickr-day.selected { color:white!important; background:var(--brand)!important; }
html[data-theme="light"] #sidebar[data-collapsed="true"] a:hover .sidebar-text::after { background:var(--surface)!important; color:var(--text-primary)!important; border:1px solid var(--border); }
html[data-theme="light"] * { scrollbar-color:#b7b1ca #f1f5f9; }
html[data-theme="light"] ::-webkit-scrollbar-track { background:#f1f5f9!important; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background:#b7b1ca!important; border-radius:6px; }
html[data-theme="light"] ::selection { background:#ddd6fe; color:#312e81; }

html[data-theme="light"] .bg-gray-100,
html[data-theme="light"] .bg-gray-200,
html[data-theme="light"] .bg-gray-50,
html[data-theme="light"] .bg-gray-500,
html[data-theme="light"] .bg-gray-500\/20,
html[data-theme="light"] .bg-gray-500\/30,
html[data-theme="light"] .bg-gray-800,
html[data-theme="light"] .bg-gray-800\/50,
html[data-theme="light"] .bg-gray-800\/80,
html[data-theme="light"] .bg-gray-800\/95,
html[data-theme="light"] .bg-gray-900,
html[data-theme="light"] .bg-gray-900\/50,
html[data-theme="light"] .bg-gray-900\/80,
html[data-theme="light"] .bg-slate-400,
html[data-theme="light"] .bg-slate-50,
html[data-theme="light"] .bg-slate-500\/20,
html[data-theme="light"] .bg-slate-500\/30,
html[data-theme="light"] .bg-slate-800,
html[data-theme="light"] .bg-slate-800\/30,
html[data-theme="light"] .bg-slate-800\/50,
html[data-theme="light"] .bg-slate-800\/60,
html[data-theme="light"] .bg-slate-800\/80,
html[data-theme="light"] .bg-slate-800\/95,
html[data-theme="light"] .bg-slate-900,
html[data-theme="light"] .bg-slate-900\/20,
html[data-theme="light"] .bg-slate-900\/30,
html[data-theme="light"] .bg-slate-900\/35,
html[data-theme="light"] .bg-slate-900\/40,
html[data-theme="light"] .bg-slate-900\/45,
html[data-theme="light"] .bg-slate-900\/50,
html[data-theme="light"] .bg-slate-900\/55,
html[data-theme="light"] .bg-slate-900\/60,
html[data-theme="light"] .bg-slate-900\/70,
html[data-theme="light"] .bg-slate-900\/80,
html[data-theme="light"] .bg-slate-900\/95,
html[data-theme="light"] .bg-slate-950,
html[data-theme="light"] .bg-slate-950\/20,
html[data-theme="light"] .bg-slate-950\/25,
html[data-theme="light"] .bg-slate-950\/30,
html[data-theme="light"] .bg-slate-950\/35,
html[data-theme="light"] .bg-slate-950\/40,
html[data-theme="light"] .bg-slate-950\/45,
html[data-theme="light"] .bg-slate-950\/55,
html[data-theme="light"] .bg-slate-950\/60,
html[data-theme="light"] .bg-slate-950\/90,
html[data-theme="light"] .bg-white,
html[data-theme="light"] .bg-white\/10,
html[data-theme="light"] .bg-white\/20,
html[data-theme="light"] .bg-white\/5 { background-color:var(--surface)!important; }

html[data-theme="light"] .group:hover .group-hover\:text-white,
html[data-theme="light"] .hover\:text-gray-200:hover,
html[data-theme="light"] .hover\:text-white:hover,
html[data-theme="light"] .text-gray-200,
html[data-theme="light"] .text-slate-100,
html[data-theme="light"] .text-slate-200,
html[data-theme="light"] .text-white,
html[data-theme="light"] .text-white\/30,
html[data-theme="light"] .text-white\/50,
html[data-theme="light"] .text-white\/60,
html[data-theme="light"] .text-white\/70,
html[data-theme="light"] .text-white\/80 { color:var(--text-primary)!important; }

html[data-theme="light"] .bg-black,
html[data-theme="light"] .bg-black\/20,
html[data-theme="light"] .bg-black\/30,
html[data-theme="light"] .bg-black\/40,
html[data-theme="light"] .bg-black\/50,
html[data-theme="light"] .bg-black\/60,
html[data-theme="light"] .bg-black\/70,
html[data-theme="light"] .bg-black\/90,
html[data-theme="light"] .bg-gray-600,
html[data-theme="light"] .bg-gray-600\/20,
html[data-theme="light"] .bg-gray-600\/40,
html[data-theme="light"] .bg-gray-700,
html[data-theme="light"] .bg-gray-700\/50,
html[data-theme="light"] .bg-slate-600,
html[data-theme="light"] .bg-slate-600\/15,
html[data-theme="light"] .bg-slate-600\/20,
html[data-theme="light"] .bg-slate-600\/30,
html[data-theme="light"] .bg-slate-600\/40,
html[data-theme="light"] .bg-slate-600\/50,
html[data-theme="light"] .bg-slate-700,
html[data-theme="light"] .bg-slate-700\/30,
html[data-theme="light"] .bg-slate-700\/50,
html[data-theme="light"] .bg-slate-700\/70,
html[data-theme="light"] .hover\:bg-black:hover { background-color:var(--surface-muted)!important; }

html[data-theme="light"] .border-gray-100,
html[data-theme="light"] .border-gray-200,
html[data-theme="light"] .border-gray-300,
html[data-theme="light"] .border-gray-400,
html[data-theme="light"] .border-gray-400\/20,
html[data-theme="light"] .border-gray-400\/30,
html[data-theme="light"] .border-gray-500\/20,
html[data-theme="light"] .border-gray-500\/30,
html[data-theme="light"] .border-gray-500\/50,
html[data-theme="light"] .border-gray-600,
html[data-theme="light"] .border-gray-700,
html[data-theme="light"] .border-slate-200,
html[data-theme="light"] .border-slate-400,
html[data-theme="light"] .border-slate-400\/25,
html[data-theme="light"] .border-slate-400\/30,
html[data-theme="light"] .border-slate-500,
html[data-theme="light"] .border-slate-500\/30,
html[data-theme="light"] .border-slate-600,
html[data-theme="light"] .border-slate-700,
html[data-theme="light"] .border-slate-700\/50,
html[data-theme="light"] .border-slate-800,
html[data-theme="light"] .border-slate-900,
html[data-theme="light"] .border-white,
html[data-theme="light"] .border-white\/10,
html[data-theme="light"] .border-white\/15,
html[data-theme="light"] .border-white\/20,
html[data-theme="light"] .border-white\/30,
html[data-theme="light"] .border-white\/5,
html[data-theme="light"] .divide-gray-100 > :not([hidden]) ~ :not([hidden]),
html[data-theme="light"] .divide-gray-200 > :not([hidden]) ~ :not([hidden]),
html[data-theme="light"] .divide-white\/10 > :not([hidden]) ~ :not([hidden]),
html[data-theme="light"] .divide-white\/5 > :not([hidden]) ~ :not([hidden]),
html[data-theme="light"] .focus\:border-gray-300:focus,
html[data-theme="light"] .focus\:border-slate-500:focus,
html[data-theme="light"] .hover\:border-gray-300:hover,
html[data-theme="light"] .hover\:border-white:hover,
html[data-theme="light"] .hover\:border-white\/10:hover,
html[data-theme="light"] .hover\:border-white\/30:hover,
html[data-theme="light"] .hover\:border-white\/40:hover { border-color:var(--border)!important; }

html[data-theme="light"] .focus\:bg-gray-100:focus,
html[data-theme="light"] .focus\:bg-gray-50:focus,
html[data-theme="light"] .focus\:bg-gray-700:focus,
html[data-theme="light"] .focus\:bg-white\/10:focus,
html[data-theme="light"] .hover\:bg-gray-100:hover,
html[data-theme="light"] .hover\:bg-gray-200:hover,
html[data-theme="light"] .hover\:bg-gray-300:hover,
html[data-theme="light"] .hover\:bg-gray-50:hover,
html[data-theme="light"] .hover\:bg-gray-600:hover,
html[data-theme="light"] .hover\:bg-gray-700:hover,
html[data-theme="light"] .hover\:bg-gray-800:hover,
html[data-theme="light"] .hover\:bg-slate-500:hover,
html[data-theme="light"] .hover\:bg-slate-600:hover,
html[data-theme="light"] .hover\:bg-slate-600\/50:hover,
html[data-theme="light"] .hover\:bg-slate-700:hover,
html[data-theme="light"] .hover\:bg-slate-700\/50:hover,
html[data-theme="light"] .hover\:bg-slate-800:hover,
html[data-theme="light"] .hover\:bg-white:hover,
html[data-theme="light"] .hover\:bg-white\/10:hover,
html[data-theme="light"] .hover\:bg-white\/15:hover,
html[data-theme="light"] .hover\:bg-white\/20:hover,
html[data-theme="light"] .hover\:bg-white\/30:hover,
html[data-theme="light"] .hover\:bg-white\/5:hover { background-color:var(--surface-hover)!important; }

html[data-theme="light"] .bg-red-500\/10,
html[data-theme="light"] .bg-red-500\/15,
html[data-theme="light"] .bg-red-500\/20,
html[data-theme="light"] .bg-red-500\/30,
html[data-theme="light"] .bg-red-500\/80,
html[data-theme="light"] .bg-red-600\/10,
html[data-theme="light"] .bg-red-600\/20,
html[data-theme="light"] .bg-red-600\/30,
html[data-theme="light"] .bg-red-600\/80,
html[data-theme="light"] .bg-red-700,
html[data-theme="light"] .bg-red-900\/95,
html[data-theme="light"] .hover\:bg-red-500\/30:hover,
html[data-theme="light"] .hover\:bg-red-600\/20:hover,
html[data-theme="light"] .hover\:bg-red-600\/50:hover,
html[data-theme="light"] .hover\:bg-red-700:hover { background-color:color-mix(in srgb, #b91c1c 9%, white)!important; }

html[data-theme="light"] .focus\:text-gray-500:focus,
html[data-theme="light"] .hover\:text-gray-300:hover,
html[data-theme="light"] .hover\:text-gray-500:hover,
html[data-theme="light"] .hover\:text-slate-300:hover,
html[data-theme="light"] .text-gray-300,
html[data-theme="light"] .text-gray-400,
html[data-theme="light"] .text-gray-500,
html[data-theme="light"] .text-slate-300,
html[data-theme="light"] .text-slate-400,
html[data-theme="light"] .text-slate-500 { color:var(--text-secondary)!important; }

html[data-theme="light"] .hover\:text-purple-100:hover,
html[data-theme="light"] .hover\:text-purple-200:hover,
html[data-theme="light"] .hover\:text-purple-300:hover,
html[data-theme="light"] .hover\:text-purple-400:hover,
html[data-theme="light"] .text-purple-100,
html[data-theme="light"] .text-purple-100\/70,
html[data-theme="light"] .text-purple-200,
html[data-theme="light"] .text-purple-300,
html[data-theme="light"] .text-purple-300\/60,
html[data-theme="light"] .text-purple-300\/70,
html[data-theme="light"] .text-purple-400,
html[data-theme="light"] .text-purple-400\/60 { color:#7e22ce!important; }

html[data-theme="light"] .bg-pink-500\/10,
html[data-theme="light"] .bg-pink-500\/20,
html[data-theme="light"] .bg-pink-500\/30,
html[data-theme="light"] .bg-pink-600\/10,
html[data-theme="light"] .bg-pink-600\/20,
html[data-theme="light"] .bg-pink-600\/30,
html[data-theme="light"] .hover\:bg-pink-500\/30:hover,
html[data-theme="light"] .hover\:bg-pink-500\/50:hover,
html[data-theme="light"] .hover\:bg-pink-600\/50:hover,
html[data-theme="light"] .hover\:bg-pink-700:hover { background-color:color-mix(in srgb, #be185d 9%, white)!important; }

html[data-theme="light"] .bg-purple-500\/10,
html[data-theme="light"] .bg-purple-500\/20,
html[data-theme="light"] .bg-purple-500\/30,
html[data-theme="light"] .bg-purple-600\/20,
html[data-theme="light"] .bg-purple-600\/30,
html[data-theme="light"] .bg-purple-600\/50,
html[data-theme="light"] .bg-purple-600\/80,
html[data-theme="light"] .bg-purple-700,
html[data-theme="light"] .hover\:bg-purple-500\/30:hover,
html[data-theme="light"] .hover\:bg-purple-500\/50:hover,
html[data-theme="light"] .hover\:bg-purple-600\/10:hover,
html[data-theme="light"] .hover\:bg-purple-600\/50:hover,
html[data-theme="light"] .hover\:bg-purple-700:hover { background-color:color-mix(in srgb, #7e22ce 9%, white)!important; }

html[data-theme="light"] .bg-indigo-500\/10,
html[data-theme="light"] .bg-indigo-500\/20,
html[data-theme="light"] .bg-indigo-500\/30,
html[data-theme="light"] .bg-indigo-600\/20,
html[data-theme="light"] .bg-indigo-600\/30,
html[data-theme="light"] .hover\:bg-indigo-500\/10:hover,
html[data-theme="light"] .hover\:bg-indigo-500\/30:hover,
html[data-theme="light"] .hover\:bg-indigo-500\/40:hover,
html[data-theme="light"] .hover\:bg-indigo-700:hover { background-color:color-mix(in srgb, #4338ca 9%, white)!important; }

html[data-theme="light"] .hover\:text-indigo-100:hover,
html[data-theme="light"] .hover\:text-indigo-200:hover,
html[data-theme="light"] .hover\:text-indigo-300:hover,
html[data-theme="light"] .text-indigo-100,
html[data-theme="light"] .text-indigo-100\/70,
html[data-theme="light"] .text-indigo-200,
html[data-theme="light"] .text-indigo-300,
html[data-theme="light"] .text-indigo-300\/80,
html[data-theme="light"] .text-indigo-400 { color:#4338ca!important; }

html[data-theme="light"] .bg-blue-500\/10,
html[data-theme="light"] .bg-blue-500\/15,
html[data-theme="light"] .bg-blue-500\/20,
html[data-theme="light"] .bg-blue-500\/30,
html[data-theme="light"] .bg-blue-600\/10,
html[data-theme="light"] .bg-blue-600\/15,
html[data-theme="light"] .bg-blue-600\/20,
html[data-theme="light"] .bg-blue-600\/30,
html[data-theme="light"] .bg-blue-600\/40,
html[data-theme="light"] .bg-blue-600\/70,
html[data-theme="light"] .bg-blue-600\/80,
html[data-theme="light"] .bg-blue-700\/40,
html[data-theme="light"] .bg-blue-900\/20,
html[data-theme="light"] .bg-blue-900\/30,
html[data-theme="light"] .hover\:bg-blue-500\/20:hover,
html[data-theme="light"] .hover\:bg-blue-500\/30:hover,
html[data-theme="light"] .hover\:bg-blue-600\/20:hover,
html[data-theme="light"] .hover\:bg-blue-600\/50:hover,
html[data-theme="light"] .hover\:bg-blue-700:hover { background-color:color-mix(in srgb, #1d4ed8 9%, white)!important; }

html[data-theme="light"] .hover\:text-blue-200:hover,
html[data-theme="light"] .hover\:text-blue-300:hover,
html[data-theme="light"] .text-blue-100,
html[data-theme="light"] .text-blue-200,
html[data-theme="light"] .text-blue-200\/80,
html[data-theme="light"] .text-blue-300,
html[data-theme="light"] .text-blue-400,
html[data-theme="light"] .text-blue-400\/70 { color:#1d4ed8!important; }

html[data-theme="light"] .bg-emerald-500\/10,
html[data-theme="light"] .bg-emerald-500\/15,
html[data-theme="light"] .bg-emerald-500\/20,
html[data-theme="light"] .bg-emerald-500\/30,
html[data-theme="light"] .bg-emerald-500\/5,
html[data-theme="light"] .bg-emerald-600\/15,
html[data-theme="light"] .bg-emerald-600\/20,
html[data-theme="light"] .bg-emerald-600\/30,
html[data-theme="light"] .bg-emerald-600\/40,
html[data-theme="light"] .bg-emerald-700,
html[data-theme="light"] .bg-emerald-700\/40,
html[data-theme="light"] .bg-emerald-900\/20,
html[data-theme="light"] .bg-emerald-900\/30,
html[data-theme="light"] .bg-emerald-950\/30,
html[data-theme="light"] .bg-emerald-950\/35,
html[data-theme="light"] .bg-emerald-950\/50,
html[data-theme="light"] .hover\:bg-emerald-500\/10:hover,
html[data-theme="light"] .hover\:bg-emerald-500\/20:hover,
html[data-theme="light"] .hover\:bg-emerald-500\/30:hover,
html[data-theme="light"] .hover\:bg-emerald-500\/50:hover,
html[data-theme="light"] .hover\:bg-emerald-600\/10:hover,
html[data-theme="light"] .hover\:bg-emerald-600\/20:hover,
html[data-theme="light"] .hover\:bg-emerald-600\/25:hover,
html[data-theme="light"] .hover\:bg-emerald-600\/30:hover,
html[data-theme="light"] .hover\:bg-emerald-600\/50:hover,
html[data-theme="light"] .hover\:bg-emerald-700:hover { background-color:color-mix(in srgb, #047857 9%, white)!important; }

html[data-theme="light"] .group:hover .group-hover\:text-emerald-300,
html[data-theme="light"] .hover\:text-emerald-200:hover,
html[data-theme="light"] .hover\:text-emerald-300:hover,
html[data-theme="light"] .text-emerald-100,
html[data-theme="light"] .text-emerald-100\/70,
html[data-theme="light"] .text-emerald-200,
html[data-theme="light"] .text-emerald-200\/70,
html[data-theme="light"] .text-emerald-200\/80,
html[data-theme="light"] .text-emerald-300,
html[data-theme="light"] .text-emerald-300\/80,
html[data-theme="light"] .text-emerald-400,
html[data-theme="light"] .text-emerald-400\/70 { color:#047857!important; }

html[data-theme="light"] .bg-orange-500\/10,
html[data-theme="light"] .bg-orange-500\/20,
html[data-theme="light"] .bg-orange-500\/30,
html[data-theme="light"] .bg-orange-500\/5,
html[data-theme="light"] .bg-orange-600\/10,
html[data-theme="light"] .bg-orange-600\/20,
html[data-theme="light"] .bg-orange-600\/30,
html[data-theme="light"] .hover\:bg-orange-500\/10:hover,
html[data-theme="light"] .hover\:bg-orange-500\/30:hover,
html[data-theme="light"] .hover\:bg-orange-600\/50:hover,
html[data-theme="light"] .hover\:bg-orange-700:hover { background-color:color-mix(in srgb, #c2410c 9%, white)!important; }

html[data-theme="light"] .text-orange-100,
html[data-theme="light"] .text-orange-100\/70,
html[data-theme="light"] .text-orange-200,
html[data-theme="light"] .text-orange-200\/80,
html[data-theme="light"] .text-orange-300,
html[data-theme="light"] .text-orange-300\/70,
html[data-theme="light"] .text-orange-400 { color:#c2410c!important; }

html[data-theme="light"] .from-gray-500,
html[data-theme="light"] .from-gray-600,
html[data-theme="light"] .from-gray-700,
html[data-theme="light"] .from-gray-900,
html[data-theme="light"] .from-slate-50,
html[data-theme="light"] .from-slate-600,
html[data-theme="light"] .from-slate-800,
html[data-theme="light"] .from-slate-900,
html[data-theme="light"] .hover\:from-gray-400:hover,
html[data-theme="light"] .hover\:from-slate-700:hover { --tw-gradient-from:#f8fafc var(--tw-gradient-from-position); --tw-gradient-to:rgb(248 250 252 / 0) var(--tw-gradient-to-position); --tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important; }

html[data-theme="light"] .hover\:to-gray-700:hover,
html[data-theme="light"] .hover\:to-gray-800:hover,
html[data-theme="light"] .hover\:to-slate-400:hover,
html[data-theme="light"] .hover\:to-slate-800:hover,
html[data-theme="light"] .to-gray-600,
html[data-theme="light"] .to-gray-700,
html[data-theme="light"] .to-gray-800,
html[data-theme="light"] .to-gray-900,
html[data-theme="light"] .to-slate-500,
html[data-theme="light"] .to-slate-700,
html[data-theme="light"] .to-slate-900 { --tw-gradient-to:#f3e8ff var(--tw-gradient-to-position)!important; }

html[data-theme="light"] .bg-amber-500\/10,
html[data-theme="light"] .bg-amber-500\/15,
html[data-theme="light"] .bg-amber-500\/20,
html[data-theme="light"] .bg-amber-500\/30,
html[data-theme="light"] .bg-amber-600\/10,
html[data-theme="light"] .bg-amber-600\/15,
html[data-theme="light"] .bg-amber-600\/20,
html[data-theme="light"] .bg-amber-600\/30,
html[data-theme="light"] .bg-amber-700\/30,
html[data-theme="light"] .bg-amber-700\/40,
html[data-theme="light"] .hover\:bg-amber-500\/10:hover,
html[data-theme="light"] .hover\:bg-amber-500\/20:hover,
html[data-theme="light"] .hover\:bg-amber-600\/20:hover,
html[data-theme="light"] .hover\:bg-amber-600\/30:hover,
html[data-theme="light"] .hover\:bg-amber-600\/50:hover,
html[data-theme="light"] .hover\:bg-amber-700:hover { background-color:color-mix(in srgb, #92400e 9%, white)!important; }

html[data-theme="light"] .group:hover .group-hover\:text-amber-300,
html[data-theme="light"] .hover\:text-amber-200:hover,
html[data-theme="light"] .hover\:text-amber-300:hover,
html[data-theme="light"] .hover\:text-amber-400:hover,
html[data-theme="light"] .text-amber-100,
html[data-theme="light"] .text-amber-100\/80,
html[data-theme="light"] .text-amber-200,
html[data-theme="light"] .text-amber-200\/70,
html[data-theme="light"] .text-amber-200\/80,
html[data-theme="light"] .text-amber-300,
html[data-theme="light"] .text-amber-300\/60,
html[data-theme="light"] .text-amber-400,
html[data-theme="light"] .text-amber-400\/60,
html[data-theme="light"] .text-amber-50 { color:#92400e!important; }

html[data-theme="light"] .via-gray-800,
html[data-theme="light"] .via-slate-700 { --tw-gradient-stops:var(--tw-gradient-from),#f5f3ff var(--tw-gradient-via-position),var(--tw-gradient-to)!important; }

html[data-theme="light"] .bg-yellow-500\/10,
html[data-theme="light"] .bg-yellow-500\/20,
html[data-theme="light"] .bg-yellow-500\/30,
html[data-theme="light"] .bg-yellow-500\/5,
html[data-theme="light"] .bg-yellow-500\/80,
html[data-theme="light"] .bg-yellow-600\/20,
html[data-theme="light"] .bg-yellow-600\/30,
html[data-theme="light"] .hover\:bg-yellow-500\/30:hover,
html[data-theme="light"] .hover\:bg-yellow-700:hover { background-color:color-mix(in srgb, #854d0e 9%, white)!important; }

html[data-theme="light"] .bg-green-500\/10,
html[data-theme="light"] .bg-green-500\/20,
html[data-theme="light"] .bg-green-500\/30,
html[data-theme="light"] .bg-green-500\/80,
html[data-theme="light"] .bg-green-600\/10,
html[data-theme="light"] .bg-green-600\/20,
html[data-theme="light"] .bg-green-600\/30,
html[data-theme="light"] .hover\:bg-green-500\/30:hover,
html[data-theme="light"] .hover\:bg-green-600\/50:hover,
html[data-theme="light"] .hover\:bg-green-700:hover { background-color:color-mix(in srgb, #166534 9%, white)!important; }

html[data-theme="light"] .hover\:text-green-200:hover,
html[data-theme="light"] .hover\:text-green-300:hover,
html[data-theme="light"] .text-green-100,
html[data-theme="light"] .text-green-200,
html[data-theme="light"] .text-green-200\/70,
html[data-theme="light"] .text-green-300,
html[data-theme="light"] .text-green-400 { color:#166534!important; }

html[data-theme="light"] .hover\:text-violet-300:hover,
html[data-theme="light"] .text-violet-100,
html[data-theme="light"] .text-violet-200,
html[data-theme="light"] .text-violet-200\/80,
html[data-theme="light"] .text-violet-300,
html[data-theme="light"] .text-violet-400 { color:#6d28d9!important; }

html[data-theme="light"] .bg-violet-500\/10,
html[data-theme="light"] .bg-violet-500\/20,
html[data-theme="light"] .bg-violet-500\/30,
html[data-theme="light"] .bg-violet-500\/5,
html[data-theme="light"] .bg-violet-600\/30,
html[data-theme="light"] .bg-violet-600\/50,
html[data-theme="light"] .bg-violet-700,
html[data-theme="light"] .bg-violet-700\/40,
html[data-theme="light"] .hover\:bg-violet-500\/10:hover,
html[data-theme="light"] .hover\:bg-violet-700:hover { background-color:color-mix(in srgb, #6d28d9 9%, white)!important; }

html[data-theme="light"] .hover\:text-red-100:hover,
html[data-theme="light"] .hover\:text-red-200:hover,
html[data-theme="light"] .hover\:text-red-300:hover,
html[data-theme="light"] .text-red-100,
html[data-theme="light"] .text-red-200,
html[data-theme="light"] .text-red-200\/70,
html[data-theme="light"] .text-red-300,
html[data-theme="light"] .text-red-300\/70,
html[data-theme="light"] .text-red-400 { color:#b91c1c!important; }

html[data-theme="light"] .bg-rose-500\/10,
html[data-theme="light"] .bg-rose-500\/15,
html[data-theme="light"] .bg-rose-500\/20,
html[data-theme="light"] .bg-rose-500\/30,
html[data-theme="light"] .bg-rose-500\/5,
html[data-theme="light"] .bg-rose-600\/15,
html[data-theme="light"] .bg-rose-600\/20,
html[data-theme="light"] .bg-rose-600\/30,
html[data-theme="light"] .bg-rose-600\/40,
html[data-theme="light"] .bg-rose-600\/70,
html[data-theme="light"] .bg-rose-600\/80,
html[data-theme="light"] .bg-rose-700\/15,
html[data-theme="light"] .bg-rose-700\/40,
html[data-theme="light"] .bg-rose-700\/50,
html[data-theme="light"] .hover\:bg-rose-500\/10:hover,
html[data-theme="light"] .hover\:bg-rose-500\/15:hover,
html[data-theme="light"] .hover\:bg-rose-500\/20:hover,
html[data-theme="light"] .hover\:bg-rose-600\/25:hover,
html[data-theme="light"] .hover\:bg-rose-600\/30:hover,
html[data-theme="light"] .hover\:bg-rose-700:hover,
html[data-theme="light"] .hover\:bg-rose-700\/20:hover { background-color:color-mix(in srgb, #be123c 9%, white)!important; }

html[data-theme="light"] .hover\:text-rose-100:hover,
html[data-theme="light"] .hover\:text-rose-200:hover,
html[data-theme="light"] .hover\:text-rose-300:hover,
html[data-theme="light"] .text-rose-100,
html[data-theme="light"] .text-rose-200,
html[data-theme="light"] .text-rose-200\/70,
html[data-theme="light"] .text-rose-200\/80,
html[data-theme="light"] .text-rose-300,
html[data-theme="light"] .text-rose-300\/50,
html[data-theme="light"] .text-rose-300\/70,
html[data-theme="light"] .text-rose-400,
html[data-theme="light"] .text-rose-400\/60 { color:#be123c!important; }

html[data-theme="light"] .bg-cyan-500\/10,
html[data-theme="light"] .bg-cyan-500\/15,
html[data-theme="light"] .bg-cyan-500\/20,
html[data-theme="light"] .bg-cyan-500\/30,
html[data-theme="light"] .bg-cyan-500\/5,
html[data-theme="light"] .bg-cyan-600\/10,
html[data-theme="light"] .bg-cyan-600\/15,
html[data-theme="light"] .bg-cyan-600\/20,
html[data-theme="light"] .bg-cyan-600\/30,
html[data-theme="light"] .bg-cyan-700,
html[data-theme="light"] .bg-cyan-700\/30,
html[data-theme="light"] .bg-cyan-700\/40,
html[data-theme="light"] .bg-cyan-700\/70,
html[data-theme="light"] .hover\:bg-cyan-500\/10:hover,
html[data-theme="light"] .hover\:bg-cyan-500\/20:hover,
html[data-theme="light"] .hover\:bg-cyan-500\/30:hover,
html[data-theme="light"] .hover\:bg-cyan-500\/50:hover,
html[data-theme="light"] .hover\:bg-cyan-600\/20:hover,
html[data-theme="light"] .hover\:bg-cyan-600\/25:hover,
html[data-theme="light"] .hover\:bg-cyan-600\/30:hover,
html[data-theme="light"] .hover\:bg-cyan-600\/50:hover,
html[data-theme="light"] .hover\:bg-cyan-700:hover { background-color:color-mix(in srgb, #0e7490 9%, white)!important; }

html[data-theme="light"] .hover\:text-cyan-200:hover,
html[data-theme="light"] .hover\:text-cyan-300:hover,
html[data-theme="light"] .text-cyan-100,
html[data-theme="light"] .text-cyan-200,
html[data-theme="light"] .text-cyan-200\/70,
html[data-theme="light"] .text-cyan-300,
html[data-theme="light"] .text-cyan-300\/80,
html[data-theme="light"] .text-cyan-400,
html[data-theme="light"] .text-cyan-400\/70 { color:#0e7490!important; }

html[data-theme="light"] .bg-teal-500\/20,
html[data-theme="light"] .bg-teal-500\/5,
html[data-theme="light"] .bg-teal-600\/20,
html[data-theme="light"] .bg-teal-600\/30,
html[data-theme="light"] .hover\:bg-teal-500\/30:hover,
html[data-theme="light"] .hover\:bg-teal-600\/20:hover,
html[data-theme="light"] .hover\:bg-teal-700:hover { background-color:color-mix(in srgb, #0f766e 9%, white)!important; }

html[data-theme="light"] .text-teal-100,
html[data-theme="light"] .text-teal-200,
html[data-theme="light"] .text-teal-300,
html[data-theme="light"] .text-teal-400,
html[data-theme="light"] .text-teal-50\/90 { color:#0f766e!important; }

html[data-theme="light"] .bg-fuchsia-500\/20,
html[data-theme="light"] .bg-fuchsia-500\/30,
html[data-theme="light"] .bg-fuchsia-600\/15,
html[data-theme="light"] .bg-fuchsia-600\/20,
html[data-theme="light"] .bg-fuchsia-600\/30,
html[data-theme="light"] .bg-fuchsia-700\/15,
html[data-theme="light"] .bg-fuchsia-700\/50,
html[data-theme="light"] .hover\:bg-fuchsia-600\/50:hover,
html[data-theme="light"] .hover\:bg-fuchsia-700:hover,
html[data-theme="light"] .hover\:bg-fuchsia-700\/20:hover { background-color:color-mix(in srgb, #a21caf 9%, white)!important; }

html[data-theme="light"] .text-fuchsia-100,
html[data-theme="light"] .text-fuchsia-200,
html[data-theme="light"] .text-fuchsia-300,
html[data-theme="light"] .text-fuchsia-400 { color:#a21caf!important; }

html[data-theme="light"] .hover\:text-pink-300:hover,
html[data-theme="light"] .text-pink-100,
html[data-theme="light"] .text-pink-200,
html[data-theme="light"] .text-pink-200\/80,
html[data-theme="light"] .text-pink-300,
html[data-theme="light"] .text-pink-400 { color:#be185d!important; }

html[data-theme="light"] .hover\:text-yellow-300:hover,
html[data-theme="light"] .text-yellow-100,
html[data-theme="light"] .text-yellow-100\/70,
html[data-theme="light"] .text-yellow-200,
html[data-theme="light"] .text-yellow-200\/70,
html[data-theme="light"] .text-yellow-300,
html[data-theme="light"] .text-yellow-400,
html[data-theme="light"] .text-yellow-400\/60,
html[data-theme="light"] .text-yellow-400\/70 { color:#854d0e!important; }

html[data-theme="light"] .text-sky-100,
html[data-theme="light"] .text-sky-200,
html[data-theme="light"] .text-sky-300,
html[data-theme="light"] .text-sky-400 { color:#0369a1!important; }

html[data-theme="light"] .focus\:ring-slate-500:focus,
html[data-theme="light"] .ring-slate-400\/30,
html[data-theme="light"] .ring-white { --tw-ring-color:var(--border)!important; }

html[data-theme="light"] .bg-sky-500\/20,
html[data-theme="light"] .bg-sky-600\/20,
html[data-theme="light"] .bg-sky-600\/30,
html[data-theme="light"] .hover\:bg-sky-500\/10:hover,
html[data-theme="light"] .hover\:bg-sky-600\/40:hover,
html[data-theme="light"] .hover\:bg-sky-700:hover { background-color:color-mix(in srgb, #0369a1 9%, white)!important; }

html[data-theme="light"] .bg-lime-500\/20,
html[data-theme="light"] .bg-lime-600\/30 { background-color:color-mix(in srgb, #4d7c0f 9%, white)!important; }

html[data-theme="light"] .text-lime-100,
html[data-theme="light"] .text-lime-200,
html[data-theme="light"] .text-lime-300,
html[data-theme="light"] .text-lime-400 { color:#4d7c0f!important; }

html[data-theme="light"] .bg-amber-500 { color:#fff!important; }
html[data-theme="light"] .bg-amber-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-amber-600 { color:#fff!important; }
html[data-theme="light"] .bg-amber-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-blue-500 { color:#fff!important; }
html[data-theme="light"] .bg-blue-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-blue-600 { color:#fff!important; }
html[data-theme="light"] .bg-blue-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-cyan-400 { color:#fff!important; }
html[data-theme="light"] .bg-cyan-400 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-cyan-500 { color:#fff!important; }
html[data-theme="light"] .bg-cyan-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-cyan-600 { color:#fff!important; }
html[data-theme="light"] .bg-cyan-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-emerald-400 { color:#fff!important; }
html[data-theme="light"] .bg-emerald-400 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-emerald-500 { color:#fff!important; }
html[data-theme="light"] .bg-emerald-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-emerald-600 { color:#fff!important; }
html[data-theme="light"] .bg-emerald-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-fuchsia-600 { color:#fff!important; }
html[data-theme="light"] .bg-fuchsia-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-green-500 { color:#fff!important; }
html[data-theme="light"] .bg-green-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-green-600 { color:#fff!important; }
html[data-theme="light"] .bg-green-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-indigo-500 { color:#fff!important; }
html[data-theme="light"] .bg-indigo-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-indigo-600 { color:#fff!important; }
html[data-theme="light"] .bg-indigo-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-orange-500 { color:#fff!important; }
html[data-theme="light"] .bg-orange-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-orange-600 { color:#fff!important; }
html[data-theme="light"] .bg-orange-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-pink-500 { color:#fff!important; }
html[data-theme="light"] .bg-pink-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-pink-600 { color:#fff!important; }
html[data-theme="light"] .bg-pink-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-purple-500 { color:#fff!important; }
html[data-theme="light"] .bg-purple-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-purple-600 { color:#fff!important; }
html[data-theme="light"] .bg-purple-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-red-500 { color:#fff!important; }
html[data-theme="light"] .bg-red-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-red-600 { color:#fff!important; }
html[data-theme="light"] .bg-red-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-rose-500 { color:#fff!important; }
html[data-theme="light"] .bg-rose-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-rose-600 { color:#fff!important; }
html[data-theme="light"] .bg-rose-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-sky-600 { color:#fff!important; }
html[data-theme="light"] .bg-sky-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-teal-500 { color:#fff!important; }
html[data-theme="light"] .bg-teal-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-teal-600 { color:#fff!important; }
html[data-theme="light"] .bg-teal-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-violet-600 { color:#fff!important; }
html[data-theme="light"] .bg-violet-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-yellow-500 { color:#fff!important; }
html[data-theme="light"] .bg-yellow-500 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

html[data-theme="light"] .bg-yellow-600 { color:#fff!important; }
html[data-theme="light"] .bg-yellow-600 :is(.text-white,.text-slate-100,.text-slate-200,.text-slate-300) { color:#fff!important; }

/* Brand gradients are intentional accents, not page surfaces. */
html[data-theme="light"] :is(.from-purple-500,.from-purple-600,.from-indigo-500,.from-indigo-600,.from-blue-500,.from-blue-600,.from-pink-500,.from-cyan-500,.from-violet-500) { color:#fff!important; }
html[data-theme="light"] :is(.from-purple-500,.from-purple-600,.from-indigo-500,.from-indigo-600,.from-blue-500,.from-blue-600,.from-pink-500,.from-cyan-500,.from-violet-500) .text-white { color:#fff!important; }
html[data-theme="light"] thead { background:#f1edfc!important; color:#4c1d95; }
html[data-theme="light"] thead :is(th,td) { background-color:inherit; border-color:var(--border)!important; }
html[data-theme="light"] .fixed.inset-0:is([class*="bg-black/"],[class*="bg-slate-900/"]) { background:rgba(30,41,59,.38)!important; }
html[data-theme="light"] #sidebar-overlay { background:rgba(30,41,59,.38)!important; }
@media print { html[data-theme="light"] body { background:#fff!important; } }

/* Accessible foregrounds on colored controls and white dashboard panels. */
html[data-theme="light"] .bg-amber-500 { background-color:#92400e!important; }
html[data-theme="light"] .bg-amber-600 { background-color:#92400e!important; }
html[data-theme="light"] .bg-blue-500 { background-color:#1d4ed8!important; }
html[data-theme="light"] .bg-blue-600 { background-color:#1d4ed8!important; }
html[data-theme="light"] .bg-cyan-400 { background-color:#0e7490!important; }
html[data-theme="light"] .bg-cyan-500 { background-color:#0e7490!important; }
html[data-theme="light"] .bg-cyan-600 { background-color:#0e7490!important; }
html[data-theme="light"] .bg-emerald-400 { background-color:#047857!important; }
html[data-theme="light"] .bg-emerald-500 { background-color:#047857!important; }
html[data-theme="light"] .bg-emerald-600 { background-color:#047857!important; }
html[data-theme="light"] .bg-fuchsia-600 { background-color:#a21caf!important; }
html[data-theme="light"] .bg-green-500 { background-color:#166534!important; }
html[data-theme="light"] .bg-green-600 { background-color:#166534!important; }
html[data-theme="light"] .bg-indigo-500 { background-color:#4338ca!important; }
html[data-theme="light"] .bg-indigo-600 { background-color:#4338ca!important; }
html[data-theme="light"] .bg-orange-500 { background-color:#c2410c!important; }
html[data-theme="light"] .bg-orange-600 { background-color:#c2410c!important; }
html[data-theme="light"] .bg-pink-500 { background-color:#be185d!important; }
html[data-theme="light"] .bg-pink-600 { background-color:#be185d!important; }
html[data-theme="light"] .bg-purple-500 { background-color:#7e22ce!important; }
html[data-theme="light"] .bg-purple-600 { background-color:#7e22ce!important; }
html[data-theme="light"] .bg-red-500 { background-color:#b91c1c!important; }
html[data-theme="light"] .bg-red-600 { background-color:#b91c1c!important; }
html[data-theme="light"] .bg-rose-500 { background-color:#be123c!important; }
html[data-theme="light"] .bg-rose-600 { background-color:#be123c!important; }
html[data-theme="light"] .bg-sky-600 { background-color:#0369a1!important; }
html[data-theme="light"] .bg-teal-500 { background-color:#0f766e!important; }
html[data-theme="light"] .bg-teal-600 { background-color:#0f766e!important; }
html[data-theme="light"] .bg-violet-600 { background-color:#6d28d9!important; }
html[data-theme="light"] .bg-yellow-500 { background-color:#854d0e!important; }
html[data-theme="light"] .bg-yellow-600 { background-color:#854d0e!important; }
html[data-theme="light"] :is(.bg-amber-500,.bg-amber-600,.bg-blue-500,.bg-blue-600,.bg-cyan-400,.bg-cyan-500,.bg-cyan-600,.bg-emerald-400,.bg-emerald-500,.bg-emerald-600,.bg-fuchsia-600,.bg-green-500,.bg-green-600,.bg-indigo-500,.bg-indigo-600,.bg-orange-500,.bg-orange-600,.bg-pink-500,.bg-pink-600,.bg-purple-500,.bg-purple-600,.bg-red-500,.bg-red-600,.bg-rose-500,.bg-rose-600,.bg-sky-600,.bg-teal-500,.bg-teal-600,.bg-violet-600,.bg-yellow-500,.bg-yellow-600) :is(.text-amber-100,.text-amber-100\/80,.text-amber-200,.text-amber-200\/70,.text-amber-200\/80,.text-amber-300,.text-amber-300\/60,.text-amber-400,.text-amber-400\/60,.text-amber-50,.text-blue-100,.text-blue-200,.text-blue-200\/80,.text-blue-300,.text-blue-400,.text-blue-400\/70,.text-cyan-100,.text-cyan-200,.text-cyan-200\/70,.text-cyan-300,.text-cyan-300\/80,.text-cyan-400,.text-cyan-400\/70,.text-emerald-100,.text-emerald-100\/70,.text-emerald-200,.text-emerald-200\/70,.text-emerald-200\/80,.text-emerald-300,.text-emerald-300\/80,.text-emerald-400,.text-emerald-400\/70,.text-fuchsia-100,.text-fuchsia-200,.text-fuchsia-300,.text-fuchsia-400,.text-gray-200,.text-gray-300,.text-gray-400,.text-green-100,.text-green-200,.text-green-200\/70,.text-green-300,.text-green-400,.text-indigo-100,.text-indigo-100\/70,.text-indigo-200,.text-indigo-300,.text-indigo-300\/80,.text-indigo-400,.text-lime-100,.text-lime-200,.text-lime-300,.text-lime-400,.text-orange-100,.text-orange-100\/70,.text-orange-200,.text-orange-200\/80,.text-orange-300,.text-orange-300\/70,.text-orange-400,.text-pink-100,.text-pink-200,.text-pink-200\/80,.text-pink-300,.text-pink-400,.text-purple-100,.text-purple-100\/70,.text-purple-200,.text-purple-300,.text-purple-300\/60,.text-purple-300\/70,.text-purple-400,.text-purple-400\/60,.text-red-100,.text-red-200,.text-red-200\/70,.text-red-300,.text-red-300\/70,.text-red-400,.text-rose-100,.text-rose-200,.text-rose-200\/70,.text-rose-200\/80,.text-rose-300,.text-rose-300\/50,.text-rose-300\/70,.text-rose-400,.text-rose-400\/60,.text-sky-100,.text-sky-200,.text-sky-300,.text-sky-400,.text-slate-100,.text-slate-200,.text-slate-300,.text-slate-400,.text-teal-100,.text-teal-200,.text-teal-300,.text-teal-400,.text-teal-50\/90,.text-violet-100,.text-violet-200,.text-violet-200\/80,.text-violet-300,.text-violet-400,.text-white,.text-white\/30,.text-white\/50,.text-white\/60,.text-white\/70,.text-white\/80,.text-yellow-100,.text-yellow-100\/70,.text-yellow-200,.text-yellow-200\/70,.text-yellow-300,.text-yellow-400,.text-yellow-400\/60,.text-yellow-400\/70) { color:#fff!important; }
html[data-theme="light"] :is(.from-purple-400,.from-purple-500,.from-purple-600,.from-indigo-400,.from-indigo-500,.from-indigo-600,.from-violet-400,.from-violet-500,.from-violet-600,.from-blue-400,.from-blue-500,.from-blue-600,.from-sky-400,.from-sky-500,.from-sky-600,.from-cyan-400,.from-cyan-500,.from-cyan-600,.from-teal-400,.from-teal-500,.from-teal-600,.from-emerald-400,.from-emerald-500,.from-emerald-600,.from-green-400,.from-green-500,.from-green-600,.from-lime-400,.from-lime-500,.from-lime-600,.from-yellow-400,.from-yellow-500,.from-yellow-600,.from-amber-400,.from-amber-500,.from-amber-600,.from-orange-400,.from-orange-500,.from-orange-600,.from-red-400,.from-red-500,.from-red-600,.from-rose-400,.from-rose-500,.from-rose-600,.from-pink-400,.from-pink-500,.from-pink-600,.from-fuchsia-400,.from-fuchsia-500,.from-fuchsia-600) :is(.text-amber-100,.text-amber-100\/80,.text-amber-200,.text-amber-200\/70,.text-amber-200\/80,.text-amber-300,.text-amber-300\/60,.text-amber-400,.text-amber-400\/60,.text-amber-50,.text-blue-100,.text-blue-200,.text-blue-200\/80,.text-blue-300,.text-blue-400,.text-blue-400\/70,.text-cyan-100,.text-cyan-200,.text-cyan-200\/70,.text-cyan-300,.text-cyan-300\/80,.text-cyan-400,.text-cyan-400\/70,.text-emerald-100,.text-emerald-100\/70,.text-emerald-200,.text-emerald-200\/70,.text-emerald-200\/80,.text-emerald-300,.text-emerald-300\/80,.text-emerald-400,.text-emerald-400\/70,.text-fuchsia-100,.text-fuchsia-200,.text-fuchsia-300,.text-fuchsia-400,.text-gray-200,.text-gray-300,.text-gray-400,.text-green-100,.text-green-200,.text-green-200\/70,.text-green-300,.text-green-400,.text-indigo-100,.text-indigo-100\/70,.text-indigo-200,.text-indigo-300,.text-indigo-300\/80,.text-indigo-400,.text-lime-100,.text-lime-200,.text-lime-300,.text-lime-400,.text-orange-100,.text-orange-100\/70,.text-orange-200,.text-orange-200\/80,.text-orange-300,.text-orange-300\/70,.text-orange-400,.text-pink-100,.text-pink-200,.text-pink-200\/80,.text-pink-300,.text-pink-400,.text-purple-100,.text-purple-100\/70,.text-purple-200,.text-purple-300,.text-purple-300\/60,.text-purple-300\/70,.text-purple-400,.text-purple-400\/60,.text-red-100,.text-red-200,.text-red-200\/70,.text-red-300,.text-red-300\/70,.text-red-400,.text-rose-100,.text-rose-200,.text-rose-200\/70,.text-rose-200\/80,.text-rose-300,.text-rose-300\/50,.text-rose-300\/70,.text-rose-400,.text-rose-400\/60,.text-sky-100,.text-sky-200,.text-sky-300,.text-sky-400,.text-slate-100,.text-slate-200,.text-slate-300,.text-slate-400,.text-teal-100,.text-teal-200,.text-teal-300,.text-teal-400,.text-teal-50\/90,.text-violet-100,.text-violet-200,.text-violet-200\/80,.text-violet-300,.text-violet-400,.text-white,.text-white\/30,.text-white\/50,.text-white\/60,.text-white\/70,.text-white\/80,.text-yellow-100,.text-yellow-100\/70,.text-yellow-200,.text-yellow-200\/70,.text-yellow-300,.text-yellow-400,.text-yellow-400\/60,.text-yellow-400\/70) { color:#fff!important; }
html[data-theme="light"] :is(div,section,article).bg-gradient-to-r.rounded-2xl { background:var(--surface)!important; color:var(--text-primary)!important; border-color:var(--border)!important; }
html[data-theme="light"] :is(div,section,article).bg-gradient-to-r.rounded-2xl :is(.text-amber-100,.text-amber-100\/80,.text-amber-200,.text-amber-200\/70,.text-amber-200\/80,.text-amber-300,.text-amber-300\/60,.text-amber-400,.text-amber-400\/60,.text-amber-50,.text-blue-100,.text-blue-200,.text-blue-200\/80,.text-blue-300,.text-blue-400,.text-blue-400\/70,.text-cyan-100,.text-cyan-200,.text-cyan-200\/70,.text-cyan-300,.text-cyan-300\/80,.text-cyan-400,.text-cyan-400\/70,.text-emerald-100,.text-emerald-100\/70,.text-emerald-200,.text-emerald-200\/70,.text-emerald-200\/80,.text-emerald-300,.text-emerald-300\/80,.text-emerald-400,.text-emerald-400\/70,.text-fuchsia-100,.text-fuchsia-200,.text-fuchsia-300,.text-fuchsia-400,.text-gray-200,.text-gray-300,.text-gray-400,.text-green-100,.text-green-200,.text-green-200\/70,.text-green-300,.text-green-400,.text-indigo-100,.text-indigo-100\/70,.text-indigo-200,.text-indigo-300,.text-indigo-300\/80,.text-indigo-400,.text-lime-100,.text-lime-200,.text-lime-300,.text-lime-400,.text-orange-100,.text-orange-100\/70,.text-orange-200,.text-orange-200\/80,.text-orange-300,.text-orange-300\/70,.text-orange-400,.text-pink-100,.text-pink-200,.text-pink-200\/80,.text-pink-300,.text-pink-400,.text-purple-100,.text-purple-100\/70,.text-purple-200,.text-purple-300,.text-purple-300\/60,.text-purple-300\/70,.text-purple-400,.text-purple-400\/60,.text-red-100,.text-red-200,.text-red-200\/70,.text-red-300,.text-red-300\/70,.text-red-400,.text-rose-100,.text-rose-200,.text-rose-200\/70,.text-rose-200\/80,.text-rose-300,.text-rose-300\/50,.text-rose-300\/70,.text-rose-400,.text-rose-400\/60,.text-sky-100,.text-sky-200,.text-sky-300,.text-sky-400,.text-slate-100,.text-slate-200,.text-slate-300,.text-slate-400,.text-teal-100,.text-teal-200,.text-teal-300,.text-teal-400,.text-teal-50\/90,.text-violet-100,.text-violet-200,.text-violet-200\/80,.text-violet-300,.text-violet-400,.text-white,.text-white\/30,.text-white\/50,.text-white\/60,.text-white\/70,.text-white\/80,.text-yellow-100,.text-yellow-100\/70,.text-yellow-200,.text-yellow-200\/70,.text-yellow-300,.text-yellow-400,.text-yellow-400\/60,.text-yellow-400\/70) { color:var(--text-primary)!important; }

/* Independent Finance component styles use the same surface and control tokens. */
html[data-theme="light"] [class*="bank-gradient-"], html[data-theme="light"] .stat-card { background:var(--surface-hover)!important; color:var(--text-primary)!important; }
html[data-theme="light"] .btn-primary { background:var(--brand)!important; color:white!important; }
html[data-theme="light"] .btn-primary .text-white { color:white!important; }
html[data-theme="light"] :is(.status-active,.type-debit) { background:#dcfce7!important; color:#166534!important; }
html[data-theme="light"] :is(.status-inactive,.status-lost) { background:#fef3c7!important; color:#92400e!important; }
html[data-theme="light"] .status-blocked { background:#fee2e2!important; color:#991b1b!important; }
html[data-theme="light"] #timiklan-floating-horizontal-scrollbar { border-color:var(--border); box-shadow:0 -2px 8px #0f172a14; }

/* A dim backdrop is distinct from the light dialog surface. */
html[data-theme="light"] [role="dialog"].fixed.inset-0 { background:transparent!important; }
html[data-theme="light"] :is(.fixed,.absolute).inset-0:is([class*="bg-black/"],.bg-black.bg-opacity-50,.bg-black.bg-opacity-60) { background:rgba(30,41,59,.38)!important; }
html[data-theme="light"] input:is([type="checkbox"],[type="radio"]) { accent-color:var(--brand); }

/* Legacy modal gradients must not fade from white back to dark purple. */
html[data-theme="light"] :is(.from-slate-600,.from-slate-700,.from-slate-800,.from-slate-900,.from-gray-600,.from-gray-700,.from-gray-800,.from-gray-900):not(body) { background:var(--surface)!important; }
@media (max-width: 639px) {
    html[data-theme="light"] body:has(#mobile-menu-btn) #mobile-toggle { display:none!important; }
    html[data-theme="light"] #main-content > header .px-6 { padding-left:1rem; padding-right:1rem; }
    html[data-theme="light"] #main-content > header .gap-4 { gap:.5rem; }
    html[data-theme="light"] #main-content > header h1 { font-size:1rem; line-height:1.4; }
    html[data-theme="light"] #main-content > header #mobile-menu-btn { flex-shrink:0; }
}
