/* methodology — page-local rules (★#59 M6). Moved verbatim from methodology.html's inline <style>. Token-only; shared components live in chrome.css. */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.section { margin-top: 48px; }
.section-title { font-family: 'Inter Tight', sans-serif; font-size: var(--fs-6); font-weight: 700; letter-spacing: -.02em; color: var(--text); margin: 0 0 8px; }
.section-intro { color: var(--text-muted); font-size: var(--fs-3); line-height: 1.6; margin: 0 0 20px; }
.lede { font-size: var(--fs-4); color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.lede strong { color: var(--text); }
.step-eyebrow { font-size: var(--fs-1); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.card strong { color: var(--text); font-weight: 600; }
.card p { color: var(--text-muted); font-size: var(--fs-3); margin-top: 6px; }
.card + .card { margin-top: 14px; }
.card-grid { display: grid; gap: 14px; margin-top: 4px; }
.principle { border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin-top: 20px; box-shadow: var(--shadow); }
.principle p { color: var(--text); font-size: var(--fs-3); font-style: italic; line-height: 1.6; }
.tier-list { list-style: none; counter-reset: tier; margin-top: 8px; }
.tier-list li { counter-increment: tier; position: relative; padding: 14px 16px 14px 52px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; font-size: var(--fs-3); color: var(--text-muted); line-height: 1.6; }
.tier-list li strong { color: var(--text); }
.tier-list li::before { content: counter(tier); position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: var(--fs-2); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 8px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; text-align: center; box-shadow: var(--shadow); }
.stat-value { font-family: 'Inter Tight', sans-serif; font-size: var(--fs-6); font-weight: 700; color: var(--accent); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: var(--fs-1); color: var(--text-subtle); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.nope { display: flex; gap: 10px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.nope-mark { color: var(--accent); font-weight: 700; flex-shrink: 0; line-height: 1.6; }
.nope-text { font-size: var(--fs-3); color: var(--text-muted); line-height: 1.6; }
.nope-text strong { color: var(--text); }

/* Data-lineage flow diagram — inlined SVG so its paint follows the theme tokens
   (was a flat <img> whose baked light-theme fills went white-on-white in dark). */
.mflow { width: 100%; max-width: 960px; height: auto; display: block; margin: 0 auto; }
.mflow .mf-box   { fill: var(--surface); stroke: var(--border); }
.mflow .mf-arrow { stroke: var(--accent); }
.mflow .mf-ink   { fill: var(--text); }
.mflow .mf-mut   { fill: var(--text-muted); }
.mflow .mf-sub   { fill: var(--text-subtle); }

/* ★#59 M6 — classes that replace this page's static style="" attributes (values unchanged). */
.method-figure { margin: 8px 0 4px; text-align: center; }
.method-caption { font-size: var(--fs-2); color: var(--text-muted); margin-top: 8px; }
.method-h3 { font-family: 'Inter Tight', sans-serif; font-size: var(--fs-4); font-weight: 700; margin: 28px 0 6px; }
.section-intro.method-intro-gap { margin-top: 18px; }
.nope-list { margin-top: 4px; }
