
:root { color-scheme: light dark; font: 1rem/1.5 system-ui, sans-serif; color: #1b1a17; background: #e8e2d4; }
body { margin: 0; }
main { max-width: 36rem; margin: auto; padding: 2rem clamp(1rem, 5vw, 3rem); }
header a, h1, h2 { font-family: Georgia, serif; }
header a { font-size: 1.25rem; font-weight: bold; letter-spacing: .05em; }
h1 { font-size: 2.25rem; line-height: 1.1; margin: 1.5rem 0 1rem; }
h2 { font-size: 1.3rem; margin: 0; }
a { color: inherit; text-underline-offset: .17em; }
section, details, ul { margin: 1rem 0; }
section, details { padding: 1rem; border: 1px solid #aa927a; border-radius: .5rem; }
section p { margin: .5rem 0; }
form, label, small { display: block; }
label, button { margin-top: .5rem; }
summary { cursor: pointer; }
input:not([type=hidden]) { box-sizing: border-box; display: block; width: 100%; max-width: 24rem; }
input, button, select { font: inherit; padding: .5rem .75rem; border: 1px solid #9e765a; border-radius: .3rem; }
button { cursor: pointer; background: #1b1a17; color: #e8e2d4; min-height: 2.75rem; }
.actions, li { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
li { justify-content: space-between; }
ul { padding: 0; }
small { opacity: .85; }
output { display: block; padding: .5rem 0; font-size: 1.3rem; font-family: monospace; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #126096; outline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  :root { color: #e8e2d4; background: #1b1a17; }
  button { background: #e8e2d4; color: #1b1a17; }
  :focus-visible { outline-color: #8ecdf6; }
}
