@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-300-700-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-300-700-latin.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-normal-400-latin.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-normal-400-latin.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-normal-500-latin.woff2) format("woff2");
}

:root {
  --bg: #f6f3eb;
  --surface: #fbf9f4;
  --surface-2: #efeadf;
  --ink: #1d1b16;
  --ink-2: #57534a;
  --muted: #7d776b;
  --rule: #e2dccf;
  --axis: #c9c1b1;
  --accent: #c2462a;
  --accent-ink: #a63a20;
  --accent-soft: rgba(194, 70, 42, 0.1);
  --s1: #1f6fb0;
  --s2: #d9542f;
  --s3: #2f9a6a;
  --s4: #d99a1e;
  --s5: #a1508f;
  --s6: #5b8f2a;
  --s7: #6a5fd1;
  --s8: #e0718a;
  --other: #b9b2a4;
  --cross: rgba(29, 27, 22, 0.35);
  --ember-0: #f1e6d8;
  --ember-1: #efc9ae;
  --ember-2: #e69a74;
  --ember-3: #d9542f;
  --ember-4: #a8361b;
  --ember-5: #5c1b0c;
  --blue-0: #e6edf2;
  --blue-1: #b3cde3;
  --blue-2: #6fa3cf;
  --blue-3: #1f6fb0;
  --blue-4: #144d7d;
  --blue-5: #0b2c48;
  --shadow: 0 1px 2px rgba(29, 27, 22, 0.06), 0 12px 32px -16px rgba(29, 27, 22, 0.3);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14161c;
    --surface: #191c23;
    --surface-2: #22262f;
    --ink: #ece7dc;
    --ink-2: #b9b2a4;
    --muted: #918a7c;
    --rule: #2a2e37;
    --axis: #3d424d;
    --accent: #f0805c;
    --accent-ink: #f59a7a;
    --accent-soft: rgba(240, 128, 92, 0.14);
    --s1: #3b86c6;
    --s2: #e0643c;
    --s3: #33a877;
    --s4: #b8811a;
    --s5: #c46aad;
    --s6: #6f9f35;
    --s7: #8d84e6;
    --s8: #d4667e;
    --other: #4d4f57;
    --cross: rgba(236, 231, 220, 0.4);
    --ember-0: #221d1d;
    --ember-1: #4a2319;
    --ember-2: #8a3420;
    --ember-3: #cf532e;
    --ember-4: #f08a64;
    --ember-5: #ffd2b5;
    --blue-0: #1a212b;
    --blue-1: #1d3a57;
    --blue-2: #235e8c;
    --blue-3: #3b86c6;
    --blue-4: #7ab0e0;
    --blue-5: #cfe3f5;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14161c;
  --surface: #191c23;
  --surface-2: #22262f;
  --ink: #ece7dc;
  --ink-2: #b9b2a4;
  --muted: #918a7c;
  --rule: #2a2e37;
  --axis: #3d424d;
  --accent: #f0805c;
  --accent-ink: #f59a7a;
  --accent-soft: rgba(240, 128, 92, 0.14);
  --s1: #3b86c6;
  --s2: #e0643c;
  --s3: #33a877;
  --s4: #b8811a;
  --s5: #c46aad;
  --s6: #6f9f35;
  --s7: #8d84e6;
  --s8: #d4667e;
  --other: #4d4f57;
  --cross: rgba(236, 231, 220, 0.4);
  --ember-0: #221d1d;
  --ember-1: #4a2319;
  --ember-2: #8a3420;
  --ember-3: #cf532e;
  --ember-4: #f08a64;
  --ember-5: #ffd2b5;
  --blue-0: #1a212b;
  --blue-1: #1d3a57;
  --blue-2: #235e8c;
  --blue-3: #3b86c6;
  --blue-4: #7ab0e0;
  --blue-5: #cfe3f5;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

[hidden] {
  display: none !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (max-width: 600px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}
.mono {
  font-family: var(--font-mono);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 60;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 6px;
}
.skip:focus {
  left: 12px;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.brand svg {
  flex: none;
}
.tabs {
  display: flex;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: auto;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 17px 9px 15px;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}
.tabs a small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.tabs a:hover {
  color: var(--ink);
}
.tabs a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.tabs a[aria-current="page"] small {
  color: var(--accent-ink);
}
.tools {
  display: flex;
  gap: 8px;
  flex: none;
}
.icon-btn {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.icon-btn:hover {
  color: var(--ink);
  border-color: var(--axis);
}
@media (max-width: 1080px) {
  .bar {
    flex-wrap: wrap;
    gap: 0 12px;
    padding-top: 8px;
  }
  .brand {
    flex: 1 1 auto;
    min-height: 40px;
  }
  .tabs {
    order: 3;
    flex: 1 0 100%;
    margin-left: -9px;
    padding-right: 36px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  }
  .tabs a {
    padding: 10px 9px 9px;
  }
}
@media (max-width: 520px) {
  .tabs a small {
    display: none;
  }
}

main {
  padding-block: 8px 72px;
  min-height: 60vh;
}
.crumbs {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 18px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  padding-left: 0;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--axis);
}
.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
.chapter {
  padding-block: 30px 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 16px 48px;
  align-items: end;
}
.chapter.home {
  padding-top: 44px;
}
.chapter > div:first-child {
  max-width: 800px;
}
@media (max-width: 960px) {
  .chapter {
    grid-template-columns: 1fr;
  }
}
.kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--accent-ink);
  margin: 0 0 14px;
}
.chapter h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.03;
  overflow-wrap: anywhere;
}
.chapter.home h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.98;
}
.chapter.leaf h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
}
.chapter h1 em {
  font-style: italic;
  color: var(--accent-ink);
}
.lede {
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 64ch;
  margin: 18px 0 0;
}
.lede + .lede {
  margin-top: 10px;
}
.lede b,
.lede strong {
  color: var(--ink);
  font-weight: 600;
}
.lede a {
  color: var(--ink);
}
.aside-note {
  color: var(--ink-2);
  font-size: 0.86rem;
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 14px;
  margin: 0;
}
.aside-note b {
  color: var(--ink);
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 30px 0 8px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: 14px 16px 16px 0;
  min-width: 0;
}
.stat + .stat {
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}
@media (max-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat + .stat {
    border-left: 0;
    padding-left: 0;
  }
}
.stat .v {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
}
.stat .l {
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: 6px;
}
.stat .s {
  font-size: 0.78rem;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 44px 40px;
  margin-top: 40px;
}
.fig {
  grid-column: span 12;
  min-width: 0;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.fig.hero {
  border-top-color: var(--ink);
}
.span-4 {
  grid-column: span 4;
}
.span-5 {
  grid-column: span 5;
}
.span-6 {
  grid-column: span 6;
}
.span-7 {
  grid-column: span 7;
}
.span-8 {
  grid-column: span 8;
}
@media (max-width: 960px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .grid > * {
    grid-column: 1 / -1;
  }
}
.fig-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.fig-n {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 4px;
}
.fig h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.42rem;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-wrap: balance;
  font-variation-settings: "opsz" 48;
}
.fig h3 {
  margin: 18px 0 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  font-weight: 500;
}
.cap {
  color: var(--ink-2);
  font-size: 0.88rem;
  margin: 6px 0 14px;
  max-width: 72ch;
}
.cap b {
  color: var(--ink);
  font-weight: 600;
}
.cap a {
  color: var(--ink);
}
.ch {
  position: relative;
  min-height: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.ch svg {
  display: block;
  width: 100%;
  height: auto;
}
.ch.wide svg {
  min-width: 720px;
}
.ch.mid svg {
  min-width: 520px;
}
svg text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--muted);
}
svg text.lbl {
  font-family: var(--font-body);
  fill: var(--ink-2);
  font-size: 11.5px;
}
svg text.lbl-b {
  font-family: var(--font-body);
  fill: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
}
svg a text {
  fill: var(--ink);
}
svg a:hover text {
  fill: var(--accent-ink);
  text-decoration: underline;
}
.gl {
  stroke: var(--rule);
  stroke-width: 1;
  fill: none;
}
.ax {
  stroke: var(--axis);
  stroke-width: 1;
  fill: none;
}
.hl {
  fill: var(--ink);
  opacity: 0.12;
  pointer-events: none;
}
.halo {
  paint-order: stroke;
  stroke: var(--bg);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.k0 {
  fill: var(--accent);
}
.k1 {
  fill: var(--s1);
}
.k2 {
  fill: var(--s2);
}
.k3 {
  fill: var(--s3);
}
.k4 {
  fill: var(--s4);
}
.k5 {
  fill: var(--s5);
}
.k6 {
  fill: var(--s6);
}
.k7 {
  fill: var(--s7);
}
.k8 {
  fill: var(--s8);
}
.kx {
  fill: var(--other);
}
.l0 {
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
}
.l1 {
  stroke: var(--s1);
  fill: none;
  stroke-width: 1.6;
}
.l2 {
  stroke: var(--s2);
  fill: none;
  stroke-width: 1.6;
}
.l3 {
  stroke: var(--s3);
  fill: none;
  stroke-width: 1.6;
}
.a1 {
  fill: var(--s1);
  opacity: 0.16;
}
.a2 {
  fill: var(--s2);
  opacity: 0.16;
}
.a3 {
  fill: var(--s3);
  opacity: 0.16;
}
.e0 {
  fill: var(--surface-2);
}
.e1 {
  fill: var(--ember-1);
}
.e2 {
  fill: var(--ember-2);
}
.e3 {
  fill: var(--ember-3);
}
.e4 {
  fill: var(--ember-4);
}
.e5 {
  fill: var(--ember-5);
}
.b0 {
  fill: var(--surface-2);
}
.b1 {
  fill: var(--blue-1);
}
.b2 {
  fill: var(--blue-2);
}
.b3 {
  fill: var(--blue-3);
}
.b4 {
  fill: var(--blue-4);
}
.b5 {
  fill: var(--blue-5);
}
.dots {
  stroke: var(--accent);
  stroke-linecap: round;
  fill: none;
  opacity: 0.5;
}
.edge {
  stroke: var(--ink-2);
  opacity: 0.16;
  fill: none;
}
.node {
  stroke: var(--bg);
  stroke-width: 1;
}
.ridge {
  fill: var(--accent);
  opacity: 0.2;
  stroke: none;
}
.ridge-l {
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.2;
}

.btn {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--ink);
  text-decoration: none;
}
.btn:hover {
  border-color: var(--axis);
}
.btn.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
input[type="search"],
input[type="text"],
select {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 7px 11px;
  min-width: 0;
}
input[type="search"]:focus,
input[type="text"]:focus {
  border-color: var(--axis);
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin: 4px 0 14px;
}
.toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.toolbar .grow {
  flex: 1 1 220px;
}
.toolbar .grow input {
  flex: 1;
  width: 100%;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.8rem;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
}
.ramp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.ramp span {
  display: inline-flex;
}
.ramp span i {
  width: 22px;
  height: 8px;
  border-radius: 0;
  margin: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
}
a.chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.chip small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.chip[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.note {
  color: var(--ink-2);
  font-size: 0.85rem;
}
.note a {
  color: var(--ink);
}

.hb {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hb li {
  display: grid;
  grid-template-columns: 1.8em minmax(90px, 1.25fr) 1.6fr 4.6em;
  align-items: center;
  gap: 10px;
  padding: 3px 6px 3px 0;
  font-size: 0.86rem;
}
.hb.norank li {
  grid-template-columns: minmax(90px, 1.25fr) 1.6fr 4.6em;
}
.hb.wide li {
  grid-template-columns: 1.8em minmax(120px, 2.4fr) 1fr 4.6em;
}
.hb.wide.norank li {
  grid-template-columns: minmax(120px, 2.4fr) 1fr 4.6em;
}
.hb .r {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: right;
}
.hb .n {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.hb a {
  color: var(--ink);
  text-decoration: none;
}
.hb a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
.hb .b {
  height: 8px;
  min-width: 0;
}
.hb .b i {
  display: block;
  height: 100%;
  border-radius: 0 4px 4px 0;
  min-width: 2px;
  background: var(--s2);
}
.hb.blue .b i {
  background: var(--s1);
}
.hb.green .b i {
  background: var(--s3);
}
.hb.ink .b i {
  background: var(--ink-2);
}
.hb .v {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  font-size: 0.82rem;
  white-space: nowrap;
}
.hb .n small {
  color: var(--muted);
  font-size: 0.74rem;
  margin-left: 6px;
}

.tbl-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.86rem;
}
caption {
  text-align: left;
  color: var(--ink-2);
  font-size: 0.82rem;
  padding-bottom: 6px;
}
th,
td {
  text-align: left;
  padding: 7px 10px;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
th {
  color: var(--ink-2);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-bottom-color: var(--axis);
}
th a {
  color: var(--ink);
  text-decoration: none;
}
th a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
th button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}
th button:hover {
  color: var(--ink);
}
th[aria-sort="ascending"] button::after {
  content: " ^";
  color: var(--accent-ink);
}
th[aria-sort="descending"] button::after {
  content: " v";
  color: var(--accent-ink);
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
td.rk {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  width: 3em;
}
td a {
  color: var(--ink);
  text-decoration: none;
}
td a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
td.dim,
span.dim {
  color: var(--muted);
}
table.compact th,
table.compact td {
  padding: 5px 8px;
}
table.heat td.c {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  padding: 6px 4px;
  border-bottom: 2px solid var(--bg);
  border-right: 2px solid var(--bg);
  min-width: 3.1em;
}
table.heat th {
  border-bottom: 0;
}
table.heat th[scope="row"] {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.84rem;
  color: var(--ink);
  border-bottom: 0;
}
table.heat th[scope="row"] a {
  color: var(--ink);
  text-decoration: none;
}
table.heat th[scope="row"] a:hover {
  text-decoration: underline;
}
.h0 {
  background: var(--surface-2);
  color: var(--muted);
}
.h1 {
  background: var(--blue-1);
  color: #0b2c48;
}
.h2 {
  background: var(--blue-2);
  color: #06192a;
}
.h3 {
  background: var(--blue-3);
  color: #fff;
}
.h4 {
  background: var(--blue-4);
  color: #fff;
}
.h5 {
  background: var(--blue-5);
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .h1,
  :root:not([data-theme="light"]) .h2,
  :root:not([data-theme="light"]) .h3 {
    color: #ece7dc;
  }
  :root:not([data-theme="light"]) .h4,
  :root:not([data-theme="light"]) .h5 {
    color: #14161c;
  }
}
:root[data-theme="dark"] .h1,
:root[data-theme="dark"] .h2,
:root[data-theme="dark"] .h3 {
  color: #ece7dc;
}
:root[data-theme="dark"] .h4,
:root[data-theme="dark"] .h5 {
  color: #14161c;
}

.tip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.8rem;
  max-width: 300px;
  line-height: 1.4;
}
.tip b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tip span {
  color: var(--ink-2);
  display: block;
  font-size: 0.74rem;
}

.words {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  align-items: baseline;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  list-style: none;
}
.words a,
.words span.w {
  color: var(--ink);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72;
  text-decoration: none;
}
.words a:hover {
  color: var(--accent-ink);
}
.words small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  margin-left: 4px;
}
.w1 {
  font-size: 0.98rem;
  color: var(--ink-2);
}
.w2 {
  font-size: 1.14rem;
}
.w3 {
  font-size: 1.36rem;
}
.w4 {
  font-size: 1.66rem;
}
.w5 {
  font-size: 2.05rem;
}
.almanac {
  display: grid;
}
.alm-row {
  display: grid;
  grid-template-columns: 5.2em minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.alm-row:first-child {
  border-top: 0;
}
.alm-year {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.alm-year a {
  color: var(--ink-2);
  text-decoration: none;
}
.alm-year a:hover {
  color: var(--accent-ink);
}
.alm-year small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards.c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .cards.c3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .cards.c3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  display: block;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--c, var(--accent));
  border-radius: 8px;
  background: var(--surface);
  padding: 14px 16px 16px;
  color: var(--ink);
  text-decoration: none;
  height: 100%;
}
a.card:hover {
  border-color: var(--axis);
  border-top-color: var(--c, var(--accent));
  box-shadow: var(--shadow);
}
.card .k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.card .t {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 4px 0 6px;
  font-variation-settings: "opsz" 48;
}
.card .t em {
  color: var(--accent-ink);
}
.card .m {
  font-size: 0.84rem;
  color: var(--ink-2);
  margin: 0;
}
.card .m b {
  color: var(--ink);
  font-weight: 600;
}
.minis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini a {
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.mini .t {
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.mini a:hover .t {
  color: var(--accent-ink);
}
.mini .t small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.mini p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.cols {
  columns: 4 200px;
  column-gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}
.cols li {
  break-inside: avoid;
  padding: 3px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--rule);
}
.cols a {
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cols a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
.cols small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  white-space: nowrap;
}
.threads {
  list-style: none;
  padding: 0;
  margin: 0;
}
.threads li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  align-items: baseline;
}
.threads a {
  color: var(--ink);
  text-decoration: none;
}
.threads a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
.threads span {
  color: var(--ink-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
}
.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0 18px;
  margin: 0;
  font-size: 0.88rem;
}
.facts dt {
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
}
.facts dd {
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}
.facts dd a {
  color: var(--ink);
}
.az {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.az a,
.az span {
  display: grid;
  place-items: center;
  min-width: 2.2em;
  height: 2.2em;
  padding: 0 6px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
}
.az a:hover,
.az a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}
.pager a {
  color: var(--ink);
  text-decoration: none;
  display: block;
  min-width: 0;
}
.pager a:hover b {
  color: var(--accent-ink);
}
.pager small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.pager b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}
.pager .next {
  text-align: right;
}
.source {
  margin-top: 40px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.84rem;
  color: var(--ink-2);
}
.source a {
  color: var(--ink);
}
.source b {
  color: var(--ink);
  font-weight: 600;
}

.prose {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.65;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 44px 0 10px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-variation-settings: "opsz" 48;
}
.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 26px 0 6px;
}
.prose p,
.prose ul,
.prose ol,
.prose dl {
  margin: 0 0 14px;
  color: var(--ink-2);
}
.prose strong,
.prose b,
.prose dt {
  color: var(--ink);
  font-weight: 600;
}
.prose dd {
  margin: 0 0 12px;
}
.prose li {
  margin-bottom: 6px;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--surface-2);
  padding: 1px 5px;
  border-radius: 4px;
}
.prose pre {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.5;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  white-space: pre-wrap;
  color: var(--ink-2);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  margin-top: 24px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 84px;
  font-size: 0.86rem;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}
.toc p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc li {
  padding: 3px 0;
}
.toc a {
  color: var(--ink-2);
  text-decoration: none;
}
.toc a:hover {
  color: var(--accent-ink);
}
@media (max-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    position: static;
    order: -1;
  }
}

.results {
  list-style: none;
  margin: 0;
  padding: 0;
}
.results li {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr) auto;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  font-size: 0.92rem;
}
.results .ty {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}
.results a {
  color: var(--ink);
  text-decoration: none;
}
.results a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
.results .mt {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.search-box {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-top: 24px;
}
.search-box input {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 1rem;
}
.search-box button {
  padding: 8px 20px;
}

.foot {
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.6;
  padding-block: 32px 44px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}
@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
}
.foot h2 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  font-weight: 500;
  margin: 0 0 10px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot li {
  padding: 2px 0;
}
.foot a {
  color: var(--ink-2);
  text-decoration: none;
}
.foot a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}
.foot p {
  margin: 0 0 10px;
  max-width: 46ch;
}
.foot .brand {
  margin-bottom: 10px;
}
.foot .fine {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.78rem;
  max-width: none;
}
.err {
  padding: 80px 0 40px;
  max-width: 720px;
}
.err .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 0.9;
  color: var(--accent-ink);
  font-variation-settings: "opsz" 144;
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .tabs a,
  .chip,
  .btn,
  .card {
    transition:
      border-color 0.15s,
      background-color 0.15s,
      color 0.15s,
      box-shadow 0.15s;
  }
}
@media print {
  .top,
  .foot,
  .pager,
  .skip {
    display: none;
  }
  body {
    background: #fff;
  }
}
.se0 {
  stroke: var(--surface-2);
  fill: none;
}
.se1 {
  stroke: var(--ember-1);
  fill: none;
}
.se2 {
  stroke: var(--ember-2);
  fill: none;
}
.se3 {
  stroke: var(--ember-3);
  fill: none;
}
.se4 {
  stroke: var(--ember-4);
  fill: none;
}
.se5 {
  stroke: var(--ember-5);
  fill: none;
}
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  padding: 2px;
}
.seg button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 4px 13px;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--ink-2);
}
.seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
