.mortgage-visuals .composition-ring{max-width:12.5rem}.mortgage-visuals .composition-values>div{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.mortgage-visuals .composition-values dt{flex:1 0 8rem}.mortgage-visuals .composition-values dd{white-space:normal;max-width:100%;margin:0}.mortgage-visuals .scenario-comparison,.mortgage-panel .mortgage-inputs{container-type:inline-size}@container (width<=18rem){.mortgage-visuals .scenario-chart-row{grid-template-columns:minmax(0,1fr);gap:8px}.mortgage-visuals .scenario-chart-label{grid-area:1/1}.mortgage-visuals .scenario-chart-amount{text-align:left;grid-area:2/1}.mortgage-visuals .scenario-chart-track{grid-area:3/1}.mortgage-panel .scenario-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}.mortgage-planner{gap:2.75rem;min-width:0;margin-top:2rem;display:grid;container-type:inline-size}.mortgage-planner>.panel{min-width:0;padding:1.5rem}.dashboard-page #main-content .mortgage-planner>.panel{box-shadow:none;-webkit-backdrop-filter:none;background:0 0}.dashboard-page #main-content .mortgage-planner .loan-input{background:0 0}.mortgage-planner .panel-label{color:var(--foreground);font-size:var(--text-label);line-height:1.7}.mortgage-planner .panel-label svg{color:var(--primary);flex-shrink:0;margin-top:.2rem}.mortgage-strategy-workspace{grid-template-columns:minmax(14rem,.8fr) minmax(0,1.6fr);align-items:start;gap:3rem;margin-block:2rem;display:grid}.mortgage-strategy-fields{gap:1.75rem;min-width:0;display:grid}.mortgage-extra-presets{flex-wrap:wrap;gap:.25rem .75rem;display:flex}.mortgage-extra-presets button{color:var(--muted-foreground);gap:.25rem;padding-inline:0}.mortgage-extra-presets button[aria-pressed=true],.mortgage-extra-presets button:hover{color:var(--primary)}.mortgage-rate-basis{margin-top:.25rem}.mortgage-planner .loan-input{box-shadow:none;border:0}.mortgage-planner .loan-input:focus-within{outline:2px solid var(--ring);outline-offset:2px}.mortgage-field-help{color:var(--muted-foreground);font-size:.8125rem;line-height:1.7}.mortgage-plan-results{margin-bottom:.75rem;padding-block:.75rem}.mortgage-plan-metrics{grid-template-columns:repeat(3,minmax(0,1fr));align-items:baseline;gap:1.25rem;margin:0;display:grid}.mortgage-plan-metrics dt{font-size:var(--text-label);color:var(--muted-foreground);align-items:center;gap:.5rem;display:flex}.mortgage-plan-metrics dt svg{flex-shrink:0}.mortgage-plan-metrics dd{font-size:var(--text-value);letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:.65rem 0 0;font-weight:600}.mortgage-plan-metrics>div:first-child dd{font-size:var(--text-value-lg)}.mortgage-plan-context{color:var(--muted-foreground);margin-top:1.25rem;font-size:.8125rem;line-height:1.8}.mortgage-schedule{margin-top:1.5rem}.mortgage-schedule summary{cursor:pointer;width:fit-content;font-size:var(--text-label);padding-block:.5rem;font-weight:600}.mortgage-schedule-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin:1rem 0;display:flex}.mortgage-schedule-actions p{color:var(--muted-foreground);font-size:.8125rem;line-height:1.7}.mortgage-schedule-scroll{border-radius:.75rem;max-height:26rem;overflow-x:auto}.mortgage-schedule table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.875rem}.mortgage-schedule caption{text-align:left;color:var(--muted-foreground);caption-side:bottom;padding:.5rem;font-size:.75rem}.mortgage-schedule th,.mortgage-schedule td{text-align:right;white-space:nowrap;padding:.875rem .75rem}.mortgage-schedule tr>:first-child{text-align:left}.mortgage-schedule tfoot{font-weight:600}.mortgage-assumptions{margin-top:.75rem}.mortgage-assumptions summary{cursor:pointer;width:fit-content;color:var(--muted-foreground);padding-block:.375rem;font-size:.75rem}.mortgage-planner .visual-footnote{font-size:.75rem}.mortgage-planner .visual-footnote a{color:var(--primary);text-underline-offset:.2em;text-decoration:underline;display:inline-block}.mortgage-payoff-chart{min-width:0;margin:0}.mortgage-chart-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1rem;display:flex}.mortgage-chart-heading h3{font-size:var(--text-label);font-weight:600}.mortgage-chart-heading>span{color:var(--muted-foreground);font-size:.75rem}.mortgage-chart-legend,.mortgage-stress-legend{color:var(--muted-foreground);flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.75rem;display:flex}.mortgage-chart-legend{margin-top:.75rem}.mortgage-chart-legend>span,.mortgage-stress-legend>span{align-items:center;gap:.5rem;display:inline-flex}.mortgage-chart-legend i,.mortgage-stress-legend i{border-radius:1rem;width:1.5rem;height:.1875rem;display:inline-block}.mortgage-chart-legend .plan-key{background:var(--primary)}.mortgage-chart-legend .baseline-key{background:repeating-linear-gradient(to right, var(--muted-foreground) 0 5px, transparent 5px 8px)}.mortgage-payoff-plot{height:15rem;margin:.75rem 0 0 3.5rem;position:relative}.mortgage-payoff-plot>svg{width:100%;height:100%;display:block;overflow:visible}.mortgage-payoff-axis{width:3rem;color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex-direction:column;justify-content:space-between;font-size:.6875rem;display:flex;position:absolute;top:8%;bottom:12%;left:-3.5rem}.mortgage-payoff-axis>span{line-height:0}.mortgage-chart-guide{stroke:var(--muted-foreground);stroke-opacity:.16;stroke-width:1px;stroke-dasharray:2 6}.mortgage-plan-line{fill:none;stroke:var(--primary);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.mortgage-baseline-line{fill:none;stroke:var(--muted-foreground);stroke-width:1.5px;stroke-dasharray:5 5;stroke-linecap:round}.mortgage-inspection-line{stroke:var(--muted-foreground);stroke-opacity:.5;stroke-width:1px;stroke-dasharray:3 4}.mortgage-time-saved-line{stroke:var(--primary);stroke-width:3px;stroke-linecap:round;stroke-opacity:.5}.mortgage-chart-point{pointer-events:none;border-radius:50%;width:.5rem;height:.5rem;position:absolute;transform:translate(-50%,-50%)}.mortgage-chart-point.baseline-point{background:var(--muted-foreground)}.mortgage-chart-point.plan-point{background:var(--primary)}.mortgage-payoff-flag{color:var(--primary);line-height:0;position:absolute;transform:translate(-1px,-100%)}.mortgage-payoff-ticks{color:var(--muted-foreground);justify-content:space-between;gap:.5rem;margin-left:3.5rem;padding-inline:1%;font-size:.6875rem;display:flex}.mortgage-chart-inspection{margin-top:1.25rem}.mortgage-chart-inspection label{color:var(--muted-foreground);align-items:center;gap:.5rem;font-size:.75rem;display:flex}.mortgage-chart-inspection label strong{color:var(--foreground);margin-left:auto;font-weight:500}.mortgage-timeline-input{-webkit-appearance:none;appearance:none;cursor:pointer;touch-action:pan-y;background:0 0;width:100%;height:1.5rem;margin:.25rem 0;display:block}.mortgage-timeline-input::-webkit-slider-runnable-track{background:color-mix(in srgb, var(--primary) 35%, transparent);height:2px}.mortgage-timeline-input::-moz-range-track{background:color-mix(in srgb, var(--primary) 35%, transparent);height:2px}.mortgage-timeline-input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--primary);border:0;border-radius:50%;width:.75rem;height:.75rem;margin-top:-5px}.mortgage-timeline-input::-moz-range-thumb{background:var(--primary);border:0;border-radius:50%;width:.75rem;height:.75rem}.mortgage-timeline-input:focus-visible{outline:2px solid var(--ring);outline-offset:3px;border-radius:.25rem}.mortgage-chart-reading{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;font-size:.75rem;display:flex}.mortgage-chart-reading b{color:var(--foreground);font-variant-numeric:tabular-nums;font-weight:500}.mortgage-chart-reading>span:first-child b{color:var(--primary)}.mortgage-chart-note{color:var(--muted-foreground);margin-top:.75rem;font-size:.75rem;line-height:1.7}.mortgage-payoff-empty{min-height:14rem;color:var(--muted-foreground);font-size:var(--text-label);align-items:center;gap:.75rem;display:flex}.mortgage-payoff-empty svg{color:var(--primary)}.mortgage-stress-grid{gap:1.25rem;margin-top:1.5rem;display:grid}.mortgage-stress-legend .stress-base-key{background:var(--muted-foreground);opacity:.6}.mortgage-stress-legend .stress-extra-key{background:var(--amber)}.mortgage-stress-row{grid-template-columns:minmax(7rem,.7fr) minmax(0,3fr) minmax(10rem,1fr);align-items:center;gap:1.5rem;display:grid}.mortgage-stress-label,.mortgage-stress-value{flex-direction:column;gap:.25rem;min-width:0;display:flex}.mortgage-stress-label strong{font-size:var(--text-label);font-weight:500}.mortgage-stress-label>span,.mortgage-stress-value>span{color:var(--muted-foreground);font-size:.8125rem}.mortgage-stress-value{text-align:right}.mortgage-stress-value strong{font-size:var(--text-value-sm);font-variant-numeric:tabular-nums;font-weight:550}.mortgage-stress-value small{color:var(--muted-foreground);font-size:.75rem;font-weight:400}.mortgage-stress-bar{align-items:center;min-width:0;height:.625rem;display:flex}.mortgage-stress-bar i{height:100%;display:block}.mortgage-stress-bar .stress-base{background:var(--muted-foreground);opacity:.45;border-radius:1rem 0 0 1rem}.mortgage-stress-bar .stress-extra{background:var(--amber);border-radius:0 1rem 1rem 0}.mortgage-stress-row:nth-child(2) .stress-base{border-radius:1rem}@container (width<=48rem){.mortgage-strategy-workspace{grid-template-columns:minmax(0,1fr);gap:1.75rem}.mortgage-strategy-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.mortgage-rate-basis{grid-column:1/-1}.mortgage-stress-row{grid-template-columns:minmax(6rem,.8fr) minmax(0,1.5fr) minmax(9rem,1fr);gap:1rem}}@media (max-width:700px){.mortgage-planner>.panel{padding:1.25rem 1rem}.mortgage-planner .loan-input input{font-size:1rem}}@container (width<=30rem){.mortgage-strategy-fields{grid-template-columns:minmax(0,1fr)}.mortgage-plan-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mortgage-plan-metrics>div:first-child{grid-column:1/-1}.mortgage-plan-metrics dd{font-size:var(--text-value-sm)}.mortgage-stress-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem}.mortgage-stress-bar{grid-area:2/1/auto/-1}.mortgage-stress-value{grid-area:1/2}}.payment-path{background:0 0;margin:2rem 0;padding:1rem 0}.payment-path-heading{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.payment-path-heading h2{margin:.3rem 0;font-size:1.25rem}.payment-path-modes{flex-wrap:wrap;justify-content:flex-start;gap:.5rem;display:flex}.payment-path-context{color:var(--muted-foreground);max-width:48rem;margin:1rem 0;font-size:.875rem;line-height:1.7}.payment-path-inputs{flex-wrap:wrap;gap:1.5rem;margin:1rem 0;display:flex}.payment-path-inputs label{flex-direction:column;gap:.5rem;max-width:24rem;font-size:.875rem;display:flex}.payment-path-inputs input{color:inherit;background:0 0;border:0;width:100%;padding:.5rem 0;font-size:1rem}.payment-path-inputs small{color:var(--muted-foreground);font-size:.75rem}.payment-path-result{flex-wrap:wrap;align-items:center;gap:1.5rem;padding:1rem 0;display:flex}.payment-path-result>div{flex-direction:column;gap:.5rem;max-width:25rem;display:flex}.payment-path-result span{color:var(--muted-foreground);align-items:center;gap:.4rem;font-size:.875rem;display:flex}.payment-path-result strong{font-size:1.15rem;font-weight:550}.payment-path-result p{color:var(--muted-foreground);flex-basis:100%;margin:0;font-size:.875rem;line-height:1.6}
