/* Forward belongs to Money. Scoped typography, no global house-floor overrides. */
.mf{--mf-font:Archivo,sans-serif;--mf-ink:var(--ink,#f4f4ee);--mf-muted:var(--ink-dim,#c0c0b6);--mf-line:var(--line-strong,#3a3a44);--mf-green:var(--accent,#d4ff3a);--mf-panel:var(--bg-elev,#131316);color:var(--mf-ink);font-family:var(--mf-font);margin:24px 0 40px;isolation:isolate}

.mf *{box-sizing:border-box}
.mf [hidden]{display:none!important}
.mf button,.mf select,.mf input{font:inherit}
.mf button{cursor:pointer;color:inherit;border:1px solid var(--mf-line);border-radius:0;background:transparent;padding:10px 13px;min-height:44px}
.mf button:disabled{opacity:.48;cursor:default}
.mf button:hover:enabled{border-color:var(--mf-green)}
.mf :focus-visible{outline:3px solid var(--mf-green);outline-offset:3px}

.mf-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:28px 0 36px;border-bottom:1px solid var(--mf-line)}
.mf-kicker{font-size:12px;font-weight:700;letter-spacing:.16em}
.mf-header h2{font-size:clamp(40px,5.5vw,78px);font-weight:500;line-height:.99;letter-spacing:-.065em;margin:18px 0 22px}
.mf-header h2>span{color:var(--mf-green)}
.mf-header p{font-size:15px;line-height:1.65;max-width:420px;color:var(--mf-muted);margin:0}
.mf-header-note{display:flex;align-items:center;flex-wrap:wrap;gap:10px;max-width:175px;padding-bottom:5px;font-size:18px}
.mf-header-note>span:not(.mf-line-dot),.mf-header-note small{width:100%;font-size:12px;color:var(--mf-muted)}
.mf-line-dot{width:9px;height:9px;background:var(--mf-green);border-radius:50%}
.mf-status{font-size:12px;line-height:1.6;min-height:20px;margin:14px 0 28px;color:var(--mf-muted)}

.mf-workspace{display:grid;grid-template-columns:minmax(0,1fr) 296px;grid-template-areas:"main controls";gap:36px}
.mf-main{min-width:0;grid-area:main}
.mf-controls{grid-area:controls;border-left:1px solid var(--mf-line);padding-left:24px;min-width:0}
.mf-form{position:sticky;top:24px}
.mf-form-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;font-size:18px;font-weight:600}
.mf-form-title button{font-size:12px;padding:7px;border:none;text-decoration:underline}
.mf-switch{display:flex;align-items:center;gap:9px;font-size:13px;min-height:44px;margin-bottom:14px}
.mf input[type="checkbox"]{accent-color:var(--mf-green);height:18px;width:18px}
.mf-field{display:flex;flex-direction:column;gap:7px;margin:15px 0;font-size:12px}
.mf-field>span{font-weight:600}
.mf-field input,.mf-field select,.mf-timeline-head select{width:100%;min-width:0;border:1px solid var(--mf-line);background:var(--mf-panel);color:var(--mf-ink);border-radius:0;padding:11px 9px;min-height:44px;font-size:14px}
.mf-field small,.mf-fine{font-size:12px;line-height:1.65;color:var(--mf-muted)}
.mf-pair{display:grid;grid-template-columns:1.4fr 1fr;gap:10px}
.mf-primary{width:100%;display:flex;align-items:center;justify-content:space-between;background:var(--mf-green)!important;color:var(--accent-text,#0b0b0d)!important;border-color:var(--mf-green)!important;margin-top:16px;font-weight:600!important}
.mf details{border-top:1px solid var(--mf-line)}
.mf summary{cursor:pointer;font-size:13px;font-weight:600;line-height:1.6;padding:17px 0;min-height:48px}
.mf summary::marker{color:var(--mf-green)}
.mf-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:26px 0 16px}
.mf-section-head h3{font-size:20px;font-weight:500;letter-spacing:-.025em;margin:0}
.mf-section-head>span{font-size:12px;color:var(--mf-muted)}
.mf-timeline-head{margin:0 0 10px;align-items:flex-start}
.mf-timeline-head h3{font-size:25px;margin-top:10px}
.mf-timeline-head select{width:auto;max-width:190px;font-size:12px;height:44px}
.mf-field select,.mf-timeline-head select{appearance:none;-webkit-appearance:none;padding-right:30px;background-image:linear-gradient(45deg,transparent 50%,var(--mf-muted) 50%),linear-gradient(135deg,var(--mf-muted) 50%,transparent 50%);background-position:calc(100% - 15px) 50%,calc(100% - 11px) 50%;background-size:4px 4px;background-repeat:no-repeat}
.mf-chart-wrap{min-height:245px}
.mf-chart{width:100%;height:auto;overflow:visible}
.mf-chart text{font-family:var(--mf-font);font-size:15px;fill:var(--mf-muted)}
.mf-gridline{stroke:var(--mf-line);stroke-width:.7}
.mf-target{stroke:var(--mf-target-color,var(--mf-ink));stroke-dasharray:3 5;stroke-width:1.5;vector-effect:non-scaling-stroke;opacity:1}
.mf-base-path{fill:none;stroke:var(--mf-muted);stroke-width:2;stroke-dasharray:5 5}
.mf-scenario-path{fill:none;stroke:var(--mf-green);stroke-width:3;stroke-linejoin:round;stroke-linecap:round;animation:hs-mf-arrive .35s ease-out}
[data-theme="house"] .mf-scenario-path{animation:none}
.mf-cursor{stroke:var(--mf-line);stroke-width:1}
.mf-scenario-point{fill:var(--mf-green);stroke:var(--mf-panel);stroke-width:2}
.mf-base-point{fill:var(--mf-muted);stroke:var(--mf-panel);stroke-width:2}
.mf-chart-key{display:flex;gap:20px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--mf-muted);margin-bottom:20px}
.mf-chart-key>span{display:flex;align-items:center;gap:7px}
.mf-chart-key i{width:22px;height:0}
.mf-key-base{border-top:2px dashed var(--mf-muted)}
.mf-key-scenario{border-top:2px solid var(--mf-green)}
.mf-chart-key label{display:flex;align-items:center;gap:7px;margin-left:auto}
.mf-chart-key input{width:14px!important;height:14px!important}
.mf-scrubber{padding:18px 0;border-top:1px solid var(--mf-line);border-bottom:1px solid var(--mf-line)}
.mf-scrubber label{display:flex;justify-content:space-between;align-items:center;font-size:12px}
.mf-scrubber input{width:100%;accent-color:var(--mf-green);height:38px;cursor:ew-resize}
.mf-scrubber>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--mf-muted)}
.mf-scrubber strong{font-weight:500;color:var(--mf-ink);font-variant-numeric:tabular-nums}
.mf-scrubber>div strong{display:block;font-size:22px;margin-top:7px}
.mf-stats{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.mf-stat{display:flex;flex-direction:column;padding:22px 0;border-bottom:1px solid var(--mf-line);min-width:0}
.mf-stat>span{font-size:12px;color:var(--mf-muted)}
.mf-stat strong{font-weight:500;font-size:clamp(20px,2.5vw,32px);letter-spacing:-.04em;margin:12px 0;overflow-wrap:anywhere}
.mf-stat small{font-size:12px;line-height:1.55;color:var(--mf-muted);max-width:230px}
.mf-date-line{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:24px 0 8px;font-size:12px;color:var(--mf-muted)}
.mf-date-line strong{display:block;font-size:17px;color:var(--mf-ink);font-weight:500;margin-top:9px}
.mf-evidence{margin-top:24px}
.mf-evidence>p{font-size:12px;line-height:1.7;max-width:75ch;color:var(--mf-muted)}
.mf-watch-row{display:grid;grid-template-columns:minmax(120px,.8fr) 1.6fr;gap:22px;border-top:1px solid var(--mf-line);padding:16px 0}
.mf-watch-row strong{font-size:12px;font-weight:600}
.mf-watch-row p{font-size:12px;line-height:1.7;margin:0;color:var(--mf-muted)}
.mf-table-wrap{overflow:auto;max-height:370px}
.mf table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.mf caption{font-size:12px;text-align:left;padding-bottom:15px;color:var(--mf-muted)}
.mf th,.mf td{padding:12px 8px;border-bottom:1px solid var(--mf-line);text-align:right;white-space:nowrap}
.mf th:first-child{text-align:left}
.mf-reason{border-top:1px solid var(--mf-line);margin-top:28px}
.mf-seat{display:grid;grid-template-columns:100px 1fr;gap:8px 14px;padding:18px 0;border-bottom:1px solid var(--mf-line);font-size:12px}
.mf-seat strong{font-weight:600}
.mf-seat>span{color:var(--mf-muted)}
.mf-seat p,.mf-seat small{grid-column:2;margin:0;line-height:1.65;color:var(--mf-muted)}
.mf-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 12px;font-size:12px}
.mf-history button{width:100%;display:flex;flex-direction:column;gap:8px;text-align:left;margin:8px 0;padding:14px}
.mf-history small{font-size:12px;color:var(--mf-muted)}
.mf-loading,.mf-no-chart{padding:55px 25px;min-height:260px;border-bottom:1px solid var(--mf-line);font-size:14px;line-height:1.7;color:var(--mf-muted)}
.mf-no-chart h3{font-size:25px;line-height:1.2;color:var(--mf-ink);font-weight:500}
.mf [aria-busy="true"]{opacity:.45}
.mf-legacy{margin:30px 0;border-top:1px solid var(--border,#6a7867)}
.mf-legacy>summary{padding:22px 0;font-size:16px;cursor:pointer}

@keyframes hs-mf-arrive{from{opacity:.3}
to{opacity:1}
}

@media(max-width:1080px){.mf-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:22px}
.mf-controls{padding-left:18px}
.mf-timeline-head{flex-wrap:wrap}
.mf-timeline-head select{max-width:100%}
.mf-chart-key label{margin-left:0}
}

@media(max-width:760px){.mf{margin-top:10px}
.mf-header{padding:18px 0 24px}
.mf-header h2{font-size:clamp(38px,10vw,64px)}
.mf-header-note{display:none}
.mf-workspace{display:flex;flex-direction:column;gap:28px}
.mf-controls{border:1px solid var(--mf-line);padding:18px}
.mf-form{position:static}
.mf-form details:not([open]){margin-bottom:0}
.mf-form-title{margin-bottom:5px}
.mf-chart-wrap{min-height:0}
.mf-chart{min-width:0}
.mf-stats{gap:0 18px}
.mf-stat strong{font-size:24px}
.mf-date-line{grid-template-columns:1fr}
.mf-watch-row{grid-template-columns:1fr;gap:8px}
.mf-section-head{gap:12px}
.mf-section-head h3{font-size:19px}
.mf-timeline-head h3{font-size:25px}
.mf-seat{grid-template-columns:80px 1fr}
.mf-scrubber>div strong{font-size:19px}
}

@media(prefers-reduced-motion:reduce){.mf *, .mf *::before,.mf *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


@media(min-width:1001px){.mf-controls-fold>summary{display:none}
.mf-controls-fold{border-top:0!important}
}

/* Exact amounts remain in native-size HTML below the mobile chart. */
@media(max-width:760px){.mf-chart .mf-axis-value{display:none}.mf-chart .mf-axis-date,.mf-chart .mf-target-label{font-size:30px}}

/* Keep the financial path close to the first phone viewport. Native form
   controls stay at 16px so focusing a field does not trigger iOS autozoom. */
@media(max-width:760px){
  .mf-header{padding:8px 0 16px}
  .mf-header h2{margin:12px 0 14px}
  .mf-header p{font-size:13px;line-height:1.55}
  .mf-status{margin:12px 0 18px}
  .mf-controls{padding:0 14px}
  .mf-controls-fold{border-top:0!important}
  .mf-controls-fold>summary{padding:13px 0}
  .mf-field input,.mf-field select,.mf-timeline-head select{font-size:16px}
}

.mf-transfer-warning{border-left:3px solid var(--warn,#ffb347);padding:10px 14px;margin:12px 0;font-size:13px;line-height:1.65;color:var(--mf-ink)}

/* Projection only ever renders inside Money, and Money forces ONE dark
   ground in every skin (money_workspace.css .mw). Three rules here painted
   for a light page and now land on that dark ground, so they are gone
   rather than fought from a later stylesheet:
     --mf-target-color #8c4914  → 2.81:1 on Money's ground; the fallback
                                  var(--mf-ink) reads 17.03:1.
     --mf-green #0B6E4F         → 2.84:1 on the tile; the fallback
                                  var(--accent) is EON green at 15.39:1.
     .mf-primary color #fff     → was white on that deep green; on EON
                                  green it would read 1.16:1. The base rule
                                  var(--accent-text) reads 15.66:1. */
.mf-stat .mf-exact{margin:-5px 0 12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:760px){.mf-chart .mf-axis-value.mf-axis-end{display:block;font-size:30px;text-anchor:start;transform:translateX(-46px)}.mf-field small,.mf-fine,.mf-stat small,.mf-chart-key,.mf-stat>span,.mf-date-line,.mf-history small{font-size:12px}}

.mf-instruments{border-top:1px solid var(--mf-line);margin:28px 0}
.mf-instrument-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;padding:10px 0 20px}
.mf-instrument-grid>div{display:flex;flex-direction:column;gap:10px;min-width:0}
.mf-instrument-grid span,.mf-instrument-grid small{font-size:12px;line-height:1.6;color:var(--mf-muted)}
.mf-instrument-grid strong{font-size:27px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mf-history-row{border-bottom:1px solid var(--mf-line);padding:12px 0;display:flex;flex-wrap:wrap;gap:8px}
.mf-history-row p{width:100%;font-size:13px;margin:0}.mf-history-row small{display:block;margin-top:7px}
.mf-history .mf-history-row button{width:auto;margin:0;font-size:12px}
.mf-frozen{border:1px solid var(--mf-line);padding:16px;margin-top:20px}.mf-frozen>small{overflow-wrap:anywhere;line-height:1.65}.mf-frozen p{font-size:13px;line-height:1.7}.mf-frozen pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}

.mf-review-state{grid-column:1/-1}

.mf-analysis-detail{grid-column:2;min-width:0}.mf-analysis-detail h4{font-size:13px;margin:18px 0 8px;font-weight:600}.mf-analysis-detail ul{padding-left:19px;margin:0;color:var(--mf-muted);font-size:13px;line-height:1.65}.mf-analysis-detail li{margin:8px 0;overflow-wrap:anywhere}.mf-analysis-detail p{margin:12px 0;overflow-wrap:anywhere}
@media(max-width:760px){.mf-analysis-detail{grid-column:1/-1}}

.mf-wealth{border-top:1px solid var(--mf-line);margin:28px 0;padding-top:8px}
.mf-allocation{display:flex;height:12px;gap:3px;margin:8px 0 14px;overflow:hidden;border-radius:3px;background:var(--mf-panel)}
.mf-allocation span{min-width:0;flex-shrink:1}.mf-allocation-business{background:var(--mf-green)}.mf-allocation-liquid{background:var(--mf-ink)}.mf-allocation-other{background:var(--mf-muted)}
.mf-allocation-key{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:12px;color:var(--mf-muted);line-height:1.6}.mf-allocation-key b{color:var(--mf-ink);font-variant-numeric:tabular-nums;font-weight:500}
.mf-dilution{border-left:2px solid var(--mf-green);padding-left:16px;margin-top:20px;font-size:14px;line-height:1.65}.mf-wealth .mf-section-head{align-items:flex-start}


/* 21st.dev chart hierarchy and partition-bar references, adapted to EON.
   Original implementation: the selected month, not a decorative statistic,
   owns the largest number. All colors inherit Money's theme. */
.mf-header{padding-top:18px;padding-bottom:28px}.mf-header h2{font-size:clamp(40px,4.8vw,66px);font-weight:500}.mf-header-note{border-left:2px solid var(--mf-green);padding:8px 0 8px 18px;max-width:188px}.mf-line-dot{display:none}
.mf-route{display:flex;gap:0;border-bottom:1px solid var(--mf-line);overflow-x:auto;scrollbar-width:thin}.mf-route button{flex:1;white-space:nowrap;display:flex;align-items:center;gap:12px;padding:17px 12px;border:0;border-radius:0;text-align:left;font-size:12px}.mf-route button>span{font-size:10px;letter-spacing:.05em;color:var(--mf-muted)}.mf-route button:hover{background:var(--mf-panel)}
.mf-workspace{gap:40px;grid-template-columns:minmax(0,1fr) 300px}.mf-controls{padding-left:26px}.mf-form-title{padding-bottom:6px}.mf-form summary{letter-spacing:-.015em}.mf-field input:focus,.mf-field select:focus{border-color:var(--mf-green)}
.mf-selected-value{margin:20px 0 24px}.mf-path-value{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.mf-path-value>div{display:flex;flex-direction:column;min-width:0;gap:8px}.mf-path-value span,.mf-path-value small{font-size:12px;line-height:1.5;color:var(--mf-muted)}.mf-path-value strong{font-size:clamp(38px,4.3vw,58px);font-weight:500;letter-spacing:-.06em;font-variant-numeric:tabular-nums;line-height:1.12;overflow-wrap:anywhere}.mf-path-value .mf-path-compare{border-left:1px solid var(--mf-line);padding-left:22px;max-width:42%}.mf-path-compare strong{font-size:23px;letter-spacing:-.03em}.mf-value-label{font-weight:600}.mf-path-compare small{overflow-wrap:anywhere}
.mf-gridline{stroke-dasharray:2 5}.mf-chart-wrap{border-bottom:0}.mf-cursor{stroke-dasharray:2 4;stroke:var(--mf-muted)}.mf-scenario-point{r:5.5}.mf-scrubber{padding:14px 0}.mf-scrubber>div{opacity:.9}.mf-scrubber>div strong{font-size:18px}.mf-stats{column-gap:28px}.mf-stat strong{font-variant-numeric:tabular-nums}.mf-stat:first-child{border-top:2px solid var(--mf-green)}.mf-stat:nth-child(2){border-top:2px solid var(--mf-line)}
.mf-requirement-action{display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid var(--mf-line);border-left:3px solid var(--mf-green);padding:18px 20px;margin:24px 0}.mf-requirement-action strong{font-size:14px;font-weight:600}.mf-requirement-action p{font-size:12px;line-height:1.65;color:var(--mf-muted);max-width:50ch;margin:7px 0 0}.mf-requirement-action button{flex-shrink:0;font-size:12px;font-weight:600}
.mf-wealth .mf-instrument-grid{row-gap:26px}.mf-allocation{height:15px;border-radius:0;gap:5px}.mf-allocation span{border-radius:2px}.mf-allocation-key{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mf-allocation-key span{display:flex;flex-direction:column;gap:5px}.mf-allocation-key b{font-size:19px;letter-spacing:-.025em}.mf-dilution{border-top:1px solid var(--mf-line);padding-top:18px;margin-top:22px}.mf-dilution>strong{font-size:14px}.mf-dilution>p{font-size:13px;line-height:1.65}
.mf-timeline-head,.mf-wealth,.mf-instruments,.mf-reason{scroll-margin-top:22px}.mf-table-wrap thead{position:sticky;top:0;background:var(--mf-panel);z-index:1}
@media(min-width:761px){.mf-header{padding:12px 0 24px}.mf-header>div:first-child{display:grid;grid-template-columns:minmax(280px,1fr) minmax(220px,.85fr);column-gap:34px;row-gap:14px;flex:1}.mf-kicker{grid-column:1/-1}.mf-header h2{font-size:clamp(38px,4.4vw,58px);margin:0}.mf-header p{align-self:end;font-size:14px;line-height:1.7}.mf-header-note{align-self:flex-end;margin-left:14px}.mf-header-note small{font-size:12px}}
@media(min-width:1100px){.mf-seat{grid-template-columns:110px 1fr;padding:22px 0}.mf-seat>strong{font-size:15px}.mf-seat>span{font-size:12px}.mf-section-head h3{font-size:23px}}
@media(max-width:1080px){.mf-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:24px}.mf-controls{padding-left:20px}.mf-requirement-action{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.mf-header{padding-top:8px;padding-bottom:20px}.mf-header h2{font-size:44px}.mf-route button{flex:0 0 auto;gap:7px;padding:15px 14px 15px 0;margin-right:14px;font-size:12px}.mf-route button:last-child{margin-right:0}.mf-workspace{gap:25px}.mf-controls{padding:0 14px;border-radius:5px}.mf-selected-value{margin:18px 0 20px}.mf-path-value{gap:13px;align-items:flex-start}.mf-path-value strong{font-size:38px}.mf-path-value .mf-path-compare{padding-left:14px;max-width:43%}.mf-path-compare strong{font-size:21px}.mf-path-value small{font-size:11px}.mf-requirement-action{padding:16px}.mf-requirement-action button{width:100%;text-align:left;display:flex;justify-content:space-between}.mf-section-head{align-items:flex-start;flex-wrap:wrap}.mf-allocation-key{gap:12px}.mf-allocation-key span{font-size:11px}.mf-allocation-key b{font-size:18px}.mf-form details{padding-top:1px}.mf-instrument-grid strong{font-size:26px}}
.mf-target-label{paint-order:stroke;stroke:var(--bg,#101014);stroke-width:6px;stroke-linejoin:round;fill:var(--mf-target-color,var(--mf-ink))!important}
@media(min-width:761px) and (max-width:1080px){.mf-header-note{display:none}.mf-header>div:first-child{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}}
.mf-path-unknown strong{font-size:28px;letter-spacing:-.025em}.mf-path-unknown .mf-path-compare strong{font-size:20px}.mf-chart-wrap:has(.mf-no-chart){min-height:0}.mf-chart-wrap .mf-no-chart{min-height:0;margin:20px 0 10px;padding:25px 20px;border:1px solid var(--mf-line)}

.mf-liquid-bridge{border-top:1px solid var(--mf-line);margin:22px 0;padding-top:18px}.mf-liquid-bridge h4{font-size:15px;font-weight:600;margin:0 0 15px}.mf-liquid-bridge p{font-size:12px;line-height:1.7;color:var(--mf-muted)}.mf-liquid-bridge .mf-instrument-grid{padding-bottom:4px}.mf-liquid-bridge .mf-instrument-grid strong{font-size:25px}

.mf-personal-milestone{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin:24px 0;padding:22px 0;border-top:1px solid var(--mf-line);border-bottom:1px solid var(--mf-line)}.mf-personal-milestone span{display:block;color:var(--mf-muted);font-size:12px;line-height:1.6}.mf-personal-milestone strong{display:block;font-size:clamp(23px,3vw,32px);font-weight:600;letter-spacing:-.035em;margin:9px 0;line-height:1.2}.mf-personal-milestone p{font-size:12px;line-height:1.7;color:var(--mf-muted);margin:0}.mf-personal-milestone>.mf-fine{grid-column:1/-1}@media(max-width:520px){.mf-personal-milestone{grid-template-columns:1fr;gap:18px}}

.mf-opening-negative{border-left:3px solid var(--warn,#b66a19);padding-left:16px}
.mf-retention{margin:24px 0}.mf-retention>p{margin:12px 0}.mf-retention .mf-table-wrap{max-width:100%;overflow:auto}.mf-selected-case{background:var(--mf-panel)}.mf-selected-case th{font-weight:700}
@media(max-width:760px){.mf-field small,.mf-fine,.mf-stat small,.mf-personal-milestone p,.mf-personal-milestone span,.mf-instrument-grid small,.mf-liquid-bridge p{font-size:13px}.mf-path-value small,.mf-allocation-key span{font-size:12px}}

.mf .mf-retention .mf-case-note{display:block;font-size:12px;line-height:1.5;color:var(--mf-muted);white-space:normal}

/* The decision owns the first screen; source gaps are inspectable, not zeros. */
.mf-header{align-items:center;padding:8px 0 20px;gap:20px}
.mf-header>div:first-child{display:block;min-width:0;flex:1}
.mf-header h2{font-size:clamp(30px,3vw,42px);letter-spacing:-.04em;line-height:1.1;margin:9px 0 10px}
.mf-header p{max-width:56ch;font-size:13px}
.mf .mf-edit-goal{flex-shrink:0;font-size:12px;border-color:var(--mf-green);display:flex;align-items:center;gap:18px}
.mf-status{margin:12px 0 18px}
.mf-cash-readiness{margin:0 0 24px;border-bottom:1px solid var(--mf-line);border-left:3px solid var(--warn,#ffb347);padding:0 16px;background:var(--mf-panel)}
.mf-cash-readiness summary::marker{color:var(--warn,#ffb347)}
.mf-cash-readiness summary{padding:13px 0;font-size:13px}
.mf-cash-readiness summary small{display:block;font-size:12px;font-weight:400;line-height:1.6;color:var(--mf-muted);margin-top:4px}
.mf-cash-readiness ol{margin:0;padding:0 0 6px 20px}
.mf-cash-readiness li{font-size:13px;line-height:1.65;padding:10px 0 15px}
.mf-cash-readiness li::marker{color:var(--mf-muted)}
.mf-cash-readiness li strong{font-weight:600}
.mf-cash-readiness li p{color:var(--mf-muted);margin:5px 0 9px}
.mf-cash-readiness button{font-size:12px}
.mf-cash-ready{font-size:12px;line-height:1.65;color:var(--mf-muted);padding-bottom:14px;border-bottom:1px solid var(--mf-line);margin:0 0 24px}
@media(min-width:761px){.mf-chart .mf-axis-value,.mf-chart .mf-axis-date,.mf-chart .mf-target-label{font-size:23px}}
@media(max-width:760px){.mf-header{align-items:flex-start;flex-direction:column;gap:16px}.mf-header h2{font-size:34px}.mf-header p{font-size:13px}.mf-cash-readiness summary small{font-size:13px}.mf .mf-edit-goal{display:none}}
@media(min-width:1100px){.mf-chart .mf-axis-value,.mf-chart .mf-axis-date,.mf-chart .mf-target-label{font-size:27px}}
/* The selected tab already names the room. Keep the decision in the real
   phone viewing band, including browser and bottom navigation space. */
@media(max-width:760px){
  .mf-header{padding:4px 0 10px}
  .mf-header .mf-kicker{font-size:10px}
  .mf-header h2{font-size:28px;margin:6px 0 0}
  .mf-header p{display:none}
  .mf-workspace{gap:12px}
  .mf-route button{padding-block:12px}
  .mf-status{margin:10px 0 12px}
  .mf-controls-fold>summary{scroll-margin-top:12px}
  .mf-cash-readiness{margin-bottom:12px}
  .mf-cash-readiness summary{padding-block:9px}
  .mf-timeline-head h3{font-size:23px;line-height:1.25}
  .mf-timeline-intro{display:flex;flex-direction:column}
  .mf-timeline-intro>.mf-selected-value{order:-1;margin:0 0 16px}
}
/* A financial illustration built from the declared balance sheet itself. */
.mf .mf-wealth-visual{margin:20px 0 28px;padding:28px 0;border-block:1px solid var(--mf-line)}.mf .mf-wealth-total{display:flex;justify-content:space-between;gap:22px;align-items:center}.mf .mf-wealth-total span{display:block;color:var(--mf-muted);font-size:12px}.mf .mf-wealth-total strong{display:block;font-size:clamp(34px,4vw,50px);letter-spacing:-1.7px;font-weight:500;line-height:1.2;margin:8px 0}.mf .mf-wealth-total small{font-size:11px;color:var(--mf-muted)}.mf .mf-wealth-total p{font-size:15px;line-height:1.65;color:var(--mf-muted)}.mf .mf-wealth-visual svg{width:100%;height:auto;display:block;margin:12px 0 18px;overflow:visible}.mf .mf-wealth-visual svg text{font:15px var(--mf-font);fill:var(--mf-muted)}.mf .mf-wealth-zero{stroke:var(--mf-line)}.mf .mf-wealth-connector{fill:none;stroke:var(--mf-muted);stroke-dasharray:3 5;opacity:.6}.mf .mf-wealth-bar-0{fill:var(--mf-green);background:var(--mf-green)}.mf .mf-wealth-bar-1{fill:var(--mf-muted);background:var(--mf-muted)}.mf .mf-wealth-bar-2{fill:var(--mf-green);fill-opacity:.5;background:var(--mf-green);opacity:.6}.mf .mf-wealth-bar-3{fill:var(--warn,#ffb347);background:var(--warn,#ffb347)}.mf .mf-wealth-bar-4{fill:var(--mf-green);stroke:var(--mf-green);stroke-width:2}.mf .mf-wealth-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin-bottom:18px}.mf .mf-wealth-parts button{background:transparent;border:0;border-top:1px solid var(--mf-line);padding:15px 0;text-align:left;border-radius:0;color:var(--mf-text);display:grid;gap:8px;min-width:0;cursor:pointer}.mf .mf-wealth-parts button>span{font-size:12px;color:var(--mf-muted);display:flex;gap:8px;align-items:center}.mf .mf-wealth-dot{width:8px;height:8px;display:inline-block}.mf .mf-wealth-parts strong{font-size:24px;font-weight:500;letter-spacing:-.5px}.mf .mf-wealth-parts small{font-size:11px;color:var(--mf-muted);overflow-wrap:anywhere}.mf .mf-wealth-empty{padding:22px 0;margin:14px 0;border-block:1px solid var(--mf-line)}.mf .mf-wealth-schematic{display:flex;align-items:center;gap:12px;padding:20px 0 30px;color:var(--mf-muted)}.mf .mf-wealth-schematic span{flex:1;border:1px dashed var(--mf-line);padding:26px 8px;text-align:center;font-size:12px}.mf .mf-wealth-schematic span:last-child{color:var(--mf-green);border-color:var(--mf-green)}.mf .mf-wealth-schematic b{font-weight:400}.mf .mf-wealth-empty h4{font-size:22px;font-weight:500;letter-spacing:-.6px;margin:0 0 12px}.mf .mf-wealth-empty p{font-size:13px;line-height:1.75;color:var(--mf-muted);max-width:64ch}.mf .mf-wealth-empty button{margin-top:16px}.mf .mf-kicker{font-size:11px}
@media(max-width:760px){.mf .mf-wealth-total{display:block}.mf .mf-wealth-total p{margin-top:12px;font-size:13px}.mf .mf-wealth-visual svg{min-height:150px}.mf .mf-wealth-visual svg text{display:none}.mf .mf-wealth-parts{gap:0 16px}.mf .mf-wealth-parts strong{font-size:23px}.mf .mf-wealth-schematic{gap:8px}.mf .mf-wealth-schematic span{font-size:11px;padding:22px 6px}.mf .mf-header .mf-kicker{font-size:11px}}

/* Give financial pictures the full tablet width; assumptions stay close. */
@media(min-width:761px) and (max-width:1000px){.mf-workspace{display:flex;flex-direction:column;gap:20px}.mf-controls{padding:0 16px;border:1px solid var(--mf-line)}.mf-controls-fold>summary{display:block;padding:15px 0;cursor:pointer}.mf .mf-wealth-visual svg text{font-size:18px}.mf-chart .mf-axis-date,.mf-chart .mf-axis-value,.mf-chart .mf-target-label{font-size:20px}}

/* Visual story — 21st.dev inline analytics reinterpreted for Forward's exact
   typed series. Sparkline scales are per metric; they are never balances. */
.mf.mf{--mf-ink:var(--mw-text);--mf-muted:var(--ink-dim);--mf-line:var(--line-strong);--mf-green:var(--mw-green);--mf-panel:var(--mw-tile);margin-top:0}
.mf .mf-header{padding:20px 0 28px;border-bottom:1px solid var(--mf-line)}
.mf .mf-header h2{font-size:clamp(46px,6vw,84px);font-weight:600;line-height:.92;letter-spacing:-.065em;margin:0}
.mf .mf-header h2 em{font-style:normal;color:var(--mf-green)}
.mf .mf-header p{font-size:15px;max-width:32ch}
.mf .mf-kicker{color:var(--mf-muted);font-size:12px;letter-spacing:.14em}
.mf .mf-header .mf-kicker{margin-bottom:6px}
.mf .mf-route{margin-top:16px;border-bottom:1px solid var(--mf-line)}
.mf .mf-route button{min-height:48px}
.mf .mf-status{margin:14px 0 20px}
.mf .mf-metric-deck{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 28px;border:1px solid var(--mf-line)}
.mf .mf-metric-deck:has(>button:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
.mf button.mf-metric{display:flex;flex-direction:column;align-items:stretch;text-align:left;position:relative;padding:16px 18px;gap:10px;border:0;border-right:1px solid var(--mf-line);background:transparent;min-width:0;overflow:hidden}
.mf .mf-metric:last-child{border-right:0}
.mf .mf-metric[aria-pressed=true]{background:var(--mw-tile)}
.mf .mf-metric-name{font-size:12px;font-weight:500;display:flex;gap:8px;justify-content:space-between;color:var(--mf-muted)}

.mf .mf-metric strong{font-size:clamp(17px,2vw,28px);font-weight:500;line-height:1.15;letter-spacing:-.035em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mf .mf-metric svg{width:100%;height:36px;max-width:200px}
.mf .mf-metric path{fill:none;stroke:var(--mf-muted);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.mf .mf-metric[aria-pressed=true] path{stroke:var(--mf-green)}
.mf .mf-metric-foot,.mf .mf-metric-gap{font-size:12px;line-height:1.5;color:var(--mf-muted)}
.mf .mf-metric-gap{min-height:36px;display:flex;align-items:center}
.mf .mv-mark{position:absolute;left:18px;bottom:0;width:28px;height:3px;background:var(--mf-green);opacity:0;pointer-events:none}
.mf .mf-metric:is([aria-pressed=true],:hover,:focus-visible) .mv-mark{opacity:1}
.mf .mf-timeline-head h3{font-size:clamp(23px,3vw,38px);font-weight:500;letter-spacing:-.04em;line-height:1.18}
.mf .mf-selected-value{margin:18px 0 6px}
.mf .mf-chart-wrap{background:var(--mw-bg);border:1px solid var(--mw-line);border-left:3px solid var(--mf-green);padding:10px 4px 0;margin:18px 0 8px;min-height:0}
.mf .mf-chart-hint{font-size:12px;color:var(--mf-muted);margin:0 0 18px;line-height:1.5}
.mf .mf-chart{cursor:crosshair}
.mf .mf-scenario-path{stroke-width:3;animation:none;vector-effect:non-scaling-stroke}
.mf .mf-base-path{stroke:var(--mw-muted);stroke-width:1.8;vector-effect:non-scaling-stroke}
.mf .mf-cursor{stroke:var(--mw-green);opacity:.5}
.mf .mf-scenario-point{r:6;stroke-width:3;stroke:var(--mw-bg)}
.mf .mf-chart .mf-axis-value,.mf .mf-chart .mf-axis-date,.mf .mf-chart .mf-target-label{font-size:18px}
.mf .mf-target-label{stroke:var(--mw-bg)}
.mf .mf-scrubber{background:var(--mw-tile);padding:16px 18px;border:1px solid var(--mw-line);margin-bottom:26px}
.mf .mf-scrubber input{min-height:44px}
.mf .mf-controls{background:var(--mw-tile);border:1px solid var(--mf-line);padding:0 20px 20px}
.mf .mf-form{position:static}
.mf .mf-form-title{padding-top:20px}
.mf .mf-form-title>span{font-size:22px;letter-spacing:-.04em}
.mf .mf-lever .mf-field{margin-bottom:4px}
.mf .mf-lever input[type=range]{width:100%;min-height:44px;accent-color:var(--mf-green);padding:0;background:transparent;border:0;cursor:ew-resize}
.mf .mf-lever-scale{display:flex;justify-content:space-between;color:var(--mf-muted);font-size:12px;margin-bottom:18px}
.mf .mf-values table button{border:0;padding:4px 0;font:inherit;color:var(--mf-ink);min-height:44px;display:flex;gap:14px;align-items:center}
.mf .mf-values table button>span{color:var(--mf-green)}
.mf .mf-values tr:hover{background:var(--mw-tile)}
@media(min-width:1100px){.mf .mf-workspace{grid-template-columns:minmax(0,1fr) 280px;gap:24px}.mf .mf-chart .mf-axis-value,.mf .mf-chart .mf-axis-date,.mf .mf-chart .mf-target-label{font-size:21px}}
@media(max-width:760px){
 .mf .mf-header{padding:12px 0 20px;gap:18px}.mf .mf-header h2{font-size:60px}.mf .mf-header p{font-size:14px;margin-top:16px;max-width:34ch}
 .mf .mf-metric-deck{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px}
 .mf button.mf-metric{padding:12px 9px;gap:9px}.mf .mf-metric-name{font-size:12px;line-height:1.4;min-height:31px}
 .mf .mf-metric strong{font-size:17px;line-height:1.2;min-height:41px}.mf .mf-metric svg{height:26px}.mf .mf-metric-foot{font-size:12px}.mf .mf-metric-gap{font-size:12px;min-height:26px}
 .mf .mf-metric .mv-mark{left:9px}.mf .mf-chart-wrap{margin-top:12px;padding-top:16px}.mf .mf-chart-hint{font-size:12px}
 .mf .mf-chart .mf-axis-value.mf-axis-end,.mf .mf-chart .mf-axis-date,.mf .mf-chart .mf-target-label{font-size:27px}
 .mf .mf-timeline-head select{max-width:100%;width:100%}.mf .mf-timeline-head h3{font-size:24px}
 .mf .mf-controls{padding:0 14px 14px}.mf .mf-scrubber{padding:12px}.mf .mf-scrubber>div{gap:20px}
}
@media(prefers-reduced-motion:reduce){.mf .mv-mark{transform:none!important}.mf .mf-scenario-path{animation:none!important}}
/* The chart deserves the available width. At laptop sizes the lever drawer
   opens only when requested; the existing Edit control opens and focuses it. */
@media(min-width:761px){
 .mf.mf .mf-header>div:first-child{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(170px,.65fr);gap:18px;align-items:end}
 .mf .mf-header h2{font-size:clamp(48px,4.5vw,72px)}
 .mf .mf-header p{font-size:14px;line-height:1.65}
 .mf .mf-header .mf-kicker{grid-column:1/-1}
 .mf .mf-edit-goal{max-width:190px;text-align:left;font-size:12px}
}
@media(max-width:1600px){
 .mf .mf-workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:'controls' 'main';gap:22px}
 .mf .mf-controls{padding:0 18px}
 .mf .mf-controls-fold>summary{display:flex!important;align-items:center;justify-content:space-between;min-height:52px}
 .mf .mf-controls-fold>summary::after{content:'+';font-size:22px;font-weight:400;color:var(--mf-green)}
 .mf .mf-controls-fold[open]>summary::after{content:'−'}
 .mf .mf-form{position:static;padding-bottom:18px}
 .mf .mf-metric strong{overflow-wrap:normal;font-size:clamp(21px,2.6vw,34px)}
}
@media(max-width:760px){
 .mf.mf .mf-header>div:first-child{display:block!important}
 .mf .mf-header h2{font-size:52px}.mf .mf-header p{margin-top:14px}
 .mf .mf-metric strong{font-size:20px;min-height:27px}
 .mf .mf-metric-foot{font-size:12px}.mf .mf-metric-name{min-height:16px}
 .mf .mf-controls{padding:0 12px}.mf .mf-workspace{gap:18px}
}

.mf .mf-metric .mf-trend-zero{stroke:var(--mf-muted);stroke-width:1;stroke-dasharray:2 3;opacity:.6;vector-effect:non-scaling-stroke}
@media(max-width:760px){.mf .mf-timeline-intro>.mf-selected-value{order:0}.mf .mf-timeline-head{display:flex;flex-direction:column;align-items:stretch;gap:14px}.mf .mf-timeline-head select{font-size:16px}.mf .mf-metric-name{min-height:34px}}

.mf .mf-metric-foot{margin-top:auto;display:flex;flex-wrap:wrap;gap:3px 7px}.mf .mf-metric-foot time{white-space:nowrap}

/* House: square the named L03 wealth segments and phone controls. */
[data-theme="house"] .mf :is(.mf-allocation span,.mf-controls){border-radius:0}

/* A working financial instrument: the selected amount leads into its chart.
   The intro and navigation provide context without consuming the first screen. */
.mf.mf .mf-header{padding:8px 0 16px;gap:20px;align-items:center}
.mf.mf .mf-header>div:first-child{display:block!important}
.mf .mf-header h2{font-size:clamp(30px,3vw,42px);line-height:1.08;letter-spacing:-.045em;font-weight:500}
.mf .mf-header p{display:block;font-size:13px;line-height:1.6;max-width:60ch;margin:9px 0 0}
.mf .mf-header .mf-kicker{font-size:10px;letter-spacing:.11em;margin-bottom:8px}
.mf .mf-edit-goal{min-height:44px;max-width:190px;font-size:12px}
.mf .mf-route{margin-top:0}
.mf .mf-route button{min-height:44px;padding:10px 12px;gap:9px}
.mf .mf-status{margin:10px 0 14px;line-height:1.5}
.mf .mf-metric-deck{margin-bottom:20px;border:0;border-block:1px solid var(--mf-line)}
.mf button.mf-metric{padding:14px 18px;gap:8px;border-right:1px solid var(--mf-line)}
.mf .mf-metric:last-child{border-right:0}
.mf .mf-metric[aria-pressed=true]{background:var(--mw-tile)}
.mf .mf-metric[aria-pressed=true] .mf-metric-name{color:var(--mf-ink)}
.mf .mf-metric strong{font-size:clamp(22px,2.8vw,34px);line-height:1.12;letter-spacing:-.04em;overflow-wrap:anywhere}
.mf .mf-metric svg{height:30px}
.mf .mf-metric .mv-mark{width:calc(100% - 36px);height:2px}
.mf .mf-cash-readiness{padding:0 12px;margin-bottom:16px}
.mf .mf-cash-readiness summary{padding:8px 0;min-height:48px}
.mf .mf-cash-readiness summary small{display:inline;margin:0 0 0 10px}
.mf .mf-timeline-head{gap:16px;margin:0 0 8px}
.mf .mf-timeline-head h3{font-size:clamp(23px,2.5vw,28px);line-height:1.2;margin-top:4px}
.mf .mf-timeline-head .mf-kicker{font-size:10px;letter-spacing:.1em}
.mf .mf-selected-value{margin:8px 0 6px}
.mf .mf-path-value>div{gap:4px}
.mf .mf-path-value strong{font-size:clamp(38px,4.3vw,56px);line-height:1.08}
.mf .mf-path-compare strong{font-size:24px}
.mf .mf-chart-wrap{border:0;border-left:2px solid var(--mf-green);padding:8px 4px 0 8px;margin:14px 0 8px;background:transparent}
.mf .mf-chart-hint{margin-bottom:12px}
.mf .mf-scrubber{padding:12px 16px;margin-bottom:22px;border-inline:0;background:transparent}
.mf .mf-controls{background:transparent}
.mf .mf-controls-fold>summary{min-height:48px}
.mf .mf-wealth-visual{padding:22px 0}
.mf .mf-wealth-parts button{min-height:44px}
@media(max-width:1600px){
 .mf .mf-workspace{grid-template-areas:'main' 'controls';gap:24px}
}
@media(max-width:760px){
 .mf.mf .mf-header{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:4px 0 12px;gap:7px 12px;align-items:center}
 .mf.mf .mf-header>div:first-child{display:contents!important}
 .mf .mf-header h2{grid-column:1;grid-row:2;font-size:clamp(24px,6.67vw,28px);line-height:1.12}
 .mf .mf-header p{display:none}
 .mf .mf-header .mf-kicker{grid-column:1/-1;font-size:10px;margin:0}
 .mf .mf-edit-goal{display:flex;grid-column:2;grid-row:2;max-width:122px;min-height:44px;padding:8px;font-size:12px}
 .mf .mf-route button{font-size:12px;padding:8px 0;margin-right:16px;min-height:44px}
 .mf .mf-status{font-size:12px;margin:9px 0 12px}
 .mf .mf-metric-deck{margin-bottom:16px}
 .mf button.mf-metric{padding:12px 9px;gap:6px}
 .mf .mf-metric-name{font-size:12px;min-height:34px;line-height:1.4}
 .mf .mf-metric strong{font-size:21px;min-height:24px;line-height:1.15}
 .mf .mf-metric svg{height:24px}
 .mf .mf-metric-foot{font-size:11px;line-height:1.45}
 .mf .mf-metric .mv-mark{width:calc(100% - 18px)}
 .mf .mf-timeline-head{flex-direction:column;align-items:stretch;gap:8px}
 .mf .mf-timeline-head h3{font-size:24px}
 .mf .mf-timeline-head>div{min-width:0;flex:1}
 .mf .mf-timeline-head select{min-height:44px;max-width:100%;width:100%;flex-shrink:0}
 .mf .mf-selected-value{margin-top:8px}
 .mf .mf-path-value strong{font-size:36px}
 .mf .mf-path-compare strong{font-size:21px}
 .mf .mf-path-value span,.mf .mf-path-value small{font-size:12px}
 .mf .mf-chart-wrap{margin-top:10px;padding-top:8px}
 .mf .mf-scrubber{padding:12px 0}
 .mf .mf-workspace{gap:20px}
 .mf .mf-wealth-total strong{font-size:36px}
}
