/* T13/T14 Original Research reports (remaining-168, 2026-09-15). Scoped under
 * body.rp-page. A compact left-aligned title, date and method introduction, the
 * headline numbers in one strip, then every report section (its chart and
 * tables open) beside a contents rail built on the server from the rendered
 * headings (src/helpers/report-shell.js). The report helpers still produce all
 * of the body, figures and citations. The Report Viewer embed (?embed=1) gets no
 * rail and does not carry this body class.
 */
body.rp-page main .container { max-width: 1180px; }

/* Opening */
body.rp-page .dr-hero { text-align: left; max-width: 72ch; margin: .5rem 0 1.25rem; }
body.rp-page .dr-hero h1 { text-align: left; color: var(--color-text); }
body.rp-page .dr-hero p.dr-lead { text-align: left; margin: 0; color: var(--color-text); }
body.rp-page .rmv-share[data-share-type="report"] { text-align: left; }
body.rp-page .rmv-share-mount.rmv-share-primary { margin: 0 0 1.25rem; }

/* Headline numbers: one strip with dividers, left-aligned. */
body.rp-page .dr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; margin: 0 0 1.25rem; justify-content: stretch; }
body.rp-page .dr-stat { border: 0; border-radius: 0; background: var(--color-surface); text-align: left; padding: .9rem 1.1rem; min-width: 0; }
body.rp-page .dr-stat-num { font-size: 1.7rem; }
@media (max-width: 640px) {
  body.rp-page .dr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rp-page .dr-stats > .dr-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Method note under the numbers. */
body.rp-page .dr-method { max-width: none; margin: 0 0 1.5rem; text-align: left; padding: .9rem 1.1rem; background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); border-radius: var(--radius-md); }
body.rp-page .dr-method p { font-size: .92rem; line-height: 1.6; text-align: left; margin: 0; max-width: 90ch; }
body.rp-page .dr-method p.dr-meta { margin-top: .45rem; text-align: left; font-weight: 600; color: var(--color-text); }

/* Report beside its contents rail. */
body.rp-page .rp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 2.5rem; align-items: start; }
body.rp-page .rp-body { min-width: 0; }
body.rp-page .rp-contents-disclosure > summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; padding: .7rem 0; border-bottom: 1px solid var(--color-border); font: 700 .8rem/1.4 var(--font-sans); color: var(--color-text); }
body.rp-page .rp-contents-disclosure > summary::-webkit-details-marker { display: none; }
body.rp-page .rp-contents-disclosure > summary:focus-visible, body.rp-page .rp-contents nav a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
body.rp-page .rp-contents nav { display: flex; flex-direction: column; gap: 1px; padding: .45rem 0; }
body.rp-page .rp-contents nav a { display: block; font: 400 .8rem/1.45 var(--font-sans); color: var(--color-text-muted); text-decoration: none; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; padding: .4rem .5rem .4rem .85rem; overflow-wrap: break-word; }
body.rp-page .rp-contents nav a:hover { color: var(--color-text); border-left-color: var(--color-accent); background: rgba(232,181,74,.10); }
@media (min-width: 1024px) {
  body.rp-page .rp-layout { grid-template-columns: 220px minmax(0, 1fr); }
  body.rp-page .rp-contents { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 1023px) {
  body.rp-page .rp-contents { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); padding: 0 .9rem; }
  body.rp-page .rp-contents-disclosure > summary { border-bottom: 0; padding: .8rem 0; min-height: 44px; box-sizing: border-box; }
  body.rp-page .rp-contents-disclosure[open] > summary { border-bottom: 1px solid var(--color-border); }
  body.rp-page .rp-contents nav a { padding: .55rem .5rem .55rem .85rem; }
}

/* Sections fill the reading column; headings left with room under the sticky nav. */
body.rp-page .rp-body .dr-section, body.rp-page .rp-body .dr-cite, body.rp-page .rp-body .dr-related, body.rp-page .rp-body .dr-disclaimer { max-width: none; }
body.rp-page .rp-body .dr-section, body.rp-page .rp-body .dr-cite { scroll-margin-top: 90px; }
body.rp-page .dr-section h2, body.rp-page .dr-cite h2, body.rp-page .dr-related h2 { text-align: left; color: var(--color-text); }
body.rp-page .dr-section h2 { font-size: 1.35rem; border-bottom-width: 1px; }
body.rp-page .dr-section p, body.rp-page .dr-cite p, body.rp-page .dr-disclaimer p { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
body.rp-page .dr-note { max-width: none; }
body.rp-page .dr-table-wrap { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
body.rp-page .dr-table { margin-top: 0; }
body.rp-page .dr-table th { color: var(--color-text); }
@media (max-width: 640px) {
  body.rp-page .dr-table th, body.rp-page .dr-table td { padding: .5rem .55rem; }
}
body.rp-page .dr-cite-text { overflow-wrap: anywhere; }
body.rp-page .dr-hero .dr-eyebrow { font-family: var(--font-sans); font-weight: 800; letter-spacing: .11em; }
