.money-progress { grid-template-columns: repeat(3, 1fr); }
.money-lesson .lesson-course-name > span { margin-inline: 6px; }
.money-lesson .lesson-step-content > .lesson-intro { margin-bottom: 26px; }
.money-lesson .lesson-step-content > :last-child { margin-bottom: 0; }
.money-lesson .lesson-intro { max-width: 650px; }
.money-lesson .lesson-completion .money-final-plan { margin: 0 0 28px; text-align: left; }
.money-lesson input, .money-lesson textarea, .money-lesson select { font-size: 16px; }
.money-lesson button { min-height: 44px; }
.money-lesson .button { gap: 8px; }
.money-teaching-pair, .money-definition-grid, .money-comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.money-teaching-pair > div, .money-definition-grid > div { padding: 23px; border: 1px solid #ded8c9; border-radius: 10px; background: #f6f1e6; }
.money-teaching-pair > div:last-child { background: #edf0f8; border-color: #d8dfef; }
.money-teaching-pair span, .money-definition-grid span { display: block; margin-bottom: 13px; color: #696860; font-size: 11px; }
.money-teaching-pair p { font-size: 17px; line-height: 1.65; letter-spacing: -.02em; }
.money-definition-grid > div { background: #f7f4ee; }
.money-definition-grid strong { font-size: 15px; letter-spacing: -.02em; }
.money-definition-grid p { margin-top: 9px; color: #696860; font-size: 12px; line-height: 1.75; }
.money-note { padding: 0 0 6px; }
.money-note strong { font-size: 14px; line-height: 1.7; font-weight: 550; }
.money-note p { margin-top: 7px; color: #696860; font-size: 13px; line-height: 1.7; }
.money-plan-context { display: grid; gap: 6px; margin: 23px 0; padding-block: 15px; border-block: 1px solid #e1dcd1; }
.money-plan-context strong { font-size: 13px; font-weight: 550; line-height: 1.6; }
.money-plan-context span { color: #696860; font-size: 11px; line-height: 1.7; }
.money-fieldset { min-width: 0; padding: 0; margin: 25px 0; border: 0; }
.money-fieldset legend { margin-bottom: 12px; padding: 0; font-size: 13px; font-weight: 550; }
.money-product-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.money-product-option { display: flex; flex-direction: column; align-items: center; padding: 16px 10px 20px; border: 1px solid #dcd8ce; border-radius: 10px; text-align: center; background: #fffef9; }
.money-product-option:hover { border-color: #bcb5a6; background: #faf7f1; }
.money-product-option.is-selected { background: #f0f3fc; border-color: #315acc; box-shadow: inset 0 0 0 1px #315acc; }
.money-product-icon { display: block; width: 64px; height: 64px; stroke: #403f3b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.money-product-option strong { margin-top: 8px; font-size: 13px; font-weight: 550; }
.money-product-option small { margin-top: 5px; color: #696860; font-size: 10px; line-height: 1.6; }
.money-product-need { margin-top: -11px; color: #696860; font-size: 12px; line-height: 1.7; }
.money-segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.money-segmented > button { flex: 1 1 auto; padding: 12px 14px; border: 1px solid #dcd8ce; border-radius: 7px; font-size: 12px; line-height: 1.5; }
.money-segmented > button:hover { border-color: #bcb5a6; }
.money-segmented > button.is-selected { background: #20201d; border-color: #20201d; color: #fffef9; }
.money-stall { position: relative; width: min(100%, 360px); margin: 30px auto 6px; padding: 0 24px 12px; }
.money-stall::before, .money-stall::after { position: absolute; z-index: 0; top: 30px; bottom: 17px; width: 5px; background: #a6a397; content: ''; }
.money-stall::before { left: 33px; }
.money-stall::after { right: 33px; }
.money-stall-canopy { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); height: 43px; margin-inline: -7px; border-radius: 8px 8px 4px 4px; overflow: hidden; border: 1px solid #c9b86e; background: #ead68e; }
.money-stall-canopy > span:nth-child(2n) { background: #faf5d9; }
.money-stall-peach .money-stall-canopy { background: #dca88c; border-color: #c8997c; }
.money-stall-peach .money-stall-canopy > span:nth-child(2n) { background: #f4e3d8; }
.money-stall-lilac .money-stall-canopy { background: #b4a6ce; border-color: #a597bd; }
.money-stall-lilac .money-stall-canopy > span:nth-child(2n) { background: #e8e1f1; }
.money-stall-shelf { position: relative; display: flex; justify-content: center; gap: 2px; height: 89px; padding-top: 19px; }
.money-stall-shelf .money-product-icon { width: 65px; height: 65px; }
.money-stall-front { position: relative; padding: 17px 17px 20px; border: 1px solid #d1c8b2; border-top: 7px solid #c7b68d; border-radius: 3px 3px 7px 7px; background: #eee6d4; text-align: center; }
.money-stall-front strong { display: block; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: 22px; font-weight: 400; font-style: italic; line-height: 1.25; }
.money-stall-front > span { display: block; margin-top: 7px; font-size: 10px; color: #696860; }
.money-text-fields { display: grid; gap: 10px; }
.money-text-fields label { display: flex; justify-content: space-between; gap: 15px; font-size: 13px; font-weight: 550; }
.money-text-fields label:not(:first-child) { margin-top: 15px; }
.money-text-fields label > span { font-size: 11px; color: #696860; font-weight: 400; }
.money-text-fields input, .money-text-fields textarea { width: 100%; padding: 13px 15px; border: 1px solid #ccc7bd; border-radius: 8px; background: #fffefb; color: #20201d; font-family: inherit; font-size: 16px; line-height: 1.65; }
.money-text-fields textarea { resize: vertical; min-height: 100px; }
.money-text-fields textarea:focus-visible { outline: 3px solid #315acc; outline-offset: 3px; }
.money-range-control { margin: 25px 0; }
.money-range-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.money-range-heading label { font-size: 13px; font-weight: 550; }
.money-range-heading output { color: #315acc; font-size: 22px; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.money-range-control input[type=range] { display: block; width: 100%; min-height: 44px; margin: 4px 0 0; padding: 0; accent-color: #315acc; cursor: pointer; }
.money-range-ends { display: flex; justify-content: space-between; margin-top: -1px; color: #77776e; font-size: 10px; font-variant-numeric: tabular-nums; }
.money-range-control .lesson-quiet-hint { margin-top: 9px; }
.money-cost-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #dcd8ce; border-radius: 10px; overflow: hidden; margin: 23px 0; }
.money-cost-breakdown > div { display: grid; gap: 8px; padding: 20px; }
.money-cost-breakdown > div:nth-child(2) { border-left: 1px solid #dcd8ce; }
.money-cost-breakdown span { font-size: 11px; color: #696860; }
.money-cost-breakdown strong { font-size: 24px; letter-spacing: -.04em; font-weight: 550; font-variant-numeric: tabular-nums; }
.money-cost-breakdown small { font-size: 10px; color: #696860; line-height: 1.6; }
.money-cost-breakdown > .money-cost-total { grid-column: 1 / -1; background: #f1f3f9; border-top: 1px solid #dcd8ce; }
.money-cost-total strong { color: #315acc; }
.money-inventory { margin: 24px 0; padding: 20px; border: 1px solid #e5dfd3; border-radius: 9px; background: #f7f4ed; }
.money-inventory-items { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; max-width: 400px; margin: 0 auto; }
.money-inventory-item { display: block; width: 100%; max-width: 25px; aspect-ratio: 1; margin: auto; border-radius: 4px; border: 1px solid #ccbc7a; background: #ead788; }
.money-inventory-peach { border-color: #c69880; background: #e1b299; }
.money-inventory-lilac { border-color: #a697bf; background: #c6b8dc; }
.money-inventory p { margin-top: 14px; color: #696860; font-size: 11px; text-align: center; }
.money-inventory p strong { color: #20201d; font-weight: 550; }
.money-comparison-grid > div { padding: 22px; border: 1px solid #dcd8ce; border-radius: 9px; background: #f8f5ee; }
.money-comparison-grid span { display: block; color: #696860; font-size: 11px; }
.money-comparison-grid strong { display: block; margin-top: 10px; font-size: 27px; font-weight: 550; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.money-comparison-grid small { display: block; margin-top: 9px; color: #696860; font-size: 10px; line-height: 1.7; }
.money-price-comparison > div:last-child { border-color: #d0d9f0; background: #f0f3fb; }
.money-price-comparison strong { font-size: 23px; }
.money-price-comparison p { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #dcd8ce; font-size: 12px; }
.money-price-comparison b { font-weight: 550; font-variant-numeric: tabular-nums; }
.money-comparison-switch { margin: 24px 0; }
.money-insight { margin: 23px 0; padding: 18px 20px; border-left: 2px solid #315acc; border-radius: 0 7px 7px 0; background: #f4f5fa; color: #62646a; font-size: 12px; line-height: 1.8; }
.money-insight strong { display: block; margin-bottom: 3px; color: #303743; font-weight: 550; }
.money-reflection { margin-top: 27px; }
.money-worked-example { margin: 25px 0; padding: 25px; border: 1px solid #ded8c9; border-radius: 10px; background: #f7f3e9; }
.money-worked-example > span { display: block; margin-bottom: 17px; color: #777165; font-size: 9px; letter-spacing: .065em; font-weight: 600; }
.money-worked-example > p { margin: 9px 0; font-size: 14px; line-height: 1.8; }
.money-worked-example > p > strong { font-weight: 550; }
.money-equation { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr; align-items: center; gap: 8px; margin-top: 24px; text-align: center; }
.money-equation strong { font-size: 28px; font-weight: 550; letter-spacing: -.04em; }
.money-equation strong:last-child { color: #315acc; }
.money-equation > span { color: #8c8475; font-size: 20px; }
.money-equation-labels { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 7px; text-align: center; color: #696860; font-size: 10px; }
.money-equation-labels > span:first-child { padding-right: 17px; }
.money-equation-labels > span:last-child { padding-left: 17px; }
.money-results { margin: 26px 0 0; padding: 25px; border: 1px solid #d9dce5; border-radius: 10px; background: #f7f8fb; }
.money-result-chart { display: grid; gap: 20px; }
.money-result-chart > div { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.money-result-chart span { font-size: 12px; color: #616575; }
.money-result-chart strong { font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.money-result-chart small { grid-column: 1 / -1; color: #696860; font-size: 11px; line-height: 1.6; }
.money-result-chart i { position: relative; display: block; grid-column: 1 / -1; width: 100%; height: 9px; border-radius: 4px; background: #e7e9ef; overflow: hidden; }
.money-result-chart i::before { display: block; height: 100%; width: var(--money-bar-width); border-radius: 4px; background: #4267cc; content: ''; }
.money-result-chart .money-cost-bar i::before { background: #aca797; }
.money-profit { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 5px 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #d9dce5; }
.money-profit > span { font-size: 13px; font-weight: 550; }
.money-profit strong { color: #315acc; font-size: 31px; font-weight: 550; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.money-profit.is-loss strong { color: #a2503e; }
.money-profit small { grid-column: 1 / -1; margin-top: 2px; color: #696860; font-size: 11px; line-height: 1.7; }
.money-sold-line { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 19px; padding-top: 18px; border-top: 1px solid #e0e2ea; color: #696860; font-size: 11px; }
.money-sold-line strong { color: #20201d; font-weight: 550; }
.money-assumptions { margin-top: 22px; color: #696860; font-size: 11px; line-height: 1.75; }
.money-assumptions summary { display: list-item; min-height: 44px; padding: 12px 0; cursor: pointer; color: #5d625f; font-weight: 500; }
.money-assumptions summary:focus-visible { outline: 3px solid #315acc; outline-offset: 3px; border-radius: 3px; }
.money-assumptions p { margin: 6px 0 12px; }
.money-scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.money-scenarios > button { display: block; padding: 16px 14px; border: 1px solid #dcd8ce; border-radius: 8px; text-align: left; }
.money-scenarios > button:hover { border-color: #bcb5a6; }
.money-scenarios > button.is-selected { background: #f0f3fc; border-color: #315acc; box-shadow: inset 0 0 0 1px #315acc; }
.money-scenarios strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.7; }
.money-scenarios span { display: block; margin-top: 6px; font-size: 10px; color: #696860; line-height: 1.7; }
.money-scenario-note { margin: 18px 0; color: #696860; font-size: 12px; line-height: 1.8; }
.money-final-plan { margin: 24px 0; border: 1px solid #ded8c9; border-radius: 10px; background: #f8f5ed; padding: 6px 24px 24px; }
.money-final-plan > .money-stall { margin-top: 22px; margin-bottom: 20px; }
.money-final-plan dl { margin: 0; }
.money-final-plan dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid #e2dccc; }
.money-final-plan dt { color: #696860; font-size: 11px; line-height: 1.6; }
.money-final-plan dd { margin: 0; text-align: right; font-size: 12px; line-height: 1.6; font-weight: 500; font-variant-numeric: tabular-nums; }
.money-final-plan .money-final-profit dt { color: #20201d; font-weight: 550; }
.money-final-plan .money-final-profit dd { font-size: 18px; letter-spacing: -.025em; }
.money-plan-why { margin-top: 15px; padding-top: 18px; border-top: 1px solid #e2dccc; color: #696860; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 680px) {
  .money-lesson .lesson-course-name { font-size: 11px; }
  .money-teaching-pair, .money-definition-grid { grid-template-columns: 1fr; gap: 10px; }
  .money-teaching-pair > div, .money-definition-grid > div { padding: 19px; }
  .money-teaching-pair span, .money-definition-grid span { margin-bottom: 8px; }
  .money-teaching-pair p { font-size: 16px; }
  .money-product-picker { gap: 7px; }
  .money-product-option { padding: 12px 6px 15px; }
  .money-product-option strong { font-size: 11px; }
  .money-product-option small { font-size: 9px; }
  .money-product-option .money-product-icon { width: 53px; height: 53px; }
  .money-scenarios { grid-template-columns: 1fr; gap: 8px; }
  .money-scenarios > button { padding: 13px 15px; }
  .money-scenarios span { margin-top: 3px; font-size: 11px; }
  .money-comparison-grid { gap: 9px; }
  .money-comparison-grid > div { padding: 17px 13px; }
  .money-comparison-grid strong { font-size: 24px; }
  .money-price-comparison strong { font-size: 19px; }
  .money-price-comparison p { display: block; font-size: 11px; }
  .money-price-comparison b { display: block; margin-top: 4px; font-size: 14px; }
  .money-worked-example { padding: 20px 18px; }
  .money-worked-example > p { font-size: 13px; }
  .money-equation strong { font-size: 25px; }
  .money-insight { padding: 16px; }
  .money-results { padding: 20px; }
  .money-cost-breakdown > div { padding: 17px 15px; }
  .money-cost-breakdown strong { font-size: 23px; }
  .money-inventory { padding: 17px; }
  .money-inventory-items { gap: 5px; }
  .money-final-plan { padding: 6px 17px 17px; }
  .money-stall { padding-inline: 10px; }
  .money-stall::before { left: 19px; }
  .money-stall::after { right: 19px; }
  .money-stall-front strong { font-size: 21px; }
}
