:root {
  --md-ink: #071b31;
  --md-navy: #073e72;
  --md-green: #078a5c;
  --md-red: #bd393e;
  --md-amber: #a96d00;
  --md-line: #c9d9e5;
  --md-soft: #f3f7fa;
  --md-muted: #4d6880;
}

.md-study { width: min(1540px, calc(100% - 2rem)); margin: 1rem auto 4rem; color: var(--md-ink); }
.md-study * { box-sizing: border-box; }
.md-study-crumbs { display: flex; gap: .45rem; margin: 0 0 .7rem; color: var(--md-muted); font-size: .72rem; font-weight: 750; }
.md-study-crumbs a { color: var(--md-navy); text-decoration: underline; text-underline-offset: .15rem; }
.md-study-kicker { margin: 0; color: var(--md-green); font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }

.md-study-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .55fr); border-top: 5px solid var(--md-ink); border-bottom: 1px solid var(--md-line); background: radial-gradient(circle at 88% 25%, #def3ea, transparent 35%), linear-gradient(115deg, #fff 56%, #eef5f8); }
.md-study-hero > div { padding: clamp(1.5rem, 4vw, 4.2rem); }
.md-study-hero h1 { max-width: 950px; margin: .45rem 0 .8rem; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(3.25rem, 7vw, 7.6rem); letter-spacing: -.055em; line-height: .84; }
.md-study-hero h1 em { color: var(--md-green); font-style: normal; }
.md-study-lead { max-width: 900px; margin: 0; color: #294d6c; font-size: clamp(1rem, 1.5vw, 1.28rem); font-weight: 700; line-height: 1.55; }
.md-study-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.md-study-actions a { padding: .72rem 1rem; border: 1px solid var(--md-navy); color: var(--md-navy); font-size: .74rem; font-weight: 850; text-decoration: none; }
.md-study-actions a:first-child { background: var(--md-navy); color: #fff; }
.md-study-hero > aside { display: grid; align-content: center; border-left: 1px solid var(--md-line); background: rgba(255,255,255,.64); }
.md-study-hero > aside div { display: grid; gap: .1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--md-line); }
.md-study-hero > aside span, .md-study-scoreboard span { color: var(--md-muted); font-size: .62rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.md-study-hero > aside strong { font-family: "Source Serif 4", Georgia, serif; font-size: 1.55rem; }
.md-study-hero > aside small { padding: 1rem 1.25rem; color: var(--md-muted); font-size: .68rem; font-weight: 700; line-height: 1.5; }
.md-study-country-switch { display: grid; grid-template-columns: auto minmax(220px, 360px) auto; gap: .55rem; align-items: center; justify-content: end; padding: .7rem 1rem; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); background: #fff; }
.md-study-country-switch label { color: var(--md-muted); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.md-study-country-switch select, .md-study-country-switch button { min-height: 38px; border: 1px solid var(--md-line); background: #fff; color: var(--md-ink); font: inherit; font-size: .72rem; font-weight: 750; }
.md-study-country-switch select { width: 100%; padding: .45rem .65rem; }
.md-study-country-switch button { padding: .45rem .8rem; border-color: var(--md-navy); background: var(--md-navy); color: #fff; cursor: pointer; }

.md-study-thesis { display: grid; grid-template-columns: .62fr 1.38fr; gap: 1.5rem; align-items: end; padding: 1.5rem; border-bottom: 1px solid var(--md-line); }
.md-study h2, .md-study h3 { font-family: "Source Serif 4", Georgia, serif; }
.md-study-thesis h2, .md-study-section-head h2, .md-study-explainer h2, .md-study-use h2 { margin: .2rem 0 0; font-size: clamp(2rem, 3.4vw, 3.5rem); letter-spacing: -.035em; line-height: .98; }
.md-study-thesis > p { margin: 0; color: #294d6c; font-size: 1rem; font-weight: 650; line-height: 1.65; }

.md-study-results { margin-top: 1.4rem; border-top: 4px solid var(--md-navy); }
.md-study-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.35rem; border: 1px solid var(--md-line); border-top: 0; }
.md-study-section-head > p { max-width: 520px; margin: 0; color: var(--md-muted); font-size: .75rem; font-weight: 700; line-height: 1.5; text-align: right; }
.md-study-tabs { display: flex; }
.md-study-tabs button { min-width: 100px; padding: .65rem .85rem; border: 1px solid var(--md-line); background: #fff; color: var(--md-navy); font: inherit; font-size: .72rem; font-weight: 850; cursor: pointer; }
.md-study-tabs button + button { border-left: 0; }
.md-study-tabs button.is-active { background: var(--md-navy); color: #fff; }

.md-study-scoreboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-right: 1px solid var(--md-line); }
.md-study-scoreboard article { display: grid; align-content: start; min-height: 145px; padding: 1rem 1.15rem; border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); }
.md-study-scoreboard strong { margin-top: .5rem; color: var(--md-navy); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: .95; }
.md-study-scoreboard small { margin-top: auto; padding-top: .5rem; color: var(--md-muted); font-size: .64rem; font-weight: 700; }

.md-study-relationship { display: grid; grid-template-columns: 1.4fr .6fr; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); }
.md-study-relationship > div { padding: 1.3rem; }
.md-study-relationship > div + div { border-left: 1px solid var(--md-line); }
.md-study-relationship h3 { margin: .25rem 0 .45rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }
.md-study-relationship p { max-width: 850px; margin: 0; color: var(--md-muted); font-size: .82rem; font-weight: 650; line-height: 1.6; }
.md-study-gauge > div { position: relative; display: grid; place-items: center; min-height: 140px; }
.md-study-gauge i { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--md-green) var(--value), #e3ecf2 0); }
.md-study-gauge i::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; background: #fff; }
.md-study-gauge strong, .md-study-gauge span { position: relative; z-index: 1; }
.md-study-gauge strong { margin-top: .2rem; font-family: "Source Serif 4", Georgia, serif; font-size: 1.75rem; }
.md-study-gauge span { margin-top: -1.4rem; color: var(--md-muted); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.md-study-gauge > p { padding-top: .7rem; border-top: 1px solid var(--md-line); font-size: .68rem; }

.md-study-regimes { margin-top: .9rem; border-top: 4px solid var(--md-ink); }
.md-study-regime-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: .9rem; }
.md-study-regime-grid > article { min-width: 0; border: 1px solid var(--md-line); border-top: 4px solid var(--md-line); background: #fff; }
.md-study-regime-grid > article.is-positive,
.md-study-regime-grid > article.is-recovery { border-top-color: var(--md-green); }
.md-study-regime-grid > article.is-negative { border-top-color: var(--md-red); }
.md-study-regime-grid > article.is-caution { border-top-color: var(--md-amber); }
.md-study-regime-grid header { display: flex; justify-content: space-between; gap: 1rem; min-height: 112px; padding: 1rem 1.1rem; border-bottom: 1px solid var(--md-line); }
.md-study-regime-grid header span { color: var(--md-muted); font-size: .6rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.md-study-regime-grid h3 { max-width: 520px; margin: .2rem 0 0; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.02; }
.md-study-regime-grid header > strong { color: var(--md-navy); font-family: "Source Serif 4", Georgia, serif; font-size: 1.4rem; text-align: right; }
.md-study-regime-grid header > strong small { display: block; color: var(--md-muted); font-family: "IBM Plex Sans", sans-serif; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.md-study-regime-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.md-study-regime-facts > span { display: grid; align-content: start; gap: .22rem; min-width: 0; padding: .7rem; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-regime-facts > span:last-child { border-right: 0; }
.md-study-regime-facts small { color: var(--md-muted); font-size: .54rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.md-study-regime-facts b { color: var(--md-ink); font-size: .82rem; font-style: normal; }
.md-study-regime-facts i { font-style: normal; }
.md-study-regime-grid article.is-positive .md-study-regime-facts span:first-child b,
.md-study-regime-grid article.is-recovery .md-study-regime-facts span:first-child b { color: var(--md-green); }
.md-study-regime-grid article.is-negative .md-study-regime-facts span:first-child b { color: var(--md-red); }
.md-study-regime-grid article.is-caution .md-study-regime-facts span:nth-child(3) b { color: var(--md-amber); }
.md-study-regime-grid figure { margin: 0; padding: .75rem; }
.md-study-regime-grid svg { display: block; width: 100%; height: 170px; overflow: visible; }
.md-study-regime-grid figcaption { margin-top: .25rem; color: var(--md-muted); font-size: .58rem; font-weight: 700; }
.md-study-regime-grid figcaption em { font-style: normal; }
.md-study-regime-note { margin: .9rem 0 0; padding: .75rem 1rem; border: 1px solid var(--md-line); border-left: 4px solid var(--md-amber); color: var(--md-muted); font-size: .68rem; font-weight: 700; line-height: 1.5; }

.md-study-zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: .9rem; }
.md-study-zone { min-width: 0; border: 1px solid var(--md-line); border-top: 4px solid; background: #fff; }
.md-study-zone.is-accumulation { border-top-color: var(--md-green); }
.md-study-zone.is-distribution { border-top-color: var(--md-red); }
.md-study-zone > header { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--md-line); }
.md-study-zone h3 { margin: .2rem 0 0; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; }
.md-study-zone > header > strong { color: var(--md-navy); font-family: "Source Serif 4", Georgia, serif; font-size: 1.5rem; text-align: right; }
.md-study-zone > header > strong small { display: block; color: var(--md-muted); font-family: "IBM Plex Sans", sans-serif; font-size: .57rem; letter-spacing: .08em; text-transform: uppercase; }
.md-study-zone-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.md-study-zone-facts span { display: grid; gap: .22rem; padding: .7rem; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-zone-facts span:last-child { border-right: 0; }
.md-study-zone-facts small { color: var(--md-muted); font-size: .55rem; font-weight: 800; text-transform: uppercase; }
.md-study-zone-facts b { font-size: .85rem; font-style: normal; }
.md-study-zone-facts i { font-style: normal; }
.md-study-horizons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md-study-horizons > div { min-width: 0; padding: .8rem; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-horizons > div:last-child { border-right: 0; }
.md-study-horizons span { color: var(--md-muted); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.md-study-horizons strong { display: block; margin: .25rem 0; font-family: "Source Serif 4", Georgia, serif; font-size: 1rem; }
.md-study-horizons strong i { font-style: normal; }
.md-study-horizons > div > div { height: 7px; margin: .48rem 0; background: #e2ebf1; overflow: hidden; }
.md-study-horizons > div > div i { display: block; width: var(--value); height: 100%; background: var(--md-green); }
.md-study-zone.is-distribution .md-study-horizons > div > div i { background: var(--md-red); }
.md-study-horizons small { display: block; color: var(--md-muted); font-size: .55rem; line-height: 1.45; }
.md-study-horizons em { font-style: normal; }
.md-study-zone figure { margin: 0; padding: .8rem; }
.md-study-zone svg { display: block; width: 100%; height: 225px; overflow: visible; }
.md-study-zone figcaption { margin-top: .35rem; color: var(--md-muted); font-size: .6rem; font-weight: 700; }

.md-study-distinction { display: grid; grid-template-columns: 1.1fr .8fr .8fr; margin-top: .9rem; border-top: 4px solid var(--md-amber); border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-distinction > div { padding: 1.1rem 1.2rem; border-left: 1px solid var(--md-line); }
.md-study-distinction h2 { margin: .2rem 0 0; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; }
.md-study-distinction h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.md-study-distinction p { margin: 0; color: var(--md-muted); font-size: .76rem; font-weight: 650; line-height: 1.55; }

.md-study-countries { margin-top: .9rem; border-top: 4px solid var(--md-green); }
.md-study-countries > div:last-child { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-right: 1px solid var(--md-line); }
.md-study-countries article { display: grid; gap: .2rem; min-width: 0; padding: .75rem; border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); }
.md-study-countries article strong { font-family: "Source Serif 4", Georgia, serif; font-size: .9rem; overflow-wrap: anywhere; }
.md-study-countries article span, .md-study-countries article small { color: var(--md-muted); font-size: .6rem; font-weight: 700; }

.md-study-explainer { display: grid; grid-template-columns: .72fr 1.28fr; gap: 1rem; margin-top: 1.5rem; padding: 1.4rem; border-top: 5px solid var(--md-ink); background: var(--md-soft); }
.md-study-explainer > div:first-child > p:last-child { color: var(--md-muted); font-size: .82rem; font-weight: 650; line-height: 1.6; }
.md-study-explainer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md-study-explainer-grid article { padding: 1rem; border: 1px solid var(--md-line); background: #fff; }
.md-study-explainer-grid article:nth-child(n+2) { border-left: 0; }
.md-study-explainer-grid article:nth-child(n+4) { border-top: 0; }
.md-study-explainer-grid article:nth-child(4) { border-left: 1px solid var(--md-line); }
.md-study-explainer-grid span { color: var(--md-green); font-size: .62rem; font-weight: 850; }
.md-study-explainer-grid h3 { margin: .3rem 0; font-size: 1.05rem; }
.md-study-explainer-grid p { margin: 0; color: var(--md-muted); font-size: .68rem; font-weight: 650; line-height: 1.5; }

.md-study-use { display: grid; grid-template-columns: .65fr 1.15fr auto; gap: 1.2rem; align-items: end; padding: 1.4rem; border-bottom: 1px solid var(--md-line); }
.md-study-use > p { margin: 0; color: var(--md-muted); font-size: .82rem; font-weight: 650; line-height: 1.6; }
.md-study-use > a { padding: .7rem .9rem; border: 1px solid var(--md-navy); color: var(--md-navy); font-size: .7rem; font-weight: 850; text-decoration: none; white-space: nowrap; }

@media (max-width: 1050px) {
  .md-study-hero { grid-template-columns: 1fr; }
  .md-study-hero > aside { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--md-line); border-left: 0; }
  .md-study-hero > aside small { grid-column: 1 / -1; }
  .md-study-scoreboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-regime-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-regime-facts > span:nth-child(2) { border-right: 0; }
  .md-study-zones { grid-template-columns: 1fr; }
  .md-study-countries > div:last-child { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md-study-explainer { grid-template-columns: 1fr; }
  .md-study-use { grid-template-columns: 1fr 1fr; }
  .md-study-use > a { grid-column: 2; }
}

@media (max-width: 700px) {
  .md-study { width: calc(100% - .7rem); margin-top: .5rem; }
  .md-study-hero > aside { grid-template-columns: 1fr; }
  .md-study-hero > aside small { grid-column: auto; }
  .md-study-country-switch { grid-template-columns: 1fr; justify-content: stretch; }
  .md-study-thesis, .md-study-relationship, .md-study-distinction, .md-study-use { grid-template-columns: 1fr; }
  .md-study-section-head { align-items: stretch; flex-direction: column; }
  .md-study-section-head > p { text-align: left; }
  .md-study-tabs { width: 100%; }
  .md-study-tabs button { flex: 1; min-width: 0; }
  .md-study-scoreboard { grid-template-columns: 1fr; }
  .md-study-scoreboard article { min-height: 115px; }
  .md-study-relationship > div + div { border-top: 1px solid var(--md-line); border-left: 0; }
  .md-study-zone > header { align-items: flex-start; flex-direction: column; }
  .md-study-zone > header > strong { text-align: left; }
  .md-study-regime-grid { grid-template-columns: 1fr; }
  .md-study-regime-grid header { min-height: 0; }
  .md-study-zone-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-zone-facts span:nth-child(2) { border-right: 0; }
  .md-study-horizons { grid-template-columns: 1fr; }
  .md-study-horizons > div { border-right: 0; }
  .md-study-countries > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-explainer-grid { grid-template-columns: 1fr; }
  .md-study-explainer-grid article:nth-child(n) { border: 1px solid var(--md-line); border-top: 0; }
  .md-study-explainer-grid article:first-child { border-top: 1px solid var(--md-line); }
  .md-study-use > a { grid-column: auto; white-space: normal; }
}

@media (max-width: 420px) {
  .md-study-horizons, .md-study-zone-facts, .md-study-regime-facts, .md-study-countries > div:last-child { grid-template-columns: 1fr; }
  .md-study-zone-facts span, .md-study-regime-facts > span { border-right: 0; }
}

/* Research-paper layout */
.md-study-hero h1 { max-width: 1040px; font-size: clamp(3.2rem, 6.2vw, 6.8rem); line-height: .9; }
.md-study-hero code { overflow-wrap: anywhere; font-size: .62rem; }
.md-study-actions a:nth-child(n+2) { background: #fff; color: var(--md-navy); }
.md-study-section-nav { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-section-nav a { padding: .7rem .45rem; border-left: 1px solid var(--md-line); color: var(--md-navy); font-size: .66rem; font-weight: 850; text-align: center; text-decoration: none; }
.md-study-section-nav a:hover, .md-study-section-nav a:focus-visible { background: #edf6f2; }

.md-study-answer { margin-top: 1rem; border-top: 5px solid var(--md-amber); border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); }
.md-study-answer.is-supported { border-top-color: var(--md-green); }
.md-study-answer.is-notSupported { border-top-color: var(--md-red); }
.md-study-answer > div:first-child { padding: 1.3rem 1.4rem; background: linear-gradient(110deg, #fff, #f3f8f6); }
.md-study-answer h2 { max-width: 1100px; margin: .25rem 0 .55rem; font-size: clamp(2.3rem, 4.4vw, 4.6rem); letter-spacing: -.04em; line-height: .96; }
.md-study-answer > div:first-child > p:last-child { max-width: 1000px; margin: 0; color: #294d6c; font-size: .92rem; font-weight: 700; line-height: 1.6; }
.md-study-outcome-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--md-line); }
.md-study-outcome-summary article { display: grid; gap: .25rem; padding: 1rem 1.25rem; border-right: 1px solid var(--md-line); }
.md-study-outcome-summary article:last-child { border-right: 0; }
.md-study-outcome-summary small { color: var(--md-muted); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.md-study-outcome-summary strong { color: var(--md-green); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.md-study-outcome-summary .is-short strong { color: var(--md-red); }
.md-study-outcome-summary span { color: var(--md-ink); font-size: .76rem; font-weight: 750; }
.md-study-outcome-summary i { font-style: normal; }
.md-study-answer-note { margin: 0; padding: .75rem 1.25rem; border-top: 1px solid var(--md-line); color: var(--md-muted); font-size: .68rem; font-weight: 650; line-height: 1.55; }

.md-study-scope { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; margin-top: 1rem; padding: 1.15rem 1.3rem; border-top: 4px solid var(--md-navy); border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); }
.md-study-scope h2 { margin: .2rem 0 .4rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }
.md-study-scope p:last-child { max-width: 850px; margin: 0; color: var(--md-muted); font-size: .75rem; font-weight: 650; line-height: 1.55; }

.md-study-primary { margin-top: 1rem; border-top: 5px solid var(--md-green); }
.md-study-primary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: .8rem; }
.md-study-primary-grid article { min-width: 0; border: 1px solid var(--md-line); border-top: 4px solid var(--md-amber); background: #fff; }
.md-study-primary-grid article.is-supports { border-top-color: var(--md-green); }
.md-study-primary-grid article.is-doesNotSupport { border-top-color: var(--md-red); }
.md-study-primary-grid header { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .75rem .85rem; border-bottom: 1px solid var(--md-line); }
.md-study-primary-grid header span { color: var(--md-navy); font-family: "Source Serif 4", Georgia, serif; font-size: 1.2rem; font-weight: 750; }
.md-study-primary-grid header strong { padding: .2rem .4rem; border: 1px solid var(--md-line); color: var(--md-amber); font-size: .56rem; text-transform: uppercase; }
.md-study-primary-grid article.is-supports header strong { border-color: #a6dac5; color: var(--md-green); }
.md-study-primary-grid article.is-doesNotSupport header strong { border-color: #efb8b8; color: var(--md-red); }
.md-study-primary-rate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md-study-primary-rate span { display: grid; gap: .28rem; padding: .8rem; border-right: 1px solid var(--md-line); }
.md-study-primary-rate span:last-child { border-right: 0; }
.md-study-primary-rate small { color: var(--md-muted); font-size: .52rem; font-weight: 850; text-transform: uppercase; }
.md-study-primary-rate b { font-size: .83rem; }
.md-study-primary-rate i, .md-study-primary-grid footer i { font-style: normal; }
.md-study-primary-bar { display: grid; gap: .32rem; padding: .2rem .8rem .7rem; }
.md-study-primary-bar i { display: block; width: var(--value); height: 6px; background: var(--md-green); }
.md-study-primary-bar i[data-signal-bar="baseline"] { background: #9fb3c2; }
.md-study-primary-grid footer { display: flex; justify-content: space-between; gap: .6rem; padding: .65rem .8rem; border-top: 1px solid var(--md-line); color: var(--md-muted); font-size: .58rem; font-weight: 700; }
.md-study-primary-note { margin: .8rem 0 0; padding: .75rem 1rem; border: 1px solid var(--md-line); border-left: 4px solid var(--md-navy); color: var(--md-muted); font-size: .68rem; font-weight: 700; line-height: 1.55; }

.md-study-positioning { margin-top: 1rem; border-top: 5px solid var(--md-green); }
.md-study-positioning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .85rem; }
.md-study-positioning-grid > article { min-width: 0; border: 1px solid var(--md-line); border-top: 4px solid var(--md-green); background: #fff; }
.md-study-positioning-grid > article.is-short { border-top-color: var(--md-red); }
.md-study-positioning-grid > article > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; background: linear-gradient(105deg, #fff, #f0f8f5); }
.md-study-positioning-grid > article.is-short > header { background: linear-gradient(105deg, #fff, #fff4f2); }
.md-study-positioning-grid header span { color: var(--md-muted); font-size: .53rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.md-study-positioning-grid h3 { margin: .25rem 0 0; font-size: clamp(1.45rem, 2.4vw, 2.4rem); line-height: 1; }
.md-study-positioning-grid header > strong { display: grid; min-width: max-content; color: var(--md-green); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(2rem, 4vw, 3.3rem); line-height: .9; text-align: right; }
.md-study-positioning-grid .is-short header > strong { color: var(--md-red); }
.md-study-positioning-grid header > strong small { margin-top: .35rem; color: var(--md-muted); font-family: "IBM Plex Sans", Arial, sans-serif; font-size: .5rem; text-transform: uppercase; }
.md-study-positioning-grid header > strong .md-study-confidence { margin-top: .15rem; font-size: .43rem; letter-spacing: .02em; text-transform: none; }
.md-study-positioning-grid header > strong .md-study-confidence i { font-style: normal; }
.md-study-positioning-grid > article > p { min-height: 3.8rem; margin: 0; padding: .8rem 1rem; border-top: 1px solid var(--md-line); color: var(--md-muted); font-size: .68rem; font-weight: 700; line-height: 1.55; }
.md-study-positioning-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--md-line); }
.md-study-positioning-facts > span { display: grid; gap: .3rem; padding: .75rem; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-positioning-facts > span:nth-child(even) { border-right: 0; }
.md-study-positioning-facts > span:nth-child(n+9) { border-bottom: 0; }
.md-study-positioning-facts small { color: var(--md-muted); font-size: .48rem; font-weight: 850; text-transform: uppercase; }
.md-study-positioning-facts b { font-size: .76rem; }
.md-study-positioning-facts i, .md-study-thresholds i { font-style: normal; }
.md-study-repeat-record { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--md-line); background: #f7fafc; }
.md-study-repeat-record > * { display: grid; gap: .25rem; padding: .65rem .75rem; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-repeat-record > div { grid-column: 1 / -1; border-right: 0; }
.md-study-repeat-record > span:nth-child(odd) { border-right: 0; }
.md-study-repeat-record > span:nth-last-child(-n+2) { border-bottom: 0; }
.md-study-repeat-record small { color: var(--md-muted); font-size: .45rem; font-weight: 850; text-transform: uppercase; }
.md-study-repeat-record strong, .md-study-repeat-record b { font-size: .68rem; }
.md-study-repeat-record i { font-style: normal; }
.md-study-thresholds { border-top: 1px solid var(--md-line); }
.md-study-thresholds > div { display: grid; grid-template-columns: 1.15fr 1fr .9fr .9fr; align-items: center; border-bottom: 1px solid var(--md-line); }
.md-study-thresholds > div:last-child { border-bottom: 0; }
.md-study-thresholds > div:first-child { background: var(--md-soft); color: var(--md-muted); font-size: .48rem; font-weight: 850; text-transform: uppercase; }
.md-study-thresholds > div > * { padding: .55rem .75rem; border-right: 1px solid var(--md-line); }
.md-study-thresholds > div > *:last-child { border-right: 0; }
.md-study-thresholds b { color: var(--md-green); font-size: .76rem; }
.md-study-positioning-grid .is-short .md-study-thresholds b { color: var(--md-red); }
.md-study-thresholds strong, .md-study-thresholds span { font-size: .65rem; }
.md-study-thresholds strong { display: grid; gap: .12rem; }
.md-study-thresholds strong small { color: var(--md-muted); font-size: .42rem; font-weight: 700; }
.md-study-positioning-use { padding: 1rem; border-top: 1px solid var(--md-line); background: #f7fafc; }
.md-study-positioning-use > small { color: var(--md-green); font-size: .48rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.md-study-positioning-grid .is-short .md-study-positioning-use > small { color: var(--md-red); }
.md-study-positioning-use h4 { margin: .3rem 0 .45rem; font-family: "Source Serif 4", Georgia, serif; font-size: 1.15rem; line-height: 1.15; }
.md-study-positioning-use p { margin: 0; color: var(--md-ink); font-size: .66rem; font-weight: 800; line-height: 1.5; }
.md-study-positioning-use ul { display: grid; gap: .35rem; margin: .65rem 0 0; padding: 0; list-style: none; }
.md-study-positioning-use li { position: relative; padding-left: .8rem; color: var(--md-muted); font-size: .61rem; font-weight: 700; line-height: 1.48; }
.md-study-positioning-use li::before { position: absolute; top: .5em; left: 0; width: .32rem; height: .32rem; border-radius: 50%; background: var(--md-green); content: ""; }
.md-study-positioning-grid .is-short .md-study-positioning-use li::before { background: var(--md-red); }

.md-study-signal-proof { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--md-line); border-right: 1px solid var(--md-line); }
.md-study-signal-proof article { display: grid; align-content: start; gap: .35rem; min-width: 0; padding: .9rem; border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); background: #fff; }
.md-study-signal-proof small { color: var(--md-muted); font-size: .48rem; font-weight: 850; text-transform: uppercase; }
.md-study-signal-proof strong { color: var(--md-green); font-family: "Source Serif 4", Georgia, serif; font-size: 1.85rem; line-height: 1; }
.md-study-signal-proof span { color: var(--md-muted); font-size: .56rem; font-weight: 700; line-height: 1.4; }

.md-study-tests, .md-study-zone-section, .md-study-stability, .md-study-case { margin-top: 1rem; border-top: 5px solid var(--md-ink); }
.md-study-test-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: .8rem; }
.md-study-test-grid article { min-width: 0; border: 1px solid var(--md-line); border-top: 4px solid var(--md-amber); background: #fff; }
.md-study-test-grid article.is-supports { border-top-color: var(--md-green); }
.md-study-test-grid article.is-doesNotSupport { border-top-color: var(--md-red); }
.md-study-test-grid header { display: flex; align-items: center; justify-content: space-between; padding: .65rem .8rem; border-bottom: 1px solid var(--md-line); }
.md-study-test-grid header span { color: var(--md-muted); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.md-study-test-grid header strong { color: #9ab0c0; font-family: "Source Serif 4", Georgia, serif; font-size: 1.2rem; }
.md-study-test-grid h3 { min-height: 3.1rem; margin: 0; padding: .8rem; font-size: 1.25rem; line-height: 1.08; }
.md-study-test-comparison { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--md-line); }
.md-study-test-comparison span { display: grid; gap: .3rem; padding: .7rem; border-right: 1px solid var(--md-line); }
.md-study-test-comparison span:last-child { border-right: 0; }
.md-study-test-comparison small { color: var(--md-muted); font-size: .52rem; font-weight: 800; text-transform: uppercase; }
.md-study-test-comparison b { font-size: .78rem; }
.md-study-test-comparison em { color: var(--md-muted); font-size: .55rem; font-style: normal; font-weight: 700; line-height: 1.35; }
.md-study-test-comparison i, .md-study-test-grid footer i { font-style: normal; }
.md-study-test-grid footer { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-top: 1px solid var(--md-line); color: var(--md-muted); font-size: .58rem; font-weight: 700; }

.md-study-edge-map { margin-top: 1rem; border-top: 5px solid var(--md-green); }
.md-study-edge-list { display: grid; gap: .85rem; margin-top: .85rem; }
.md-study-edge-list > article { border: 1px solid var(--md-line); border-top: 4px solid var(--md-amber); background: #fff; }
.md-study-edge-list > article.is-strong { border-top-color: var(--md-green); }
.md-study-edge-list > article.is-selective { border-top-color: #2f83ae; }
.md-study-edge-list > article.is-none { border-top-color: var(--md-red); }
.md-study-edge-list > article > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: linear-gradient(105deg, #fff, #f3f8f6); }
.md-study-edge-list h3 { max-width: 920px; margin: .2rem 0 0; font-size: clamp(1.55rem, 2.6vw, 2.7rem); line-height: 1; }
.md-study-edge-list > article > header > span { display: grid; min-width: 180px; gap: .35rem; justify-items: end; }
.md-study-edge-list > article > header small { color: var(--md-muted); font-size: .54rem; font-weight: 850; text-transform: uppercase; }
.md-study-edge-list > article > header strong { padding: .25rem .5rem; border: 1px solid var(--md-line); color: var(--md-amber); font-size: .62rem; text-transform: uppercase; }
.md-study-edge-list > article.is-strong > header strong { border-color: #9dd6bf; color: var(--md-green); }
.md-study-edge-list > article.is-selective > header strong { border-color: #acd1e4; color: #176d99; }
.md-study-edge-list > article.is-none > header strong { border-color: #eeb8ba; color: var(--md-red); }
.md-study-edge-observed { margin: 0; padding: .8rem 1.1rem; border-top: 1px solid var(--md-line); color: #294d6c; font-size: .75rem; font-weight: 700; line-height: 1.55; }
.md-study-edge-horizons { border-top: 1px solid var(--md-line); }
.md-study-edge-horizons > div { display: grid; grid-template-columns: .7fr 1fr 1fr .8fr .8fr .8fr; align-items: center; }
.md-study-edge-horizons > div > * { min-width: 0; padding: .62rem .75rem; border-right: 1px solid var(--md-line); }
.md-study-edge-horizons > div > *:last-child { border-right: 0; }
.md-study-edge-horizon-head { background: var(--md-soft); color: var(--md-muted); font-size: .5rem; font-weight: 850; text-transform: uppercase; }
.md-study-edge-horizons > div:not(.md-study-edge-horizon-head) { border-top: 1px solid var(--md-line); font-size: .68rem; }
.md-study-edge-horizons i { font-style: normal; }
.md-study-edge-horizons strong { width: max-content; max-width: 100%; padding: .2rem .35rem !important; border: 1px solid var(--md-line); color: var(--md-amber); font-size: .52rem; text-transform: uppercase; }
.md-study-edge-horizons strong.is-supports { border-color: #9dd6bf; color: var(--md-green); }
.md-study-edge-horizons strong.is-doesNotSupport { border-color: #eeb8ba; color: var(--md-red); }
.md-study-edge-use { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--md-line); }
.md-study-edge-use section { display: grid; align-content: start; gap: .35rem; padding: .85rem; border-right: 1px solid var(--md-line); }
.md-study-edge-use section:last-child { border-right: 0; }
.md-study-edge-use small { color: var(--md-muted); font-size: .5rem; font-weight: 850; text-transform: uppercase; }
.md-study-edge-use b { font-size: .65rem; line-height: 1.5; }

.md-study-relationship { margin-top: 1rem; grid-template-columns: 1fr 1fr; border-top: 4px solid var(--md-green); }
.md-study-relationship h2 { margin: .2rem 0 .5rem; font-size: clamp(2rem, 3.3vw, 3.5rem); line-height: 1; }
.md-study-relationship-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 !important; }
.md-study-relationship-stats article { display: grid; align-content: center; gap: .35rem; padding: 1.2rem; border-left: 1px solid var(--md-line); }
.md-study-relationship-stats span, .md-study-relationship-stats small { color: var(--md-muted); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.md-study-relationship-stats strong { color: var(--md-navy); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); }

.md-study-stability { border-top-color: var(--md-green); }
.md-study-periods { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-right: 1px solid var(--md-line); }
.md-study-periods article { display: grid; gap: .25rem; padding: .85rem; border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); }
.md-study-periods strong { font-family: "Source Serif 4", Georgia, serif; font-size: 1.5rem; }
.md-study-periods span { color: var(--md-muted); font-size: .62rem; font-weight: 700; }
.md-study-periods i { width: max-content; padding: .18rem .35rem; border: 1px solid var(--md-line); color: var(--md-amber); font-size: .55rem; font-style: normal; font-weight: 850; text-transform: uppercase; }
.md-study-periods .is-supports i { border-color: #a6dac5; color: var(--md-green); }
.md-study-periods .is-doesNotSupport i { border-color: #efb8b8; color: var(--md-red); }

.md-study-case { border-top-color: var(--md-navy); }
.md-study-case-body { display: grid; grid-template-columns: .65fr 1.15fr .55fr; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-case-body > div { min-width: 0; padding: 1rem 1.1rem; border-left: 1px solid var(--md-line); }
.md-study-case-body h3 { margin: 0 0 .45rem; font-size: 1.45rem; }
.md-study-case-body p { color: var(--md-muted); font-size: .72rem; font-weight: 650; line-height: 1.55; }
.md-study-case-body a { color: var(--md-navy); font-size: .68rem; font-weight: 850; }
.md-study-case-chart svg { display: block; width: 100%; height: 250px; }
.md-study-case-chart > div { display: flex; justify-content: space-between; color: var(--md-muted); font-size: .56rem; font-weight: 750; }
.md-study-case-stats { display: grid; padding: 0 !important; }
.md-study-case-stats article { display: grid; align-content: center; gap: .3rem; padding: .7rem; border-bottom: 1px solid var(--md-line); }
.md-study-case-stats article:last-child { border-bottom: 0; }
.md-study-case-stats span { color: var(--md-muted); font-size: .54rem; font-weight: 850; text-transform: uppercase; }
.md-study-case-stats strong { color: var(--md-navy); font-family: "Source Serif 4", Georgia, serif; font-size: 1.45rem; }
.md-study-case-stats small { color: var(--md-muted); font-size: .54rem; font-weight: 700; }

.md-study-lifecycle { margin-top: 1rem; border-top: 5px solid var(--md-green); }
.md-study-lifecycle-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: .85rem; border-top: 1px solid var(--md-line); border-right: 1px solid var(--md-line); }
.md-study-lifecycle-flow article { position: relative; display: grid; align-content: start; gap: .4rem; min-height: 170px; padding: .85rem; border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); background: #fff; }
.md-study-lifecycle-flow article:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -.43rem; width: .75rem; height: .75rem; border-top: 2px solid var(--md-green); border-right: 2px solid var(--md-green); background: #fff; content: ""; transform: rotate(45deg); }
.md-study-lifecycle-flow b { color: var(--md-green); font-size: .55rem; }
.md-study-lifecycle-flow strong { font-family: "Source Serif 4", Georgia, serif; font-size: 1.05rem; line-height: 1; }
.md-study-lifecycle-flow span { color: var(--md-muted); font-size: .63rem; font-weight: 650; line-height: 1.45; }
.md-study-lifecycle-flow small { align-self: end; width: max-content; padding: .2rem .35rem; border: 1px solid #9dd6bf; color: var(--md-green); font-size: .5rem; font-weight: 850; text-transform: uppercase; }
.md-study-lifecycle-record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-top: .8rem; }
.md-study-lifecycle-record > article { min-width: 0; border: 1px solid var(--md-line); border-top: 4px solid var(--md-green); background: #fff; }
.md-study-lifecycle-record > article.is-priceAhead { border-top-color: var(--md-amber); }
.md-study-lifecycle-record > article.is-alignedNegative { border-top-color: var(--md-red); }
.md-study-lifecycle-record header { display: grid; gap: .25rem; padding: .7rem .8rem; border-bottom: 1px solid var(--md-line); }
.md-study-lifecycle-record header span { color: var(--md-muted); font-size: .52rem; font-weight: 850; text-transform: uppercase; }
.md-study-lifecycle-record header strong { font-size: .63rem; line-height: 1.4; }
.md-study-lifecycle-record h3 { min-height: 3.3rem; margin: 0; padding: .75rem .8rem; font-size: 1.2rem; line-height: 1.05; }
.md-study-lifecycle-record > article > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--md-line); }
.md-study-lifecycle-record > article > div span { display: grid; gap: .25rem; padding: .65rem .7rem; border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-lifecycle-record > article > div span:nth-child(even) { border-right: 0; }
.md-study-lifecycle-record small { color: var(--md-muted); font-size: .48rem; font-weight: 850; text-transform: uppercase; }
.md-study-lifecycle-record b { font-size: .75rem; }
.md-study-lifecycle-record i { font-style: normal; }
.md-study-lifecycle-record footer { padding: .65rem .75rem; color: var(--md-muted); font-size: .57rem; font-weight: 700; line-height: 1.45; }

.md-study-strategy-verdict { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--md-line); border-left: 5px solid var(--md-amber); background: linear-gradient(105deg, #fff, #f5f8f7); }
.md-study-strategy-verdict.is-supported { border-left-color: var(--md-green); }
.md-study-strategy-verdict.is-notSupported { border-left-color: var(--md-red); }
.md-study-strategy-verdict span { color: var(--md-muted); font-size: .52rem; font-weight: 850; text-transform: uppercase; }
.md-study-strategy-verdict h3 { margin: .2rem 0 .35rem; font-size: clamp(1.45rem, 2.6vw, 2.5rem); line-height: 1; }
.md-study-strategy-verdict p { max-width: 900px; margin: 0; color: var(--md-muted); font-size: .68rem; font-weight: 700; line-height: 1.5; }
.md-study-strategy-verdict > strong { min-width: max-content; padding: .35rem .55rem; border: 1px solid #9dd6bf; color: var(--md-green); font-size: .63rem; text-transform: uppercase; }
.md-study-strategy-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
.md-study-strategy-checks article { display: grid; gap: .3rem; padding: .75rem .9rem; border-left: 1px solid var(--md-line); }
.md-study-strategy-checks span { width: max-content; padding: .18rem .32rem; border: 1px solid var(--md-line); color: var(--md-red); font-size: .48rem; font-weight: 850; text-transform: uppercase; }
.md-study-strategy-checks .is-pass span { border-color: #9dd6bf; color: var(--md-green); }
.md-study-strategy-checks strong { font-size: .65rem; line-height: 1.45; }

.md-study-method { display: grid; grid-template-columns: .65fr 1.35fr; gap: 1rem; margin-top: 1.4rem; padding: 1.4rem; border-top: 5px solid var(--md-ink); background: var(--md-soft); }
.md-study-method h2 { margin: .2rem 0 .5rem; font-size: clamp(2rem, 3.3vw, 3.5rem); line-height: 1; }
.md-study-method > div:first-child > p:last-child { color: var(--md-muted); font-size: .76rem; font-weight: 650; line-height: 1.55; }
.md-study-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md-study-method-grid article { padding: .85rem; border: 1px solid var(--md-line); background: #fff; }
.md-study-method-grid h3 { margin: 0 0 .35rem; font-size: 1rem; }
.md-study-method-grid p { margin: 0; color: var(--md-muted); font-size: .64rem; font-weight: 650; line-height: 1.5; }
.md-study-limit-note { grid-column: 1 / -1; margin: 0; padding: .75rem 1rem; border-left: 4px solid var(--md-amber); background: #fff; color: var(--md-muted); font-size: .67rem; font-weight: 700; line-height: 1.55; }
.md-study-building { margin-top: 1rem; padding: 1.5rem; border: 1px solid var(--md-line); border-top: 4px solid var(--md-amber); }
.md-study-building h2 { margin: 0 0 .5rem; font-size: 2rem; }

/* Investment-report narrative and reading scale. */
.md-study { font-size: 16px; }
.md-study-investment-case { margin-top: 1rem; border-top: 5px solid var(--md-green); }
.md-study-thesis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 1px solid var(--md-line); }
.md-study-thesis-grid.is-country-only { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md-study-thesis-grid article { min-width: 0; padding: 1.25rem; border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); background: linear-gradient(135deg, #fff 55%, #f3f8f6); }
.md-study-thesis-grid article.is-short { background: linear-gradient(135deg, #fff 55%, #fff5f5); }
.md-study-thesis-grid article.is-proof { background: linear-gradient(135deg, #fff 55%, #f1f6fa); }
.md-study-thesis-grid span { color: var(--md-green); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.md-study-thesis-grid .is-short span { color: var(--md-red); }
.md-study-thesis-grid .is-proof span { color: var(--md-navy); }
.md-study-thesis-grid h3 { margin: .45rem 0 .7rem; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.06; }
.md-study-thesis-grid p { margin: 0; color: #294d6c; font-size: .86rem; font-weight: 650; line-height: 1.65; }
.md-study-thesis-grid p strong { color: var(--md-ink); }
.md-study-thesis-grid small { display: block; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--md-line); color: var(--md-muted); font-size: .72rem; font-weight: 750; line-height: 1.5; }
.md-study-thesis-grid small b { color: var(--md-ink); }
.md-study-capital-sequence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-right: 1px solid var(--md-line); }
.md-study-capital-sequence article { display: flex; gap: .8rem; min-width: 0; padding: 1rem 1.15rem; border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); background: #fff; }
.md-study-capital-sequence article > b { color: var(--md-green); font-family: "Source Serif 4", Georgia, serif; font-size: 1.2rem; }
.md-study-capital-sequence div { display: grid; gap: .25rem; }
.md-study-capital-sequence strong { font-family: "Source Serif 4", Georgia, serif; font-size: 1.05rem; }
.md-study-capital-sequence span { color: var(--md-muted); font-size: .72rem; font-weight: 650; line-height: 1.5; }

.md-study-outcome-chart { margin: 0; padding: 1rem 1.15rem; border-top: 1px solid var(--md-line); background: #fbfdfe; }
.md-study-outcome-chart svg { display: block; width: 100%; height: 250px; overflow: visible; }
.md-study-outcome-chart figcaption { margin-top: .35rem; color: var(--md-muted); font-size: .72rem; font-weight: 650; line-height: 1.5; }
.md-study-outcome-chart figcaption strong { color: var(--md-ink); }

.md-study-lifecycle-reading, .md-study-case-meaning { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 1px solid var(--md-line); }
.md-study-lifecycle-reading article, .md-study-case-meaning article { min-width: 0; padding: 1.05rem 1.15rem; border-bottom: 1px solid var(--md-line); border-left: 1px solid var(--md-line); background: var(--md-soft); }
.md-study-lifecycle-reading span, .md-study-case-meaning span { color: var(--md-green); font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.md-study-lifecycle-reading h3, .md-study-case-meaning h3 { margin: .35rem 0 .45rem; font-size: 1.2rem; line-height: 1.1; }
.md-study-lifecycle-reading p, .md-study-case-meaning p { margin: 0; color: var(--md-muted); font-size: .75rem; font-weight: 650; line-height: 1.55; }
.md-study-case-meaning { border-bottom: 1px solid var(--md-line); }
.md-study-case-meaning article { background: #fff; }
.md-study-case-meaning article:nth-child(2) span { color: var(--md-navy); }
.md-study-case-meaning article:nth-child(3) span { color: var(--md-amber); }
.md-study-signal-application { display: grid; grid-template-columns: minmax(160px, .35fr) 1.65fr; gap: 1rem; align-items: start; padding: 1rem 1.15rem; border: 1px solid var(--md-line); border-left: 5px solid var(--md-green); background: #f2f8f5; }
.md-study-signal-application strong { font-family: "Source Serif 4", Georgia, serif; font-size: 1.15rem; }
.md-study-signal-application p { margin: 0; color: var(--md-muted); font-size: .78rem; font-weight: 650; line-height: 1.6; }

/* Keep dense evidence legible without turning the report into a fact sheet. */
.md-study-kicker { font-size: .72rem; }
.md-study-section-head > p { max-width: 600px; font-size: .82rem; line-height: 1.6; }
.md-study-scope > div > p, .md-study-answer > div > p, .md-study-primary-note { font-size: .8rem; line-height: 1.6; }
.md-study-positioning-grid > article > p { font-size: .78rem; line-height: 1.6; }
.md-study-positioning-facts small, .md-study-repeat-record small, .md-study-thresholds > div:first-child, .md-study-case-stats span { font-size: .59rem; }
.md-study-positioning-facts b, .md-study-repeat-record b, .md-study-thresholds > div:not(:first-child) { font-size: .75rem; }
.md-study-positioning-use p { font-size: .76rem; }
.md-study-positioning-use li { font-size: .7rem; }
.md-study-lifecycle-flow span { font-size: .7rem; }
.md-study-lifecycle-record header strong, .md-study-lifecycle-record footer, .md-study-strategy-checks strong { font-size: .7rem; }
.md-study-lifecycle-record b { font-size: .8rem; }
.md-study-case-body p { font-size: .8rem; line-height: 1.65; }
.md-study-case-body a { font-size: .75rem; }
.md-study-case-chart { margin: 0; padding: 1rem 1.1rem !important; }
.md-study-case-chart svg { min-height: 310px; height: 310px; }
.md-study-case-chart figcaption { display: flex; justify-content: space-between; gap: 1rem; color: var(--md-muted); font-size: .68rem; font-weight: 750; }
.md-study-case-stats small { font-size: .61rem; }
.md-study-method-grid p, .md-study-limit-note { font-size: .72rem; }

@media (min-width: 1181px) {
  .md-study { font-size: 17px; }
  .md-study-positioning-facts small,
  .md-study-repeat-record small,
  .md-study-thresholds > div:first-child,
  .md-study-case-stats span { font-size: .66rem; }
  .md-study-positioning-facts b,
  .md-study-repeat-record b,
  .md-study-thresholds > div:not(:first-child) { font-size: .82rem; }
  .md-study-positioning-use li,
  .md-study-lifecycle-flow span,
  .md-study-lifecycle-record header strong,
  .md-study-lifecycle-record footer,
  .md-study-strategy-checks strong { font-size: .76rem; }
  .md-study-lifecycle-record b,
  .md-study-case-body p,
  .md-study-scope > div > p,
  .md-study-answer > div > p,
  .md-study-primary-note { font-size: .86rem; }
}

@media (max-width: 1100px) {
  .md-study-thesis-grid { grid-template-columns: 1fr 1fr; }
  .md-study-thesis-grid .is-proof { grid-column: 1 / -1; }
  .md-study-capital-sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .md-study-section-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md-study-test-grid, .md-study-primary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-case-body { grid-template-columns: 1fr 1.4fr; }
  .md-study-case-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md-study-case-stats article { border-right: 1px solid var(--md-line); border-bottom: 0; }
  .md-study-method { grid-template-columns: 1fr; }
  .md-study-edge-use { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-edge-use section:nth-child(2) { border-right: 0; }
  .md-study-edge-use section:nth-child(-n+2) { border-bottom: 1px solid var(--md-line); }
  .md-study-lifecycle-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md-study-lifecycle-flow article:nth-child(3)::after { display: none; }
  .md-study-lifecycle-record { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-positioning-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-positioning-facts > span { border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
  .md-study-positioning-facts > span:nth-child(even) { border-right: 0; }
  .md-study-positioning-facts > span:nth-child(n+9) { border-bottom: 0; }
  .md-study-signal-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .md-study-section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-outcome-summary, .md-study-test-grid, .md-study-primary-grid, .md-study-scope, .md-study-relationship, .md-study-case-body { grid-template-columns: 1fr; }
  .md-study-outcome-summary article, .md-study-test-comparison span { border-right: 0; border-bottom: 1px solid var(--md-line); }
  .md-study-scope { align-items: stretch; }
  .md-study-tabs button { font-size: .61rem; }
  .md-study-test-comparison, .md-study-primary-rate { grid-template-columns: 1fr; }
  .md-study-primary-rate span { border-right: 0; border-bottom: 1px solid var(--md-line); }
  .md-study-relationship-stats article:first-child { border-left: 0; }
  .md-study-case-stats { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-case-stats article { border-bottom: 1px solid var(--md-line); }
  .md-study-method-grid { grid-template-columns: 1fr; }
  .md-study-edge-list > article > header { align-items: stretch; flex-direction: column; }
  .md-study-edge-list > article > header > span { min-width: 0; justify-items: start; }
  .md-study-edge-horizon-head { display: none !important; }
  .md-study-edge-horizons > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-edge-horizons > div > * { border-bottom: 1px solid var(--md-line); }
  .md-study-edge-horizons > div > *:nth-child(even) { border-right: 0; }
  .md-study-edge-horizons > div > *:nth-last-child(-n+2) { border-bottom: 0; }
  .md-study-edge-use { grid-template-columns: 1fr; }
  .md-study-edge-use section { border-right: 0; border-bottom: 1px solid var(--md-line); }
  .md-study-edge-use section:last-child { border-bottom: 0; }
  .md-study-lifecycle-flow, .md-study-lifecycle-record, .md-study-strategy-checks { grid-template-columns: 1fr; }
  .md-study-lifecycle-flow article { min-height: 0; }
  .md-study-lifecycle-flow article::after { display: none; }
  .md-study-strategy-verdict { align-items: flex-start; flex-direction: column; }
  .md-study-strategy-verdict > strong { min-width: 0; }
  .md-study-positioning-grid, .md-study-signal-proof { grid-template-columns: 1fr; }
  .md-study-positioning-grid > article > header { align-items: flex-start; }
  .md-study-positioning-grid > article > p { min-height: 0; }
  .md-study-thresholds > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-study-thresholds > div:first-child { display: none; }
  .md-study-thresholds > div > * { border-right: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
  .md-study-thresholds > div > *:nth-child(even) { border-right: 0; }
  .md-study-thresholds > div > *:nth-last-child(-n+2) { border-bottom: 0; }
  .md-study-thesis-grid, .md-study-thesis-grid.is-country-only, .md-study-capital-sequence, .md-study-lifecycle-reading, .md-study-case-meaning, .md-study-signal-application { grid-template-columns: 1fr; }
  .md-study-thesis-grid .is-proof { grid-column: auto; }
  .md-study-case-chart svg, .md-study-outcome-chart svg { height: 230px; min-height: 230px; }
  .md-study-case-chart figcaption { align-items: flex-start; flex-direction: column; gap: .2rem; }
}
