/* Episode 10: editorial figures, not a simulated banking interface. */
.episode-10-article { --e10-cost:#B83D4F; --e10-repay:#24776D; }
.episode-10-article .article-header h1 { font-size:3.25rem; line-height:1.12; letter-spacing:0; }
.episode-10-article .article-header h1 em,.e10-figure em { font-family:var(--font-serif); font-weight:400; font-style:italic; }
.episode-10-article .article-header h1 em { color:var(--blue); }
.episode-10-article .article-summary { font-size:1.35rem; }
.episode-10-article .article-byline a { color:inherit; text-decoration:underline; text-underline-offset:.2em; }
.episode-10-article .article-copy > p { font-size:1.075rem; }
.episode-10-article .article-copy > p:first-child { font-size:1.2rem; }
.episode-10-article .article-copy h2 { font-size:2rem; letter-spacing:0; text-wrap:balance; }
.episode-10-article .article-next h2 { font-size:2.5rem; line-height:1.18; letter-spacing:0; }
.episode-10-article .article-next-links a { text-transform:none; font-size:.95rem; letter-spacing:0; }
.e10-figure { margin:2.5rem 0 3rem; padding:1.8rem 0 0; color:var(--navy); border-top:2px solid var(--navy); font-variant-numeric:tabular-nums; }
.e10-figure,.e10-figure * { box-sizing:border-box; letter-spacing:0; }
.e10-figure [hidden] { display:none!important; }
.e10-figure .e10-kicker { display:block; font:500 .75rem/1.5 var(--font-mono); color:#006AA9; text-transform:uppercase; margin-bottom:.7rem; }
.e10-figure > figcaption { font-size:1.9rem; font-weight:600; line-height:1.3; margin-bottom:1.5rem; }
.e10-figure > figcaption em { color:var(--splash); font-size:2.5rem; line-height:1.2; }
.e10-figure strong { color:inherit; font-weight:600; }
.e10-figure .e10-note { font-size:.875rem; line-height:1.65; color:var(--graph); margin:1.1rem 0; }
.e10-switch:not([hidden]) { display:flex; gap:4px; padding:4px; border:1px solid #8299AA; margin:1.2rem 0 1.5rem; width:100%; }
.e10-switch button { min-height:44px; min-width:0; flex:1; background:transparent; border:0; padding:.7rem .5rem; color:var(--navy); font:500 .95rem/1.3 var(--font-sans); cursor:pointer; }
.e10-switch button[aria-pressed="true"] { color:var(--warm); background:var(--navy); }
.e10-switch button:hover { box-shadow:inset 0 -2px var(--blue); }
.e10-figure :is(button,input,summary):focus-visible { outline:3px solid var(--splash); outline-offset:3px; }
.e10-household { width:100%; height:auto; aspect-ratio:1200/630; object-fit:cover; display:block; }
.e10-income { display:flex; justify-content:space-between; align-items:baseline; gap:1rem; padding:1.3rem 0 .4rem; }
.e10-income > span { font-size:1rem; }
.e10-income > strong { font-size:2.4rem; font-weight:500; line-height:1.2; }
.e10-budget-bar { display:flex; width:100%; height:32px; background:var(--paper); }
.e10-budget-bar > span { height:100%; flex-shrink:1; box-shadow:inset -2px 0 var(--paper); }
.e10-budget-bar .e10-living { background:#6B8391; }
.e10-budget-bar .e10-mortgage { background:var(--navy); }
.e10-budget-bar .e10-auto { background:#4AADDF; }
.e10-budget-bar .e10-cards { background:var(--e10-cost); }
.e10-after .e10-budget-bar .e10-cards { background:var(--e10-repay); }
.e10-allocation { display:grid; grid-template-columns:1fr 1fr; gap:1rem 1.5rem; margin:1.3rem 0 1.6rem; }
.e10-allocation > div { padding-left:.75rem; border-left:3px solid #6B8391; }
.e10-allocation .e10-mortgage { border-color:var(--navy); }
.e10-allocation .e10-auto { border-color:#4AADDF; }
.e10-allocation .e10-cards { border-color:var(--e10-cost); }
.e10-after .e10-allocation .e10-cards { border-color:var(--e10-repay); }
.e10-allocation dt { font-size:.9rem; line-height:1.5; min-height:3em; }
.e10-allocation dd { font-size:1.7rem; font-weight:500; margin:.2rem 0 0; line-height:1.3; }
.e10-budget-result { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; border-top:1px solid #A5BAC7; padding:1.3rem 0 0; align-items:start; }
.e10-budget-result span { font-size:.9rem; line-height:1.5; display:block; min-height:2.8em; }
.e10-budget-result strong { display:block; font-weight:500; font-size:2.2rem; line-height:1.25; }
.e10-budget-result p { font-size:1rem; line-height:1.7; margin:0; min-height:6.8em; }
.e10-after .e10-budget-result strong { color:var(--e10-repay); }
.e10-details { margin-top:1.4rem; border-top:1px solid #A5BAC7; border-bottom:1px solid #A5BAC7; }
.e10-details > summary { cursor:pointer; padding:.9rem 0; min-height:48px; font-size:.95rem; font-weight:500; line-height:1.6; }
.e10-table { border-collapse:collapse; width:100%; table-layout:fixed; margin:1rem 0; font-size:.95rem; line-height:1.55; font-variant-numeric:tabular-nums; }
.e10-table caption { text-align:left; font-size:.875rem; line-height:1.6; padding:0 0 1rem; color:var(--graph); }
.e10-table th,.e10-table td { text-align:right; vertical-align:middle; padding:.85rem .5rem; border-bottom:1px solid #CAD5DB; }
.e10-table th:first-child { text-align:left; padding-left:0; }
.e10-table td:last-child,.e10-table th:last-child { padding-right:0; }
.e10-table thead th { font-size:.8rem; font-weight:500; color:var(--graph); vertical-align:bottom; }
.e10-table tbody th { font-weight:500; }
.e10-table tbody tr:last-child > * { border-bottom:0; }
.e10-responsive th:first-child { width:44%; }
.e10-cfi { border-color:var(--splash); }
.e10-equation { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:.75rem; align-items:center; background:#EAF0F3; padding:1.4rem; margin:1.5rem 0 2rem; }
.e10-equation strong { font-size:1.8rem; font-weight:500; display:block; line-height:1.4; }
.e10-equation div > span { display:block; font-size:.8rem; line-height:1.5; margin-top:.15rem; }
.e10-operator { font:italic 2rem/1 var(--font-serif); color:var(--graph); }
.e10-index-result strong { color:var(--splash); }
.e10-debts th:first-child { width:25%; }
.e10-debts th:last-child { width:18%; }
.e10-index { font:500 .95rem/1.4 var(--font-mono); color:#006AA9; }
.e10-row-tag { display:block; font-size:.75rem; color:var(--graph); margin-top:.2rem; }
.e10-retained-row .e10-index { color:var(--graph); }
.e10-debts .e10-group-start > * { border-top:2px solid #A5BAC7; padding-top:1.2rem; }
.e10-flow { background:var(--deep-navy,#001F39); padding:1.8rem; color:var(--warm); border-color:var(--blue); }
.e10-flow .e10-kicker,.e10-flow > figcaption em { color:var(--blue); }
.e10-flow .e10-switch { border-color:#7590A3; margin-bottom:1.5rem; }
.e10-flow .e10-switch button { color:var(--warm); }
.e10-flow .e10-switch button span { display:block; font:400 .7rem/1.5 var(--font-mono); margin-bottom:.2rem; }
.e10-flow .e10-switch button[aria-pressed="true"] { background:var(--paper); color:var(--navy); }
.e10-flow :is(button,summary):focus-visible { outline-color:var(--blue); }
.e10-flow-stage { display:grid; grid-template-columns:1.15fr 1fr; gap:1.5rem; align-items:start; }
.e10-account { background:var(--paper); color:var(--navy); padding:1.25rem; border-top:3px solid var(--blue); box-shadow:0 5px 0 #9BAEBB; }
.e10-account-label { font:500 .75rem/1.5 var(--font-mono); text-transform:uppercase; }
.e10-account-heading { display:flex; align-items:center; justify-content:space-between; gap:.5rem; min-height:60px; }
.e10-account-heading img { display:block; width:100px; height:auto; aspect-ratio:16/9; object-fit:contain; }
.e10-security { display:block; font-size:.75rem; line-height:1.4; color:var(--graph); margin-top:.3rem; }
.e10-account > strong { display:block; font-size:2.1rem; line-height:1.3; font-weight:500; margin:.6rem 0 .2rem; white-space:nowrap; }
.e10-before-interest { display:block; font-size:.8rem; color:var(--graph); }
.e10-debt-track { height:16px; background:#D8E1E5; margin:1.15rem 0 .4rem; }
.e10-debt-track > span { height:100%; display:block; background:var(--e10-cost); }
.e10-credit-limit { display:flex; justify-content:space-between; gap:.5rem; font:400 .68rem/1.5 var(--font-mono); color:var(--graph); }
.e10-net { border-top:1px solid #B6C6CF; margin-top:1rem; padding-top:.85rem; }
.e10-net > span { display:block; font-size:.8rem; }
.e10-net > strong { display:block; font-size:1.5rem; font-weight:500; margin-top:.2rem; }
.e10-transfer { min-width:0; }
.e10-movement > span { display:block; font-size:.85rem; color:#C4DBE9; line-height:1.5; }
.e10-movement > strong { display:block; font-size:1.65rem; font-weight:500; margin:.4rem 0 .9rem; color:#FF7A86; white-space:nowrap; }
[data-flow-state="1"] .e10-movement > strong { color:#8ED0B8; }
.e10-transfer > p { font-size:.95rem; line-height:1.65; min-height:9.9em; margin:0 0 1rem; }
.e10-flow-route { display:flex; align-items:center; gap:.65rem; border-top:1px solid #4D6D84; padding-top:.8rem; font-size:.8rem; line-height:1.4; }
.e10-flow-arrow { font-size:1.4rem; color:var(--blue); }
.e10-flow .e10-note,.e10-flow .e10-table caption,.e10-flow .e10-table thead th { color:#C4DBE9; }
.e10-flow .e10-details { border-color:#4D6D84; }
.e10-flow .e10-table th,.e10-flow .e10-table td { border-color:#4D6D84; }
.e10-assumptions { display:grid; grid-template-columns:1fr 1fr 1fr; gap:1rem; margin:1.5rem 0 2rem; padding:1.1rem 0; border-top:1px solid #B6C6CF; border-bottom:1px solid #B6C6CF; }
.e10-assumptions span { display:block; font-size:.8rem; line-height:1.5; min-height:3em; }
.e10-assumptions strong { display:block; font-size:1.5rem; font-weight:500; margin-top:.25rem; }
.e10-chart { display:grid; grid-template-columns:65px 1fr; align-items:stretch; gap:.5rem; }
.e10-chart-scale { position:relative; font:400 .75rem/1 var(--font-mono); color:var(--graph); }
.e10-chart-scale > span { position:absolute; left:0; transform:translateY(-50%); }
.e10-chart-scale > span:nth-child(1) { top:6.666667%; }
.e10-chart-scale > span:nth-child(2) { top:48.333333%; }
.e10-chart-scale > span:nth-child(3) { top:90%; }
.e10-chart svg { display:block; width:100%; height:auto; overflow:visible; }
.e10-grid { fill:none; stroke:#C4D1DA; stroke-width:1; }
.e10-area { fill:#4AADDF; opacity:.12; }
.e10-curve { fill:none; stroke:var(--splash); stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
.e10-projection { stroke:var(--splash); stroke-width:3; stroke-dasharray:3 4; fill:none; }
.e10-checkpoint { fill:var(--splash); }
.e10-endpoint { fill:var(--paper); stroke:var(--splash); stroke-width:2; }
.e10-cursor { fill:var(--navy); stroke:var(--paper); stroke-width:3; }
.e10-cursor-line { stroke:var(--navy); opacity:.3; stroke-width:1.5; stroke-dasharray:4 4; }
.e10-chart-axis { position:relative; height:1.5rem; margin:0 0 1rem calc(65px + .5rem); font:400 .75rem/1.5 var(--font-mono); color:var(--graph); }
.e10-chart-axis > span { position:absolute; top:0; transform:translateX(-50%); white-space:nowrap; }
.e10-month-control { margin:1.25rem 0; }
.e10-month-control label { display:flex; justify-content:space-between; font-size:.95rem; font-weight:500; }
.e10-month-control output { font-family:var(--font-mono); color:var(--splash); }
.e10-month-control input { appearance:none; width:100%; display:block; margin:.5rem 0 0; height:44px; background:transparent; cursor:ew-resize; accent-color:var(--splash); }
.e10-month-control input::-webkit-slider-runnable-track { height:4px; background:#A5BAC7; }
.e10-month-control input::-webkit-slider-thumb { appearance:none; width:24px; height:24px; border-radius:50%; background:var(--splash); border:3px solid var(--paper); box-shadow:0 0 0 1px var(--splash); margin-top:-10px; }
.e10-month-control input::-moz-range-track { height:4px; background:#A5BAC7; }
.e10-month-control input::-moz-range-thumb { width:20px; height:20px; border-radius:50%; background:var(--splash); border:3px solid var(--paper); }
.e10-payoff-values { display:grid; grid-template-columns:1.2fr 1fr; gap:1.5rem; padding:1.25rem 0; border-top:2px solid var(--navy); border-bottom:1px solid #B6C6CF; }
.e10-payoff-values span { display:block; font-size:.85rem; min-height:2.8em; line-height:1.5; }
.e10-payoff-values strong { display:block; font-size:2rem; font-weight:500; line-height:1.3; min-height:1.3em; }
.e10-payoff-values > div:nth-child(2) strong { font-size:1.6rem; color:var(--graph); padding-top:.3rem; }
.e10-is-projected strong { font-size:1.6rem; }
.e10-schedule tr[aria-current="true"] { background:#E0EDF4; }
.e10-schedule th:first-child { width:18%; }
.e10-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-10-article .article-header h1 { font-size:2.4rem; }
  .episode-10-article .article-copy h2 { font-size:1.65rem; }
  .episode-10-article .article-next h2 { font-size:2rem; }
}
@media(max-width:560px) {
  .e10-figure { padding-top:1.4rem; }
  .e10-figure > figcaption { font-size:1.55rem; }
  .e10-figure > figcaption em { font-size:2.05rem; }
  .e10-income { display:block; }
  .e10-income > strong { display:block; font-size:2.5rem; margin-top:.4rem; }
  .e10-allocation { gap:1rem .7rem; }
  .e10-allocation dt { font-size:.85rem; }
  .e10-allocation dd { font-size:1.5rem; }
  .e10-budget-result { grid-template-columns:1fr; gap:.8rem; }
  .e10-budget-result span { min-height:0; }
  .e10-budget-result strong { margin-top:.4rem; }
  .e10-budget-result p { min-height:5.1em; }
  .e10-equation { grid-template-columns:1fr auto 1fr; padding:1rem; gap:.5rem; }
  .e10-equation > .e10-operator:nth-child(4) { display:none; }
  .e10-equation .e10-index-result { grid-column:1/-1; border-top:1px solid #B6C6CF; padding-top:.8rem; margin-top:.5rem; }
  .e10-index-result strong { font-size:2.5rem; }
  .e10-debts,.e10-debts tbody,.e10-debts tr,.e10-responsive,.e10-responsive tbody,.e10-responsive tr { display:block; }
  .e10-debts thead,.e10-responsive thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .e10-debts caption,.e10-responsive caption { display:block; }
  .e10-debts tr,.e10-responsive tr { border-bottom:1px solid #B6C6CF; padding:1rem 0; }
  .e10-debts th,.e10-responsive th { display:block; width:100%!important; border:0; padding:0 0 .5rem; font-size:1.1rem; }
  .e10-debts td,.e10-responsive td { display:flex; justify-content:space-between; gap:1rem; border:0; padding:.2rem 0; text-align:right; font-size:.95rem; }
  .e10-debts td::before,.e10-responsive td::before { content:attr(data-label); text-align:left; font-size:.85rem; }
  .e10-debts .e10-group-start > * { border:0; padding-top:0; }
  .e10-debts .e10-group-start { border-top:2px solid var(--navy); margin-top:.3rem; padding-top:1.4rem; }
  .e10-row-tag { display:inline; margin-left:.7rem; }
  .e10-flow { padding:1.5rem 1rem; }
  .e10-flow-stage { grid-template-columns:1fr; gap:1.2rem; }
  .e10-account { padding:1rem; }
  .e10-account-heading { min-height:48px; }
  .e10-account-heading img { width:80px; }
  .e10-account > strong { font-size:2.3rem; margin:.25rem 0 .15rem; }
  .e10-debt-track { margin:.8rem 0 .3rem; height:12px; }
  .e10-net { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:.65rem; padding-top:.65rem; }
  .e10-net > span { max-width:100px; line-height:1.4; }
  .e10-net > strong { font-size:1.4rem; white-space:nowrap; }
  .e10-movement { display:flex; align-items:center; justify-content:space-between; gap:.8rem; min-height:2.55rem; }
  .e10-movement > span { max-width:115px; }
  .e10-movement > strong { font-size:1.35rem; margin:0; }
  .e10-transfer > p { min-height:8.25em; margin-top:.8rem; }
  .e10-assumptions { grid-template-columns:1fr 1fr; }
  .e10-assumptions > div:last-child { grid-column:1/-1; border-top:1px solid #B6C6CF; padding-top:1rem; }
  .e10-assumptions > div:last-child span { min-height:0; }
  .e10-assumptions strong { font-size:1.6rem; }
  .e10-chart { grid-template-columns:65px 1fr; gap:0; }
  .e10-chart-axis { margin-left:65px; }
  .e10-payoff-values { grid-template-columns:1fr; gap:1rem; }
  .e10-payoff-values span { min-height:0; }
  .e10-payoff-values strong { font-size:2.4rem; margin-top:.4rem; }
  .e10-payoff-values > div:nth-child(2) { display:flex; justify-content:space-between; align-items:baseline; gap:1rem; }
  .e10-payoff-values > div:nth-child(2) span { max-width:140px; }
  .e10-payoff-values > div:nth-child(2) strong { font-size:1.4rem; white-space:nowrap; }
  .e10-is-projected strong { font-size:2rem; }
}
@media(max-width:360px) {
  .episode-10-article .article-header h1 { font-size:2rem; }
  .e10-figure > figcaption em { font-size:1.9rem; }
  .e10-switch button { font-size:.85rem; }
  .e10-allocation dt { min-height:4.5em; }
  .e10-allocation dd { font-size:1.35rem; }
  .e10-account > strong { font-size:2rem; }
  .e10-movement > strong { font-size:1.2rem; }
  .e10-transfer > p { min-height:9.9em; }
  .e10-payoff-values > div:nth-child(2) strong { font-size:1.25rem; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto!important; }
  .e10-figure * { animation:none!important; transition:none!important; }
}
