:root {
  color-scheme: light dark;
  --bg: #ffffff; --surface: #f7f7f8; --ink: #0d0d0d;
  --muted: #6e6e80; --line: #e5e5e5; --insert: #b45309;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #212121; --surface: #303030; --ink: #ececec;
    --muted: #a1a1aa; --line: #3f3f46; --insert: #f59e0b;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto; padding: 40px 20px 80px; max-width: 46rem;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--insert); }
h1 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 34px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 15px; margin: 22px 0 6px; }
.sub { color: var(--muted); margin: 0 0 28px; }
.back { display: inline-block; margin-bottom: 26px; font-size: 14px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0 18px; font-size: 14px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.88em;
       background: var(--surface); padding: 0.12em 0.38em; border-radius: 4px; }
.note { background: var(--surface); border-left: 3px solid var(--insert);
        padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 18px 0; }
.tablewrap { overflow-x: auto; }
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line);
         color: var(--muted); font-size: 14px; }
button.linkish {
  font: inherit; font-size: 14px; color: var(--insert); background: none;
  border: 0; padding: 0; cursor: pointer; text-decoration: underline;
}
