@font-face { font-family: "ET Book"; src: url("/fonts/et-book-roman.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "ET Book"; src: url("/fonts/et-book-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Commit Mono"; src: url("/fonts/CommitMono-Variable.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }

:root { color-scheme: only dark; background: #0b0c0c; color: #dedbd1; font-family: "ET Book", Palatino, Georgia, serif; font-synthesis: none; font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; scrollbar-width: none; }
* { box-sizing: border-box; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
body { margin: 0; font-size: 21px; line-height: 1.45; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: #41483e; }
:focus-visible { outline: 1px solid #aaa99e; outline-offset: 5px; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 400; }
main { width: min(980px, calc(100% - 96px)); margin: 0 auto; padding: 76px 250px 72px 38px; isolation: isolate; }
header { margin-bottom: 58px; }
h1 { font-size: 42px; letter-spacing: -.025em; }
h1 a { text-decoration: none; }
header p { margin-top: 8px; font-size: 17px; color: #989a93; }
header .selection { margin-top: 10px; color: #c3c0b6; font-size: 20px; }
header .byline { margin-top: 6px; }
header p a { text-decoration: none; }
.fix { position: relative; margin-bottom: 66px; scroll-margin-top: 54px; }
.fix:focus { outline: none; }
h2 { position: relative; font-size: 26px; line-height: 1.2; margin-bottom: 13px; }
.ordinal { position: absolute; right: calc(100% + 18px); top: 5px; color: #777e77; font: 12px/1.5 "Commit Mono", monospace; text-decoration: none; font-variant-numeric: tabular-nums; }
.fix[data-current] .ordinal { color: #dedbd1; }
.description { max-width: 64ch; text-wrap: pretty; }
.description code { font-family: "Commit Mono", monospace; font-size: .74em; line-height: 1; font-variant-ligatures: none; overflow-wrap: anywhere; }
.citation { position: absolute; left: calc(100% + 48px); top: 3px; width: 184px; font-size: 16px; line-height: 1.35; color: #939990; }
.citation p { margin-top: 6px; }
.citation .open-state { font-style: italic; }
figure { margin-top: 19px; min-width: 0; }
diffs-container { display: block; min-width: 0; --diffs-font-family: "Commit Mono", monospace; --diffs-font-size: 13px; --diffs-line-height: 23px; --diffs-tab-size: 2; --diffs-font-features: normal; --diffs-gap-inline: 8px; --diffs-gap-block: 0px; }
footer { font-size: 16px; color: #92968e; padding-top: 12px; }
footer p + p { margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
dialog { background: #111313; color: #dedbd1; border: 1px solid #41463f; padding: 28px; width: min(560px, calc(100% - 40px)); max-height: 75dvh; }
dialog::backdrop { background: #000a; }
dialog form { margin: 0; }
dialog .close { position: absolute; top: 12px; right: 14px; z-index: 1; background: none; border: 0; color: #a5aaa0; padding: 4px 8px; }
dialog label { display: block; font-size: 23px; }
#find-input { display: block; width: 100%; border: 0; border-bottom: 1px solid #50554d; background: transparent; color: inherit; border-radius: 0; padding: 8px 0; margin: 8px 0 16px; }
#find-results { max-height: 45dvh; overflow-y: auto; }
#find-results a { display: block; font-size: 19px; padding: 7px 8px; text-decoration: none; }
#find-results a[aria-selected="true"] { background: #242a24; }
#find-results span { display: inline-block; width: 25px; color: #91998e; font-variant-numeric: tabular-nums; }

@media (max-width: 850px) {
  main { width: min(660px, calc(100% - 64px)); padding: 46px 0 60px 22px; }
  body { font-size: 20px; }
  header { margin-bottom: 46px; }
  h1 { font-size: 36px; }
  h2 { font-size: 25px; }
  .citation { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; width: auto; margin-bottom: 12px; font-size: 15px; }
  .citation p { margin: 0; }
  .ordinal { right: calc(100% + 12px); }
  .fix { margin-bottom: 54px; scroll-margin-top: 28px; }
}
@media (max-width: 480px) {
  main { width: calc(100% - 42px); padding-left: 14px; }
  body { font-size: 19px; }
  header p { font-size: 16px; max-width: 28ch; }
  diffs-container { --diffs-font-size: 12px; --diffs-line-height: 21px; }
  .ordinal { right: calc(100% + 9px); font-size: 10px; }
}
@media print {
  :root { color: #111; background: white; }
  main { width: 100%; padding: 0 25% 0 24px; }
  .fix { break-inside: avoid; }
  dialog { display: none !important; }
}
