.article-main { max-width: 1000px; overflow-wrap: anywhere; }
.article-main h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.12; max-width: 27ch; }
.article-main h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.3; margin-top: 40px; }
.article-main p, .article-main li { font-size: 1.05rem; line-height: 1.7; }
.article-main li { margin-bottom: 10px; color: #46515d; }
.article-main strong { color: var(--text); }
.article-main .contents, .technical { background: var(--page-bg); padding: 20px; border-left: 4px solid var(--link-blue); margin-block: 28px; }
.article-main .contents ul { margin: 0; padding-left: 20px; }
.technical summary { cursor: pointer; min-height: 44px; font-weight: bold; display: list-item; line-height: 1.6; }
.technical p { margin-top: 16px; }
.technical:focus-within { outline: 2px solid var(--link-blue); outline-offset: 3px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 20px; }
.article-main table { border-collapse: collapse; width: 100%; font-size: .96rem; line-height: 1.55; }
.article-main th, .article-main td { padding: 12px; border-bottom: 1px solid #c6ccd2; text-align: left; vertical-align: top; }
.article-main th { background: var(--page-bg); color: var(--text); }
.article-main figure { margin: 28px 0; }
.article-main figure img { display: block; width: 100%; height: auto; }
.chart-scroll { max-width: 100%; overflow-x: auto; }
.article-main .chart-scroll img { min-width: 700px; }
.article-main figcaption { font-size: .94rem; line-height: 1.6; margin-top: 12px; color: #46515d; }
.article-main code { background: var(--page-bg); padding: 2px 4px; overflow-wrap: anywhere; }
.article-main .breadcrumbs { margin-bottom: 24px; }
@media print { .site-header, .contents, .skip-link { display: none; } .article-main { max-width: none; padding: 0; } .technical { break-inside: avoid; } }

/* Study navigation and provenance use the existing Augmen palette. */
.article-main [id] { scroll-margin-top: 24px; }
.article-main .contents ul { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0; list-style: none; }
.article-main .contents li { margin: 0; }
.contents a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 4px; }
.index-secondary { border-top: 1px solid #c6ccd2; padding-top: 12px !important; margin-top: 12px !important; }
.article-main .index-secondary a { font-size: .94rem; }
.article-main .lead { font-size: 1.2rem; max-width: 68ch; }
.key-results { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; list-style: none; }
.article-main .key-results li { border-left: 3px solid var(--link-blue); padding-left: 12px; margin: 0; }
.essential-note, .example, .scenario-box { background: var(--page-bg); padding: 20px; border-left: 4px solid var(--link-blue); margin-block: 24px; }
.scenario-box { border: 1px solid #c6ccd2; border-radius: 8px; }
.scenario-box .table-scroll { margin-bottom: 0; }
.scenario-box th:first-child { width: 15%; }
.scenario-box th:last-child { width: 15%; }
.data-kind { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 6px; border: 1px solid #46515d; border-radius: 4px; }
.data-kind.external { background: #fff; color: #124d78; }
.data-kind.hypothesis { background: #17202a; color: #fff; }
.data-kind.calculated { background: #d8ebf9; color: #17202a; }
.article-main caption { text-align: left; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.article-main tbody th { background: transparent; font-weight: 400; }
.article-main table td { font-variant-numeric: tabular-nums; }
.article-main h3 { font-size: 1.25rem; line-height: 1.4; margin-top: 28px; }
.article-main h4 { font-size: 1.05rem; line-height: 1.5; }
.technical-content { padding-top: 16px; }
.technical-content table { min-width: 560px; }
.technical-content > :last-child { margin-bottom: 0; }
.table-scroll:focus-visible, .chart-scroll:focus-visible, summary:focus-visible,
.article-main [tabindex="-1"]:focus-visible { outline: 3px solid var(--link-blue); outline-offset: 4px; }
.reference-backlinks { display: block; font-size: .9rem; }
.reference-backlinks a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.downloads a { display: inline-flex; align-items: center; min-height: 44px; }
.anchor-alias { display: block; }
@media (max-width: 520px) {
  .article-main.site-main { padding-inline: 16px; }
  .scenario-box, .essential-note, .example, .article-main .contents, .technical { padding: 16px; }
  .scenario-box table { font-size: .9rem; }
  .scenario-box table, .scenario-box tbody, .scenario-box tr { display: block; }
  .scenario-box caption { display: block; width: 100%; }
  .scenario-box thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .scenario-box tr { padding-block: 12px; border-bottom: 1px solid #c6ccd2; }
  .scenario-box th, .scenario-box td { display: block; width: auto !important; padding: 4px 0; border: 0; }
  .scenario-box tbody th { font-weight: 700; }
}


