/* Light palette only. Load after component styles; thematic dark palettes retain
   their own surfaces and accents. Opaque reading surfaces prevent canvas bleed. */
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript){
  --bg-void:#faf7f0;--bg-surface:#fff;--bg-panel:#fff;--surface-card:#fff;
  --text-primary:#0f172a;--text-secondary:#0f172a;
  --accent-primary:#0f172a;--accent-secondary:#0f172a;--accent-gold:#704600;
  --border-specular:#737b88;color-scheme:light;color:#0f172a;
}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  body,main){color:#0f172a}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  header,#dock,dialog,.card,.panel,.showcase,.command-strip,.tier-card,.achievement,
  .participation-record,.checkpoint,.field-readout,.golt-handoff,.advisory-config,
  .advisory-recommendation,.advisory-pillar,.advisory-inquiry,.advisory-large,
  .workspace-metrics>div,.notice,.badge,.device-preview,.device-content,
  .manifesto-pills button,.aura-choices button,.resource-preview-stack button,
  .progression-stages span,.book-spotlight>span,.utility-grid a,.pwa-preview){
  background:#fff;color:#0f172a;backdrop-filter:none;
}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  input:not([type=range],[type=checkbox]),textarea,select,option,button){
  background:#fff;color:#0f172a;border-color:#737b88;
}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  .primary,.theme-group [aria-pressed=true],.language-group [aria-pressed=true],
  .advisory-pillar button[aria-pressed=true],[data-advisory-handoff],.skip){
  background:#0f172a;color:#fff;
}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  .golt-observatory,.obs-drawer){
  --obs-bg:#fff;--obs-panel:#fff;--obs-text:#0f172a;--obs-muted:#0f172a;
  --obs-line:#737b88;--obs-accent:#0f172a;background:#fff;color:#0f172a;color-scheme:light;
}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  .vault-tools,.vault-sheet-print){
  --vt-bg:#fff;--vt-panel:#fff;--vt-text:#0f172a;--vt-muted:#0f172a;
  --vt-line:#737b88;--vt-accent:#0f172a;background:#fff;color:#0f172a;
}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  .noise,.obs-badge[data-verdict=negative]){color:#8b251b;border-color:#8b251b}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  .card::before,.card::after,.card-backplane){opacity:0}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  button:disabled){opacity:1;color:#0f172a;background:#faf7f0;border-style:dashed}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) :is(
  a,button,input,select,textarea,summary):focus-visible{outline-color:#0f172a;outline-width:3px;outline-offset:4px}
/* Isolate numerical readouts while surrounding Arabic prose keeps its direction. */
:is(.metric,.command-stat strong,.advisory-price strong,.handoff-metrics dd,.workspace-metrics dd,.obs-bar-row strong){unicode-bidi:isolate}
:is(html[data-theme=alabaster],html[data-theme=light],html[data-theme=manuscript],body.theme-manuscript) .golt-umbrella{
  --umbrella-surface:#fff;--umbrella-text:#0f172a;--umbrella-muted:#0f172a;
  --umbrella-gold:#704600;--umbrella-cyan:#0f172a;--umbrella-line:#737b88;
  --umbrella-gold-surface:#fff;--umbrella-cyan-surface:#fff;
}

html[data-theme=alabaster] body{background:#faf7f0!important}html[data-theme=alabaster] .golt-umbrella{background:#fff}html[data-theme=alabaster] .umbrella-eyebrow,html[data-theme=alabaster] .umbrella-price{color:#583600!important}
