/* Shared finishing layer: existing brand, readable content and quiet motion. */
html { scroll-padding-top: 28px; }
.site-main { min-height: 60vh; }
.content-page > .hero,.page-home .home-copy { animation: none; }
.site-main :is(input, button, select, textarea) { font-family: var(--font-ui); }
:is(a, button, input, summary, select, textarea):focus-visible {
  outline: 2px solid var(--focus); outline-offset: 4px;
}
.page-home .site-header :focus-visible,.site-footer :focus-visible { outline-color: #e2af98; }
.primary-nav a[aria-current="page"],.mobile-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: var(--brand-bridge); }
.mobile-nav > summary { min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav[open] > nav { border: 1px solid var(--line); box-shadow: 0 18px 38px #14171914; border-radius: 10px; }
.mobile-nav a { min-height: 44px; display: flex; align-items: center; }
.site-main :is(.button, button) { min-height: 44px; }
.site-main button:disabled,.site-main button[aria-disabled="true"] { cursor: wait; }
.site-main button:disabled { cursor: not-allowed; }
.site-main form[aria-busy="true"] button[aria-disabled="true"] { position: relative; padding-inline-end: 42px; }
.site-main form[aria-busy="true"] button[aria-disabled="true"]::after {
  position: absolute;
  top: 50%;
  inset-inline-end: 14px;
  width: 14px;
  height: 14px;
  margin-top: -8px;
  border: 2px solid color-mix(in srgb, currentColor 34%, transparent);
  border-top-color: var(--brand-bridge);
  border-radius: 50%;
  content: "";
  animation: submit-spinner 700ms linear infinite;
}
.site-main input:not([type="checkbox"]):not([type="radio"]) { min-width: 0; font-size: 16px; }
.site-main :is(.form-row,.lookup-form) { min-width: 0; }
.site-main input:focus { border-color: var(--ink); }
.site-main input:user-invalid { border-color: var(--danger); }
.form-hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; line-height: 1.55; }
/* Directory filters share a control row even when their labels wrap. */
.site-main .directive-search { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; }
.site-main :is(.directive-search,.model-directory-controls) > label {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  min-width: 0; color: var(--ink-soft); font-size: 14px; font-weight: 500; line-height: 1.5;
}
.site-main :is(.directive-search,.model-directory-controls) :is(input,select) {
  box-sizing: border-box; flex: 0 0 52px; width: 100%; min-width: 0; height: 52px; min-height: 52px;
  margin: 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 6px;
  background-color: var(--panel); color: var(--ink); font: 400 16px/1.4 var(--font-ui);
}
.site-main :is(.directive-search,.model-directory-controls) select {
  appearance: none; padding-inline-end: 42px;
  background-image: linear-gradient(45deg,transparent 50%,var(--ink-soft) 50%),linear-gradient(135deg,var(--ink-soft) 50%,transparent 50%);
  background-position: calc(100% - 20px) 50%,calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.site-main :is(.directive-search,.model-directory-controls) :is(input,select):focus-visible { border-color: var(--ink); }
.site-main :is(.directive-search,.model-directory-controls) :is(input,select):user-invalid { border-color: var(--danger); }
.site-main .directive-search-actions { grid-column: 1 / -1; align-items: center; gap: 12px 24px; }
.site-main .directive-search-actions .button { min-height: 52px; border-radius: 6px; font-size: 16px; }
.site-main .directive-search-actions > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
@media (max-width: 540px) {
  .site-main .directive-search { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .site-main .directive-search-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .site-main .directive-search-actions .button { width: 100%; }
  .site-main .directive-search-actions > a { justify-content: center; }
}
@media (forced-colors: active) {
  .site-main :is(.directive-search,.model-directory-controls) select { appearance: auto; background-image: none; padding-inline-end: 14px; }
}
.system-state-card { max-width: 860px; margin: 64px auto 88px; padding: clamp(28px,5vw,64px); }
.system-state-card h1 { font-size: clamp(36px,5vw,58px); line-height: 1.05; max-width: 700px; }
.system-state-card .lede { font-size: 18px; line-height: 1.65; }
.system-state-card > .lookup-form { margin-top: 28px; max-width: 620px; }
.system-state-card > .lookup-form input { width: 100%; min-height: 52px; border: 1px solid var(--line-strong); background: var(--paper-bright); padding: 12px 16px; border-radius: 6px; }
.system-state-card > .lookup-form button { border-radius: 6px; }
.system-state-card .help-disclosure { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.system-state-card > .reader-facts { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: none; }
.system-state-card > .reader-facts > div { display: block; min-width: 0; }
.system-state-card > .reader-facts dd { margin-top: 8px; }
.recovery-page { max-width: 920px; margin: 64px auto 88px; }
.recovery-intro { max-width: 720px; }
.recovery-intro h1 { margin: 10px 0 18px; font-size: clamp(38px,5.5vw,62px); line-height: 1.04; letter-spacing: -.045em; }
.recovery-intro .lede { max-width: 650px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.recovery-path { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 38px 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.recovery-path li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; min-height: 132px; padding: 25px; background: var(--paper-bright); }
.recovery-path li.is-current { box-shadow: inset 0 3px var(--brand-bridge); }
.recovery-path li > span { color: var(--brand-bridge); font-size: 13px; font-variant-numeric: tabular-nums; }
.recovery-path strong { font-size: 18px; font-weight: 500; }
.recovery-path p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.recovery-card { margin-top: 28px; padding: clamp(26px,4vw,44px); background: var(--paper-bright); border: 1px solid var(--line); border-radius: 12px; }
.recovery-card h2 { margin: 7px 0 24px; font-size: clamp(27px,3vw,36px); letter-spacing: -.03em; }
.recovery-form { display: grid; gap: 10px; }
.recovery-form label { font-weight: 500; }
.recovery-form-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.recovery-form input { width: 100%; min-height: 54px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); }
.recovery-form button { min-width: 168px; border-radius: 6px; }
.recovery-page > .help-disclosure { margin-top: 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recovery-receipt-note { margin-top: 26px; padding: 22px 24px; background: var(--lookup-surface-accent,#eee8df); border-radius: 10px; }
.recovery-receipt-note h2 { margin: 0 0 8px; font-size: 18px; }
.recovery-receipt-note p { max-width: 70ch; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.recovery-back { margin-top: 24px; }
.help-disclosure summary { cursor: pointer; font-weight: 500; min-height: 44px; }
.help-disclosure summary,.status-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.help-disclosure summary::-webkit-details-marker,.status-details summary::-webkit-details-marker { display: none; }
.help-disclosure summary::after,.status-details summary::after { content: "+"; color: var(--muted); font-size: 18px; font-weight: 400; }
.help-disclosure[open] summary::after,.status-details[open] summary::after { content: "−"; }
.help-disclosure p { color: var(--muted); font-size: 15px; max-width: 65ch; }
.system-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.request-reference { margin-top: 28px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.content-page > .hero.compact h1 { max-width: 900px; font-size: clamp(38px,5.5vw,66px); line-height: 1.05; }
.content-page > .hero.compact .lede { max-width: 64ch; font-size: 19px; line-height: 1.65; }
.content-page > .section > h2 { font-size: clamp(26px,3vw,36px); line-height: 1.15; }
.content-page > .section > p,.content-page > .section > ul { max-width: 74ch; }
.content-page .directory-row { grid-template-columns: 1fr minmax(220px,.85fr) auto; align-items: center; padding: 28px; gap: 28px; }
.content-page .directory-row dl { display: block; margin: 0; }
.directory-row h2 { font-size: 28px; margin: 5px 0 0; }
.directory-row > a { white-space: nowrap; }
.directory-row dd { margin: 4px 0 0; }
.model-records-table td { white-space: normal; }
.model-record-navigation { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-block: 24px; }
.model-record-navigation > a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; }
.model-record-navigation > a[aria-current="page"] { background: var(--surface); font-weight: 600; text-decoration: none; }
.model-record-count { color: var(--muted); font-size: 14px; padding-inline: 2px; }
.model-record-batch { margin-block: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.model-record-batch > summary { min-height: 52px; padding-block: 14px; cursor: pointer; font-weight: 600; overflow-wrap: anywhere; }
.model-record-batch > summary:focus-visible { outline: 3px solid #d28850; outline-offset: 3px; border-radius: 4px; }
.model-record-batch > .table-wrap { margin-block: 0 16px; }
.snapshot-source-links > summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 600; }
.snapshot-source-links ul { display: grid; gap: 12px; padding-left: 18px; }
.snapshot-source-links small { display: inline-block; color: var(--muted); padding-block: 3px; }
.table-hint { color: var(--muted); font-size: 14px; }
.sdr-year-list,.sdr-source-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 24px; }
.sdr-year-list li,.sdr-source-list li { min-width: 0; }
.f561-source-list { list-style:none; padding:0; display:grid; gap:18px; }
.f561-source-list strong,.f561-source-list span { display:block; }
.f561-source-list span { margin-top:4px; color:var(--muted); font-size:14px; line-height:1.6; }
.f561-source-coverage summary { cursor:pointer; }
/* Annual source facts retain their table and all fields at every width. */
@media (max-width: 960px) {
  .sdr-source-coverage-table,.sdr-source-coverage-table tbody { display: block; width: 100%; }
  .sdr-source-coverage-table caption { display: block; width: 100%; }
  .sdr-source-coverage-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sdr-source-coverage-table tbody { display: grid; gap: 16px; }
  .sdr-source-coverage-table tbody tr {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px;
    padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-bright);
  }
  .sdr-source-coverage-table tbody :is(th,td) { display: block; min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  .sdr-source-coverage-table tbody th { grid-column: 1 / -1; font-size: 18px; }
  .sdr-source-coverage-table tbody :is(th,td)::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
  .sdr-source-coverage-table td a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 540px) {
  .sdr-source-coverage-table tbody tr { grid-template-columns: minmax(0,1fr); gap: 14px; }
}
@media (max-width: 960px) {
  .sdr-year-list,.sdr-source-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .model-records-table,.model-records-table tbody { display: block; width: 100%; }
  .model-records-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .model-records-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
  .model-records-table td { display: block; min-width: 0; padding: 8px 10px 8px 0; border: 0; overflow-wrap: anywhere; }
  .model-records-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
  .model-records-table td:first-child,.model-records-table td:last-child { grid-column: 1 / -1; }
  .model-records-table td[colspan]::before { content: none; }
}
@media (max-width: 680px) {
  .content-page .directory-row { padding: 22px; }
  .table-hint { display: none; }
  .sdr-year-list,.sdr-source-list { gap: 8px 18px; }
}
.status-ledger strong { font-family: var(--font-ui); font-size: 23px; letter-spacing: -.02em; }
.status-details { margin: 24px 0; border-top: 1px solid var(--line); padding: 20px 0; }
.status-details summary { cursor: pointer; min-height: 44px; }
.status-details dl { display: grid; gap: 14px; }
.status-details dt { color: var(--muted); font-size: 13px; }
.status-details dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 14px; }
.compare-form { margin-top: 30px; max-width: 720px; }
.compare-matrix { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.compare-matrix table { margin: 0; min-width: 620px; width: 100%; border-collapse: collapse; }
.compare-matrix th,.compare-matrix td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; font-size: 15px; white-space: normal; }
.compare-matrix thead th { background: #efeeeb; font-size: 21px; }
.compare-matrix tbody th { font-weight: 400; color: var(--muted); width: 30%; background: #f7f6f3; }
.compare-matrix td { min-width: 160px; }
.shortlist-matrix th,.shortlist-matrix td { overflow-wrap: anywhere; }
.compare-matrix tr:last-child > * { border-bottom: 0; }
.compare-matrix tr > :last-child { border-right: 0; }
.compare-result .form-hint { margin-top: 16px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .site-main :is(button,.button),.mobile-nav > summary { transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
  .site-main :is(button,.button):not(:disabled):not([aria-disabled="true"]):hover { transform: translateY(-1px); box-shadow: 0 4px 12px #14171912; }
  .site-main :is(button,.button):active { transform: translateY(0); box-shadow: none; }
}
.site-main :is(button,.button):disabled,.site-main :is(button,.button)[aria-disabled="true"] { transform: none; }
@media (prefers-reduced-motion:no-preference) {
  html { scroll-behavior: smooth; }
  .mobile-nav[open] > nav { animation: menu-enter 160ms ease-out; }
  .help-disclosure[open] > p,.reader-evidence[open] > div { animation: details-enter 160ms ease-out; }
  @keyframes menu-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
  @keyframes details-enter { from { opacity: .5; } to { opacity: 1; } }
  @keyframes submit-spinner { to { transform: rotate(360deg); } }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto !important; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
@media(max-width:760px) {
  .system-state-card { margin: 32px auto 48px; }
  .system-state-card > .reader-facts { grid-template-columns: 1fr; }
  .content-page .directory-row { grid-template-columns: 1fr; gap: 18px; }
  .content-page > .hero.compact .lede { font-size: 17px; }
  .compare-matrix th,.compare-matrix td { padding: 14px 16px; }
  .compare-matrix tbody th { position: sticky; left: 0; z-index: 1; }
  .shortlist-matrix tbody th { position: static; }
  .system-state-card > .lookup-form button { width: 100%; }
  .recovery-page { margin: 32px auto 52px; }
  .recovery-path { grid-template-columns: 1fr; }
  .recovery-path li { min-height: 0; }
  .recovery-form-row { grid-template-columns: 1fr; }
  .recovery-form button { width: 100%; }
}

@media print {
  .site-header,.site-footer,.skip-link,.mobile-nav,
  .reader-nav,.reader-tools,.offer-mobile-bar,
  .lookup-purchase-form,.offer-checkout,.offer-upgrade-button,
  .offer-clear,.offer-back { display: none !important; }
  body { background: #fff; color: #000; }
  .site-main { min-height: 0; padding-bottom: 0; }
  .shell,.content-page,.purchase-options,.report-reader { width: auto; max-width: none; }
  .reader-chapter { break-inside: auto; }
  a { color: inherit; text-decoration: underline; }
}

/* Bounded report chapters retain the shared report typography and palette. */
.reader-page-nav {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center;
  gap: 12px 24px; margin: 0 0 28px; padding: 10px 0 18px;
  border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5;
}
.reader-page-nav:last-child { margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); border-bottom: 0; }
.reader-page-nav a {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 100%;
  gap: 8px; padding: 8px 0; color: var(--ink-soft); text-decoration: none;
  overflow-wrap: anywhere; transition: color .18s ease;
}
.reader-page-nav a[rel="prev"] { grid-column: 1; grid-row: 1; }
.reader-page-nav a[rel="next"] { grid-column: 3; grid-row: 1; justify-self: end; text-align: right; }
.reader-page-nav a[rel="prev"]::before { content: '\2190'; }
.reader-page-nav a[rel="next"]::after { content: '\2192'; }
.reader-page-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.reader-page-nav a[data-loading] { color: var(--muted); text-decoration: underline dotted; text-underline-offset: 4px; }
.reader-page-nav > span { grid-column: 2; grid-row: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.reader-nav a[aria-current] { color: var(--ink); background: var(--paper-bright); box-shadow: inset 2px 0 var(--brand-bridge); }
/* The current chapter is distinct from a quiet hover. Keep the frame still on navigation. */
.report-reader[data-reader-edition] .reader-nav a {
  position: relative; min-height: 46px; line-height: 1.55; border-left: 0;
  padding: 12px 14px; gap: 12px; transition: background-color 140ms ease, color 140ms ease;
}
.report-reader[data-reader-edition] .reader-nav a:not([aria-current]):is(:hover,:focus-visible) {
  background: color-mix(in srgb,var(--ink) 4%,transparent); box-shadow: none;
}
.report-reader[data-reader-edition] .reader-nav a[aria-current] { background: var(--paper-bright); }
.report-reader[data-reader-edition] .reader-nav a[data-loading]::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-bridge);
  position: absolute; right: 5px; top: calc(50% - 2px); animation: reader-pending 850ms ease-in-out infinite alternate;
}
.report-reader[data-reader-enhanced] .reader-content { overflow-anchor: none; }
.report-reader[data-reader-enhanced] :is(.reader-chapter:target,.reader-model-detail,.reader-evidence[open]>div) { animation: none; }
.report-reader[data-reader-continuous] .reader-segment-continuation > .reader-chapter { margin-top: 0; border-top: 0; padding-top: 0; }
.report-reader[data-reader-continuous] .reader-segment-continuation > .reader-chapter > header { display: none; }
.report-reader[data-reader-continuous] .reader-segment-continues > .reader-chapter { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.reader-section-status { min-height: 120px; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.reader-section-status p { margin: 0; }
.reader-section-status a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.reader-segment[data-state="loading"] .reader-section-status { color: var(--ink-soft); }
.reader-navigation-notice {
  position: fixed; z-index: 20; inset: auto 20px 20px; width: fit-content; max-width: min(620px,calc(100vw - 40px));
  margin: 0 auto; padding: 14px 18px; display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper-bright);
  box-shadow: 0 5px 20px #14171916; font-size: 14px; line-height: 1.5;
}
.reader-navigation-notice[hidden] { display: none; }
.reader-navigation-notice a { white-space: nowrap; text-underline-offset: 4px; }
@keyframes reader-pending { to { opacity: .35; } }
@media (min-width:761px) and (max-width:1050px) {
  .report-reader[data-reader-edition] .reader-layout { grid-template-columns: 180px minmax(0,1fr); gap: 28px; }
}
@media (prefers-reduced-motion:reduce) {
  .report-reader[data-reader-edition] .reader-nav a { transition: none; }
  .report-reader[data-reader-edition] .reader-nav a[data-loading]::after { animation: none; }
}
@media (max-width: 600px) {
  .reader-page-nav { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px 16px; margin-bottom: 20px; padding-bottom: 12px; font-size: 12px; }
  .reader-page-nav a[rel="next"] { grid-column: 2; justify-content: flex-end; }
  .reader-page-nav > span { grid-column: 1 / -1; grid-row: 2; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .reader-page-nav a { transition: none; } }
.reader-tools a.button:not(:first-child) {
  background: transparent; border: 0; padding: 4px 0; color: var(--ink-soft);
  font-size: 12px; min-height: 36px; line-height: 1.5; text-decoration: underline;
  text-underline-offset: 4px; text-decoration-color: var(--line); box-shadow: none;
}
.reader-tools a.button:not(:first-child):hover { color: var(--ink); text-decoration-color: currentColor; transform: none; }
.reader-tools .reader-recovery-tools { position:relative; width:100%; max-width:300px; text-align:left; font-size:13px; line-height:1.6; }
.reader-tools .reader-recovery-tools > summary { min-height: 44px; display: flex; align-items: center; color: var(--ink-soft); font-size: 12px; cursor: pointer; }
.reader-tools .reader-recovery-tools > summary:hover { color:var(--ink); }
.reader-tools .reader-recovery-tools > summary::after { content: '+'; margin-left: auto; padding-left: 12px; }
.reader-tools .reader-recovery-tools[open] > summary::after { content: '\2212'; }
.reader-tools .reader-recovery-tools[data-motion-state="closing"] > summary::after { content:'+'; }
.reader-recovery-panel {
  position:absolute; top:calc(100% + 8px); right:0; z-index:40;
  width:320px; max-width:calc(100vw - 32px); max-height:min(420px,60vh); overflow:auto;
  padding:20px; border:1px solid var(--line); border-radius:8px;
  background:var(--paper-bright); box-shadow:0 12px 32px rgba(17,24,25,.12);
}
.reader-recovery-panel > p { margin:0 0 16px; color:var(--ink-soft); }
.reader-recovery-panel > p:last-child { margin:14px 0 0; font-size:12px; }
.reader-recovery-panel form { margin:0; }
.reader-recovery-tools[data-motion-state="closing"] > .reader-recovery-panel { pointer-events:none; }
.reader-tools .reader-recovery-tools button { width: 100%; min-height: 44px; padding: 10px 12px; font-size: 13px; }
@media (max-width: 800px) {
  .reader-recovery-panel {
    position:static; width:100%; max-width:100%; max-height:none; margin-top:8px; overflow:visible;
  }
}
@media (max-width: 600px) {
  .reader-heading .reader-tools { display:flex; align-items:center; flex-wrap:wrap; gap:4px 18px; }
  .reader-tools a.button:first-child { flex-basis:100%; text-align:center; margin-bottom:4px; }
  .reader-tools a.button:not(:first-child) { min-height:44px; }
  .reader-heading .reader-tools .reader-recovery-tools { width:auto; max-width:none; min-width:160px; flex:1; }
  .reader-recovery-panel { width:100%; }
}

/* Existing-report access uses the same centered system surface as other forms. */
.prepared-report-access { max-width: 720px; }
.prepared-report-access > .lookup-form { max-width: none; }
.prepared-report-access .form-row button { flex: 0 0 auto; min-width: 150px; }
.prepared-report-access .access-context { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.prepared-report-access .access-context p { margin: 0 0 12px; }
.prepared-report-access .access-context > a { display: inline-block; margin-bottom: 22px; }

.compare-scroll-hint { display: none; }
.source-excerpts { margin-top: 20px; }
.source-excerpts > summary { cursor: pointer; min-height: 44px; }
.lookup-overview .lookup-date-recovery {
  display: block; padding: 24px clamp(24px, 3.1vw, 44px);
  border-top: 1px solid var(--line); border-bottom: 0;
}
.lookup-overview .lookup-date-recovery > header h2 {
  max-width: none; margin: 0 0 10px; font-size: 22px; line-height: 1.3;
}
.lookup-overview .lookup-date-recovery > p {
  max-width: 76ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65;
}
@media (max-width: 760px) {
  .compare-scroll-hint { display: block; }
  .system-state-card .checkout-progress { grid-template-columns: 1fr; }
}

/* Publication pages share the same inner edge for cards and outside notes. */
.ad-source-page > .card,
.ad-source-page > .directory-list > .card {
  padding: clamp(24px, 3.8vw, 48px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-bright);
  margin: 24px 0;
}
.ad-source-page > .directory-list {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}
.ad-source-page > .directory-list > .card { margin: 0; }
.ad-source-page .publication-directory-record h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.3;
}
.ad-source-page > .form-hint.ad-source-discovery {
  padding-inline: clamp(24px, 3.8vw, 48px);
  margin: 16px 0 24px;
}
.ad-source-page .directive-search > label:only-of-type { grid-column: 1 / -1; }

/* Current source-fact report: existing single-column page shell. */
.source-fact-report { padding-top: clamp(30px, 5vw, 64px); }
.source-fact-report > .hero.compact { padding: clamp(28px, 4vw, 48px); }
.source-fact-report > .hero.compact h1 { font-size: clamp(40px, 5vw, 58px); }
.source-fact-report > .hero.compact > p:not(.eyebrow) { max-width: 68ch; }
.source-report-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 24px; font-size: 14px; }
.source-report-actions > span { color: var(--muted); }
.source-report-contents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 760px); margin-top: 28px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.source-report-contents a { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 12px; margin: 0; border-right: 1px solid var(--line); background: var(--surface, #fff); color: var(--ink); text-align: center; font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; }
.source-report-contents a:last-child { border-right: 0; }
.source-report-contents a:hover { background: var(--bg, #f3f4f4); text-decoration: none; }
.source-fact-report .source-report-contents a:focus-visible { outline-offset: -4px; }
@media (max-width: 600px) {
  .source-report-contents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-report-contents a { min-height: 60px; }
  .source-report-contents a:nth-child(2) { border-right: 0; }
  .source-report-contents a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.source-fact-report > .section { padding: clamp(28px, 4vw, 48px); scroll-margin-top: 28px; }
.source-fact-report > .section > h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.2; margin: 12px 0 24px; }
.source-fact-report > .section > p:not(.eyebrow) { max-width: 70ch; line-height: 1.7; }
.source-report-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 32px; margin: 0; }
.source-report-facts > div { min-width: 0; }
.source-report-facts dt, .source-report-provenance dt { font-size: 13px; color: var(--muted); }
.source-report-facts dd { margin: 7px 0 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.source-report-evidence { margin-top: 26px; border-top: 1px solid var(--line); }
.source-report-evidence > summary { padding: 18px 0; cursor: pointer; font-size: 14px; }
.source-report-evidence > div { max-width: 74ch; padding-bottom: 6px; line-height: 1.7; }
.source-report-evidence a, .source-report-evidence code, .source-report-evidence dd { overflow-wrap: anywhere; }
.source-report-evidence details > summary { cursor: pointer; padding: 10px 0; font-size: 13px; }
.source-report-evidence pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; font-size: 12px; }
.source-report-provenance { display: grid; gap: 14px; margin: 20px 0; }
.source-report-provenance dd { margin: 5px 0 0; font-size: 14px; }
.source-report-event { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.source-report-event > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.source-report-event h3 { font-size: 20px; margin: 0; }
.source-report-event > header > p { margin: 0; font-size: 13px; color: var(--muted); }
.source-report-event > p { font-size: 15px; line-height: 1.6; }
.source-report-event > .source-report-evidence { border: 0; margin-top: 8px; }
.source-report-event > .source-report-evidence > summary { padding: 10px 0; }
.source-report-sources { padding-left: 20px; }
.source-report-sources > li { margin: 18px 0; }
.source-report-note { border-left: 2px solid var(--line-strong); padding-left: 16px; }
.source-report-timeline, .source-report-publications, .source-report-registration-context { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.source-report-timeline > h3, .source-report-publications > h3, .source-report-registration-context > h3 { font-size: 22px; line-height: 1.35; }
.source-report-timeline > p, .source-report-publications > p { max-width: 74ch; font-size: 14px; line-height: 1.7; }
.source-report-event h4 { margin: 0; font-size: 19px; line-height: 1.4; }
.source-report-event h5 { font-size: 15px; margin: 24px 0 12px; }
.source-report-clause { margin: 0; border-left: 2px solid var(--line-strong); padding-left: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; }
.source-report-next-records { max-width: 74ch; padding-left: 22px; }
.source-report-next-records li { margin: 14px 0; line-height: 1.7; }
.source-report-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.source-report-context > article { min-width: 0; }
.source-report-context h3 { font-size: 20px; margin-top: 0; }
.source-report-context p { font-size: 15px; line-height: 1.7; }
.source-report-context .source-report-count { font-size: 30px; margin: 18px 0 12px; line-height: 1.4; }
.source-report-count > span { display: block; font-size: 13px; color: var(--muted); }
.source-report-context a { font-size: 14px; }
.source-fact-report :is(a, summary):focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
@media (max-width: 760px) {
  .source-report-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .source-report-context { grid-template-columns: 1fr; gap: 24px; }
  .source-report-context > article + article { border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 460px) {
  .source-report-facts { grid-template-columns: 1fr; gap: 18px; }
}

/* Brief questions and evidence are complete articles, not date/body pairs. */
.buyer-brief { overflow-wrap: anywhere; }
.buyer-brief .reader-publication { display: block; min-width: 0; padding: 26px 0; }
.buyer-brief .reader-publication h3 { margin: 8px 0 16px; font-size: 22px; line-height: 1.35; }
.buyer-brief .reader-publication > p { max-width: 72ch; line-height: 1.7; }
.buyer-brief .source-report-facts,
.buyer-brief .source-report-provenance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.buyer-brief .source-report-provenance > div,
.buyer-brief .source-report-provenance dd { min-width: 0; }
.buyer-brief .source-report-facts dd { font-size: 15px; }
.buyer-brief .source-report-provenance code { white-space: normal; overflow-wrap: anywhere; }
.reader-ad-clauses .ad-source-clause { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; font-size: 13px; line-height: 1.65; }
@media (max-width: 600px) {
  .buyer-brief .source-report-facts,
  .buyer-brief .source-report-provenance { grid-template-columns: minmax(0, 1fr); }
  .buyer-brief .reader-publication h3 { font-size: 20px; }
}
@media print {
  .buyer-brief .reader-publication { break-inside: auto; }
  .buyer-brief h2, .buyer-brief h3 { break-after: avoid; }
}
