/* Methodology page v2 (2026-11-15): table of contents beside long sections; stacked on phones. */
.mt-page .mt-intro{max-width:760px}
.mt-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start;margin:8px 0 40px}
.mt-toc{position:sticky;top:92px;padding:16px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.mt-toc-title{margin:0 0 10px 6px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.mt-toc ol{list-style:none;margin:0;padding:0;counter-reset:mt}
.mt-toc li{counter-increment:mt}
.mt-toc a{display:flex;gap:9px;padding:7px 8px;border-radius:8px;color:var(--text);font-size:14px;line-height:1.35;text-decoration:none}
.mt-toc a::before{content:counter(mt,decimal-leading-zero);flex:0 0 auto;font-size:12px;font-weight:700;color:var(--muted);padding-top:1px}
.mt-toc a:hover,.mt-toc a:focus-visible{background:var(--panel2);color:var(--green)}
.mt-body{display:grid;gap:18px;min-width:0}
.mt-section{position:relative;scroll-margin-top:96px;padding-top:26px}
.mt-section h2{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 12px;padding-right:48px}
.mt-section h3{margin:20px 0 8px;font-size:16px}
.mt-section p{line-height:1.7}
.mt-num{position:absolute;top:22px;right:22px;font-size:13px;font-weight:800;color:var(--muted);letter-spacing:.05em}
.mt-list{margin:8px 0 12px;padding-left:20px;line-height:1.7}
.mt-list li{margin:5px 0}
.mt-list li::marker{color:var(--green)}
.mt-steps{margin:10px 0 16px;padding-left:22px;line-height:1.7}
.mt-steps li{margin:8px 0}
.mt-steps li::marker{font-weight:800;color:var(--green)}
.mt-defs{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:12px 16px;margin:12px 0 14px;align-items:baseline}
.mt-defs dt{margin:0}
.mt-defs dd{margin:0;line-height:1.65}
.mt-chip{display:inline-block;padding:3px 10px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.02em;white-space:nowrap;color:var(--muted);background:var(--panel2)}
.mt-chip.ok{color:var(--green);border-color:color-mix(in srgb,var(--green) 45%,transparent)}
.mt-chip.blue{color:#4d9bff;border-color:#4d9bff80}
.mt-chip.bad{color:var(--band-bad,#ff405b);border-color:color-mix(in srgb,var(--band-bad,#ff405b) 50%,transparent)}
.mt-chip.grey{color:var(--muted)}
.mt-note{padding:12px 14px;border-left:3px solid var(--band-fair,#ffce18);border-radius:6px;background:var(--panel2)}
.mt-section .formula-box{overflow-wrap:anywhere}
body.light .mt-chip.blue{color:#1f63c6;border-color:#1f63c680}
@media(max-width:960px){
 .mt-layout{grid-template-columns:minmax(0,1fr);gap:16px}
 .mt-toc{position:static;padding:12px}
 .mt-toc ol{display:flex;flex-wrap:wrap;gap:6px}
 .mt-toc a{padding:6px 10px;border:1px solid var(--line);border-radius:999px;font-size:13px}
}
@media(max-width:560px){
 .mt-defs{grid-template-columns:minmax(0,1fr);gap:4px}
 .mt-defs dd{margin-bottom:10px}
 .mt-num{top:18px;right:16px}
}
/* Same status marks and icons as the cards and project pages (2026-11-15, owner request). */
.mt-defs .mt-pill,.mt-section h2 .mt-pill{margin:0;line-height:1.2}
.mt-status{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;white-space:nowrap}
.mt-status svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.mt-verified{color:var(--text)}
.mt-verified .detail-seal{width:20px;height:20px;flex:0 0 20px;font-size:13px}
.mt-icon{display:inline-grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:var(--panel2)}
.mt-icon svg{width:20px;height:20px;display:block}
.mt-owner{color:var(--green)}
.mt-flag{color:#e0a526}
.mt-flag svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.light .mt-flag{color:#a86b00}
