/* Migrated source layout; modified by Skilly. */

body {
  font-family: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
  background: #f7f5ee;
  color: #1a1a1a;
  margin: 0;
}
.serif {
  font-family: "Source Serif Pro", Georgia, serif;
}
.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.nyt-red {
  color: #a91d1d;
}
.nyt-red-fill {
  fill: #a91d1d;
}
.kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@keyframes draw {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.line {
  stroke-dasharray: 1000;
  animation: draw 1.4s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.line {
  animation:
    draw 1.4s ease-out 0.4s forwards,
    fadeIn 0.1s linear 0.4s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Skilly adaptation, 2026-10-05. See THIRD_PARTY_NOTICES.md for fixed source and changes. */
@font-face {
  font-family: Publication Serif;
  src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Publication Serif;
  src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Publication Sans;
  src: url(fonts/dm-sans-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --serif: "Publication Serif", Georgia, serif;
  --sans: "Publication Sans", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, monospace;
  --paper: #f5efdf;
  --ink: #28231d;
  --accent: #b04736;
  --rule: #cfc6b6;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  max-width: 100%;
}
body {
  font: 18px/1.55 var(--sans);
  color: var(--ink);
  background: #dfd7ca;
  padding: 32px;
}
main {
  max-width: 1440px;
  margin: auto;
}
h1,
h2,
h3,
p,
span,
a,
td,
th {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2 {
  font-family: var(--serif);
  line-height: 1.02;
}
p {
  max-width: 65ch;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  background: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b04736;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
.export-page {
  position: relative;
  background: var(--paper);
  margin: 0 auto 28px;
  padding: 64px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 35px #2c231218;
  min-width: 0;
}
.eyebrow {
  font: 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.page-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font: 12px/1.3 var(--mono);
}
.kicker {
  font: 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.accent {
  color: var(--accent);
}
.deck-controls {
  max-width: 1312px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dots {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.dots button {
  font-size: 12px;
  padding: 5px 9px;
  min-height: 36px;
}
.dots button[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}
.reading-help {
  margin: 20px auto;
  font: 12px/1.5 var(--mono);
  text-align: center;
}
.speaker-notes {
  display: none;
  font: 16px/1.6 var(--sans);
  padding: 20px;
  background: #fff8;
  flex: none;
}
.show-notes .speaker-notes {
  display: block;
}
.export-page[hidden] {
  display: none;
}
html:not(.deck-ready) .speaker-notes {
  display: block;
}
.page-content {
  flex: 1;
  min-width: 0;
}
.deck-page {
  min-height: 780px;
}
.deck-page h1 {
  font-size: clamp(56px, 8vw, 130px);
  max-width: 15ch;
  margin: 55px 0 30px;
}
.deck-page h2 {
  font-size: clamp(46px, 5.5vw, 84px);
  margin: 32px 0;
}
.deck-page p {
  font-size: 24px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.split > * {
  min-width: 0;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card-block {
  padding: 26px;
  background: #fff7;
  border: 1px solid var(--rule);
}
.card-block h3 {
  font-size: 28px;
  margin: 0 0 16px;
}
.card-block p {
  font-size: 18px;
  margin: 0;
}
.swatches {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.swatches i {
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e1a4c2;
}
.swatches i:nth-child(2) {
  background: #d6dd63;
}
.swatches i:nth-child(3) {
  background: #b7c7a8;
}
.swatches i:nth-child(4) {
  background: #c9bedc;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
th,
td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--rule);
}
svg {
  max-width: 100%;
  display: block;
}
svg text {
  font-family: var(--sans);
}
@media (max-width: 700px) {
  body {
    padding: 12px;
  }
  .export-page {
    padding: 28px;
    min-height: 0;
  }
  .split,
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .deck-page p {
    font-size: 19px;
  }
  .deck-page h1 {
    font-size: 60px;
  }
  .deck-page h2 {
    font-size: 44px;
  }
  .page-footer {
    font-size: 10px;
  }
  .deck-controls {
    gap: 6px;
  }
  .deck-controls button {
    padding: 6px 10px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  html,
  body {
    padding: 0 !important;
    margin: 0 !important;
  }
  .deck-controls,
  .reading-help,
  .speaker-notes {
    display: none !important;
  }
  .export-page,
  .export-page[hidden] {
    display: flex !important;
    box-shadow: none;
    break-after: page;
    margin: 0;
    transform: none !important;
  }
  .export-page:last-child {
    break-after: auto;
  }
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

body {
  background: #e6e4dc;
}
.chart-page {
  background: #f7f5ee;
  width: 1200px;
  min-height: 1200px;
  padding: 60px;
}
.chart-page h1 {
  font: 400 76px/1.04 var(--serif);
  max-width: 20ch;
  margin: 36px 0 16px;
}
.chart-deck {
  font-size: 22px;
  margin: 0 0 24px;
  max-width: 70ch;
}
.chart-page svg {
  width: 100%;
  height: auto;
  margin: 20px 0 22px;
}
.chart-page table {
  table-layout: fixed;
  font: 14px/1.45 var(--sans);
}
.chart-page td {
  text-align: right;
  font-family: var(--mono);
}
.chart-page caption {
  text-align: left;
  font: 11px var(--mono);
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.chart-page th {
  font-weight: 400;
}
.source {
  font: 13px/1.5 var(--mono);
  margin: 22px 0;
}
.chart-page .page-footer {
  margin-top: auto;
}
@media (max-width: 700px) {
  .chart-page h1 {
    font-size: 45px;
  }
  .chart-deck {
    font-size: 18px;
  }
  .chart-page table {
    font-size: 11px;
  }
  .chart-page th,
  .chart-page td {
    padding: 10px 3px;
  }
  .source {
    font-size: 11px;
  }
}

.eyebrow {
  position: static;
  font-family: var(--mono);
  font-size: 12px;
}
.export-page {
  isolation: isolate;
}
.deck-page {
  overflow: visible;
}
.page-footer {
  position: static;
}
@media (max-width: 700px) {
  .export-page {
    width: 100%;
    padding: 26px;
    min-height: 0;
    height: auto;
  }
  .eyebrow {
    font-size: 10px;
  }
}

.dots {
  position: static;
  transform: none;
}
.deck-controls {
  position: relative;
  z-index: 10;
}
.deck-page .kicker {
  font: 12px/1.4 var(--mono);
  letter-spacing: 0.15em;
}
.deck-page .data-source {
  font: 13px/1.55 var(--mono);
}
