.mth-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mth-k { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.mth-note { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-80); }
.mth-fig { grid-column: 1 / -1; margin-top: calc(40 * var(--u)); min-width: 0; }
.mth-fig figcaption { margin-top: 14px; max-width: 46em; font-size: 15px; line-height: 1.55; color: var(--ink-80); }
.mth-fig h4 { font-size: var(--h5-size); font-weight: 450; line-height: 1.2; letter-spacing: -.015em; }
.mth-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 15px; }
.mth-more:hover, .mth-h-link:hover { color: var(--orange); }
.mth-h-link { display: inline-flex; align-items: baseline; gap: .3em; }
.mth-h-link .ico { font-size: .45em; }
.mth .doc-sub { grid-column: 1 / 4; margin-top: calc(40 * var(--u)); font-size: var(--h5-size); font-weight: 450; }
.mth .doc-links { font-size: 15px; }

.mth-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.mth-card { display: flex; flex-direction: column; padding: 22px 22px 20px; background: var(--ink-5); border-top: var(--stroke-rule) solid var(--ink); }
.mth-card h4 { margin-top: 10px; }
.mth-card > p:not(.mth-k) { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.mth-card dl { margin-top: 16px; padding-top: 12px; border-top: var(--stroke-hair) solid var(--ink-16); }
.mth-card dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.mth-card dd { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink); }

.mth-flow, .mth-funding { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 14px; }
.mth-flow__col, .mth-funding > div { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: var(--stroke-hair) solid var(--ink); }
.mth-flow__col > :is(a, span), .mth-funding span { font-size: 16px; line-height: 1.4; }
.mth-flow__col > a { text-decoration: underline; text-decoration-color: var(--ink-16); text-underline-offset: 3px; }
.mth-flow__col > a:hover { color: var(--orange); }
.mth-flow__arrow { align-self: center; font-size: 14px; }
.mth-funding__out { background: var(--ink); color: var(--on-ink); }
.mth-funding__out .mth-k { color: var(--on-ink); }

.mth-uplift { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.mth-uplift__c { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: var(--stroke-hair) solid var(--ink-16); color: var(--ink-80); transition: border-color var(--dur-hover); }
.mth-uplift__c h4 { color: var(--ink); }
.mth-uplift__c p:not(.mth-k) { font-size: 15px; line-height: 1.5; }
.mth-uplift__c.is-on { border-color: var(--ink); background: var(--ink-5); color: var(--ink); }
.mth-uplift__c:hover { border-color: var(--orange); }

.mth-roles table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.mth-roles th, .mth-roles td { padding: 14px 14px 14px 0; text-align: left; vertical-align: top; border-bottom: var(--stroke-hair) solid var(--ink-16); }
.mth-roles thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; border-bottom: var(--stroke-hair) solid var(--ink); }
.mth-roles tbody th { font-weight: 500; font-size: 16px; }
.mth-roles tr.is-us th, .mth-roles tr.is-us td { background: var(--ink); color: var(--on-ink); border-bottom-color: var(--on-ink-16); }
.mth-roles tr.is-us th { padding-left: 14px; }
.mth-roles tr:not(.is-us) th { padding-left: 14px; }
.mth-qa { display: grid; gap: 0; }
.mth-qa__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--g); padding: 16px 0; border-bottom: var(--stroke-hair) solid var(--ink-16); }
.mth-qa__q { font-size: var(--h5-size); font-weight: 450; }
.mth-qa dl { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.mth-qa dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.mth-qa dd { margin-top: 4px; font-size: 16px; }

.mth-matrix { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--ink-16); border: var(--stroke-hair) solid var(--ink-16); }
.mth-matrix > * { background: var(--bg); padding: 14px 16px; }
.mth-matrix__row { display: flex; align-items: center; }
.mth-matrix__cell { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }
.mth-matrix__cell.is-main { background: var(--ink); color: var(--on-ink); }
.mth-matrix__cell.is-empty { color: var(--ink-80); }
.mth-matrix__big { font-size: var(--h5-size); font-weight: 450; display: inline-flex; gap: 10px; align-items: center; }
.mth-matrix__cell a:not(.mth-matrix__big) { text-decoration: underline; text-underline-offset: 3px; }
.mth-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--g); }
.mth-group { padding: 18px 20px 14px; background: var(--ink-5); }
.mth-group header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: var(--stroke-hair) solid var(--ink); }
.mth-count { font-family: var(--mono); font-size: 15px; }
.mth-group ul { list-style: none; padding: 0; }
.mth-group li { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: var(--stroke-hair) solid var(--ink-16); }
.mth-group li:last-child { border-bottom: 0; }
.mth-group li a { font-size: 16px; font-weight: 500; }
.mth-group li a:hover { color: var(--orange); }
.mth-group__m { font-size: 14px; line-height: 1.45; color: var(--ink-80); }
.mth-group__facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--ink-80); }

.mth-outcomes__bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.mth-outcomes__bar span { padding: 12px 10px; font-size: 14px; line-height: 1.3; background: var(--ink-16); color: var(--ink); }
.mth-outcomes__bar .is-break { background: var(--ink); color: var(--on-ink); }
.mth-outcomes__key { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-top: 10px; }
.mth-outcomes__key div { padding: 0 10px 0 0; }
.mth-outcomes__key dt { font-weight: 500; font-size: 15px; }
.mth-outcomes__key dd { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink); }

.mth-pipe ol, .mth-publish, .mth-steps, .mth-chain ol { list-style: none; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; }
.mth-pipe li { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; background: var(--ink-5); }
.mth-pipe b { font-size: var(--h3-size); font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.mth-pipe span { font-size: 15px; line-height: 1.5; }

.mth-anatomy__row, .mth-ranges li { display: grid; grid-template-columns: 8em minmax(0, 1fr) 4em; align-items: center; gap: 14px; }
.mth-anatomy__row { padding: 16px 0; border-block: var(--stroke-hair) solid var(--ink); }
.mth-anatomy__name, .mth-ranges__n { font-size: 16px; font-weight: 500; }
.mth-anatomy__v, .mth-ranges__v { font-family: var(--mono); font-size: 16px; text-align: right; }
.mth-anatomy__track, .mth-ranges__t { position: relative; height: 22px; background: linear-gradient(var(--ink-16), var(--ink-16)) center / 100% 1px no-repeat; }
.mth-anatomy__track i, .mth-ranges__t i { position: absolute; top: 9px; height: 4px; background: var(--ink-80); }
.mth-anatomy__track b, .mth-ranges__t b { position: absolute; top: 4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); }
.mth-anatomy__key { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); margin-top: 16px; }
.mth-anatomy__key dt, .mth-outcomes__key dt { font-size: 15px; font-weight: 500; }
.mth-anatomy__key dd { margin-top: 4px; font-size: 15px; line-height: 1.5; }
.mth-ranges ul { list-style: none; padding: 0; margin-top: 12px; }
.mth-ranges li { padding: 6px 4px; cursor: default; outline-offset: 2px; }
.mth-ranges li.is-on .mth-ranges__t b { background: var(--ink); }
.mth-ranges li.is-overlap { background: var(--ink-5); }
.mth-ranges li.is-overlap .mth-ranges__t i { background: var(--ink); }
.mth-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 2px; }
.mth-chips div { padding: 12px 14px; background: var(--ink-5); }
.mth-chips dt { font-size: 14px; color: var(--ink-80); }
.mth-chips dd { margin-top: 2px; font-size: 16px; font-weight: 500; }

.mth-chain li, .mth-publish li, .mth-steps li { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; background: var(--ink-5); }
.mth-chain li span { font-size: 15px; }
.mth-chain li b { font-size: var(--h3-size); font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.mth-chain li.is-goal { background: var(--ink); color: var(--on-ink); }
.mth-publish b { font-size: var(--h5-size); font-weight: 450; }
.mth-publish span, .mth-steps p:not(.mth-k) { font-size: 15px; line-height: 1.5; }

.mth-svg { width: 100%; }
.mth-svg svg { display: block; overflow: visible; font-family: var(--sans); }
.mth-ax { font-size: 14px; fill: var(--ink); }
.mth-tick { font-size: 13px; fill: var(--ink-80); }
.mth-grid { stroke: var(--ink-16); }
.mth-axis { stroke: var(--ink); }
.mth-key { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 4px 12px; margin-top: 16px; }
.mth-key div { padding: 10px 12px; cursor: default; }
.mth-key dt { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.mth-key dd { margin-top: 4px; font-size: 15px; line-height: 1.5; }
.mth-key i, .mth-legend i { display: inline-block; flex: none; width: 18px; height: 12px; }
.mth-key i.is-dot { width: 12px; border-radius: 50%; background: var(--ink); }
.mth-key i.is-best { width: 12px; border-radius: 50%; background: var(--orange); }
.mth-key i.is-curve { height: 0; border-top: 2px dotted var(--ink-80); }
.mth-key i.is-line { height: 0; border-top: var(--stroke-rule) solid var(--ink); }
.mth-band { fill: var(--ink-16); }
.mth-med { fill: none; stroke: var(--ink); stroke-width: 2; }
.mth-med-pt { fill: var(--ink); }
.mth-fig :is(.mth-key, .mth-anatomy__key).chart-frame__legend {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  align-items: start; font: inherit; text-transform: none; letter-spacing: normal;
}
.mth-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; font-size: 14px; color: var(--ink); }
.mth-legend span { display: inline-flex; align-items: center; gap: 8px; }
.mth-legend i.is-med { height: 0; border-top: var(--stroke-rule) solid var(--ink); }
.mth-legend i.is-band { background: var(--ink-16); }
.mth-legend i.is-attacker { height: 0; border-top: var(--stroke-rule) solid var(--ink); }
.mth-legend i.is-frozen { height: 0; border-top: 2px dashed var(--ink); }
.mth-legend i.is-run { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.mth-attacker { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.mth-cut { stroke: var(--ink-80); stroke-width: 1; }
.mth-frozen { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 3; }
.mth-run { fill: var(--ink); }

.mth-formula { padding: 22px 24px; border: var(--stroke-hair) solid var(--ink); font-size: var(--h5-size); line-height: 1.6; }
.mth-formula p + p { margin-top: 6px; }
.mth-f { font-family: var(--mono); font-size: .92em; }
.mth-formula sub { font-family: var(--mono); font-size: 14px; }
.mth-defs { grid-column: 1 / 4; }
.mth-budget { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.mth-budget > div { padding: 18px 20px; border: var(--stroke-hair) solid var(--ink); }
.mth-budget .is-in { background: var(--ink); color: var(--on-ink); }
.mth-budget .is-in .mth-k { color: var(--on-ink); }
.mth-budget ul { margin-top: 10px; padding-left: 1.1em; font-size: 16px; line-height: 1.6; }

.mth-fw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--g); }
.mth-fw__list { display: flex; flex-direction: column; gap: 2px; }
.mth-fw__list button { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; text-align: left; font: inherit; font-size: 15px; background: var(--ink-5); color: var(--ink); border: 0; cursor: pointer; }
.mth-fw__list button span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.mth-fw__list button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.mth-fw__panel { padding: 4px 0; }
.mth-fw__panel h4 { margin-top: 6px; }
.mth-fw__panel > p:not(.mth-k) { margin-top: 10px; font-size: 16px; line-height: 1.6; max-width: 40em; }
.mth-fw__levels { list-style: none; padding: 0; margin-top: 14px; }
.mth-fw__levels li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: var(--stroke-hair) solid var(--ink-16); font-size: 15px; line-height: 1.5; }
.mth-sources-list ul { list-style: none; padding: 0; }
.mth-sources-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.4fr); gap: 14px; padding: 12px 0; border-top: var(--stroke-hair) solid var(--ink-16); font-size: 15px; line-height: 1.5; }
.mth-sources-list a { text-decoration: underline; text-underline-offset: 3px; }

.mth-log { margin-top: calc(28 * var(--u)); }

.fht-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1100px) {
	.mth-anatomy__key, .mth-outcomes__key { grid-template-columns: 1fr 1fr; row-gap: 14px; }
}
@media (max-width: 820px) {
	.mth-cards, .mth-uplift, .mth-budget, .mth-fw, .mth-qa dl { grid-template-columns: 1fr; }
	.mth-flow, .mth-funding { grid-template-columns: 1fr; }
	.mth-flow__arrow { transform: rotate(90deg); justify-self: center; }
	.mth-pipe ol, .mth-publish, .mth-steps, .mth-chain ol { grid-auto-flow: row; grid-auto-columns: auto; }
	.mth-qa__row { grid-template-columns: 1fr; }
	.mth-roles thead { display: none; }
	.mth-roles table, .mth-roles tbody, .mth-roles tr, .mth-roles th, .mth-roles td { display: block; }
	.mth-roles tr { margin-bottom: 12px; border: var(--stroke-hair) solid var(--ink-16); }
	.mth-roles th, .mth-roles td, .mth-roles tr:not(.is-us) th, .mth-roles tr.is-us th { padding: 10px 14px; }
	.mth-roles td::before { content: attr(data-col); display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
	.mth-matrix { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); }
	.mth-matrix > * { padding: 10px; }
	.mth-sources-list li, .mth-fw__levels li { grid-template-columns: 1fr; gap: 4px; }
	.mth-outcomes__bar, .mth-outcomes__key, .mth-anatomy__key { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.mth-matrix { grid-template-columns: 1fr; }
	.mth-matrix > span:first-child { display: none; }
	.mth-anatomy__row, .mth-ranges li { grid-template-columns: 5.5em minmax(0, 1fr) 3em; gap: 8px; }
	.mth-outcomes__bar, .mth-outcomes__key, .mth-anatomy__key { grid-template-columns: 1fr; }
	.mth-matrix__big { font-size: 19px; }
}

.mth .about-cite pre { font-size: 14px; line-height: 1.6; }
.mth .about-cite button, .mth .kit__links :is(a, button) { font-size: 14px; }
.mth .doc__nav li.is-sub a { font-size: 14px; }
.mth-fig figcaption .mth-f { font-size: 1em; }
.mth-formula sub { white-space: nowrap; }

.mth-held { margin: 20px 0; padding: 12px 18px 18px; border: var(--stroke-hair) dashed var(--ink-40); min-width: 0; }
.mth-held__t { color: var(--ink-80); }
.mth-held .ra-fig { margin-top: 18px; }

.mth-tag { display: inline-block; padding: 1px 6px; border: var(--stroke-hair) solid var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; vertical-align: 1px; }
a.mth-count { text-decoration: underline; text-underline-offset: 3px; }
.mth-group > .mth-k { margin-top: 12px; color: var(--ink-80); }
.mth-method { display: grid; gap: 2px; }
.mth-method__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 2px; }
.mth-method__facts div { padding: 12px 14px; background: var(--ink-5); }
.mth-method__facts dt { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-80); }
.mth-method__facts dd { margin-top: 4px; font-size: 15px; line-height: 1.5; }
.mth-method__ex { margin-top: 2px; }
.mth-method__ex b { font-size: 28px; }
.mth-method__dm { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mth-method__dm > div { padding: 14px 16px; background: var(--ink-5); }
.mth-method__dm > div.is-not { background: var(--ink); color: var(--on-ink); }
.mth-method__dm > div.is-not .mth-k { color: var(--on-ink); }
.mth-method__dm ul { margin-top: 8px; padding-left: 18px; font-size: 15px; line-height: 1.55; }
.mth-method__dm .mth-note { grid-column: 1 / -1; }
.mth-gridx table { width: 100%; max-width: 640px; margin-top: 10px; border-collapse: collapse; font-size: 15px; }
.mth-gridx th, .mth-gridx td { padding: 10px 12px; text-align: left; border-bottom: var(--stroke-hair) solid var(--ink-16); }
.mth-gridx thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; border-bottom: var(--stroke-hair) solid var(--ink); vertical-align: bottom; }
.mth-gridx td { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.mth-gridx td.is-r1 { background: var(--ink); color: var(--on-ink); }
.mth-gridx td.is-r2 { background: var(--ink-16); }
.mth-gridx td.is-r3 { background: var(--ink-5); }
.mth-tiers b { font-size: 24px; }
@media (max-width: 520px) {
	.mth-method__dm { grid-template-columns: 1fr; }
	.mth-gridx th, .mth-gridx td { padding: 8px 6px; }
	.mth-gridx thead th { hyphens: auto; overflow-wrap: anywhere; }
}
