/* Palette overrides only: preserve the existing layout and brand colors. */
:root { color-scheme: light; }
.oauth-options { display: grid; gap: .75rem; margin-top: 1.5rem; }
.auth-separator { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.auth-separator::before, .auth-separator::after { content: ''; flex: 1; border-top: 1px solid #64748b; }
input::placeholder { color: #64748b; opacity: 1; }
:is(.text-slate-400, .text-slate-500) { color: #475569; }
#periodEndField[hidden] { display: none; }
.appearance-control { display: flex; align-items: center; gap: .5rem; margin-left: auto; font-size: .875rem; }
.appearance-control select { border: 1px solid #cbd5e1; border-radius: .5rem; padding: .35rem .6rem; background: #fff; color: #0f172a; }
[data-theme="dark"] { color-scheme: dark; background: #0f172a; color: #f1f5f9; }
[data-theme="dark"] :is(.bg-slate-50, .bg-slate-100) { background-color: #0f172a; }
[data-theme="dark"] .bg-white { background-color: #1e293b; }
[data-theme="dark"] :is(.text-slate-700, .text-slate-800, .text-slate-900, .text-slate-950) { color: #f1f5f9; }
[data-theme="dark"] :is(.text-slate-400, .text-slate-500, .text-slate-600) { color: #cbd5e1; }
[data-theme="dark"] :is(.border-slate-100, .border-slate-200, .border-slate-300, .divide-slate-200 > :not([hidden]) ~ :not([hidden])) { border-color: #475569; }
[data-theme="dark"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) { background-color: #0f172a; color: #f1f5f9; border-color: #64748b; }
[data-theme="dark"] input::placeholder { color: #94a3b8; opacity: 1; }
[data-theme="dark"] :is(.text-blue-600, .text-blue-700, .text-blue-800, .text-blue-900) { color: #93c5fd; }
[data-theme="dark"] :is(.bg-blue-50, .bg-blue-50\/50, .bg-blue-100) { background-color: #172c49; }
[data-theme="dark"] :is(.border-blue-100, .border-blue-200, .border-blue-600, .border-blue-700) { border-color: #60a5fa; }
[data-theme="dark"] :is(.bg-red-50, .bg-red-100) { background-color: #451a23; }
[data-theme="dark"] :is(.text-red-600, .text-red-700, .text-red-800, .text-red-900) { color: #fecaca; }
[data-theme="dark"] .border-red-200 { border-color: #f87171; }
[data-theme="dark"] :is(.bg-emerald-50, .bg-emerald-100) { background-color: #123a31; }
[data-theme="dark"] :is(.text-emerald-600, .text-emerald-700, .text-emerald-800, .text-emerald-900) { color: #a7f3d0; }
[data-theme="dark"] .border-emerald-200 { border-color: #34d399; }
[data-theme="dark"] .bg-amber-100 { background-color: #422f13; }
[data-theme="dark"] .text-amber-700 { color: #fde68a; }
[data-theme="dark"] :is(.hover\:bg-slate-100:hover, .hover\:bg-blue-50:hover, .hover\:bg-blue-100:hover) { background-color: #334155; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
[data-theme="dark"] :focus-visible { outline-color: #93c5fd; }
