:root { color-scheme: light dark; }

.palette-midnight-gold, .palette-teal-copper {
  color-scheme: light;
  --canvas: #f4f1e8; --surface: #fffdf7; --soft: #eee7d8;
  --ink: #18283a; --muted: #46586b; --line: #c7c7bf;
  --accent: #70430d; --heading-bg: #162a40; --heading-ink: #fbf3e4;
  --sky: #101d2e; --sky-top: #07101c; --wall: #30455b; --wall-low: #25374a;
  --stone: #607687; --sill: #9bafb6; --night-ink: #edf3f5;
  --glass: #121f30; --glass-low: #233749; --window-ink: #f8eecf;
  --lamp: #ffd177; --lit: #ffe6aa; --light-ink: #2b1a0e;
  --focus: #88500c;
  --display: "Fraunces", Georgia, serif;
}
.palette-teal-copper {
  --canvas: #edf0e8; --surface: #fbfcf4; --soft: #e0e9dd;
  --ink: #1b302a; --muted: #405951; --line: #bfcac0;
  --accent: #803e25; --heading-bg: #153b34; --heading-ink: #fff1e4;
  --sky: #0c2925; --sky-top: #061a19; --wall: #2b5349; --wall-low: #23443b;
  --stone: #5c7f70; --sill: #a0b9a4; --night-ink: #e9f4ec;
  --glass: #102823; --glass-low: #1c4137; --window-ink: #fbebd6;
  --lamp: #ffa06f; --lit: #ffc19a; --light-ink: #341b13;
  --focus: #8c4127;
}
:root[data-theme="dark"] .palette-midnight-gold {
  color-scheme: dark;
  --canvas: #121e2b; --surface: #192a3b; --soft: #263c50;
  --ink: #f6f2e6; --muted: #c2cfdb; --line: #526a7e;
  --accent: #ffdb99; --heading-bg: #30475b; --heading-ink: #fff5df;
  --focus: #ffd177;
}
:root[data-theme="dark"] .palette-teal-copper {
  --canvas: #101f1c; --surface: #182e27; --soft: #263e34;
  --ink: #f1f3e9; --muted: #c8d8cd; --line: #506d60;
  --accent: #ffc19a; --heading-bg: #2d5145; --heading-ink: #fff2e5;
  --focus: #ffa06f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .palette-midnight-gold {
    color-scheme: dark;
    --canvas: #121e2b; --surface: #192a3b; --soft: #263c50;
    --ink: #f6f2e6; --muted: #c2cfdb; --line: #526a7e;
    --accent: #ffdb99; --heading-bg: #30475b; --heading-ink: #fff5df;
    --focus: #ffd177;
  }
  :root:not([data-theme="light"]) .palette-teal-copper {
    --canvas: #101f1c; --surface: #182e27; --soft: #263e34;
    --ink: #f1f3e9; --muted: #c8d8cd; --line: #506d60;
    --accent: #ffc19a; --heading-bg: #2d5145; --heading-ink: #fff2e5;
    --focus: #ffa06f;
  }
}
