/* Episode 9: reported endpoints, honest scales, and a loan viewed from both sides. */
.episode-09-article { --e9-positive: #25786B; --e9-negative: #B83D4F; }
.episode-09-article .article-header h1 { font-size: 3.25rem; line-height: 1.12; letter-spacing: 0; }
.episode-09-article .article-header h1 em, .e9-figure em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.episode-09-article .article-header h1 em { color: var(--blue); }
.episode-09-article .article-summary { font-size: 1.35rem; }
.episode-09-article .article-byline a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.episode-09-article .article-copy > p { font-size: 1.075rem; }
.episode-09-article .article-copy > p:first-child { font-size: 1.2rem; }
.episode-09-article .article-copy h2 { font-size: 2rem; letter-spacing: 0; text-wrap: balance; }
.episode-09-article .article-next h2 { font-size: 2.5rem; letter-spacing: 0; line-height: 1.18; }
.episode-09-article .article-next-links { flex-basis: 290px; }
.episode-09-article .article-next-links a { letter-spacing: 0; text-transform: none; font-size: .95rem; text-align: right; }
.episode-09-article .article-related { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.e9-figure { margin: 2.5rem 0 3rem; padding: 2rem 0; color: var(--navy); border-top: 2px solid var(--navy); font-variant-numeric: tabular-nums; }
.e9-figure, .e9-figure * { box-sizing: border-box; letter-spacing: 0; }
.e9-figure [hidden] { display: none !important; }
.e9-figure .e9-kicker { display: block; margin-bottom: .7rem; font: 500 .75rem/1.5 var(--font-mono); text-transform: uppercase; color: #006AA9; }
.e9-figure > figcaption { font-size: 1.9rem; font-weight: 600; line-height: 1.3; margin-bottom: 1.6rem; }
.e9-figure > figcaption em { display: inline-block; font-size: 2.6rem; line-height: 1.18; color: var(--splash); }
.e9-figure h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin: 0; }
.e9-figure strong { color: inherit; font-weight: 600; }
.e9-figure small { font-size: .85rem; line-height: 1.5; }
.e9-figure .e9-note { font-size: .86rem; line-height: 1.65; color: var(--graph); margin: 1.2rem 0 0; }
.e9-switch:not([hidden]) { display: flex; padding: 4px; gap: 4px; border: 1px solid #849BAC; margin: 1.4rem 0 1.6rem; width: fit-content; max-width: 100%; }
.e9-switch button { min-height: 44px; min-width: 130px; flex: 1; border: 0; appearance: none; background: transparent; color: var(--navy); font: 500 .95rem/1.35 var(--font-sans); padding: .65rem 1rem; cursor: pointer; }
.e9-switch button[aria-pressed="true"] { background: var(--navy); color: var(--warm); }
.e9-switch button:hover { box-shadow: inset 0 -2px var(--blue); }
.e9-switch button:focus-visible { outline: 3px solid var(--splash); outline-offset: 1px; }
.e9-personas { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.e9-marker-key { font-size: .85rem; line-height: 1.5; color: var(--graph); margin: 0 0 1rem; }
.e9-persona { min-width: 0; padding: 0; }
.e9-persona img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; border-bottom: 3px solid var(--e9-positive); }
.e9-feeler img { border-bottom-color: var(--e9-negative); }
.e9-persona-heading { padding: 1rem 0 .7rem; }
.e9-persona-heading > span { display: block; font-size: .86rem; margin-top: .25rem; line-height: 1.5; color: var(--graph); }
.e9-debt-number { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; min-height: 54px; margin: .45rem 0 .6rem; }
.e9-debt-number strong { font-size: 2.3rem; font-weight: 500; line-height: 1.25; }
.e9-debt-number > span { font: 400 .7rem/1.4 var(--font-mono); max-width: 64px; text-align: right; }
.e9-debt-track { height: 24px; background: #E0E6E9; position: relative; border-right: 1px solid #8B9CAC; }
.e9-debt-track > span { display: block; height: 100%; background: var(--e9-positive); }
.e9-feeler .e9-debt-track > span { background: var(--e9-negative); }
.e9-debt-track i { position: absolute; top: -5px; height: 34px; width: 2px; transform: translateX(-1px); background: var(--navy); outline: 1px solid var(--paper); }
.e9-axis { display: flex; justify-content: space-between; font: .7rem/1.5 var(--font-mono); color: var(--graph); margin-top: .5rem; }
.e9-debt-change { font-size: .95rem; line-height: 1.5; margin: .9rem 0 0; color: var(--e9-positive); }
.e9-debt-change strong { font-size: 1.2rem; }
.e9-feeler .e9-debt-change { color: var(--e9-negative); }
.e9-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1.5rem; font-size: .95rem; line-height: 1.55; }
.e9-table caption { text-align: left; font-size: .85rem; color: var(--graph); padding-bottom: .65rem; }
.e9-table th, .e9-table td { border-bottom: 1px solid #BAC9D2; padding: .7rem .7rem .7rem 0; text-align: left; vertical-align: top; }
.e9-table thead th { font-size: .8rem; font-weight: 500; color: var(--graph); }
.e9-table tbody th { font-weight: 500; }
.e9-direction .e9-table td, .e9-direction .e9-table thead th:not(:first-child) { text-align: right; padding-right: 0; }
.e9-minimums { border-color: var(--splash); }
.e9-minimums .e9-switch { width: 100%; }
.e9-scale-note { font-size: .85rem; color: var(--graph); line-height: 1.5; min-height: 2.7em; margin: 0 0 .7rem; }
.e9-income-row { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.e9-income-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.e9-income-title > span { text-align: right; font-size: 1.3rem; font-weight: 500; }
.e9-income-title small { display: block; font-weight: 400; color: var(--graph); }
.e9-allocation { display: flex; background: #E0E6E9; height: 34px; margin: 1.1rem 0 1rem; }
.e9-allocation > span { height: 100%; }
.e9-minimum-fill { background: var(--e9-negative); }
.e9-remaining-fill { background: #64B7DB; border-left: 2px solid var(--paper); }
.e9-income-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.e9-income-values span { display: block; font-size: .85rem; min-height: 2.8em; line-height: 1.4; }
.e9-income-values strong { display: block; font-size: 2rem; font-weight: 500; line-height: 1.25; margin: .2rem 0; }
.e9-income-values small { color: var(--graph); display: block; }
.e9-income-values > div:first-child strong { color: var(--e9-negative); }
.e9-insight { font-size: 1.35rem; line-height: 1.6; padding: 1.6rem 0 .2rem; margin: 0; }
.e9-insight em { color: var(--splash); font-size: 1.9rem; }
.e9-loan { background: #001F39; color: var(--warm); border-color: var(--blue); padding: 2rem; }
.e9-loan .e9-kicker, .e9-loan > figcaption em { color: var(--blue); }
.e9-loan .e9-switch { width: 100%; border-color: #6C8DA3; margin: 1rem 0 .3rem; }
.e9-loan .e9-switch button { color: var(--warm); min-width: 0; font-size: .85rem; padding: .65rem .35rem; }
.e9-loan .e9-switch button[aria-pressed="true"] { background: var(--paper); color: var(--navy); }
.e9-loan .e9-switch button:focus-visible { outline-color: var(--blue); }
.e9-loan-stage { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 2rem; align-items: start; margin: 2rem 0; }
.e9-loan-paper { padding: 1.5rem; background: var(--paper); color: var(--navy); border-top: 3px solid var(--blue); box-shadow: 0 5px 0 #B9C6CD; }
.e9-paper-label { font: .75rem/1.5 var(--font-mono); text-transform: uppercase; display: block; }
.e9-loan-paper > strong { display: block; font-weight: 500; font-size: 2.6rem; line-height: 1.3; margin: .6rem 0 .1rem; }
.e9-loan-paper > span:not(.e9-paper-label) { font-size: .85rem; display: block; }
.e9-loan-paper img { display: block; width: 100%; height: auto; aspect-ratio: 800/533; object-fit: contain; margin: .5rem 0; }
.e9-loan-paper p { border-top: 1px solid #BAC9D2; padding-top: .8rem; font-size: .9rem; line-height: 1.5; margin: 0; }
.e9-transaction h3 { font-size: 1.1rem; padding: .3rem 0 1rem; border-bottom: 1px solid #536F85; }
.e9-transaction-row { padding: 1rem 0; border-bottom: 1px solid #536F85; min-height: 112px; }
.e9-transaction-row > span, .e9-net > span { font-size: .9rem; color: #C4DBE9; display: block; }
.e9-transaction-row strong { font-size: 2rem; display: block; font-weight: 500; margin-top: .35rem; line-height: 1.3; }
.e9-transaction-row .e9-cash { color: #8ED0B8; }
.e9-liability strong { color: #FF7A86; }
.e9-net { padding-top: 1rem; min-height: 100px; }
.e9-net strong { font-size: 2.6rem; display: block; line-height: 1.25; font-weight: 500; }
.e9-transaction small { display: block; color: #C4DBE9; margin-top: .6rem; }
.e9-lens-note { border-left: 2px solid var(--blue); padding-left: 1rem; font-size: 1rem; line-height: 1.6; min-height: 4.8em; }
.e9-loan .e9-note { color: #C4DBE9; }
.e9-coverage { padding: 2rem; background: #EDF2F4; border-color: var(--splash); }
.e9-coverage-equation { display: grid; grid-template-columns: 1fr auto 1.15fr; align-items: center; gap: 1rem; margin: 1.9rem 0; }
.e9-coverage-equation strong { font-size: 2.4rem; display: block; font-weight: 500; line-height: 1.25; }
.e9-coverage-equation div > span { display: block; font-size: .85rem; margin-top: .3rem; line-height: 1.5; }
.e9-divider { font: italic 3rem/1 var(--font-serif); color: #61798C; }
.e9-month { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 5px; }
.e9-day { position: relative; height: 42px; border: 1px solid #8098AA; background: #FDFCF8; }
.e9-day i { height: 6px; position: absolute; left: 0; bottom: 0; background: var(--splash); }
.e9-day b { position: absolute; top: 6px; left: 7px; font: 400 .75rem/1.3 var(--font-mono); color: var(--graph); }
.e9-month-key { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; line-height: 1.5; margin-top: .8rem; }
.e9-month-key i { display: inline-block; width: 9px; height: 9px; background: var(--splash); margin-right: 6px; }
.e9-baseline { margin-top: 1.4rem; padding: 1.1rem 0; border-top: 1px solid #BAC9D2; border-bottom: 1px solid #BAC9D2; font-size: .9rem; line-height: 1.7; }
.e9-baseline > span { display: block; margin-bottom: .35rem; color: var(--graph); }
.e9-baseline div > span { padding: 0 .4rem; }
.e9-tracker-note { margin-top: 1.4rem; }
.e9-tracker-note > strong { font-size: 1rem; }
.e9-tracker-note p { font-size: .86rem; line-height: 1.65; color: var(--graph); margin: .4rem 0 0; }
.e9-overview { border-top-width: 1px; }
.e9-overview .e9-table th:first-child { width: 27%; }
.e9-overview .e9-table td:nth-child(2) { padding-right: 1rem; }
.e9-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) {
  .episode-09-article .article-header h1 { font-size: 2.4rem; }
  .episode-09-article .article-copy h2 { font-size: 1.65rem; }
  .episode-09-article .article-next h2 { font-size: 2rem; }
  .episode-09-article .article-next-links { flex-basis: auto; }
  .episode-09-article .article-next-links a { text-align: left; }
}
@media (max-width: 560px) {
  .e9-figure { padding: 1.5rem 0; }
  .e9-figure > figcaption { font-size: 1.65rem; }
  .e9-figure > figcaption em { font-size: 2.25rem; }
  .e9-switch:not([hidden]) { width: 100%; }
  .e9-switch button { min-width: 0; font-size: .9rem; padding: .6rem .4rem; }
  .e9-personas { grid-template-columns: 1fr; gap: 2rem; }
  .e9-debt-number { min-height: 48px; }
  .e9-debt-number strong { font-size: 2.6rem; }
  .e9-debt-number > span { max-width: none; }
  .e9-table { font-size: .85rem; }
  .e9-table thead th { font-size: .75rem; }
  .e9-income-title > span { font-size: 1.1rem; }
  .e9-income-title small { font-size: .75rem; }
  .e9-income-values { gap: .8rem; }
  .e9-income-values strong { font-size: 1.9rem; }
  .e9-income-values small { font-size: .8rem; }
  .e9-insight { font-size: 1.2rem; }
  .e9-insight em { font-size: 1.65rem; }
  .e9-loan, .e9-coverage { padding: 1.5rem 1.1rem; }
  .e9-loan-stage { grid-template-columns: 1fr; gap: 1.8rem; }
  .e9-loan-paper { position: relative; padding: 1.25rem; }
  .e9-loan-paper > strong { font-size: 2.7rem; }
  .e9-loan-paper img { width: 180px; max-width: 100%; height: 120px; margin: .25rem auto; }
  .e9-transaction-row { min-height: 112px; }
  .e9-transaction-row strong { font-size: 2.2rem; }
  .e9-net { min-height: 98px; }
  .e9-lens-note { min-height: 8em; }
  .e9-coverage-equation { grid-template-columns: 1fr; gap: .5rem; }
  .e9-coverage-equation .e9-divider { display: block; font-size: 2rem; line-height: 1; margin: .2rem 0; }
  .e9-coverage-equation strong { font-size: 2.65rem; }
  .e9-month { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; }
  .e9-month-key { flex-direction: column; gap: .25rem; }
  .e9-overview .e9-table th:first-child { width: 28%; }
  .e9-overview .e9-table th, .e9-overview .e9-table td { padding-right: .5rem; overflow-wrap: break-word; }
}
@media (max-width: 360px) {
  .episode-09-article .article-header h1 { font-size: 2rem; }
  .e9-loan, .e9-coverage { padding-left: .9rem; padding-right: .9rem; }
  .e9-figure > figcaption em { font-size: 2.05rem; }
  .e9-income-title { align-items: start; }
  .e9-income-title h3 { font-size: 1.1rem; }
  .e9-income-values strong { font-size: 1.7rem; }
  .e9-income-values span { min-height: 4.2em; }
  .e9-overview .e9-table { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .e9-figure *, .e9-figure *::before { animation: none !important; transition: none !important; }
}
