/* Shared appearance control; the media-gated dark sheet works without JavaScript. */
:root { color-scheme: light; }
.theme-landing { color-scheme: dark; }
.theme-picker { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 11px/1.4 "Plus Jakarta Sans", "Segoe UI", sans-serif; color: #40536B; white-space: nowrap; }
.theme-picker[hidden] { display: none; }
.theme-picker select { min-height: 44px; width: auto; padding: 8px 10px; border: 1px solid #748396; border-radius: 8px; background: #fff; color: #071F46; font: 600 12px/1.4 "Plus Jakarta Sans", "Segoe UI", sans-serif; cursor: pointer; }
.theme-picker select:focus-visible { outline: 3px solid #1467B8; outline-offset: 3px; }
.theme-brand { display: inline-flex; flex-shrink: 0; }
.theme-brand .theme-logo-light { display: block; }
.theme-brand .theme-logo-dark { display: none; }
.theme-landing .theme-logo-light { display: none; }
.theme-landing .theme-logo-dark { display: block; }
.theme-landing .theme-picker { color: #D1DFEA; }
.theme-landing .theme-picker select { color: #EDF4FC; background: #10233B; border-color: #8196AF; color-scheme: dark; }
.entry-header { flex-wrap: wrap; }
@media print { .theme-picker { display: none !important; } }
