:root {
  --reader-ink: #1a1714;
  --reader-muted: #6b6258;
  --reader-paper: #f4efe5;
  --reader-surface: #fffaf1;
  --reader-line: #d8cbb8;
  --reader-line-strong: #bda485;
  --reader-cinnabar: #a53b2e;
  --reader-cinnabar-dark: #79271f;
  --reader-jade: #185349;
  --reader-jade-deep: #123b34;
  --reader-gold: #c2923e;
}

.reader-page,
.reader-page * {
  box-sizing: border-box;
}

.reader-page {
  min-height: 100vh;
  overflow-x: clip;
  background: var(--reader-paper);
  color: var(--reader-ink);
}

.reader-page main {
  background: var(--reader-paper);
}

.reader-page h1,
.reader-page h2,
.reader-page h3,
.reader-page p,
.reader-page span,
.reader-page a,
.reader-page dt,
.reader-page dd {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.reader-page .eyebrow,
.reader-card-kicker,
.reader-presets-label,
.reader-record-type,
.reader-sort-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.reader-page .eyebrow {
  color: var(--reader-cinnabar);
}

.reader-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(194, 146, 62, 0.6);
  background: var(--reader-jade-deep);
  color: #fffaf1;
}

.reader-hero-inner {
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: end;
  margin: 0 auto;
  padding: clamp(3.8rem, 8vw, 6.8rem) clamp(1rem, 4vw, 2rem) clamp(3.4rem, 7vw, 5.5rem);
}

.reader-hero-copy {
  min-width: 0;
  padding-left: 1.35rem;
  border-left: 2px solid var(--reader-gold);
}

.reader-hero .eyebrow,
.reader-hero-note .reader-card-kicker {
  color: #e4bd69;
}

.reader-hero h1 {
  max-width: 13ch;
  margin: 0.9rem 0 0;
  color: #fffaf1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.reader-lead {
  max-width: 60ch;
  margin: 1.7rem 0 0;
  color: rgba(255, 250, 241, 0.76);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.reader-hero-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 640px;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 250, 241, 0.25);
}

.reader-ledger-item {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.reader-ledger-item strong {
  color: #f0c978;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.reader-ledger-item span {
  color: rgba(255, 250, 241, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.reader-hero-note {
  min-width: 0;
  align-self: stretch;
  padding: 0.2rem 0 0.2rem 2rem;
  border-left: 1px solid rgba(255, 250, 241, 0.24);
}

.reader-hero-note h2 {
  margin: 0.6rem 0 1.1rem;
  color: #fffaf1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.reader-hero-note > p:not(.reader-card-kicker) {
  max-width: 36ch;
  margin: 0;
  color: rgba(255, 250, 241, 0.7);
  line-height: 1.7;
}

.reader-method-list {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0 0;
}

.reader-method-list div {
  min-width: 0;
  display: grid;
  grid-template-columns: 8.8rem minmax(0, 1fr);
  gap: 0.6rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 250, 241, 0.2);
}

.reader-method-list dt {
  color: #fffaf1;
  font-size: 0.8rem;
  font-weight: 900;
}

.reader-method-list dd {
  min-width: 0;
  margin: 0;
  color: rgba(255, 250, 241, 0.6);
  font-size: 0.8rem;
}

.reader-workbench,
.reader-results-section {
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.reader-workbench {
  padding-top: clamp(3.2rem, 6vw, 4.8rem);
  padding-bottom: clamp(3.1rem, 6vw, 4.7rem);
}

.reader-section-heading,
.reader-results-head,
.reader-results-toolbar {
  min-width: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem;
}

.reader-section-heading {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--reader-line-strong);
}

.reader-section-heading h2,
.reader-results-head h2,
.reader-access-note h2 {
  margin: 0.45rem 0 0;
  color: var(--reader-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.05;
}

.reader-section-aside {
  max-width: 31ch;
  padding-left: 1rem;
  border-left: 2px solid var(--reader-cinnabar);
}

.reader-section-aside span {
  color: var(--reader-jade);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.reader-section-aside p {
  margin: 0.4rem 0 0;
  color: var(--reader-muted);
  line-height: 1.55;
}

.reader-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(4, minmax(120px, 1fr)) auto;
  gap: 1rem;
  align-items: end;
  margin-top: 1.8rem;
  border-bottom: 1px solid var(--reader-line);
  padding-bottom: 1.25rem;
}

.reader-field {
  min-width: 0;
}

.reader-field-wide {
  min-width: 0;
}

.reader-field label,
.reader-sort-label {
  display: block;
  margin: 0 0 0.4rem;
  color: var(--reader-jade);
  font-size: 0.72rem;
}

.reader-field select,
.reader-results-meta select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--reader-line-strong);
  border-radius: 3px;
  background: var(--reader-surface);
  color: var(--reader-ink);
  padding: 0.7rem 0.72rem;
  font: inherit;
}

.reader-field select:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.reader-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.reader-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.reader-button-primary {
  border-color: var(--reader-cinnabar);
  background: var(--reader-cinnabar);
  color: #fffaf1;
}

.reader-button-primary:hover,
.reader-button-primary:focus-visible {
  background: var(--reader-cinnabar-dark);
}

.reader-button-quiet {
  border-color: var(--reader-line-strong);
  background: transparent;
  color: var(--reader-jade);
}

.reader-button-quiet:hover,
.reader-button-quiet:focus-visible {
  border-color: var(--reader-jade);
  background: rgba(24, 83, 73, 0.06);
}

.reader-button:disabled,
.reader-preset:disabled {
  cursor: wait;
  opacity: 0.52;
}

.reader-field select:focus-visible,
.reader-results-meta select:focus-visible,
.reader-button:focus-visible,
.reader-preset:focus-visible,
.reader-card-link:focus-visible {
  outline: 3px solid rgba(194, 146, 62, 0.48);
  outline-offset: 3px;
}

.reader-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 1.2rem;
  margin-top: 1.1rem;
}

.reader-presets-label {
  margin-right: 0.25rem;
  color: var(--reader-muted);
}

.reader-preset {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid rgba(24, 83, 73, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--reader-jade);
  padding: 0.35rem 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.reader-preset:hover,
.reader-preset:focus-visible {
  border-bottom-color: var(--reader-cinnabar);
  color: var(--reader-cinnabar);
}

.reader-results-section {
  padding-top: clamp(3.2rem, 6vw, 4.8rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.reader-results-head {
  align-items: end;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--reader-line-strong);
}

.reader-result-summary {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-left: 1.35rem;
  border-left: 2px solid var(--reader-cinnabar);
}

.reader-result-summary strong {
  color: var(--reader-cinnabar);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 5.1rem);
  font-variant-numeric: tabular-nums;
  line-height: 0.88;
}

.reader-result-summary span {
  max-width: 9ch;
  color: var(--reader-muted);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.reader-results-toolbar {
  align-items: center;
  min-height: 3.4rem;
  border-bottom: 1px solid var(--reader-line);
}

.reader-active-filters {
  min-width: 0;
  min-height: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.reader-active-label {
  color: var(--reader-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reader-filter-chip {
  border-radius: 2px;
  background: rgba(194, 146, 62, 0.16);
  color: #6d4c13;
  padding: 0.3rem 0.58rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.reader-results-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--reader-muted);
  font-size: 0.88rem;
}

.reader-results-meta select {
  min-width: 142px;
  min-height: 42px;
  padding-block: 0.45rem;
}

.reader-search-state {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.35rem;
  color: var(--reader-muted);
  font-size: 0.9rem;
}

.reader-search-mark {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--reader-gold);
}

.reader-search-state.is-searching .reader-search-mark {
  animation: reader-pulse 900ms ease-in-out infinite alternate;
}

@keyframes reader-pulse {
  from { opacity: 0.35; transform: scale(0.82); }
  to { opacity: 1; transform: scale(1); }
}

.reader-start,
.reader-empty,
.reader-error {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
  border-top: 1px solid var(--reader-line-strong);
  border-bottom: 1px solid var(--reader-line-strong);
  padding: 2.25rem 0;
}

.reader-start-index {
  color: var(--reader-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.reader-start h3,
.reader-empty h3 {
  margin: 0.35rem 0 0.55rem;
  color: var(--reader-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.reader-start p:not(.reader-card-kicker),
.reader-empty p:not(.reader-card-kicker),
.reader-error span {
  max-width: 60ch;
  margin: 0;
  color: var(--reader-muted);
  line-height: 1.7;
}

.reader-results {
  display: block;
  margin-top: 0.7rem;
}

.reader-result {
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr);
  gap: 1.4rem;
  min-width: 0;
  padding: 1.75rem 0 1.9rem;
  border-top: 1px solid var(--reader-line);
}

.reader-result:first-child {
  border-top-color: var(--reader-line-strong);
}

.reader-result-rail {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 0.15rem;
}

.reader-result-rail::after {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: -1.9rem;
  width: 1px;
  background: var(--reader-line);
}

.reader-result:last-child .reader-result-rail::after {
  display: none;
}

.reader-result-rail span {
  position: relative;
  z-index: 1;
  color: var(--reader-cinnabar);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.reader-result-main {
  min-width: 0;
}

.reader-result-top,
.reader-record-facts,
.reader-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
}

.reader-result-top {
  justify-content: space-between;
}

.reader-status {
  min-height: 26px;
  border-radius: 2px;
  padding: 0.26rem 0.48rem;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.reader-status.status-confirmed {
  background: rgba(24, 83, 73, 0.12);
  color: var(--reader-jade);
}

.reader-status.status-article {
  background: rgba(165, 59, 46, 0.12);
  color: var(--reader-cinnabar-dark);
}

.reader-status.status-possible {
  background: rgba(194, 146, 62, 0.18);
  color: #6d4c13;
}

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

.reader-result h3 {
  max-width: 42ch;
  margin: 0.65rem 0 0.7rem;
  color: var(--reader-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.18;
}

.reader-record-facts {
  margin-bottom: 0.9rem;
}

.reader-record-facts span {
  color: var(--reader-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.reader-record-facts span + span::before {
  content: "/";
  margin-right: 0.9rem;
  color: var(--reader-gold);
}

.reader-result p {
  max-width: 70ch;
  margin: 0 0 0.72rem;
  color: #443c34;
  line-height: 1.7;
}

.reader-result .reader-outcome,
.reader-related {
  color: var(--reader-muted);
  font-size: 0.92rem;
}

.reader-related a {
  color: var(--reader-jade);
  font-weight: 850;
}

.reader-card-actions {
  margin-top: 0.65rem;
}

.reader-card-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(165, 59, 46, 0.55);
  color: var(--reader-cinnabar);
  padding: 0.3rem 0;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.reader-card-link:hover,
.reader-card-link:focus-visible {
  color: var(--reader-jade);
  border-bottom-color: var(--reader-jade);
}

.reader-empty,
.reader-error {
  grid-template-columns: 1fr;
}

.reader-empty .reader-button {
  width: fit-content;
  margin-top: 0.7rem;
}

.reader-access-note {
  width: 100%;
  max-width: none;
  border-top: 1px solid rgba(194, 146, 62, 0.6);
  border-bottom: 1px solid rgba(194, 146, 62, 0.6);
  background: var(--reader-jade-deep);
  color: #fffaf1;
  padding: clamp(2.8rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.reader-access-note > div {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.reader-access-note .eyebrow {
  color: #e4bd69;
}

.reader-access-note h2 {
  color: #fffaf1;
}

.reader-access-note p:last-child {
  max-width: 68ch;
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .reader-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reader-field-wide {
    grid-column: span 2;
  }

  .reader-filter-actions {
    grid-column: span 3;
  }
}

@media (max-width: 820px) {
  .reader-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .reader-hero-note {
    max-width: 680px;
    padding: 1.8rem 0 0;
    border-top: 1px solid rgba(255, 250, 241, 0.24);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .reader-hero-inner {
    padding-top: 3.2rem;
    padding-bottom: 3.5rem;
  }

  .reader-hero-copy {
    padding-left: 1rem;
  }

  .reader-hero h1 {
    max-width: 13ch;
    font-size: clamp(3.3rem, 15vw, 4.8rem);
  }

  .reader-hero-ledger {
    gap: 0.7rem;
  }

  .reader-ledger-item strong {
    font-size: 1.75rem;
  }

  .reader-ledger-item span {
    font-size: 0.66rem;
  }

  .reader-section-heading,
  .reader-results-head,
  .reader-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .reader-section-heading h2,
  .reader-results-head h2 {
    font-size: 2rem;
  }

  .reader-section-aside {
    max-width: none;
  }

  .reader-filters {
    grid-template-columns: 1fr;
  }

  .reader-field-wide,
  .reader-filter-actions {
    grid-column: auto;
  }

  .reader-filter-actions,
  .reader-filter-actions .reader-button {
    width: 100%;
  }

  .reader-results-toolbar {
    gap: 0.7rem;
    padding-block: 0.8rem;
  }

  .reader-results-meta {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
  }

  .reader-results-meta span {
    align-self: center;
  }

  .reader-results-meta select {
    min-width: 0;
  }

  .reader-result-summary {
    width: 100%;
    padding-left: 1rem;
  }

  .reader-result-summary strong {
    font-size: 3.8rem;
  }

  .reader-start,
  .reader-empty,
  .reader-error {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .reader-result {
    grid-template-columns: 2.3rem minmax(0, 1fr);
    gap: 0.9rem;
    padding-top: 1.35rem;
  }

  .reader-result-rail::after {
    bottom: -1.35rem;
  }

  .reader-result h3 {
    font-size: 1.45rem;
  }

  .reader-result-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .reader-record-facts {
    display: block;
  }

  .reader-record-facts span {
    display: inline;
  }

  .reader-record-facts span + span::before {
    margin-right: 0.55rem;
    margin-left: 0.55rem;
  }

  .reader-empty .reader-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reader-button,
  .reader-preset,
  .reader-search-state.is-searching .reader-search-mark {
    animation: none;
    transition: none;
  }
}

/* r7: editorial evidence desk */
.reader-page {
  --reader-paper: #f5f0e6;
  --reader-surface: #fffaf1;
  --reader-ink: #1b211d;
  --reader-muted: #697068;
  --reader-line: rgba(27, 33, 29, 0.16);
  --reader-line-strong: rgba(27, 33, 29, 0.34);
  --reader-cinnabar: #a33d30;
  --reader-cinnabar-dark: #7e2c24;
  --reader-jade: #15564b;
  --reader-jade-deep: #0d352f;
  --reader-gold: #d4a64a;
}

.reader-page {
  background: var(--reader-paper);
}

.reader-page main {
  background: var(--reader-paper);
}

.reader-hero {
  border-bottom: 1px solid rgba(212, 166, 74, 0.66);
  background: var(--reader-jade-deep);
}

.reader-hero-inner {
  max-width: 1320px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(3.7rem, 7vw, 5.8rem);
}

.reader-hero-copy {
  padding-left: clamp(1rem, 3vw, 2.25rem);
  border-left: 3px solid var(--reader-gold);
}

.reader-hero h1 {
  max-width: none;
  margin-top: 1rem;
  font-size: clamp(4.25rem, 9vw, 8.4rem);
  line-height: 0.83;
}

.reader-lead {
  max-width: 54ch;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.72;
}

.reader-hero-ledger {
  grid-template-columns: minmax(200px, 1.55fr) repeat(3, minmax(95px, 1fr));
  gap: 0;
  max-width: 920px;
  margin-top: 3.1rem;
  padding-top: 1.25rem;
  border-top-color: rgba(255, 250, 241, 0.28);
}

.reader-ledger-item {
  padding: 0 1rem;
  border-left: 1px solid rgba(255, 250, 241, 0.2);
}

.reader-ledger-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.reader-ledger-item strong {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.reader-ledger-item span {
  display: block;
}

.reader-ledger-item small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 250, 241, 0.48);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.reader-ledger-primary strong {
  color: #f2cb76;
  font-size: clamp(4rem, 7vw, 6.2rem);
  line-height: 0.78;
}

.reader-ledger-primary span {
  margin-top: 0.65rem;
  color: #fffaf1;
  font-size: 0.82rem;
}

.reader-hero-note {
  max-width: 410px;
  align-self: start;
  margin: 0.3rem 0 0 auto;
  padding: 0.45rem 0 0.45rem 2rem;
  border-left-color: rgba(255, 250, 241, 0.28);
}

.reader-hero-note h2 {
  max-width: 16ch;
  margin-top: 0.7rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.02;
}

.reader-method-list {
  margin-top: 2.35rem;
}

.reader-workbench,
.reader-results-section {
  max-width: 1320px;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.reader-workbench {
  padding-top: clamp(3.7rem, 7vw, 5.7rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.reader-section-heading {
  align-items: end;
  padding-bottom: 1.6rem;
}

.reader-section-heading h2,
.reader-results-head h2,
.reader-access-note h2 {
  font-size: clamp(2.3rem, 4.5vw, 3.55rem);
  line-height: 0.98;
}

.reader-section-aside {
  max-width: 34ch;
  padding-left: 1.25rem;
}

.reader-filters {
  grid-template-columns: minmax(190px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  border-bottom: 0;
  padding-bottom: 0;
}

.reader-field select,
.reader-results-meta select {
  border-color: var(--reader-line-strong);
  border-radius: 2px;
  background: var(--reader-surface);
}

.reader-filter-actions {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--reader-line);
}

.reader-button {
  border-radius: 2px;
  padding-inline: 1.2rem;
}

.reader-button-primary {
  border-color: var(--reader-cinnabar);
  background: var(--reader-cinnabar);
}

.reader-presets {
  margin-top: 1.45rem;
  padding-top: 1rem;
  border-top: 1px solid var(--reader-line);
}

.reader-results-section {
  padding-top: clamp(3.7rem, 7vw, 5.8rem);
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}

.reader-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom-color: var(--reader-line-strong);
}

.reader-results-head h2 {
  max-width: 12ch;
}

.reader-result-summary {
  display: grid;
  justify-items: end;
  align-items: end;
  gap: 0.45rem;
  padding-left: 2rem;
  border-left: 4px solid var(--reader-cinnabar);
}

.reader-result-summary-overline {
  color: var(--reader-jade);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.reader-result-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 1rem;
}

.reader-result-summary strong {
  color: var(--reader-cinnabar);
  font-size: clamp(5rem, 10vw, 8.8rem);
  line-height: 0.72;
}

.reader-result-summary-line > span {
  max-width: 10ch;
  color: var(--reader-muted);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.22;
  text-transform: uppercase;
}

.reader-results-toolbar {
  min-height: 4rem;
  padding-block: 0.65rem;
  border-bottom-color: var(--reader-line);
}

.reader-search-state {
  min-height: 3.5rem;
  border-left: 2px solid var(--reader-gold);
  padding-left: 0.9rem;
}

.reader-start,
.reader-empty,
.reader-error {
  margin-top: 1.4rem;
  border-top-color: var(--reader-line-strong);
  border-bottom-color: var(--reader-line-strong);
  padding: 2.5rem 0;
}

.reader-start h3,
.reader-empty h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.reader-results {
  margin-top: 0;
}

.reader-result {
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 1.65rem;
  padding: 2.15rem 0 2.35rem;
  border-top-color: var(--reader-line);
}

.reader-result:first-child {
  border-top-color: var(--reader-line-strong);
}

.reader-result-rail span {
  color: var(--reader-cinnabar);
  font-size: 1.55rem;
}

.reader-result-top {
  justify-content: flex-start;
}

.reader-status {
  min-height: 0;
  border-left: 3px solid currentColor;
  border-radius: 0;
  background: transparent;
  padding: 0.25rem 0 0.25rem 0.6rem;
}

.reader-status.status-confirmed {
  background: transparent;
}

.reader-status.status-article {
  background: transparent;
}

.reader-status.status-possible {
  background: transparent;
}

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

.reader-result h3 {
  max-width: 50ch;
  margin-top: 0.75rem;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
}

.reader-result p {
  max-width: 72ch;
  line-height: 1.78;
}

.reader-card-actions {
  margin-top: 1rem;
}

.reader-card-link {
  border-bottom-color: rgba(163, 61, 48, 0.58);
}

.reader-access-note {
  border-top-color: rgba(212, 166, 74, 0.66);
  border-bottom-color: rgba(212, 166, 74, 0.66);
  padding-block: clamp(3.2rem, 7vw, 5rem);
}

@media (max-width: 1100px) {
  .reader-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reader-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .reader-hero-inner {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .reader-hero-note {
    max-width: 680px;
    margin: 0;
    padding: 1.8rem 0 0;
    border-top: 1px solid rgba(255, 250, 241, 0.24);
    border-left: 0;
  }

  .reader-results-head {
    grid-template-columns: 1fr;
  }

  .reader-result-summary {
    justify-items: start;
    padding: 1.35rem 0 0 1.1rem;
    border-top: 2px solid var(--reader-cinnabar);
    border-left: 0;
  }

  .reader-result-summary-line {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .reader-hero-inner {
    padding-top: 3.5rem;
    padding-bottom: 3.8rem;
  }

  .reader-hero-copy {
    padding-left: 1rem;
  }

  .reader-hero h1 {
    max-width: none;
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }

  .reader-hero-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .reader-ledger-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .reader-ledger-primary {
    grid-column: 1 / -1;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 250, 241, 0.2);
  }

  .reader-section-heading,
  .reader-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .reader-filters {
    grid-template-columns: 1fr;
  }

  .reader-filter-actions {
    grid-column: auto;
  }

  .reader-filter-actions,
  .reader-filter-actions .reader-button {
    width: 100%;
  }

  .reader-results-head h2 {
    font-size: 2.45rem;
  }

  .reader-result-summary strong {
    font-size: 5.8rem;
  }

  .reader-result {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.9rem;
    padding-top: 1.55rem;
    padding-bottom: 1.8rem;
  }

  .reader-result-rail::after {
    bottom: -1.8rem;
  }
}

@media (max-width: 640px) {
  html body.apothecary-site.reader-page:not(.home-page):not(.questions-page):not(.archive-page):not(.characters-page) .site-header {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  html body.apothecary-site.reader-page:not(.home-page):not(.questions-page):not(.archive-page):not(.characters-page) .nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.7rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.7rem 1rem 0.8rem !important;
  }

  html body.apothecary-site.reader-page:not(.home-page):not(.questions-page):not(.archive-page):not(.characters-page) .brand {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body.apothecary-site.reader-page:not(.home-page):not(.questions-page):not(.archive-page):not(.characters-page) .nav-links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.2rem 0.45rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body.apothecary-site.reader-page:not(.home-page):not(.questions-page):not(.archive-page):not(.characters-page) .nav-links a {
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 0.35rem 0.15rem !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }
}

/* r9: make the index itself the first-viewport subject */
.reader-hero {
  display: block !important;
  min-height: clamp(560px, calc(100dvh - 74px), 760px);
  border-bottom: 1px solid rgba(212, 166, 74, 0.68);
  background:
    linear-gradient(180deg, rgba(13, 42, 37, 0.94), rgba(13, 53, 47, 0.96)),
    radial-gradient(circle at 18% 32%, rgba(212, 166, 74, 0.18), transparent 34%),
    var(--reader-jade-deep);
  color: #fffaf1;
}

.reader-hero-inner {
  width: 100%;
  max-width: 1320px;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
  margin: 0 auto;
  padding: clamp(3.6rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 2.75rem);
}

.reader-hero-copy {
  min-width: 0;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  border-left: 4px solid var(--reader-gold);
}

.reader-hero .eyebrow {
  color: #f1c66a;
}

.reader-hero h1 {
  max-width: none;
  margin: 1rem 0 0;
  color: #fffaf1 !important;
  font-size: clamp(4.7rem, 10.5vw, 9rem);
  line-height: 0.84;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.reader-lead {
  max-width: 62ch;
  color: rgba(255, 250, 241, 0.82);
}

.reader-hero-stat {
  width: min(100%, 500px);
  min-width: 0;
  justify-self: end;
  display: grid;
  gap: 0.55rem;
  padding: 0.5rem 0 0.5rem clamp(1.4rem, 3vw, 2.4rem);
  border-left: 1px solid rgba(255, 250, 241, 0.28);
}

.reader-stat-overline {
  color: #f1c66a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.reader-hero-stat > strong {
  display: block;
  max-width: 100%;
  color: #f4cf74;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.75rem;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
  text-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.reader-stat-note {
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.35;
}

.reader-stat-list {
  display: grid;
  gap: 0;
  margin: clamp(1.2rem, 3vw, 2rem) 0 0;
  border-top: 1px solid rgba(255, 250, 241, 0.28);
}

.reader-stat-list div {
  display: grid;
  grid-template-columns: minmax(6.2rem, max-content) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 250, 241, 0.18);
}

.reader-stat-list dt {
  color: #fffaf1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.reader-stat-list dd {
  margin: 0;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.92rem;
  line-height: 1.35;
}

.reader-results {
  display: block !important;
}

.reader-results-more {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--reader-line);
  text-align: center;
}

.reader-results-more p {
  margin: 0;
  color: var(--reader-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.reader-section-aside-note {
  display: block;
  margin-top: 0.65rem !important;
  border-left: 3px solid var(--reader-gold);
  background: rgba(194, 146, 62, 0.11);
  color: var(--reader-ink) !important;
  padding: 0.72rem 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  font-weight: 750;
  line-height: 1.45;
}

.reader-results-meta .reader-result-prompt {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-left: 3px solid var(--reader-jade);
  background: rgba(23, 76, 66, 0.09);
  color: var(--reader-jade);
  padding: 0.38rem 0.65rem;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.2;
}

.reader-search-state .reader-search-prompt {
  color: var(--reader-ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
}

.reader-page [hidden] {
  display: none !important;
}

.reader-result {
  background: transparent !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* r20: make the three idle guidance states read as active UI signals. */
.reader-section-aside-note {
  border: 1px solid rgba(163, 61, 48, 0.28);
  border-left: 5px solid var(--reader-cinnabar);
  background: #fff8e8;
  box-shadow: 0 8px 18px rgba(44, 35, 25, 0.08);
  padding: 0.86rem 1rem;
  color: var(--reader-ink) !important;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  font-weight: 850;
  line-height: 1.45;
}

.reader-results-meta .reader-result-prompt {
  min-height: 2.45rem;
  border: 1px solid rgba(24, 83, 73, 0.28);
  border-left: 5px solid var(--reader-jade);
  background: #e5f1eb;
  box-shadow: 0 6px 14px rgba(24, 83, 73, 0.08);
  color: var(--reader-jade-deep);
  padding: 0.48rem 0.8rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 950;
  line-height: 1.2;
}

.reader-search-state {
  min-height: 4.2rem;
  margin-top: 0.75rem;
  border: 1px solid rgba(194, 146, 62, 0.4);
  border-left: 5px solid var(--reader-gold);
  background: #fff8e8;
  box-shadow: 0 7px 16px rgba(44, 35, 25, 0.07);
  padding: 0.72rem 1rem;
  color: var(--reader-ink);
}

.reader-search-mark {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--reader-cinnabar);
  box-shadow: 0 0 0 4px rgba(163, 61, 48, 0.12);
}

.reader-search-state .reader-search-prompt {
  color: var(--reader-ink);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  font-weight: 850;
  line-height: 1.45;
}

/* r21: give the three idle prompts enough weight to anchor the empty state. */
.reader-section-aside-note {
  border: 1px solid #b66a34;
  border-left: 8px solid var(--reader-cinnabar);
  background: #ffedc2;
  box-shadow: 0 10px 22px rgba(44, 35, 25, 0.12);
  padding: 1rem 1.15rem;
  color: #1a1714 !important;
  font-size: clamp(1.12rem, 1.65vw, 1.34rem);
  font-weight: 950;
  line-height: 1.4;
  text-wrap: balance;
}

.reader-results-meta .reader-result-prompt {
  min-width: 15rem;
  justify-content: center;
  border: 1px solid var(--reader-jade-deep);
  border-left: 0;
  border-right: 6px solid var(--reader-cinnabar);
  background: var(--reader-jade-deep);
  box-shadow: 0 7px 16px rgba(24, 83, 73, 0.15);
  color: #fffaf1;
  padding: 0.62rem 0.95rem;
  font-size: clamp(1.06rem, 1.45vw, 1.2rem);
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.reader-search-state {
  min-height: 4.6rem;
  margin-top: 0.9rem;
  border: 1px solid #b66a34;
  border-left: 8px solid var(--reader-gold);
  background: #1a1714;
  box-shadow: 0 10px 22px rgba(44, 35, 25, 0.14);
  padding: 0.9rem 1.1rem;
  color: #fffaf1;
}

.reader-search-mark {
  width: 0.82rem;
  height: 0.82rem;
  background: var(--reader-gold);
  box-shadow: 0 0 0 5px rgba(212, 166, 74, 0.16);
}

.reader-search-state .reader-search-prompt {
  color: #fffaf1;
  font-size: clamp(1.1rem, 1.55vw, 1.28rem);
  font-weight: 950;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .reader-hero {
    min-height: auto;
  }

  .reader-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.6rem;
    align-items: start;
  }

  .reader-hero-stat {
    width: 100%;
    justify-self: stretch;
    padding: 1.35rem 0 0;
    border-top: 1px solid rgba(255, 250, 241, 0.28);
    border-left: 0;
  }

  .reader-stat-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .reader-stat-list div {
    display: block;
    padding: 0.75rem 0 0;
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .reader-section-aside-note {
    padding: 0.9rem 1rem;
    font-size: 1.08rem;
  }

  .reader-results-meta .reader-result-prompt {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .reader-search-state {
    align-items: flex-start;
    min-height: auto;
    padding: 0.75rem 0.8rem;
  }

  html body.apothecary-site.reader-page:not(.home-page):not(.questions-page):not(.archive-page):not(.characters-page) .nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    padding: 0.75rem 1rem 0.85rem !important;
  }

  html body.apothecary-site.reader-page:not(.home-page):not(.questions-page):not(.archive-page):not(.characters-page) .brand {
    flex: none !important;
  }

  html body.apothecary-site.reader-page:not(.home-page):not(.questions-page):not(.archive-page):not(.characters-page) .nav-links a {
    min-height: 34px !important;
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
  }

  .reader-hero-inner {
    padding: 2.4rem 1rem 2.8rem;
  }

  .reader-hero-copy {
    padding-left: 0.9rem;
  }

  .reader-hero h1 {
    font-size: clamp(3.35rem, 16vw, 4.75rem);
  }

  .reader-lead {
    margin-top: 1.35rem;
    font-size: 1rem;
  }

  .reader-hero-stat > strong {
    font-size: 5rem;
  }

  .reader-stat-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reader-stat-list div {
    display: grid;
    grid-template-columns: minmax(5.6rem, max-content) minmax(0, 1fr);
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 250, 241, 0.18);
  }
}

@media (orientation: landscape) and (max-height: 480px) and (min-width: 700px) {
  .reader-hero {
    min-height: calc(100dvh - 72px);
  }

  .reader-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.5fr);
    gap: 2rem;
    padding: 1.9rem 1.5rem 2.2rem;
  }

  .reader-hero h1 {
    font-size: clamp(3.2rem, 8vw, 4.9rem);
  }

  .reader-lead {
    max-width: 54ch;
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .reader-hero-stat {
    width: min(100%, 360px);
    padding-left: 1.4rem;
  }

  .reader-hero-stat > strong {
    font-size: 4.6rem;
  }

  .reader-stat-list {
    margin-top: 0.8rem;
  }

  .reader-stat-list div {
    padding: 0.45rem 0;
  }
}
