:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #5f6368;
  --rule: #e3e3e6;
  --head: #f5f5f7;
  --link: #0b57d0;
  --figure-bg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --text: #ececee;
    --muted: #a4a4aa;
    --rule: #34343a;
    --head: #222226;
    --link: #8ab4f8;
    --figure-bg: #ffffff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: max(env(safe-area-inset-top), 0px) 16px max(env(safe-area-inset-bottom), 24px);
}
main { max-width: 46rem; margin: 0 auto; padding-block: 2.5rem 3rem; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 .25rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2.5rem 0 .75rem; padding-top: .75rem; border-top: 1px solid var(--rule); }
.asof { color: var(--muted); margin: 0; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
a { color: var(--link); text-underline-offset: 2px; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--head); padding: .05em .3em; border-radius: 4px; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1em; height: 1em; border: 1.5px solid var(--muted); border-radius: 3px;
}
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; min-width: 32rem; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--rule); }
th { background: var(--head); font-weight: 600; }
figure { margin: 1rem 0 1.25rem; }
figure img {
  display: block; width: 100%; height: auto; max-width: 100%;
  background: var(--figure-bg); border: 1px solid var(--rule); border-radius: 8px;
}
figcaption { color: var(--muted); font-size: .875rem; margin-top: .4rem; }
