:root {
  color-scheme: light;
  --page: #ffffff;
  --surface: #ffffff;
  --surface-raised: #f2f5f7;
  --surface-strong: #e7edf1;
  --ink: #101820;
  --muted: #56626d;
  --line: #8d9aa5;
  --line-strong: #24394a;
  --control-border: #6f7d87;
  --control-border-on-dark: #718793;
  --navy: #0b2233;
  --navy-deep: #061722;
  --accent-text: #7a4700;
  --accent-text-hover: #603600;
  --accent-fill: #d7a45c;
  --accent-fill-hover: #e3b470;
  --accent-on-dark: #e3b470;
  --accent-soft: #f3e6d2;
  --button-ink: #101820;
  --danger: #9c2f2f;
  --focus: #0b67c2;
  --focus-on-dark: #f4bf62;
  --reading: 80ch;
  --gutter: clamp(18px, 4vw, 58px);
  --section-space: clamp(54px, 8vw, 108px);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* Evidence-reference surfaces added in the September 2026 publication. */
.anchor-target {
  display: block;
  position: relative;
  top: -84px;
  visibility: hidden;
}

.receipts-controls,
.receipt-actions,
.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.receipts-grid,
.crosswalk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
  margin-top: 1.25rem;
}

.receipt-card,
.crosswalk-card,
.record-page-main article {
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent-fill);
  border-radius: 10px;
  background: var(--surface-raised);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  overflow-wrap: anywhere;
}

.receipt-meta,
.receipt-citation,
.crosswalk-limitation {
  color: var(--muted);
}

.receipt-citation {
  border-left: 3px solid var(--accent-fill);
  padding-left: 0.8rem;
  user-select: text;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding: 0.2rem;
}

.evidence-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  counter-reset: evidence-stage;
  padding: 0;
}

.evidence-chain > li {
  counter-increment: evidence-stage;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.85rem;
}

.evidence-chain > li h4::before {
  content: counter(evidence-stage) ". ";
  color: var(--accent-text);
}

.record-page-main {
  width: min(100% - 2 * var(--gutter), 980px);
  margin: clamp(2rem, 6vw, 5rem) auto;
}

.record-page-main article > h1 {
  max-width: 24ch;
}

.record-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.record-facts > div {
  background: var(--surface);
  padding: 0.8rem;
}

.record-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.record-facts dd {
  margin: 0.2rem 0 0;
}

.topic-list,
.release-change-list,
.download-list {
  padding-left: 1.25rem;
}

.download-list li {
  min-width: min(100%, 15rem);
}

:root[data-theme="dark"] .receipt-card,
:root[data-theme="dark"] .crosswalk-card,
:root[data-theme="dark"] .record-page-main article {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

@media (max-width: 860px) {
  .receipts-grid,
  .crosswalk-grid,
  .evidence-chain,
  .record-facts {
    grid-template-columns: 1fr;
  }

  .receipts-controls .filter-button {
    flex: 1 1 13rem;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #06131d;
  --surface: #081a27;
  --surface-raised: #0d2231;
  --surface-strong: #142b3a;
  --ink: #f2f0ea;
  --muted: #b2bbc1;
  --line: #43535f;
  --line-strong: #73818a;
  --control-border: #718793;
  --control-border-on-dark: #718793;
  --navy: #0a1d2a;
  --navy-deep: #04101a;
  --accent-text: #d7a45c;
  --accent-text-hover: #e3b470;
  --accent-fill: #d7a45c;
  --accent-fill-hover: #e3b470;
  --accent-on-dark: #e3b470;
  --accent-soft: #2a241a;
  --button-ink: #101820;
  --danger: #e07c78;
  --focus: #f4bf62;
  --focus-on-dark: #f4bf62;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-text);
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-text-hover);
  text-decoration-thickness: 2px;
}

button,
input,
select {
  font: 600 0.82rem/1.2 var(--sans);
}

button,
summary,
select,
input[type="checkbox"],
input[type="range"] {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

:where(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.utility-bar :focus-visible {
  outline-color: var(--focus-on-dark);
}

:where(.record-row, .gallery-card, .highlight-card):target {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

#skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 13px;
  transform: translateY(-160%);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

#skip-link:focus {
  transform: none;
}

.utility-bar {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid #344957;
  background: var(--navy-deep);
  color: #f4f1e9;
}

.utility-inner {
  display: flex;
  max-width: 1440px;
  min-height: 42px;
  margin: 0 auto;
  padding: 6px var(--gutter);
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.wordmark {
  margin-right: auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.wordmark span,
.page-view-counter strong {
  color: var(--accent-on-dark);
}

.language-switcher {
  display: flex;
  padding: 2px;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2px;
  border: 1px solid #435865;
  border-radius: 3px;
}

.language-switcher a {
  display: inline-flex;
  min-height: 30px;
  padding: 5px 8px;
  align-items: center;
  border-radius: 2px;
  color: #d3dade;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal;
}

.language-switcher a:hover {
  background: rgb(255 255 255 / 0.06);
  color: var(--accent-on-dark);
}

.language-switcher a[aria-current="page"] {
  background: var(--accent-on-dark);
  color: var(--navy-deep);
}

.language-switcher a:focus-visible {
  outline-color: var(--focus-on-dark);
}

.utility-button,
.filter-button,
.close-button,
.primary-button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--control-border);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.utility-button:hover,
.filter-button:hover,
.close-button:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.utility-bar .utility-button {
  border-color: var(--control-border-on-dark);
  background: transparent;
  color: #f4f1e9;
}

.utility-bar .utility-button:hover {
  border-color: var(--accent-on-dark);
  color: var(--accent-on-dark);
}

.page-view-counter {
  padding-left: 10px;
  border-left: 1px solid #435865;
  color: #d3dade;
  font: 500 0.74rem/1.3 var(--sans);
  overflow-wrap: anywhere;
  white-space: normal;
}

.page-view-counter[data-state="unavailable"],
.page-view-counter[data-state="unavailable"] strong {
  color: #9eabb3;
}

.hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}

.hero-image-link {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  aspect-ratio: 15 / 7;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #02080f;
  color: #ffffff;
  text-decoration: none;
}

.hero-image-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.hero-image-link:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

.masthead-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-link::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 8, 15, 0.08) 0%, rgba(2, 8, 15, 0.36) 40%, rgba(2, 8, 15, 0.98) 68%, rgba(2, 8, 15, 0.98) 100%);
  content: "";
  pointer-events: none;
}

.masthead-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(13rem, 38vw, 20rem) clamp(18px, 3vw, 44px) clamp(18px, 3vw, 42px);
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.92);
}

.masthead-eyebrow,
.masthead-evidence {
  margin: 0;
  color: #f2c57c;
  font: 750 clamp(0.72rem, 1vw, 0.92rem)/1.25 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.masthead-title {
  max-width: 20ch;
  margin: 0.2em 0 0;
  color: #ffffff;
  font: 800 clamp(2.25rem, 5.3vw, 5.35rem)/0.95 var(--serif);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.masthead-subtitle {
  max-width: 72ch;
  margin: clamp(10px, 1.3vw, 18px) 0 0;
  color: #f4f6f7;
  font: 560 clamp(0.9rem, 1.35vw, 1.16rem)/1.5 var(--sans);
  text-wrap: pretty;
}

.masthead-evidence {
  display: inline-block;
  margin-top: clamp(10px, 1.4vw, 18px);
  padding: 0.38em 0.62em;
  border: 1px solid rgba(242, 197, 124, 0.72);
  background: rgba(2, 8, 15, 0.82);
}

.masthead-stats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  min-width: 0;
  margin: clamp(16px, 2vw, 26px) 0 0;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.28);
  text-shadow: none;
}

.masthead-stat {
  min-width: 0;
  padding: clamp(9px, 1.2vw, 15px);
  background: rgba(2, 8, 15, 0.9);
}

.masthead-stat dt {
  color: #dce3e8;
  font: 650 clamp(0.66rem, 0.78vw, 0.78rem)/1.25 var(--sans);
  letter-spacing: 0.055em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.masthead-stat dd {
  min-width: 0;
  margin: 0.28rem 0 0;
  color: #ffffff;
  font: 780 clamp(1.05rem, 1.8vw, 1.75rem)/1.08 var(--serif);
  overflow-wrap: anywhere;
}

.masthead-stat data,
.masthead-stat time {
  color: inherit;
  font: inherit;
}

@media (min-width: 1101px) {
  .masthead-copy {
    padding: clamp(13rem, 17vw, 15rem) clamp(18px, 3vw, 44px) 20px;
  }

  .masthead-title {
    max-width: none;
    margin-top: 0.12em;
    font: 800 clamp(2rem, 3vw, 2.8rem)/0.95 var(--serif);
  }

  .masthead-subtitle {
    margin-top: 8px;
    font-size: clamp(0.82rem, 1.05vw, 0.96rem);
    line-height: 1.35;
  }

  .masthead-evidence {
    margin-top: 8px;
  }

  .masthead-stats {
    margin-top: 10px;
  }

  .masthead-stat {
    padding: 8px;
  }

  .masthead-stat dt {
    font-size: clamp(0.61rem, 0.69vw, 0.7rem);
    line-height: 1.2;
  }

  .masthead-stat dd {
    margin-top: 0.2rem;
    font-size: clamp(1rem, 1.4vw, 1.35rem);
  }
}

@media (max-width: 1100px) {
  .hero-image-link {
    aspect-ratio: auto;
    min-height: 42rem;
  }

  .masthead-copy {
    padding-top: clamp(13rem, 38vw, 20rem);
  }

  .masthead-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-image-link {
    min-height: 44rem;
  }

  .masthead-copy {
    padding: clamp(12rem, 60vw, 15rem) 14px 16px;
  }

  .masthead-title {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .masthead-subtitle {
    font-size: 0.88rem;
  }

  .masthead-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .masthead-stat dd {
    font-size: clamp(1rem, 5.5vw, 1.35rem);
  }
}

html.social-preview-mode,
html.social-preview-mode body {
  width: 1200px;
  height: 630px;
  overflow: hidden;
  background: #02080f;
  color-scheme: light;
}

html.social-preview-mode body > :not(.hero) {
  display: none !important;
}

html.social-preview-mode .hero[data-social-preview-container] {
  width: 1200px;
  height: 630px;
  max-width: none;
  margin: 0;
  padding: 0;
}

html.social-preview-mode .hero-image-link {
  width: 1200px;
  height: 630px;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  pointer-events: none;
}

html.social-preview-mode .masthead-copy {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 220px 34px 22px;
}

html.social-preview-mode .masthead-eyebrow {
  font-size: 11px;
}

html.social-preview-mode .masthead-title {
  max-width: 1150px;
  margin-top: 4px;
  font-size: 40px;
  line-height: 0.98;
}

html.social-preview-mode .masthead-subtitle {
  max-width: 1120px;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.32;
}

html.social-preview-mode .masthead-evidence {
  margin-top: 7px;
  padding: 5px 7px;
  font-size: 11px;
}

html.social-preview-mode .masthead-stats {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 10px;
}

html.social-preview-mode .masthead-stat {
  padding: 7px;
}

html.social-preview-mode .masthead-stat dt {
  font-size: 9.5px;
  line-height: 1.2;
}

html.social-preview-mode .masthead-stat dd {
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.08;
}

.legal-notice,
.search-panel {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.legal-notice {
  margin-top: 20px;
  padding-top: 13px;
  padding-bottom: 13px;
  border-left: 4px solid var(--danger);
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-notice strong {
  color: var(--ink);
}

.search-panel {
  margin-top: 16px;
}

.search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.search-shell > label:first-child {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.search-field {
  display: flex;
  gap: 8px;
}

.search-field input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--control-border);
  border-radius: 2px;
  background: var(--page);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}

.search-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.background-search-toggle {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.background-search-toggle input,
.timeline-record-types input {
  inline-size: 1rem;
  block-size: 1rem;
  accent-color: var(--accent-text);
}

.search-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

#search-results {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 4px 0 0;
  padding: 12px 12px 12px 2rem;
  border-top: 1px solid var(--line);
}

#search-results li {
  margin-block: 0.5rem;
}

main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) 92px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
}

h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  margin: 0;
  font-size: 0.96rem;
}

p,
li {
  max-width: var(--reading);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--accent-text);
  font: 700 0.72rem/1.35 var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.archive-band {
  margin-top: var(--section-space);
  padding-top: clamp(26px, 3vw, 42px);
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 82px;
}

.table-of-contents {
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  scroll-margin-top: 82px;
}

.table-of-contents h2 {
  margin: 0;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--accent-text);
  font-size: 1.4rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-list li {
  max-width: none;
  border-bottom: 1px solid var(--line);
}

.toc-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.toc-list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.toc-list a {
  position: relative;
  display: block;
  min-height: 46px;
  padding: 12px 42px 12px 18px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.toc-list a::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--accent-text);
  content: "→";
  transform: translateY(-50%);
}

.toc-list a:hover {
  background: var(--surface-raised);
  color: var(--accent-text-hover);
}

.toc-level-2 a {
  padding-left: 34px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.highlights-section > p:not(.section-kicker),
.gallery-section > p,
.ledger-section > p,
.timeline-launch p,
.method-section > p {
  color: var(--muted);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.highlight-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  scroll-margin-top: 82px;
}

.highlight-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 1px solid var(--line);
}

.highlight-header time {
  grid-column: 1 / -1;
  padding: 13px 15px 0;
  color: var(--muted);
  font: 600 0.72rem/1.2 var(--mono);
  letter-spacing: 0.02em;
}

.highlight-header h3 {
  margin: 0;
  padding: 9px 15px 14px;
  align-self: center;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
}

.impact-score {
  display: grid;
  min-width: 118px;
  max-width: none;
  margin: 0;
  padding: 9px 15px 12px;
  align-content: center;
  border-left: 1px solid var(--line);
  color: var(--accent-text);
  font: 700 1rem/1.25 var(--mono);
  text-align: right;
}

.impact-score strong {
  color: var(--muted);
  font: 700 0.66rem/1.2 var(--sans);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.highlight-dimensions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.highlight-dimension {
  min-width: 0;
  padding: 9px 8px;
  border-right: 1px solid var(--line);
}

.highlight-dimension:last-child {
  border-right: 0;
}

.highlight-dimension dt {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.25;
}

.highlight-dimension dd {
  margin: 5px 0 0;
  color: var(--ink);
  font: 700 0.75rem/1.2 var(--mono);
}

.evidence-grade,
.highlight-summary,
.evidence-basis,
.qualification {
  max-width: none;
  margin: 0;
  padding: 10px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

.evidence-grade,
.evidence-basis {
  color: var(--muted);
}

.qualification {
  border-left: 3px solid var(--accent-text);
  background: var(--accent-soft);
}

.highlight-posture h4 {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.highlight-members {
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-member {
  max-width: none;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
}

.highlight-member:last-child {
  border-bottom: 0;
}

.highlight-member p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.highlight-member-sources summary {
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 700;
}

.source-list {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.source-list li {
  margin: 0.35rem 0;
  font-size: 0.76rem;
  line-height: 1.42;
}

.citation-date,
.event-date {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.event-date {
  color: var(--accent-text);
}

.source-type {
  color: var(--muted);
}

.epstein-section > p:not(.section-kicker) {
  color: var(--muted);
}

.epstein-scope-note {
  max-width: 100ch;
  margin-block: 18px 26px;
  padding: 12px 15px;
  border-left: 3px solid var(--accent-text);
  background: var(--accent-soft);
  color: var(--ink);
}

.epstein-subsection + .epstein-subsection {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.epstein-subsection h3 {
  display: flex;
  margin: 0 0 14px;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
}

.epstein-count {
  flex: 0 0 auto;
  color: var(--accent-text);
  font: 700 0.7rem/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.epstein-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.epstein-record-item {
  min-width: 0;
  padding: 14px 15px 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  scroll-margin-top: 82px;
}

.epstein-record-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.epstein-record-header time {
  color: var(--muted);
  font: 700 0.72rem/1.3 var(--mono);
  font-variant-numeric: tabular-nums;
}

.epstein-posture {
  max-width: 62%;
  padding: 3px 6px;
  border: 1px solid var(--control-border);
  border-radius: 2px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
}

.epstein-record-header > * {
  min-width: 0;
}

.utility-button,
.filter-button,
.epstein-posture,
.record-table th,
.record-table td {
  overflow-wrap: anywhere;
  white-space: normal;
}

.epstein-record-item h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.epstein-summary {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.gallery-controls,
.historical-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0;
  padding-block: 12px;
  border-block: 1px solid var(--line);
}

.filter-button {
  border-radius: 2px;
  background: var(--surface-raised);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--control-border);
  background: var(--accent-soft);
  color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-card {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  scroll-margin-top: 82px;
}

.gallery-image-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--navy-deep);
}

.gallery-image-button img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 140ms ease;
}

.gallery-image-button:hover img {
  opacity: 0.84;
}

.gallery-card figcaption {
  display: flex;
  height: 100%;
  padding: 13px;
  flex-direction: column;
}

.gallery-card time {
  color: var(--muted);
  font: 600 0.7rem/1.2 var(--mono);
}

.status-badge {
  display: block;
  margin: 8px 0 5px;
  padding-left: 8px;
  border-left: 2px solid var(--accent-text);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.gallery-card h3 {
  margin: 4px 0;
}

.gallery-description {
  display: -webkit-box;
  margin: 5px 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.gallery-links {
  display: flex;
  margin: auto 0 0;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.76rem;
}

.method-note {
  max-width: 100ch;
  padding-left: 14px;
  border-left: 3px solid var(--accent-text);
  color: var(--muted);
}

.table-scroll {
  position: relative;
  width: 100%;
  margin-top: 24px;
  max-height: min(72dvh, 900px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--accent-text) var(--surface-strong);
  scrollbar-width: thin;
}

.record-table {
  width: 100%;
  min-width: 1120px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.historical-table {
  min-width: 1220px;
}

.record-table caption {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  text-align: left;
}

.record-table thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 2px solid var(--line-strong);
  background: var(--navy);
  color: #f3f1eb;
}

.record-table th,
.record-table td {
  padding: 10px 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.record-table th:last-child,
.record-table td:last-child {
  border-right: 0;
}

.record-table tbody tr:last-child td {
  border-bottom: 0;
}

.record-table th {
  font-size: 0.7rem;
  line-height: 1.35;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.record-table td {
  background: var(--surface);
  font-size: 0.8rem;
  line-height: 1.48;
}

.record-table tbody tr:nth-child(even) td {
  background: var(--surface-raised);
}

.record-table tbody tr:hover td {
  background: var(--accent-soft);
}

.record-table th:nth-child(1),
.record-table td:nth-child(1) {
  width: 12%;
}

.record-table th:nth-child(2),
.record-table td:nth-child(2) {
  width: 14%;
}

.record-table th:nth-child(3),
.record-table td:nth-child(3) {
  width: 17%;
}

.record-table th:nth-child(4),
.record-table td:nth-child(4) {
  width: 36%;
}

.record-table th:nth-child(5),
.record-table td:nth-child(5) {
  width: 21%;
}

.record-table td > p {
  margin: 5px 0 0;
  color: var(--muted);
}

.record-row {
  scroll-margin-top: 82px;
}

.timeline-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--accent-text);
  border-radius: 3px;
  background: var(--surface-raised);
}

.timeline-launch h2 {
  margin-bottom: 10px;
}

.timeline-launch p:last-child {
  margin-bottom: 0;
}

.primary-button {
  min-height: 42px;
  border-color: var(--control-border);
  background: var(--accent-fill);
  color: var(--button-ink);
}

.primary-button:hover {
  border-color: var(--control-border);
  background: var(--accent-fill-hover);
  color: var(--button-ink);
}

.historical-disclosure {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
}

.historical-disclosure > summary {
  position: relative;
  padding: 19px 50px 19px 20px;
  color: var(--ink);
  font: 600 clamp(1.05rem, 2vw, 1.35rem)/1.35 var(--serif);
  list-style: none;
}

.historical-disclosure > summary::-webkit-details-marker {
  display: none;
}

.historical-disclosure > summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--accent-text);
  content: "+";
  font: 500 1.5rem/1 var(--sans);
  transform: translateY(-50%);
}

.historical-disclosure[open] > summary {
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface-raised);
}

.historical-disclosure[open] > summary::after {
  content: "−";
}

.historical-content {
  padding: clamp(20px, 3vw, 34px);
}

.historical-filter-controls {
  margin-bottom: 10px;
}

#historical-filter-count {
  color: var(--muted);
  font-size: 0.76rem;
}

.historical-category-index {
  margin: 24px 0;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.historical-category-index h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.historical-category-index ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.historical-category-index li {
  max-width: none;
  color: var(--muted);
  font-size: 0.78rem;
}

.historical-category-anchor {
  scroll-margin-top: 82px;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0 44px;
}

.method-section .section-kicker,
.method-section h2,
.method-section > p:first-of-type {
  grid-column: 1 / -1;
}

.method-section > p:first-of-type {
  max-width: 100ch;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.method-section h3 {
  margin-top: 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.method-section h3:first-of-type,
.method-section h3:first-of-type + p {
  grid-column: 1;
}

.method-section h3:last-of-type,
.method-section h3:last-of-type + p {
  grid-column: 2;
}

.method-section h3:last-of-type {
  grid-row: 4;
}

.method-section h3:last-of-type + p {
  grid-row: 5;
}

.footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px var(--gutter) 34px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.76rem;
}

dialog {
  width: min(1100px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.36);
}

dialog::backdrop {
  background: rgb(2 10 16 / 0.84);
}

.dialog-header {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  padding: 10px 12px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
}

.dialog-header h2 {
  margin: 0 auto 0 0;
  font-size: 1.2rem;
}

.close-button {
  min-width: 36px;
  padding-inline: 9px;
  font-size: 1.1rem;
}

.dialog-body {
  padding: 18px;
}

.gallery-dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  gap: 20px;
  align-items: start;
}

.gallery-dialog-grid img {
  width: 100%;
  max-height: 72vh;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--navy-deep);
  object-fit: contain;
}

.timeline-dialog {
  width: min(1400px, calc(100vw - 18px));
  height: min(92vh, 900px);
}

.timeline-dialog:fullscreen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  border-radius: 0;
}

.timeline-dialog.is-fullscreen-fallback {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

.timeline-dialog .dialog-body {
  display: grid;
  grid-template-rows: auto minmax(230px, 1fr) auto auto;
  height: calc(100% - 56px);
  overflow: auto;
  gap: 12px;
}

.timeline-tools {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-record-types {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 7px 9px;
  flex-wrap: wrap;
  gap: 8px 14px;
  border: 1px solid var(--control-border);
}

.timeline-record-types legend {
  padding-inline: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.timeline-record-types label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
}

.timeline-tools > label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.timeline-tools select {
  min-width: 142px;
  max-width: 230px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--control-border);
  border-radius: 2px;
  background: var(--page);
  color: var(--ink);
}

.timeline-zoom-tools {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 7px;
}

.timeline-zoom-tools label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.timeline-zoom-tools input {
  width: min(190px, 28vw);
  accent-color: var(--accent-text);
}

#timeline-count {
  width: 100%;
  color: var(--muted);
  font-size: 0.74rem;
}

#timeline-canvas {
  min-height: 230px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface-raised);
  cursor: grab;
  touch-action: pan-x;
}

#timeline-canvas:active {
  cursor: grabbing;
}

.timeline-axis {
  stroke: var(--line-strong);
  stroke-width: 3;
}

.timeline-marker {
  cursor: pointer;
}

.timeline-marker line {
  stroke: var(--accent-text);
  stroke-width: 2;
}

.timeline-marker circle {
  fill: var(--surface);
  stroke: var(--accent-text);
  stroke-width: 3;
}

.timeline-marker text {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
}

.timeline-marker .cluster-count {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}

.timeline-marker.is-selected circle {
  fill: var(--accent-text);
  stroke: var(--focus);
  stroke-width: 5;
}

.timeline-detail {
  display: grid;
  grid-template-columns: minmax(130px, auto) minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  align-items: start;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
}

.timeline-detail p {
  margin: 2px 0 0;
  color: var(--muted);
}

.timeline-detail time {
  color: var(--accent-text);
  font: 700 0.82rem/1.4 var(--mono);
}

.timeline-cluster-panel {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

#timeline-cluster-list {
  display: grid;
  margin-top: 8px;
  gap: 6px;
}

.timeline-member {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--control-border);
  border-radius: 2px;
  background: var(--page);
  color: var(--ink);
  text-align: left;
}

.timeline-member[aria-pressed="true"] {
  border-color: var(--control-border);
  background: var(--accent-soft);
  font-weight: 750;
}

#timeline-list {
  max-width: none;
  padding-right: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 1000px) {
  .highlight-dimensions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-dimension {
    border-bottom: 1px solid var(--line);
  }

  .highlight-dimension:nth-child(even) {
    border-right: 0;
  }

  .highlight-dimension:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
}

@media (max-width: 800px) {
  .utility-inner {
    flex-wrap: wrap;
  }

  .wordmark {
    min-width: calc(100% - 210px);
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .epstein-record-grid {
    grid-template-columns: 1fr;
  }

  .epstein-subsection h3 {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .highlight-dimensions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .highlight-dimension,
  .highlight-dimension:nth-child(even) {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .highlight-dimension:last-child {
    grid-column: auto;
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc-list {
    grid-template-columns: 1fr;
  }

  .toc-list li,
  .toc-list li:nth-child(odd),
  .toc-list li:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .toc-list li:last-child {
    border-bottom: 0;
  }

  .timeline-launch {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .timeline-launch .primary-button {
    justify-self: start;
  }

  .gallery-dialog-grid,
  .method-section {
    grid-template-columns: 1fr;
  }

  .method-section > *,
  .method-section h3:first-of-type,
  .method-section h3:first-of-type + p,
  .method-section h3:last-of-type,
  .method-section h3:last-of-type + p {
    grid-column: 1;
    grid-row: auto;
  }

  .method-section h3:last-of-type {
    margin-top: 16px;
  }

  .historical-category-index ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-zoom-tools {
    width: 100%;
    margin-left: 0;
  }

  .timeline-zoom-tools input {
    flex: 1;
    width: auto;
    min-width: 100px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 11px;
    --section-space: 48px;
  }

  body {
    font-size: 15px;
  }

  .utility-inner {
    padding-block: 7px;
  }

  .wordmark {
    min-width: 100%;
  }

  .page-view-counter {
    width: 100%;
    padding: 6px 0 0;
    border-top: 1px solid #435865;
    border-left: 0;
  }

  .hero {
    padding-top: 11px;
  }

  .legal-notice {
    margin-inline: var(--gutter);
    padding-inline: 12px;
  }

  .search-shell,
  .search-field {
    grid-template-columns: 1fr;
  }

  .search-field {
    display: grid;
  }

  .search-field .utility-button {
    justify-self: start;
  }

  h2 {
    font-size: clamp(1.72rem, 9vw, 2.25rem);
  }

  .table-of-contents h2 {
    font-size: 1.18rem;
  }

  .highlight-header {
    grid-template-columns: 1fr;
  }

  .impact-score {
    min-width: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .highlight-dimensions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-dimension,
  .highlight-dimension:nth-child(even) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .highlight-dimension:nth-child(even) {
    border-right: 0;
  }

  .highlight-dimension:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .gallery-grid,
  .historical-category-index ul {
    grid-template-columns: 1fr;
  }

  .table-scroll::before {
    position: sticky;
    z-index: 3;
    left: 0;
    display: block;
    width: fit-content;
    padding: 7px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--accent-soft);
    color: var(--ink);
    content: attr(data-scroll-hint);
    font: 700 0.68rem/1.2 var(--sans);
  }

  .record-table caption {
    border-top: 0;
  }

  .historical-content {
    padding-inline: 11px;
  }

  .timeline-dialog {
    width: calc(100vw - 6px);
    height: calc(100vh - 6px);
    max-height: calc(100vh - 6px);
  }

  .timeline-dialog .dialog-body {
    padding: 10px;
  }

  .timeline-record-types,
  .timeline-tools > label,
  .timeline-tools select {
    width: 100%;
    max-width: none;
  }

  .timeline-detail {
    grid-template-columns: 1fr;
  }

  .dialog-header {
    flex-wrap: wrap;
  }

  .dialog-header h2 {
    width: calc(100% - 48px);
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .timeline-dialog,
  .timeline-dialog:fullscreen {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
  }

  .timeline-dialog .dialog-body {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    grid-template-rows: auto minmax(190px, 1fr) auto;
    padding: 10px;
  }

  .timeline-tools {
    grid-column: 1 / -1;
  }

  #timeline-canvas {
    grid-column: 1;
    grid-row: 2;
    min-height: 190px;
  }

  .timeline-detail {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .timeline-dialog .dialog-body > details {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root,
  :root[data-theme="dark"] {
    color-scheme: light;
    --page: #ffffff;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --surface-strong: #ffffff;
    --ink: #000000;
    --muted: #252525;
    --line: #777777;
    --line-strong: #000000;
    --control-border: #000000;
    --control-border-on-dark: #000000;
    --accent-text: #000000;
    --accent-text-hover: #000000;
    --accent-fill: #ffffff;
    --accent-fill-hover: #ffffff;
    --accent-on-dark: #000000;
    --accent-soft: #ffffff;
    --button-ink: #000000;
    --focus: #000000;
    --focus-on-dark: #000000;
  }

  @page {
    margin: 10mm;
  }

  body {
    overflow: visible;
    background: #ffffff;
    color: #000000;
    font-size: 9pt;
  }

  .utility-bar,
  .language-switcher,
  #theme-toggle,
  #print-page,
  .search-panel,
  .gallery-controls,
  .historical-filter-controls,
  dialog,
  .timeline-launch .primary-button,
  .gallery-image-button,
  #skip-link {
    display: none !important;
  }

  .receipts-controls,
  .receipt-actions .text-button {
    display: none !important;
  }

  .receipts-grid,
  .crosswalk-grid,
  .evidence-chain {
    display: block;
  }

  .hero,
  .legal-notice,
  main,
  .footer {
    max-width: none;
    padding-inline: 0;
  }

  .hero {
    padding-top: 0;
  }

  .archive-band,
  .table-of-contents,
  .timeline-launch,
  .historical-disclosure {
    margin-top: 12mm;
    padding-top: 4mm;
    border-color: #000000;
    background: #ffffff;
    box-shadow: none;
  }

  .historical-disclosure {
    display: block !important;
  }

  .historical-disclosure > summary {
    display: block;
    border-bottom: 1px solid #000000;
  }

  .historical-disclosure > summary::after {
    display: none;
  }

  .historical-disclosure:not([open]) > :not(summary),
  .historical-content {
    display: block !important;
  }

  .highlight-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .epstein-record-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card,
  .gallery-card,
  .epstein-record-item,
  .receipt-card,
  .crosswalk-card,
  .record-table tr {
    break-inside: avoid;
    box-shadow: none;
  }

  .gallery-card figcaption {
    border-top: 1px solid #777777;
  }

  .gallery-description {
    display: block;
    overflow: visible;
  }

  .table-scroll {
    max-height: none;
    overflow: visible;
    border-color: #000000;
  }

  .record-table,
  .historical-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .record-table thead th {
    position: static;
    background: #ffffff;
    color: #000000;
  }

  .record-table thead {
    display: table-header-group;
  }

  .record-table th,
  .record-table td {
    padding: 4px;
    color: #000000;
    font-size: 6.8pt;
    line-height: 1.25;
  }

  .record-table tbody tr:nth-child(even) td,
  .record-table tbody tr:hover td {
    background: #ffffff;
  }

  .source-list {
    padding-left: 0.9rem;
  }

  .source-list li {
    font-size: 6.5pt;
  }

  .source-list a[href^="http"]::after,
  .gallery-links a[href^="http"]::after {
    content: " <" attr(href) ">";
    color: #000000;
    font-family: var(--mono);
    font-size: 5.8pt;
    overflow-wrap: anywhere;
  }

  a {
    color: #000000;
  }
}
