/* The site's one stylesheet: system fonts only, light and dark by the reader's setting. */
:root {
  color-scheme: light dark;
  --paper: #fbfaf7;
  --ink: #1d1b18;
  --quiet: #5d5850;
  --line: #e2ddd3;
  --accent: #1f5fa8;
  --notice: #fff1c9;
  --notice-ink: #4a3800;
  --mark: #ffe08a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161513;
    --ink: #ece8e1;
    --quiet: #a9a398;
    --line: #34312c;
    --accent: #8ab8f0;
    --notice: #3b3216;
    --notice-ink: #f4e2a6;
    --mark: #6b5a1c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  overflow-wrap: break-word;
}
a { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.top, main, footer { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
.top {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between;
  padding-top: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.brand { font-weight: 650; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.languages { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.95rem; }
.languages a { text-decoration: none; }
.languages a[aria-current] { color: var(--ink); font-weight: 600; }
main { padding-top: 8px; padding-bottom: 32px; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 24px 0 12px; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 1.08rem; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 1.4em; }
li { margin: 4px 0; }
mark { background: var(--mark); color: inherit; padding: 0 2px; border-radius: 2px; }
.notice {
  margin: 20px 0 0; padding: 10px 14px; border-radius: 8px;
  background: var(--notice); color: var(--notice-ink); font-weight: 600;
}
.dated { color: var(--quiet); font-size: 0.95rem; margin-top: 28px; }
.pages { list-style: none; padding: 0; }
.pages li { margin: 10px 0; font-size: 1.1rem; }
details { border-bottom: 1px solid var(--line); padding: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 4px; }
.versions ul { padding-left: 1.2em; }
footer {
  border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 32px;
  color: var(--quiet); font-size: 0.95rem;
}
footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
