:root {
  --bg: #f7f5f0;
  --ink: #1c1b19;
  --muted: #5c5850;
  --line: #d8d3c8;
  --card: #fffdf8;
  --accent: #1f4d3a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--accent); }
header, footer, main { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; text-decoration: none; color: var(--ink); }
.working { font-family: system-ui, sans-serif; font-size: 0.75rem; font-weight: 400; color: var(--muted); }
nav { display: flex; gap: 1rem; font-family: system-ui, sans-serif; font-size: 0.9rem; }
nav a { text-decoration: none; color: var(--ink); }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.75rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
p, li { font-size: 1.05rem; }
.lede { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.note { font-family: system-ui, sans-serif; font-size: 0.85rem; color: var(--muted); }
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
pre {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}
th, td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
.tbd { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; }
footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.25rem 2.5rem;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
footer a { color: var(--muted); }
