/* Methods section (2026-11-15). Source: Sites\science\src\methods.css; build.py copies it to site\assets\methods.css and
   links it from the Methods pages only. Colours are the shared tokens (light and dark); nothing here sets a colour literal
   except the neutral tag chips, which use the tokens too. Works at 390 px with no sideways scroll. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nil { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.count { font: 500 14px var(--mono); color: var(--muted); margin-left: 4px; }

main.method h2 { margin-top: 26px; scroll-margin-top: 12px; }
main.method h3 { font-size: 20px; font-weight: 600; margin: 16px 0 6px; }
.method-head { margin-bottom: 8px; }
.method-head .ai-note { margin: 10px 0 4px; }

/* classification chips */
.mtags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0 10px; }
.mtags li { margin: 0; font-size: 13px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; }
.mtags .k { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }

/* facts: label / value pairs */
.facts { margin: 0 0 14px; }
.facts dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 10px; }
.facts dd { margin: 2px 0 0; }
.notice { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); border-radius: 6px; padding: 8px 12px; font-size: 15px; }

.howsteps { padding-left: 22px; }
.howsteps li { margin: 6px 0; }

/* lists of records and references */
.reclist { padding-left: 18px; }
.reclist li { margin: 8px 0; }
.refs .reftype { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-right: 4px; white-space: nowrap; }
.lq { color: var(--muted); font-size: 14px; }

/* family line */
.pathlist { list-style: none; padding: 0; }
.pathlist li { margin: 6px 0; }
.famline .arr { color: var(--muted); margin: 0 4px; }
.famkids { list-style: none; padding-left: 18px; border-left: 2px solid var(--line); margin: 6px 0; }
.famkids li { margin: 6px 0; }

/* what it needs: IFC Table 5 box */
.effort caption { text-align: left; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px 0; caption-side: top; }
.effort td { white-space: nowrap; }

/* index */
main.methods-index { max-width: 1080px; }
main.methods-index .lede { max-width: 760px; }
.mgroup { margin: 26px 0; scroll-margin-top: 12px; }
.mgroup h2 { margin-bottom: 4px; }
.methods-index .jump { margin: 14px 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.methods-index .jump a { color: var(--accent); }
.methods-index .issue-list li > a { font-size: 21px; }
.methods-index .toc { display: flex; }

/* quotes (only when the quote policy allows them) */
.evidence summary { cursor: pointer; }
.evlist { padding-left: 20px; }
.evlist blockquote { margin: 6px 0; padding: 4px 12px; border-left: 3px solid var(--line); color: var(--ink); }
.evfield, .evmeta { font-size: 14px; color: var(--muted); margin: 4px 0; }

/* closing and page footer */
.about-page { margin-top: 30px; }
.about-page .ai-note { margin: 8px 0; }

/* private preview only */
.preview-banner { margin: 0; padding: 8px 16px; background: var(--warn-bg); color: var(--warn-ink); border-bottom: 1px solid var(--warn-line); font: 500 13px var(--mono); }

@media (max-width: 640px) {
  .effort td, .effort th { white-space: normal; }
  main.method h2 { font-size: 24px; }
  .methods-index .toc { display: flex; }
}
@media print { .preview-banner { display: none; } }
