/* Appearance settings and the complete BRS-TA night palette. */
:root {
  --theme-focus: #9b7dd8;
  --settings-soft: #f8f6fc;
  --settings-border: #e7e1f1;
}

html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body, .sidebar, .topbar, .panel, .stat, .modal, .login, .login-art {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
input, textarea, select { accent-color: var(--purple); }
input::placeholder, textarea::placeholder { color: #a59aaf; opacity: 1; }
::selection { background: #dcd0f3; color: #36264c; }

.settings-grid { display: grid; gap: 22px; max-width: 1060px; }
.settings-panel { padding: 27px; }
.settings-panel:not(.brand-story) { padding: 0; }
.settings-panel .panel-head { padding: 23px 26px 18px; border-bottom: 1px solid var(--line); }
.settings-panel .panel-head .panel-title { margin-bottom: 0; }
.settings-body { padding: 23px 26px 26px; }
.settings-description { font-size: 12px; color: var(--muted); line-height: 1.9; margin-bottom: 22px; }
.brand { gap: 10px; }
.brandmark { background: none; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; }
.brandmark img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.brand-title { font-size: 21px; letter-spacing: .3px; white-space: nowrap; }
.brand-sub { font-size: 8px; letter-spacing: .55px; white-space: nowrap; }
.login-art .brandmark { background: none; }
.brand-story { display: flex; gap: 23px; align-items: center; }
.brand-story > img { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.brand-story h2 { font-size: 17px; margin-bottom: 9px; }
.brand-story p { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 680px; }
.login-appearance { display: flex; justify-content: center; margin-top: 11px; }
.registration-hint { font-size: 10px; color: var(--muted); line-height: 1.8; margin: -3px 0 18px; }
.account-number { font-variant-numeric: tabular-nums; letter-spacing: 1px; user-select: all; }
.account-details .detail-line:first-child { padding-top: 0; }
.account-details .settings-description { margin: 16px 0 0; }
.registration-success { background: var(--lavender); padding: 24px; border-radius: 12px; text-align: center; margin-bottom: 18px; }
.registration-success > span { display: block; font-size: 12px; color: var(--muted); }
.registration-success .account-number { display: block; color: var(--purple); font-size: 30px; margin: 8px 0; }
.registration-success p { color: var(--ink); font-size: 13px; }
.about-link { width: fit-content; border-radius: 4px; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; }
.about-link:hover { color: var(--purple); }
@media (max-width: 600px) {
  .login-art-foot.about-link { display: flex; padding-top: 22px; font-size: 10px; }
  .registration-hint { font-size: 11px; }
}
.login-appearance .text-button { color: var(--muted); font-size: 11px; gap: 6px; }
.login-appearance .text-button:hover { color: var(--purple); }
.login-appearance + .login-footer { margin-top: 31px; }
.settings-panel > h2 { margin-bottom: 9px; }
.settings-panel > p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.settings-panel .panel-title { margin-bottom: 9px; }
.theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.theme-option {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 13px 13px 17px;
  border: 1px solid var(--settings-border);
  border-radius: 13px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  min-width: 0;
}
.theme-option:hover { border-color: #b8a3dc; background: var(--settings-soft); }
.theme-option:has(input:checked) {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px #7863c718;
  background: var(--settings-soft);
}
.theme-option:has(input:focus-visible) {
  outline: 3px solid var(--theme-focus);
  outline-offset: 3px;
}
.theme-option input[type="radio"] {
  position: absolute;
  right: 15px;
  top: 155px;
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.theme-option-title { display: block; font-size: 13px; font-weight: 600; margin: 15px 24px 4px 2px; }
.theme-option-title svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; }
.theme-option-description { display: block; margin-left: 2px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.theme-preview {
  --preview-bg: #f7f7fb;
  --preview-panel: #fff;
  --preview-line: #e5e1ed;
  --preview-accent: #c2b0e6;
  --preview-event: #e6dcf6;
  position: relative;
  display: block;
  width: 100%;
  height: 124px;
  border: 1px solid var(--preview-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--preview-bg);
  isolation: isolate;
}
.theme-preview::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 22%;
  border-right: 1px solid var(--preview-line);
  background:
    linear-gradient(var(--preview-accent), var(--preview-accent)) 12px 12px / 15px 15px no-repeat,
    linear-gradient(var(--preview-event), var(--preview-event)) 8px 40px / calc(100% - 16px) 9px no-repeat,
    linear-gradient(var(--preview-line), var(--preview-line)) 12px 60px / calc(100% - 24px) 3px no-repeat,
    linear-gradient(var(--preview-line), var(--preview-line)) 12px 73px / calc(100% - 24px) 3px no-repeat,
    var(--preview-panel);
}
.theme-preview::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 29%;
  right: 8%;
  bottom: 13px;
  border-radius: 3px;
  background:
    linear-gradient(var(--preview-accent), var(--preview-accent)) 0 0 / 45% 5px no-repeat,
    linear-gradient(var(--preview-line), var(--preview-line)) 0 13px / 69% 3px no-repeat,
    linear-gradient(var(--preview-event), var(--preview-event)) 28% 45px / 23% 29px no-repeat,
    linear-gradient(var(--preview-event), var(--preview-event)) 74% 62px / 23% 26px no-repeat,
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), var(--preview-line) calc(25% - 1px), var(--preview-line) 25%) 0 32px / 100% calc(100% - 32px) no-repeat,
    repeating-linear-gradient(0deg, transparent 0, transparent 19px, var(--preview-line) 19px, var(--preview-line) 20px) 0 32px / 100% calc(100% - 32px) no-repeat,
    linear-gradient(var(--preview-panel), var(--preview-panel)) 0 32px / 100% calc(100% - 32px) no-repeat;
}
.preview-dark {
  --preview-bg: #151722;
  --preview-panel: #222432;
  --preview-line: #3b3a4f;
  --preview-accent: #b59bdc;
  --preview-event: #554269;
}
.preview-system { background: linear-gradient(120deg, #f7f7fb 49.8%, #20222f 50.2%); }
.preview-system::after {
  background:
    linear-gradient(90deg, #ad93d5, #ad93d5) 0 0 / 45% 5px no-repeat,
    linear-gradient(90deg, #d9d0e7, #7a708d) 0 13px / 69% 3px no-repeat,
    linear-gradient(#d9c9ee, #d9c9ee) 28% 45px / 23% 29px no-repeat,
    linear-gradient(#705685, #705685) 74% 62px / 23% 26px no-repeat,
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #9c8ab62b calc(25% - 1px), #9c8ab62b 25%) 0 32px / 100% calc(100% - 32px) no-repeat,
    repeating-linear-gradient(0deg, transparent 0, transparent 19px, #9c8ab62b 19px, #9c8ab62b 20px) 0 32px / 100% calc(100% - 32px) no-repeat,
    linear-gradient(120deg, #fff 39.8%, #2b2c3d 40.2%) 0 32px / 100% calc(100% - 32px) no-repeat;
}
.settings-detail { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); margin-top: 17px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.settings-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.settings-detail strong { display: block; font-size: 12px; font-weight: 550; }
.settings-detail p, .settings-detail small { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 5px; }
.theme-current { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 21px; }
.theme-current svg { width: 15px; height: 15px; color: var(--purple); }
.appearance-entry { display: inline-flex; gap: 7px; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; }
.appearance-entry:hover { color: var(--purple); }
.appearance-entry svg { width: 15px; height: 15px; }

/* Warm, low-glare surfaces keep the original purple identity at night. */
html[data-theme="dark"] {
  --ink: #eeedf5;
  --muted: #aaa7bd;
  --line: #343443;
  --paper: #1d1f2b;
  --bg: #141620;
  --purple: #bca2f2;
  --purple-dark: #c9b0fc;
  --lavender: #332b48;
  --green: #8bd4b0;
  --shadow: 0 12px 35px #00000016;
  --theme-focus: #c4a8ff;
  --settings-soft: #292638;
  --settings-border: #3c374d;
}
html[data-theme="dark"] ::selection { background: #655084; color: #fff; }
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] :is(input, textarea, select) { color: var(--ink); }
html[data-theme="dark"] :is(input, textarea)::placeholder { color: #8f8ba3; }
html[data-theme="dark"] :is(input, select, textarea):focus { border-color: #b89be9 !important; box-shadow: 0 0 0 3px #b89be91a; }
html[data-theme="dark"] :is(button, a):focus-visible { outline-color: var(--theme-focus); }
html[data-theme="dark"] :is(.sidebar, .panel, .stat, .date-badge, .modal, .login, .toast, .button.secondary, .chip, .search-field, .role-choice) { background: var(--paper); }
html[data-theme="dark"] .topbar { background: #1b1d29eb; }
html[data-theme="dark"] :is(.button.secondary, .chip, .search-field, .role-choice, .keycap, .week-nav .icon-button, .today-button, .toast) { border-color: #3e3a50; }
html[data-theme="dark"] .button.primary { background: #7751b8; color: #fff; box-shadow: 0 3px 8px #0000001f; }
html[data-theme="dark"] .button.primary:hover { background: #815bc2; }
html[data-theme="dark"] .button.secondary { color: #d5cde5; }
html[data-theme="dark"] .button.secondary:hover { background: #302b40; }
html[data-theme="dark"] .button.soft:hover { background: #413456; }
html[data-theme="dark"] .button.danger { background: #472b38; color: #f1a5b2; }
html[data-theme="dark"] .button.danger:hover { background: #57303f; }
html[data-theme="dark"] .icon-button { color: #b0a7c5; }
html[data-theme="dark"] .icon-button:hover { background: var(--lavender); color: #d4bcff; }
html[data-theme="dark"] :is(.pill, .status-cancelled) { background: #30303f; color: #bcb6ce; }
html[data-theme="dark"] .pill.violet { background: #392e4d; color: #c9adf3; }
html[data-theme="dark"] :is(.pill.green, .status-approved) { background: #223b34; color: #90d9b5; }
html[data-theme="dark"] :is(.pill.orange, .status-pending) { background: #403528; color: #e5bd7e; }
html[data-theme="dark"] .status-rejected { background: #442c38; color: #f1a5b2; }
html[data-theme="dark"] .avatar { background: #3b304e; color: #c8aff0; }
html[data-theme="dark"] .avatar.green { background: #2b3d35; color: #9bd0b4; }
html[data-theme="dark"] .brandmark { box-shadow: 0 5px 14px #00000026; }
html[data-theme="dark"] :is(.brand-sub, .workspace-label, .profile-text span, .breadcrumb, .intro-eyebrow, .bottom-note) { color: #9892ae; }
html[data-theme="dark"] .nav-item { color: #aca6bd; }
html[data-theme="dark"] .nav-item:hover { background: #292635; color: #d7c9ee; }
html[data-theme="dark"] .nav-item.active { color: #cbb1fb; background: var(--lavender); }
html[data-theme="dark"] .nav-item .count { background: #4a395f; color: #dfc8ff; }
html[data-theme="dark"] .help-card { background: #242230; border-color: #353044; }
html[data-theme="dark"] .help-card p { color: #a69ab9; }
html[data-theme="dark"] .help-card svg { color: #ba9ee7; }
html[data-theme="dark"] .breadcrumb strong { color: #cdc4df; }
html[data-theme="dark"] .breadcrumb svg { color: #81788f; }
html[data-theme="dark"] :is(.global-search, .keycap) { color: #a69bb9; }
html[data-theme="dark"] .top-separator { background: var(--line); }
html[data-theme="dark"] .bell .unread-dot { background: #e8b97b; border-color: var(--paper); }
html[data-theme="dark"] :is(.page-intro p, .date-badge, .stat .label, .stat-foot, .muted) { color: #aaa3ba; }
html[data-theme="dark"] :is(.stat .value small, .stat-foot .highlight) { color: #b2a1c9; }
html[data-theme="dark"] .stat-icon { background: #352c47; color: #bea1ea; }
html[data-theme="dark"] .stat:nth-child(2) .stat-icon { background: #29364b; color: #a1bee8; }
html[data-theme="dark"] .stat:nth-child(3) .stat-icon { background: #3d352b; color: #dfbf84; }
html[data-theme="dark"] .stat:nth-child(4) .stat-icon { background: #283b33; color: #9dceb1; }
html[data-theme="dark"] :is(.date-badge svg, .panel-title svg) { color: #b69bdf; }
html[data-theme="dark"] .segmented { background: #171923; border-color: #35313f; }
html[data-theme="dark"] .segmented button { color: #a99bbd; }
html[data-theme="dark"] .segmented button.selected { background: #3b304f; color: #ddc6ff; box-shadow: 0 1px 5px #00000020; }
html[data-theme="dark"] .today-button { color: #c3aedc; }
html[data-theme="dark"] .today-button:hover { background: var(--lavender); }
html[data-theme="dark"] .cal-day small { color: #a499b7; }
html[data-theme="dark"] .cal-day b { color: #c2b6d1; }
html[data-theme="dark"] .cal-day.is-today { background: #292338; }
html[data-theme="dark"] .cal-day.is-today b { background: #b99ae9; color: #241b32; }
html[data-theme="dark"] .cal-day.is-today small { color: #c7a8f4; }
html[data-theme="dark"] .time-label { color: #a299b2; }
html[data-theme="dark"] .cal-column { border-left-color: #33303f; background: repeating-linear-gradient(to bottom, transparent 0, transparent 95px, #33303f 95px, #33303f 96px); }
html[data-theme="dark"] .cal-column.is-today { background-color: #231f30; }
html[data-theme="dark"] .cal-column.weekend { background-color: #1a1c26; }
html[data-theme="dark"] .cal-column.is-today.weekend { background-color: #231f30; }
html[data-theme="dark"] .color-violet { --event-ink: #d1b3f3; --event-bg: #382c4c; }
html[data-theme="dark"] .color-blue { --event-ink: #a9cbf3; --event-bg: #27394e; }
html[data-theme="dark"] .color-green { --event-ink: #a4ddbc; --event-bg: #273e33; }
html[data-theme="dark"] .color-orange { --event-ink: #ecc68e; --event-bg: #42382a; }
html[data-theme="dark"] .color-pink { --event-ink: #ecb3d5; --event-bg: #432d40; }
html[data-theme="dark"] .event:hover { box-shadow: 0 5px 14px #00000035; }
html[data-theme="dark"] :is(.calendar-note, .legend, .calendar-scroll::after) { color: #aa9bba; }
html[data-theme="dark"] .upcoming-item { border-left-color: #51425e; }
html[data-theme="dark"] .upcoming-item::before { background: #b69acb; border-color: var(--paper); }
html[data-theme="dark"] :is(.upcoming-item .up-time, .upcoming-meta, .notification-preview p, .course-info, .course-card .class-name, .capacity) { color: #b1a1c1; }
html[data-theme="dark"] :is(.notification-preview time, .notice-copy time, .course-code) { color: #a094b0; }
html[data-theme="dark"] .tip-card { background: #30283f; }
html[data-theme="dark"] .tip-card::after { color: #443553; }
html[data-theme="dark"] .tip-card .tip-label { color: #baa0d9; }
html[data-theme="dark"] .tip-card h3 { color: #d7c1ec; }
html[data-theme="dark"] .tip-card p { color: #b5a0c9; }
html[data-theme="dark"] .debug-bar { background: #423a27; color: #e5cb89; }
html[data-theme="dark"] .chip { color: #b6a6c8; }
html[data-theme="dark"] .chip.active { color: #d5b9ff; background: var(--lavender); border-color: #74558f; }
html[data-theme="dark"] .search-field { color: #a99abd; }
html[data-theme="dark"] .course-card:hover { box-shadow: 0 10px 25px #00000020; }
html[data-theme="dark"] .course-info svg { color: #a89ab8; }
html[data-theme="dark"] .progress { background: #353041; }
html[data-theme="dark"] .progress span { opacity: .9; }
html[data-theme="dark"] .data-table th { color: #ad9dbd; background: #23212e; }
html[data-theme="dark"] .data-table td { color: #b6a5c7; }
html[data-theme="dark"] .data-table td strong { color: #e1d3ed; }
html[data-theme="dark"] .data-table td small { color: #aa95bb; }
html[data-theme="dark"] .empty { color: #ae9abd; }
html[data-theme="dark"] .empty svg { color: #967cac; }
html[data-theme="dark"] .empty h3 { color: #c9b2dc; }
html[data-theme="dark"] .notice-symbol { background: #342a46; color: #c3a2e9; }
html[data-theme="dark"] :is(.notice-copy p, .role-card p) { color: #b2a0c3; }
html[data-theme="dark"] .info-banner { border-color: #483653; background: #2f253d; color: #c5addc; }
html[data-theme="dark"] .day-tabs button { color: #b1a0c2; }
html[data-theme="dark"] .day-tabs button.selected { color: #dbc0ff; }
html[data-theme="dark"] .day-time { color: #c1abd3; }
html[data-theme="dark"] .day-time small { color: #a28bb5; }
html[data-theme="dark"] .modal-backdrop { background: #08070eb8; }
html[data-theme="dark"] .modal { box-shadow: 0 25px 100px #00000055; border: 1px solid #3a334a; }
html[data-theme="dark"] .modal-head p { color: #ac97bf; }
html[data-theme="dark"] .modal-footer { background: #22202e; }
html[data-theme="dark"] :is(.field label, .registration-roles legend) { color: #bca7cf; }
html[data-theme="dark"] :is(.field input, .field textarea, .field select, select.input) { background: #171923; color: #e2d7ec; border-color: #4b3e5b; }
html[data-theme="dark"] :is(.field input, .field textarea, .field select, select.input):disabled { background: #25222f; color: #9b8ba8; }
html[data-theme="dark"] .field-help { color: #a78eb9; }
html[data-theme="dark"] .detail-summary .course-icon { background: #ffffff0a; }
html[data-theme="dark"] .detail-line { color: #b5a0c7; border-bottom-color: #363040; }
html[data-theme="dark"] .detail-line strong { color: #dfcbea; }
html[data-theme="dark"] .session-item { border-color: #403449; color: #baa2ce; }
html[data-theme="dark"] .session-date { background: #34283e; color: #c2a6d7; }
html[data-theme="dark"] .session-item strong { color: #d8bee8; }
html[data-theme="dark"] .session-item small { color: #af94c2; }
html[data-theme="dark"] .modal-description { color: #b9a1c9; }
html[data-theme="dark"] .session-edit { background: #25202e; }
html[data-theme="dark"] .form-error { color: #f1afbe; background: #422a37; }
html[data-theme="dark"] .login-art { background: #242032; }
html[data-theme="dark"] .login-art .brand-sub { color: #a696bd; }
html[data-theme="dark"] .login-art h1 { color: #eee2fc; }
html[data-theme="dark"] .login-art h1 em { color: #b795e6; }
html[data-theme="dark"] .login-art-copy p { color: #b6a0ca; }
html[data-theme="dark"] .login-art::after { border-color: #45344e; box-shadow: 0 0 0 65px #43324b22, 0 0 0 130px #43324b16; }
html[data-theme="dark"] :is(.mini-schedule, .onboarding-card) { background: #2c263be6; border-color: #493954; box-shadow: 0 20px 40px #00000018; }
html[data-theme="dark"] .mini-top { color: #c3a8d7; }
html[data-theme="dark"] .mini-col > small { color: #b69acb; }
html[data-theme="dark"] .floating-check { background: #2c2638; border-color: #4a3655; color: #cfb2df; box-shadow: 0 12px 30px #00000030; }
html[data-theme="dark"] .floating-check svg { background: #2c4437; color: #a6cfb4; }
html[data-theme="dark"] .login-art-foot { color: #b29ac4; }
html[data-theme="dark"] .login-box h2 { color: #eee0f9; }
html[data-theme="dark"] .login-box > p { color: #b7a0c7; }
html[data-theme="dark"] .login-divider { color: #ad94bf; }
html[data-theme="dark"] :is(.login-divider::before, .login-divider::after) { background: #44334e; }
html[data-theme="dark"] .demo-account { background: #282133; border-color: #4a3854; color: #c3a5d7; }
html[data-theme="dark"] .demo-account:hover { background: #3b2b4b; color: #dfc0f4; border-color: #83629a; }
html[data-theme="dark"] :is(.login-note, .login-footer) { color: #a38ab4; }
html[data-theme="dark"] .toast { color: #dac2ec; }
html[data-theme="dark"] .toast svg { color: #a8d8b8; }
html[data-theme="dark"] .toast.error svg { color: #efadbe; }
html[data-theme="dark"] .loading { color: #c3a7d7; }
html[data-theme="dark"] .spinner { border-color: #4a3758; border-top-color: #c6a5e2; }
html[data-theme="dark"] .auth-tabs { border-bottom-color: #403248; }
html[data-theme="dark"] .auth-tabs button { color: #b09ac2; }
html[data-theme="dark"] .auth-tabs button.active { color: #d0acfa; }
html[data-theme="dark"] .auth-switch { color: #b99fce; }
html[data-theme="dark"] .onboarding-step strong { color: #dcc0f0; }
html[data-theme="dark"] .onboarding-step p { color: #b9a0cc; }
html[data-theme="dark"] .role-choice { color: #baa5cc; }
html[data-theme="dark"] .role-choice:has(input:checked) { background: #382c48; border-color: #aa86d0; color: #d9b5fa; }
html[data-theme="dark"] .role-choice:has(input:focus-visible) { outline-color: var(--theme-focus); }
html[data-theme="dark"] .choice-dot { border-color: #7a638e; }
html[data-theme="dark"] .role-choice:has(input:checked) .choice-dot { border-color: #c39ee7; background: #392a48; }
html[data-theme="dark"] :is(.username-hint, .registration-note) { color: #b29ac4; }
html[data-theme="dark"] .theme-option:hover { border-color: #9579b9; }
html[data-theme="dark"] .theme-option:has(input:checked) { border-color: #c1a0eb; box-shadow: 0 0 0 2px #be99ef16; }
html[data-theme="dark"] .theme-current { color: #b8a6c7; }
html[data-theme="dark"] .sidebar.open { box-shadow: 20px 0 80px #00000070; }

@media (max-width: 700px) {
  .settings-panel { padding: 20px; }
  .settings-panel .panel-head { padding: 19px 20px 17px; }
  .settings-body { padding: 20px; }
  .theme-options { gap: 12px; grid-template-columns: 1fr; }
  .theme-option { padding: 12px 40px 12px 118px; min-height: 93px; justify-content: center; }
  .theme-preview { position: absolute; left: 12px; top: 12px; width: 92px; height: 67px; }
  .theme-preview::before { width: 25%; background: linear-gradient(var(--preview-accent),var(--preview-accent)) 6px 8px / 9px 9px no-repeat, var(--preview-panel); }
  .theme-preview::after { top: 9px; bottom: 8px; left: 33%; right: 9%; }
  .theme-option input[type="radio"] { right: 14px; top: 38px; bottom: auto; }
  .theme-option-title { margin: 0 0 5px; font-size: 13px; }
  .theme-option-description { margin-left: 0; font-size: 10px; }
  .settings-detail { flex-wrap: wrap; gap: 10px; }
  .theme-current { align-items: flex-start; font-size: 10px; }
  .theme-current svg { margin-top: 3px; flex-shrink: 0; }
  .brand-story { align-items: flex-start; gap: 15px; }
  .brand-story > img { width: 48px; height: 48px; }
  .brand-story h2 { font-size: 14px; }
  .brand-story p { font-size: 11px; }
  .brand-story .intro-eyebrow { font-size: 7px; letter-spacing: .9px; }
}
@media (prefers-reduced-motion: reduce) {
  body, .sidebar, .topbar, .panel, .stat, .modal, .login, .login-art, .theme-option { transition: none; }
}
