/* Shared palette and type. Change these tokens to update the site. */
html:root {
  color-scheme: light;
  --theme-paper: #fff6e8;
  --theme-surface: #f7eddf;
  --theme-rule: #e5d8c6;
  --theme-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --theme-display: "Newsreader", Georgia, "Times New Roman", serif;
  --theme-editorial: Georgia, "Times New Roman", serif;

  --sc-canvas: var(--theme-paper);
  --sc-surface: var(--theme-surface);
  --line: var(--theme-rule);
  --sc-font-text: var(--theme-text);
  --sc-font-display: var(--theme-display);
  background-color: var(--theme-paper);
}

html body:is(.ar-page, .ar-home) {
  --ar-bg: var(--theme-paper);
  --ar-wash: var(--theme-surface);
  --ar-line: var(--theme-rule);
  font-family: var(--theme-text);
}

html .cn-page { --paper: var(--theme-paper); }
html .ar-page h1, html .cn-page .co-lead h2 { font-family: var(--theme-editorial); }

html .board, html .board .wl-view, html .winlose, html .util, html .wl-toggle {
  background-color: var(--theme-paper);
}

html .aibio-dials { --ad-bg: var(--theme-surface); --ad-line: var(--theme-rule); }
html .dd.dd2 { --dd-bg: var(--theme-surface); }
