:root {
  --appearance-bg-dark:#090d14;
  --appearance-bg-light:#f7f4ee;
  --appearance-surface-light:#fffdf9;
  --appearance-surface-2-light:#eee8dd;
  --appearance-text-light:#201d19;
  --appearance-muted-light:#655f57;
  --appearance-line-light:#cfc5b7;
  color-scheme:dark;
}
html[data-resolved-appearance="light"] {
  color-scheme:light;
  --ink:var(--appearance-bg-light)!important;
  --panel:var(--appearance-surface-light)!important;
  --panel-2:var(--appearance-surface-2-light)!important;
  --text:var(--appearance-text-light)!important;
  --cream:#28231e!important;
  --muted:var(--appearance-muted-light)!important;
  --line:var(--appearance-line-light)!important;
  --line-strong:#aea292!important;
  --reader-surface:#fffdf9!important;
  --reader-card:#ffffff!important;
  --reader-ink:#2e2924!important;
  --reader-muted:#655f57!important;
  --reader-line:#d6ccbf!important;
}
html[data-resolved-appearance="light"] body { color:var(--text,var(--appearance-text-light));background:var(--appearance-bg-light)!important; }
html[data-resolved-appearance="light"] :where(header,footer,.topbar,.hero,.panel,.metric,.card,.notice,.auth-card,.signin,.radio-settings,.shortcut-group,.display-demo,.path-card,.product-card,.console,.weather-card,.forecast-card,.calendar-card,.destination-card,.library-card) { border-color:var(--appearance-line-light)!important; }
html[data-resolved-appearance="light"] :where(.topbar,.hero,.panel,.metric,.card,.notice,.auth-card,.signin,.radio-settings,.shortcut-group,.display-demo,.path-card,.product-card,.weather-card,.forecast-card,.calendar-card,.destination-card,.library-card) { color:var(--appearance-text-light);background:var(--appearance-surface-light)!important;box-shadow:0 14px 38px rgba(72,55,35,.09); }
html[data-resolved-appearance="light"] :where(.quick-start,.display-preview,.how,.products,.demo,.access,.developers,.about,.entertainment,main) { color:var(--appearance-text-light);background-color:var(--appearance-bg-light)!important; }
html[data-resolved-appearance="light"] :where(.lede,.message,.note,.source-status,.section-intro,.quick-meta,.signal-topline,.signal-answer p,.display-status,.path-note,.evidence-note,.product-card>p,.product-card li,.dashboard-card p,.card p,footer) { color:var(--appearance-muted-light)!important; }
html[data-resolved-appearance="light"] :where(input,select,textarea,button:not(.appearance-choice),.tab,.badge) { border-color:var(--appearance-line-light); }
html[data-resolved-appearance="light"] :where(input,select,textarea,.tab:not([aria-selected="true"]),.badge) { color:var(--appearance-text-light)!important;background:var(--appearance-surface-light)!important; }
html[data-resolved-appearance="light"] .auth-denied { color:var(--appearance-text-light);background:var(--appearance-bg-light); }
html[data-resolved-appearance="light"] .auth-denied p { color:var(--appearance-muted-light); }
html[data-resolved-appearance="light"] .auth-denied button { color:var(--appearance-text-light);background:var(--appearance-surface-light); }
html[data-resolved-appearance="light"] :where(.radio-settings-head h3,.eyebrow,.metric strong,.dashboard-link-label) { color:#76551c!important; }
html[data-resolved-appearance="light"] .radio-preference { color:var(--appearance-text-light);border-color:var(--appearance-line-light);background:var(--appearance-surface-2-light)!important; }
html[data-resolved-appearance="light"] .radio-preference :where(span,p) { color:var(--appearance-muted-light)!important; }
html[data-resolved-appearance="light"] .radio-preference-switch,
html[data-resolved-appearance="light"] .announcement-mode-controls button { color:var(--appearance-text-light)!important;border-color:var(--appearance-line-light)!important;background:var(--appearance-surface-light)!important; }

/* Preserve Mrs. Jackson's pink identity while adapting its surfaces and text. */
html[data-resolved-appearance="light"] body.theme-development-glitter { --ink:#fff2f8!important;--panel:#fff8fc!important;--panel-2:#f8dce9!important;--line:#dba6c0!important;--cream:#451630!important;--muted:#654153!important;background:radial-gradient(circle at 14% -4%,rgba(255,128,203,.2),transparent 34%),linear-gradient(155deg,#fff8fc,#f8dce9 58%,#f3d3e5)!important; }
html[data-resolved-appearance="light"] body.theme-development-glitter :where(.topbar,.hero,.panel,.metric,.card,.notice,.radio-settings,.radio-preference,.shortcut-group) { color:#451630;background:#fff8fc!important;border-color:#dba6c0!important; }
html[data-resolved-appearance="light"] body.theme-development-glitter :where(.brand span,.panel-head p,.source-status,.card span,.card p,.radio-preference span,.radio-preference p) { color:#654153!important; }
html[data-resolved-appearance="light"] body.theme-development-glitter :where(.radio-settings-head h3,.eyebrow,.metric strong,.dashboard-link-label) { color:#8f2d67!important; }
html[data-resolved-appearance="light"] body.theme-development-glitter :where(.radio-preference-switch,.announcement-mode-controls button) { color:#451630!important;border-color:#dba6c0!important;background:#fff8fc!important; }

.appearance-settings { margin-top:20px; }
.appearance-settings h3 { margin:0 0 6px; }
.appearance-settings p { margin:6px 0 0;color:var(--muted,#aeb9ca);line-height:1.5; }
.appearance-choices { display:flex;flex-wrap:wrap;gap:8px;margin-top:14px; }
.appearance-choice { min-height:44px;padding:9px 15px;border:1px solid var(--line,#2c3a55);border-radius:999px;color:var(--cream,#f7eedf);background:var(--panel-2,#182237);font:inherit;font-weight:800;cursor:pointer; }
.appearance-choice[aria-pressed="true"] { color:#17100a;border-color:var(--gold,#d5a85c);background:var(--gold-2,#f1cf86); }
.appearance-choice:focus-visible { outline:3px solid var(--gold-2,#f1cf86);outline-offset:3px; }
.appearance-status { font-size:.875rem; }
@media (max-width:520px) { .appearance-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.appearance-choice{padding-inline:8px} }
@media (prefers-reduced-motion:reduce) { html{scroll-behavior:auto!important} }
