/* Methodology paper (/methodology/paper): extends the Insights reading layout (insights.css). */
.methodology-page .article-heading { align-items: start; }
.method-eyebrow { color: var(--accent); font-size: .9375rem; font-weight: 600; letter-spacing: 0; margin-bottom: 18px; }
.methodology-page .article-heading h1 { max-width: 16ch; }
.methodology-page .article-deck { max-width: 52ch; }

/* Figure 1: the six stages as a rail, ending in the report. */
.method-flow { margin: 0; min-width: 0; background: var(--paper); border-radius: 14px; padding: 28px 28px 22px; }
.method-flow ol { list-style: none; margin: 0; padding: 0; }
.method-flow li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding-bottom: 18px; }
.method-flow li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: #c4cee0; }
.method-flow li:last-child { padding-bottom: 0; }
.method-flow li:last-child::before { display: none; }
.flow-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.method-flow strong { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; padding-top: 5px; }
.method-flow li span:not(.flow-num) { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.5; margin-top: 2px; }
.method-flow .flow-report { margin-top: 4px; padding: 16px; border-radius: 10px; background: var(--ink); color: var(--white); }
.method-flow .flow-report .flow-num { background: var(--citron); color: var(--ink); }
.method-flow .flow-report span:not(.flow-num) { color: #cdd8f0; }
.method-flow figcaption { color: var(--muted); font-size: .8125rem; margin-top: 18px; }

/* The six stages in prose, each with a plain-terms line. */
.glance-steps { list-style: none; padding: 0 !important; margin: 28px 0 0 !important; counter-reset: glance; }
.glance-steps > li { counter-increment: glance; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 22px 0 0 !important; margin: 22px 0 0 !important; border-top: 1px solid var(--line); }
.glance-steps > li:first-child { margin-top: 0 !important; }
.glance-steps > li::before { content: counter(glance, decimal-leading-zero); color: var(--accent); font-size: 1.0625rem; font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; }
.glance-steps > li > * { grid-column: 2; }
.glance-steps > li > h3 { grid-row: 1; margin: 0; font-size: 1.25rem; }
.glance-steps p { margin-top: 8px !important; }
.plain { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.plain span { color: var(--ink); font-weight: 600; }

/* Definition lists: principles and glossary. */
.method-defs { margin: 24px 0 0; }
.method-defs > div { padding-block: 18px; border-top: 1px solid var(--line); }
.method-defs > div:last-child { border-bottom: 1px solid var(--line); }
.method-defs dt { font-weight: 600; line-height: 1.5; }
.method-defs dd { margin: 6px 0 0; color: var(--muted); line-height: 1.7; max-width: 72ch; }
.glossary dt { font-size: 1.0625rem; }
.glossary dd { font-size: 1.0625rem; }

/* Status and emphasis panels. */
.method-note { margin: 28px 0; padding: 22px 26px; background: var(--paper); border-radius: 12px; }
.method-note h3 { margin: 0 0 4px !important; font-size: 1.125rem !important; }
.method-note p { margin-top: 10px !important; }
.method-note p:first-child { margin-top: 0 !important; }
.method-note .note-date { color: var(--muted); font-size: .9375rem; }

/* Tables: row headers, compact source lists and the wide market comparison. */
.article-table .col-note { color: var(--muted); font-size: .9375rem; }
.market-table table { min-width: 720px; }
.market-table tbody th { width: 128px; color: var(--muted); font-weight: 500; }
.market-table .stage-chip { white-space: normal; }
.market-table thead th:first-child { background: transparent; }
.stage-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: .875rem; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.stage-chip.is-exploratory { background: #eef1dd; color: #4d5c16; }

/* Data sources, notices and references. */
.source-list { margin: 16px 0 0; }
.source-list dt { font-weight: 600; margin-top: 20px; }
.source-list dd { margin: 6px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.source-list dd + dd { margin-top: 4px; }
.source-notices { margin-top: 28px; border-top: 1px solid var(--line); }
.source-notices details { border-bottom: 1px solid var(--line); }
.source-notices summary { cursor: pointer; font-weight: 600; padding-block: 14px; min-height: 44px; }
.source-notices details p { color: var(--muted); font-size: .9375rem; line-height: 1.65; margin: 0 0 18px !important; }
.references { font-size: 1rem; line-height: 1.6; }
.references li { margin-top: 10px !important; }
.references li::marker { color: var(--muted) !important; }
.doc-history { color: var(--muted); font-size: .9375rem; }
.article-next-step .next-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: 1rem; }

@media (max-width: 820px) {
  .method-flow { max-width: 660px; }
  .methodology-page .article-heading h1 { max-width: 20ch; }
}
@media (max-width: 760px) {
  .method-flow { padding: 22px 20px 18px; }
  .glance-steps > li { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; }
  .method-note { padding: 18px 20px; }
}
@media print {
  .method-flow { background: none; border: 1px solid #ccc; }
  .method-flow .flow-report { background: none; color: black; border: 1px solid #ccc; }
  .method-flow .flow-report span:not(.flow-num) { color: #333; }
  .source-notices details > p { display: block; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
