:root {
  --text: #1b1b1b;
  --muted: #5a5a5a;
  --bg: #fdfdfb;
  --line: #d9d9d4;
  --link: #1a4f8b;
  --pub: #1e6b3a;
  --priv: #8a3b12;
  --shade: #f2f2ee;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6e6e3;
    --muted: #a8a8a4;
    --bg: #161616;
    --line: #3a3a38;
    --link: #8db8e8;
    --pub: #7fcf9a;
    --priv: #e7a07a;
    --shade: #222220;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}
header, main, footer { max-width: 60rem; margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid var(--line); padding-top: 1rem; }
header .site { margin: 0; font-size: .95rem; color: var(--muted); }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding: .4rem 0 .8rem; font-family: system-ui, sans-serif; font-size: .95rem; }
nav a[aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 1.6rem 0 .6rem; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 .5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
h3 { font-size: 1.08rem; margin: 1.6rem 0 .4rem; }
a { color: var(--link); }
a.copy, span.copy { font-family: system-ui, sans-serif; font-size: .78em; color: var(--muted); }
p, li { max-width: 46rem; }
.lead { font-size: 1.05rem; }
.note { color: var(--muted); font-size: .93rem; }
ol.steps { padding-left: 1.6rem; }
ol.steps > li { margin-bottom: 2rem; }
ol.steps > li > h3 { margin-top: 0; }
dl { margin: .4rem 0 0; }
dt { font-family: system-ui, sans-serif; font-size: .85rem; font-weight: 600; color: var(--muted); margin-top: .6rem; }
dd { margin: .1rem 0 0 0; }
dd ul { margin: .2rem 0; padding-left: 1.2rem; }
.tag { font-family: system-ui, sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: .02em; padding: .05rem .35rem; border: 1px solid currentColor; border-radius: 3px; white-space: nowrap; }
.pub { color: var(--pub); }
.priv { color: var(--priv); }
.tablewrap { overflow-x: auto; margin: .8rem 0 1.2rem; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; line-height: 1.45; }
th, td { border-bottom: 1px solid var(--line); padding: .45rem .5rem .45rem 0; text-align: left; vertical-align: top; }
th { font-family: system-ui, sans-serif; font-size: .8rem; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; padding-right: .8rem; }
td.num { white-space: nowrap; }
td.num .note { white-space: normal; }
td.date { white-space: nowrap; }
tr.gap td { color: var(--muted); font-style: italic; }
blockquote { margin: .6rem 0 .6rem 0; padding: .1rem 0 .1rem 1rem; border-left: 3px solid var(--line); color: var(--text); }
details { margin: .4rem 0; }
summary { cursor: pointer; font-family: system-ui, sans-serif; font-size: .9rem; }
footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: .6rem; padding-bottom: 2rem; color: var(--muted); font-size: .85rem; }
.toc { font-family: system-ui, sans-serif; font-size: .93rem; }
.toc ol { padding-left: 1.3rem; }
