:root {color-scheme: light; --paper: #F5F2EC; --paper-ink: #1C1917;}
:root[data-theme="light"] {color-scheme: light;}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0f0f0f; --paper-ink: #e8e4dc;
  --bg: var(--paper); --text: var(--paper-ink); --ink: var(--paper-ink); --white: var(--paper-ink);
  --card: transparent; --card-hover: rgba(255,255,255,.03);
  --muted: #a09890; --text-dim: #a09890; --dim: #a09890;
  --border: #444; --border-light: #807a73;
  --accent: #F28C6F; --purple: #F28C6F; --blue: #93B4FF; --green: #86d39a;
  --orange: #FBBF24; --red: #ff9292; --cyan: #75cce5; --yellow: #FBBF24;
}
[data-theme-toggle] {
  font: 600 .8rem/1.25 var(--mono, monospace);
  color: var(--paper-ink); background: var(--paper);
  border: 1px solid currentColor; border-radius: 2px; padding: .45rem .7rem;
  cursor: pointer; min-height: 36px;
}
[data-theme-toggle][aria-pressed="true"]::before {content: "● ";}
[data-theme-toggle][aria-pressed="false"]::before {content: "○ ";}
[data-theme-toggle]:focus-visible {outline: 2px solid currentColor; outline-offset: 3px;}
body.theme-document {background: var(--paper); color: var(--paper-ink); max-width: 52rem; margin: 3rem auto; padding: 0 1rem; font: 1.1rem/1.6 Georgia,serif;}
body.theme-document a {color: inherit;}
[data-theme-toggle][hidden] {display: none;}
