:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #72706a;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --border: rgba(11, 11, 11, 0.1);
  --wash: rgba(11, 11, 11, 0.04);
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --series-4: #eda100;
  --series-5: #e87ba4;
  --series-6: #008300;
  --series-7: #6250d6;
  --series-8: #e34948;
  --deemph: #c3c2b7;
  --link: #1d5fb0;
  --critical: #d03b3b;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --measure: 70ch;
  --wide: 1240px;
  --gutter: max(20px, calc((100vw - var(--wide)) / 2 + 20px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0d0d0d;
    --surface: #1a1a19;
    --ink: #f0efec;
    --ink-2: #c3c2b7;
    --muted: #98968f;
    --grid: #2c2c2a;
    --axis: #383835;
    --border: rgba(255, 255, 255, 0.1);
    --wash: rgba(255, 255, 255, 0.05);
    --series-1: #3987e5;
    --series-2: #d95926;
    --series-3: #199e70;
    --series-4: #c98500;
    --series-5: #d55181;
    --series-6: #008300;
    --series-7: #9085e9;
    --series-8: #e66767;
    --deemph: #52514e;
    --link: #7fb2f0;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d;
  --surface: #1a1a19;
  --ink: #f0efec;
  --ink-2: #c3c2b7;
  --muted: #98968f;
  --grid: #2c2c2a;
  --axis: #383835;
  --border: rgba(255, 255, 255, 0.1);
  --wash: rgba(255, 255, 255, 0.05);
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #c98500;
  --series-5: #d55181;
  --series-6: #008300;
  --series-7: #9085e9;
  --series-8: #e66767;
  --deemph: #52514e;
  --link: #7fb2f0;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 68px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font: 15px/1.55 var(--font);
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--axis);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 2px solid var(--series-1);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 30;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 7px;
}
.skip:focus {
  top: 8px;
}

header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: stretch;
  gap: 20px;
  height: 52px;
  padding: 0 var(--gutter);
  background: var(--page);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand .mark {
  flex: none;
}
nav.tabs {
  display: flex;
  flex: 0 1 auto;
  gap: 1px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
nav.tabs::-webkit-scrollbar {
  display: none;
}
nav.tabs a {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--ink-2);
  padding: 2px 9px 0;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
nav.tabs a:hover {
  color: var(--ink);
}
nav.tabs a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--series-1);
  font-weight: 600;
}
.site-search {
  margin-left: auto;
  align-self: center;
  flex: 1 1 130px;
  max-width: 230px;
  min-width: 110px;
}
.site-search input {
  width: 100%;
  min-width: 0;
}
#theme {
  align-self: center;
  flex: none;
}
#theme:empty {
  display: none;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 18px 20px 48px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
}
.crumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--axis);
}
.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.page-head {
  margin: 6px 0 22px;
}
.kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kicker a {
  color: inherit;
  text-decoration: none;
}
.kicker a:hover {
  color: var(--ink);
}
h1 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede {
  max-width: var(--measure);
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}
.lede a,
.prose a,
.note a,
.tile-note a,
.foot a,
td a {
  color: var(--ink);
}
.page-head .chips {
  margin-top: 14px;
}
.meta-line {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.meta-line a {
  color: var(--ink-2);
}

.section-title.flush {
  margin-top: 0;
}
.chips + .chips {
  margin-top: 10px;
}
.section-title {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section-title + .grid,
.section-title + .tiles,
.section-title + .card,
.section-title + .prose,
.section-title + .chapter-list,
.section-title + .year-strip,
.section-title + .az,
.section-title + .chips,
.section-title + .link-cards,
.section-title + .events,
.section-title + .records,
.section-title + .table-wrap {
  margin-top: 10px;
}
.section-title a {
  color: inherit;
  text-decoration: none;
}
.section-title a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.section-intro {
  max-width: var(--measure);
  margin: 8px 0 0;
  color: var(--ink-2);
}
.section-intro a {
  color: var(--ink);
}
.section-intro + .grid,
.section-intro + .tiles,
.section-intro + .card,
.section-intro + .year-strip,
.section-intro + .chips,
.section-intro + .link-cards,
.section-intro + .records,
.section-intro + .events {
  margin-top: 12px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 14px;
}
@media (min-width: 900px) {
  .tiles.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  min-width: 0;
}
.tile-label {
  color: var(--ink-2);
  font-size: 13px;
}
.tile-value {
  font-size: 25px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.tile-value.small {
  font-size: 19px;
  line-height: 1.35;
}
.tile-value a {
  color: inherit;
}
.tile-note {
  color: var(--muted);
  font-size: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 16px;
  margin-top: 16px;
}
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
}
.grid.one {
  grid-template-columns: minmax(0, 1fr);
}
.wide {
  grid-column: 1 / -1;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  min-width: 0;
  container-type: inline-size;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
@container (max-width: 360px) {
  .card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
.card-head h2,
.card-head h3,
.card-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.card-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.card-tools:empty {
  display: none;
}
.chart {
  position: relative;
  min-width: 0;
}
.chart[hidden],
.table-wrap[hidden] {
  display: none;
}
.note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.card > .note:last-child {
  margin: 10px 0 0;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 2px;
  gap: 2px;
}
.seg button {
  font: inherit;
  font-size: 12px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--ink-2);
  padding: 3px 10px;
  cursor: pointer;
}
.seg button:hover {
  background: var(--wash);
}
.seg button[aria-pressed="true"] {
  background: var(--page);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--border);
}

.btn {
  display: inline-block;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 10px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  background: var(--wash);
}
.btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.btn[hidden],
select[hidden] {
  display: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

select,
input[type="search"] {
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 8px;
}
input[type="search"] {
  min-width: 220px;
}
input[type="search"]::placeholder {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}
.table-wrap.tall {
  max-height: 420px;
  overflow-y: auto;
}
.table-wrap.tall thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
}
caption {
  caption-side: top;
  text-align: left;
  color: var(--muted);
  font-size: 12.5px;
  padding: 0 0 8px;
}
th,
td {
  text-align: left;
  padding: 6px 12px 6px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th:last-child,
td:last-child {
  padding-right: 0;
}
th {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
td.yr {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink-2);
}
td.dim {
  color: var(--ink-2);
}
td a {
  text-decoration-color: var(--axis);
}
table.rec-table td:nth-child(2),
table.rec-table td:nth-child(3) {
  min-width: 150px;
}

svg.viz {
  display: block;
  overflow: visible;
}
svg.viz text {
  font-family: var(--font);
  font-size: 11px;
  fill: var(--muted);
}
svg.viz text.lbl {
  fill: var(--ink-2);
  font-size: 12px;
}
svg.viz text.val {
  fill: var(--ink-2);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
svg.viz text.axis {
  font-variant-numeric: tabular-nums;
}
svg.viz text.note {
  fill: var(--ink-2);
}
svg.viz .grid line,
svg.viz line.grid {
  stroke: var(--grid);
  stroke-width: 1;
  shape-rendering: crispEdges;
}
svg.viz line.baseline {
  stroke: var(--axis);
  stroke-width: 1;
  shape-rendering: crispEdges;
}
svg.viz rect.band {
  fill: var(--series-1);
  fill-opacity: 0.08;
}
svg.viz .row text,
svg.viz .row .mark {
  pointer-events: none;
}
svg.viz .row.lift .mark {
  opacity: 0.75;
}
svg.viz .row.lift .hit,
svg.viz .hit.lift {
  fill: var(--wash);
}
svg.viz .node.lift text {
  fill: var(--ink);
}
svg.viz .hit {
  outline: none;
}
svg.viz .hit:focus-visible,
svg.viz .node .hit:focus-visible {
  stroke: var(--series-1);
  stroke-width: 1.5;
}
svg.viz .crosshair {
  stroke: var(--muted);
  stroke-width: 1;
  shape-rendering: crispEdges;
  pointer-events: none;
}
svg.viz .dot {
  stroke: var(--surface);
  stroke-width: 2;
}
svg.viz .overlay {
  fill: transparent;
  outline: none;
}
svg.viz .overlay:focus-visible {
  stroke: var(--series-1);
}
svg.viz .mark.selected {
  stroke: var(--ink);
  stroke-width: 1.5;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.legend i.dot {
  border-radius: 50%;
}

.sm-grid {
  display: grid;
  gap: 16px 20px;
}
.sm-cell h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.sm-cell h4 span {
  color: var(--muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.tooltip {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 8px 10px;
  font-size: 12px;
  max-width: 320px;
}
.tooltip[hidden] {
  display: none;
}
.tip-title {
  color: var(--ink-2);
  margin-bottom: 4px;
}
.tip-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tip-row strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.tip-row span.tip-label {
  color: var(--ink-2);
}
.tip-key {
  display: inline-block;
  width: 12px;
  height: 2px;
  border-radius: 1px;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 44px;
  align-items: start;
}
.tiles + .article {
  margin-top: 28px;
}
.article + .section-title {
  margin-top: 40px;
}
@media (min-width: 1040px) {
  .article {
    grid-template-columns: minmax(0, var(--measure)) minmax(260px, 340px);
    justify-content: space-between;
  }
  .article > aside {
    position: sticky;
    top: 70px;
  }
}
.prose {
  max-width: var(--measure);
  font-size: 16.5px;
  line-height: 1.7;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p {
  margin: 0 0 1.05em;
}
.prose h2 {
  margin: 1.9em 0 0.55em;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.prose h3 {
  margin: 1.6em 0 0.4em;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}
.prose ul,
.prose ol {
  margin: 0 0 1.05em;
  padding-left: 1.3em;
}
.prose li {
  margin: 0.3em 0;
}
.prose cite,
.records cite,
.events cite,
td cite,
.lede cite {
  font-style: italic;
}
.prose.compact {
  font-size: 15px;
  line-height: 1.6;
}
.prose code,
.note code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--wash);
  border-radius: 4px;
  padding: 1px 4px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
}
.panel + .panel {
  margin-top: 16px;
}
.panel h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}
.panel h3 {
  margin: 14px 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.panel p {
  margin: 0 0 8px;
  color: var(--ink-2);
}
.panel p:last-child {
  margin-bottom: 0;
}
.panel a {
  color: var(--ink);
}
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  margin: 0;
}
.facts dt {
  color: var(--ink-2);
}
.facts dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc li {
  margin: 5px 0;
}
.toc a {
  color: var(--ink-2);
  text-decoration: none;
}
.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plain-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
}
.plain-list li span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.events {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 860px;
  border-top: 1px solid var(--border);
}
.events li {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
  line-height: 1.6;
}
.events time,
.events .when {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.9;
  font-variant-numeric: tabular-nums;
}
.events p {
  margin: 0;
}
.events a,
.records a,
.chapter-list a,
.link-cards a,
.year-strip a {
  color: var(--ink);
}
@media (max-width: 560px) {
  .events li {
    grid-template-columns: minmax(0, 1fr);
  }
}

.records {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 12px;
}
.records li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 0;
}
.records .rec-title {
  display: block;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.35;
}
.records .rec-by {
  display: block;
  color: var(--ink-2);
  font-size: 13.5px;
}
.records .rec-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}
.records .rec-meta a {
  color: var(--ink-2);
}
.records .rec-note {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}

.chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 14px;
  counter-reset: chapter;
}
.chapter-list li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px 14px;
  counter-increment: chapter;
  min-width: 0;
}
.chapter-list .ch-span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.chapter-list h3 {
  margin: 2px 0 6px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
}
.chapter-list h3 a {
  text-decoration: none;
}
.chapter-list h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
}
.chapter-list li:hover {
  border-color: var(--axis);
}
.chapter-list p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}
.chapter-list .ch-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.link-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 12px;
}
.link-cards li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 0;
}
.link-cards li:hover {
  border-color: var(--axis);
}
.link-cards .lc-title {
  display: block;
  font-size: 15px;
  font-weight: 620;
  text-decoration: none;
}
.link-cards .lc-title::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
}
.link-cards .lc-meta {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.link-cards p {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}

.year-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
}
.year-strip a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px 8px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.year-strip a:hover {
  border-color: var(--axis);
}
.year-strip a[aria-current="page"] {
  border-color: var(--series-1);
  box-shadow: inset 0 0 0 1px var(--series-1);
}
.year-strip strong {
  display: block;
  font-size: 15px;
  font-weight: 620;
}
.year-strip span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.year-strip i {
  display: block;
  height: 3px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--grid);
  overflow: hidden;
}
.year-strip i b {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--series-1);
}

.year-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.year-list li {
  display: grid;
  grid-template-columns: 64px 92px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.year-list .yl-year {
  font-size: 17px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-decoration: none;
}
.year-list .yl-year:hover {
  text-decoration: underline;
}
.year-list .yl-count {
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.year-list .yl-text {
  color: var(--ink-2);
  font-size: 14px;
}
.year-list .yl-text a {
  color: var(--ink);
}
@media (max-width: 620px) {
  .year-list li {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .year-list .yl-text {
    grid-column: 1 / -1;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips[hidden] {
  display: none;
}
.chip,
.chips li > a,
.chips li > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.chips li > a:hover {
  border-color: var(--axis);
  background: var(--wash);
}
.chips li > span {
  color: var(--ink-2);
  background: none;
}
.chip {
  font-size: 12px;
  padding: 2px 6px 2px 8px;
  background: var(--page);
}
.chip i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 2px;
}
.chip .chip-n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-left: 2px;
}
.chip button {
  font: inherit;
  font-size: 12px;
  line-height: 1;
  border: 0;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
  padding: 2px 3px;
  border-radius: 4px;
}
.chip button:hover:not(:disabled) {
  background: var(--wash);
  color: var(--ink);
}
.chip button:disabled {
  opacity: 0.35;
  cursor: default;
}

.az {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.az a,
.az span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 46px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 620;
  text-decoration: none;
  text-transform: uppercase;
}
.az a:hover {
  border-color: var(--axis);
}
.az a[aria-current="page"] {
  border-color: var(--series-1);
  box-shadow: inset 0 0 0 1px var(--series-1);
}
.az small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  font-size: 13px;
}
.pages a,
.pages span {
  min-width: 32px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  text-align: center;
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.pages span[aria-current="page"] {
  border-color: var(--series-1);
  box-shadow: inset 0 0 0 1px var(--series-1);
  font-weight: 600;
}
.pages a:hover {
  background: var(--wash);
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
.pager a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.pager a:hover {
  border-color: var(--axis);
}
.pager span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.pager strong {
  display: block;
  font-weight: 620;
  overflow-wrap: anywhere;
}
.pager-next {
  text-align: right;
}

.term-list {
  margin: 0;
  max-width: 900px;
}
.term-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 4px 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.term-list dt {
  font-weight: 620;
}
.term-list dt a {
  color: var(--ink);
}
.term-list dd {
  margin: 0;
  color: var(--ink-2);
}
@media (max-width: 560px) {
  .term-list > div {
    grid-template-columns: minmax(0, 1fr);
  }
}
.letter-head {
  margin: 28px 0 4px;
  font-size: 20px;
  font-weight: 650;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.filters .typeahead {
  flex: 1 1 240px;
  max-width: 340px;
}
.filters .typeahead input {
  min-width: 0;
}
.typeahead {
  position: relative;
}
.typeahead input {
  width: 100%;
}
.ta-list {
  position: absolute;
  z-index: 15;
  top: calc(100% + 4px);
  left: 0;
  width: max(100%, 340px);
  max-width: calc(100vw - 40px);
  max-height: 380px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.ta-list[hidden] {
  display: none;
}
.ta-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
}
.ta-list li.active,
.ta-list li:hover {
  background: var(--wash);
}
.ta-name {
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ta-meta {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.card-tools .typeahead {
  flex: 0 1 260px;
}
.card-tools .typeahead input {
  min-width: 200px;
}
.stack-editor {
  margin: -4px 0 12px;
}

.card.full-height {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 150px);
  min-height: 480px;
}
.dt-holder {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.dt-holder[hidden] {
  display: none;
}
.dt {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.dt-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.dt table {
  font-size: 13px;
}
.dt thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
  padding: 0;
}
.dt td {
  padding: 5px 12px 5px 0;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dt-sort {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 6px 12px 6px 0;
  cursor: pointer;
  width: 100%;
  text-align: inherit;
  white-space: nowrap;
}
.dt-sort:hover {
  color: var(--ink);
}
.dt th[aria-sort="ascending"] .dt-sort::after {
  content: " (asc)";
  font-size: 10px;
}
.dt th[aria-sort="descending"] .dt-sort::after {
  content: " (desc)";
  font-size: 10px;
}
.dt-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.dt-info {
  color: var(--ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  margin-right: auto;
}

.loading {
  max-width: 420px;
  margin: 48px auto;
  text-align: center;
  color: var(--muted);
}
.loading-text {
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.loading-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--grid);
  overflow: hidden;
}
.loading-fill {
  position: relative;
  height: 100%;
  width: 0;
  background: var(--series-1);
  border-radius: 4px;
  transition: width 0.15s linear;
}
.loading-fill.busy {
  width: 100%;
  background: none;
  transition: none;
}
.loading-fill.busy::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35%;
  border-radius: 4px;
  background: var(--series-1);
  animation: loading-sweep 1.1s ease-in-out infinite alternate;
}
@keyframes loading-sweep {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(186%);
  }
}
.error,
.noscript {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  max-width: var(--measure);
}
.error p,
.noscript p {
  margin: 0 0 8px;
}
.error p:last-child,
.noscript p:last-child {
  margin: 0;
}

.notfound {
  max-width: 640px;
  margin: 8vh auto 0;
  text-align: center;
}
.notfound .code {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.notfound .lede {
  margin-left: auto;
  margin-right: auto;
}
.notfound .chips {
  justify-content: center;
  margin-top: 22px;
}

.foot {
  border-top: 1px solid var(--border);
  padding: 30px var(--gutter) 26px;
  color: var(--ink-2);
  font-size: 13.5px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 26px 30px;
}
.foot-brand {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}
.foot p {
  margin: 0 0 8px;
  max-width: 52ch;
}
.foot h2 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot li {
  margin: 5px 0;
}
.foot a {
  color: var(--ink-2);
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot .foot-note {
  max-width: none;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

@media (max-width: 1240px) {
  header.top {
    height: auto;
    flex-wrap: wrap;
    gap: 0 16px;
  }
  .brand {
    height: 48px;
  }
  .site-search {
    flex: 0 1 230px;
  }
  nav.tabs {
    order: 5;
    flex: none;
    height: 42px;
    margin: 0 -9px;
    width: calc(100% + 18px);
  }
  html {
    scroll-padding-top: 104px;
  }
  .article > aside {
    top: 106px;
  }
}
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  :root {
    --gutter: 16px;
  }
  main {
    padding: 14px 16px 40px;
  }
  .site-search {
    flex: 1 1 120px;
    min-width: 0;
  }
  input[type="search"] {
    min-width: 0;
  }
  .pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .pager-next {
    text-align: left;
  }
  .pager-gap {
    display: none;
  }
  .prose {
    font-size: 16px;
  }
  .lede {
    font-size: 16px;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tile-value {
    font-size: 21px;
  }
  .card {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-fill.busy::after {
    animation: none;
    width: 100%;
    opacity: 0.5;
  }
  .loading-fill {
    transition: none;
  }
}

@media print {
  header.top,
  .foot,
  .card-tools,
  .pager,
  .site-search,
  .skip {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  main {
    max-width: none;
    padding: 0;
  }
  .card,
  .tile,
  .panel {
    break-inside: avoid;
  }
}
