.auth-shell{min-height:100vh}.auth-shell-account{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 20px;border-bottom:1px solid rgba(24,24,27,.1);background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.auth-shell-account-copy{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:12px 18px}.auth-shell-eyebrow{margin:0 0 2px;color:#71717a;font-size:.72rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.auth-shell-status{margin:0;color:#18181b;font-size:.95rem;font-weight:800}.auth-shell-note{margin:2px 0 0;color:#71717a;font-size:.84rem}.save-status{display:inline-flex;min-height:32px;align-items:center;gap:8px;border:1px solid rgba(24,24,27,.12);border-radius:8px;padding:4px 8px;background:#fafafa;color:#3f3f46;font-size:.78rem;font-weight:800}.save-status-dot{width:8px;height:8px;flex:0 0 auto;border-radius:999px;background:#71717a}.save-status--saving .save-status-dot{background:#2563eb}.save-status--saved .save-status-dot{background:#15803d}.save-status--failed{border-color:#b91c1c40;background:#fef2f2;color:#991b1b}.save-status--failed .save-status-dot{background:#dc2626}.save-status-detail{color:#71717a;font-weight:700}.save-status-retry{display:inline-flex;min-height:26px;align-items:center;gap:5px;border:0;border-radius:7px;padding:0 8px;background:#18181b;color:#fff;cursor:pointer;font:inherit}.save-status-retry:disabled{cursor:not-allowed;opacity:.56}.auth-shell-signout,.auth-panel-primary,.auth-panel-tabs button{border:0;cursor:pointer;font:inherit}.auth-shell-signout,.auth-panel-primary{min-height:38px;border-radius:8px;padding:0 16px;background:#18181b;color:#fff;font-weight:800}.auth-shell-signout:disabled,.auth-panel-primary:disabled,.auth-panel input:disabled{cursor:not-allowed;opacity:.56}.auth-panel{display:grid;gap:10px;width:min(100%,440px)}.auth-panel-tabs{display:inline-grid;grid-template-columns:1fr 1fr;width:240px;overflow:hidden;border:1px solid rgba(24,24,27,.12);border-radius:8px;background:#f4f4f5}.auth-panel-tabs button{min-height:34px;padding:0 12px;background:transparent;color:#52525b;font-size:.84rem;font-weight:800}.auth-panel-tabs button.is-active{background:#fff;color:#18181b}.auth-panel-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.auth-panel label{display:grid;gap:4px;color:#3f3f46;font-size:.78rem;font-weight:800}.auth-panel input{min-width:0;min-height:38px;border:1px solid rgba(24,24,27,.14);border-radius:8px;padding:0 10px;color:#18181b;font:inherit}.auth-panel input:focus{border-color:#18181b;outline:none;box-shadow:0 0 0 3px #18181b1f}.auth-panel-error{grid-column:1 / -1;margin:0;color:#b91c1c;font-size:.82rem;font-weight:700}.auth-panel-primary{grid-column:1 / -1;justify-self:end}@media(max-width:640px){.auth-shell-account{position:static;align-items:stretch;flex-direction:column}.auth-shell-account-copy,.save-status{align-items:stretch;flex-direction:column}.auth-panel,.auth-panel-tabs{width:100%}.auth-panel-form{grid-template-columns:1fr}.auth-panel-primary,.auth-shell-signout{width:100%}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1c2430;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #1c2430;--muted: #68707d;--line: #d7dce2;--paper: #fffdf8;--blue: #276ef1;--teal: #12a594;--gold: #f08c00;--rose: #d9487d;--navy-950: #1e2b63;--navy-900: #22336f;--navy-50: #eef2ff;--slate-50: #f8fafc;--slate-100: #eef2f7;--slate-200: #dfe5ee;--slate-400: #98a2b3;--category-account: #374151;--category-income: #0f766e;--category-expense: #7c2d12;--category-asset: #1e40af;--category-account-tint: rgba(55, 65, 81, .1);--category-income-tint: rgba(15, 118, 110, .1);--category-expense-tint: rgba(124, 45, 18, .1);--category-asset-tint: rgba(30, 64, 175, .1);--shadow: 0 18px 55px rgba(29, 36, 48, .12)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#fff}.workspace-restore-state{display:grid;min-height:60vh;place-content:center;padding:48px 24px;text-align:center}.workspace-restore-state h1{margin:0;color:var(--ink);font-size:1.35rem;font-weight:700}.workspace-restore-state p{margin:8px 0 0;color:var(--muted)}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:320px minmax(0,1fr);gap:0;padding:24px 0;min-height:calc(100vh - 68px);height:calc(100vh - 68px)}.app-frame{min-height:100vh;background:#fff}.site-nav{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:320px minmax(0,1fr);align-items:center;gap:24px;min-height:68px;padding:14px 24px;border-bottom:1px solid rgba(28,36,48,.08);background:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.site-nav-actions{display:flex;align-items:center;gap:16px;min-width:0;justify-content:flex-start}.site-nav-brand{display:flex;align-items:center;gap:12px}.site-nav-brand strong,.site-nav-links a{color:var(--ink)}.site-nav-brand strong{display:block;font-size:.98rem}.site-nav-brand span{color:var(--muted);font-size:.78rem;font-weight:700}.site-nav-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff;font-size:.82rem;font-weight:900}.site-nav-links{display:flex;align-items:center;gap:10px}.site-nav-links a{min-height:36px;padding:8px 12px;border:1px solid transparent;border-radius:8px;font-size:.88rem;font-weight:800;text-decoration:none}.site-nav-links a[aria-current=page]{border-color:#276ef129;background:#276ef114}.workspace,.side-panel{min-width:0}.workspace{display:grid;grid-template-rows:auto minmax(0,1fr);gap:18px;min-height:0;height:100%}.workspace-view-toggle{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:4px;border:1px solid rgba(28,36,48,.08);border-radius:10px;background:#ffffffbd;box-shadow:0 10px 24px #1c243014}.workspace-view-button{min-height:38px;padding:8px 14px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-weight:800}.workspace-view-button.is-active{background:#fff;color:var(--ink);box-shadow:0 4px 14px #1c243014}.site-nav-workspace-toggle{flex:0 0 auto;margin-left:0}.app-frame.is-life-path-placement-mode .site-nav-workspace-toggle,.app-shell.is-life-path-placement-mode .side-panel,.app-shell.is-life-path-placement-mode .workspace-view-toggle{opacity:.28;filter:saturate(.7);pointer-events:none;transition:opacity .18s ease,filter .18s ease}.side-panel{display:flex;flex-direction:column;align-items:stretch;gap:0;width:320px;min-width:320px;max-width:320px;position:sticky;top:24px;margin-top:0;max-height:calc(100vh - 92px);overflow-y:auto;scrollbar-gutter:stable;padding-bottom:24px;background:#fff}h1,h2{margin:0;letter-spacing:0}h1{max-width:780px;font-size:clamp(2rem,4vw,4.7rem);line-height:.95}h2{font-size:1rem}.finish-badge,.panel-section,.chart-band,.path-stage{background:var(--paper);border:1px solid rgba(28,36,48,.08);box-shadow:var(--shadow)}.finish-badge{display:grid;flex:0 0 auto;min-width:170px;padding:16px;border-radius:8px}.finish-badge span,.summary-grid span,.section-heading span,.control-row span,.chart-axis,.event-template small{color:var(--muted)}.finish-badge strong{font-size:1.8rem}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.summary-grid article{display:grid;gap:8px;min-height:102px;padding:18px;border-left:5px solid var(--teal);border-radius:8px;background:#fff;box-shadow:0 10px 24px #1c243014}.summary-grid article:nth-child(2){border-color:var(--blue)}.summary-grid article:nth-child(3){border-color:var(--gold)}.summary-grid article:nth-child(4){border-color:var(--rose)}.summary-grid strong{align-self:end;font-size:1.45rem}.path-stage,.panel-section{border-radius:8px;padding:18px}.path-stage{display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;overflow:hidden;padding:0;border-color:#1c24300f;background:radial-gradient(circle at top left,rgba(39,110,241,.04),transparent 34%),linear-gradient(180deg,#f8fafc,#f3f6fb);box-shadow:inset 0 0 0 1px #ffffff80}.path-stage.has-heading-warning{grid-template-rows:auto auto minmax(0,1fr)}.workspace>.path-stage{min-height:0;height:100%}.budget-stage{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:16px;overflow:visible}.budget-stage-heading{margin-bottom:0;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap}.budget-value-period-toggle{display:inline-flex;gap:4px;padding:3px;border:1px solid rgba(28,36,48,.1);border-radius:8px;background:#ffffffb8}.budget-value-period-toggle button{min-height:30px;padding:5px 10px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:.76rem;font-weight:850;line-height:1}.budget-value-period-toggle button.is-selected{background:#276ef11a;color:var(--blue)}.budget-value-period-toggle button:focus-visible{outline:2px solid rgba(39,110,241,.58);outline-offset:2px}.year-financial-summary{display:flex;flex:1 1 420px;flex-wrap:wrap;gap:6px 16px;min-width:0;padding:0;border:0;background:transparent;box-shadow:none}.year-financial-summary-metrics,.year-financial-summary-warning{display:flex;flex-wrap:wrap;gap:6px 16px;min-width:0}.year-financial-summary-metric{display:inline-flex;align-items:baseline;gap:6px;min-width:0;padding:0;border:0;background:transparent}.year-financial-summary-metric-label{color:var(--muted);font-size:.7rem;font-weight:850;line-height:1;white-space:nowrap}.year-financial-summary-metric-value{color:var(--ink);font-size:.84rem;font-weight:850;line-height:1;white-space:nowrap}.year-financial-summary-metric[data-accent-token=teal] .year-financial-summary-metric-label{color:var(--teal)}.year-financial-summary-metric[data-accent-token=blue] .year-financial-summary-metric-label{color:var(--blue)}.year-financial-summary-metric[data-accent-token=rose] .year-financial-summary-metric-label{color:#f97066}.year-financial-summary-metric[data-accent-token=gold] .year-financial-summary-metric-label{color:#f08c00}.year-financial-summary-metric[data-accent-token=purple] .year-financial-summary-metric-label{color:#a84edb}.year-financial-summary-warning{padding-left:12px;border-left:1px solid rgba(180,35,24,.18)}.year-financial-summary-metric.is-warning-primary .year-financial-summary-metric-label,.year-financial-summary-metric.is-warning-driver .year-financial-summary-metric-label{color:#b42318}.year-financial-summary-metric.is-warning-primary .year-financial-summary-metric-value{color:#8f1f16}.year-financial-summary-metric.is-warning-driver{opacity:.9}.year-financial-summary-metric.is-warning-driver .year-financial-summary-metric-value{color:#b42318}.year-financial-summary.is-inline{align-self:center}.budget-sankey-shell{position:relative;min-height:0;height:100%;overflow:visible}.budget-sankey-canvas{display:block;width:100%;height:100%}.budget-year-guide{position:absolute;top:0;bottom:72px;z-index:1;width:1px;background:#276ef16b;pointer-events:none}.budget-timeline{position:absolute;right:32px;bottom:0;left:32px;z-index:2;height:72px;pointer-events:auto}.budget-timeline[data-disabled=true]{pointer-events:none;opacity:.62}.budget-timeline-rail{position:absolute;right:0;bottom:28px;left:0;height:2px;background:#1c24301f}.budget-timeline-tick{position:absolute;bottom:20px;display:grid;place-items:center;width:28px;height:36px;padding:0;border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:700;line-height:1.2;transform:translate(-50%)}.budget-timeline-tick-mark{width:2px;height:8px;border-radius:999px;background:#1c243047}.budget-timeline-tick-label{position:absolute;top:26px;left:50%;transform:translate(-50%);white-space:nowrap}.budget-timeline-tick.is-current .budget-timeline-tick-label{left:50%;transform:translate(0)}.budget-timeline-tick.is-target .budget-timeline-tick-label{right:50%;transform:translate(0)}.budget-timeline-tick.is-selected{color:var(--ink);font-size:12px;font-weight:850}.budget-timeline-tick.is-selected .budget-timeline-tick-mark{height:14px;background:var(--blue);box-shadow:0 0 0 4px #276ef11a}.budget-timeline-tick:focus-visible{outline:2px solid rgba(39,110,241,.72);outline-offset:4px}.budget-timeline-tick:disabled{cursor:default}@media(max-width:900px){.year-financial-summary.is-inline{flex-basis:100%}}.budget-sankey-ribbon{stroke-width:1;transition:fill .14s ease,opacity .14s ease}.budget-sankey-node rect{shape-rendering:geometricPrecision}.budget-sankey-label-line{stroke:#276ef1bd;stroke-linecap:round;stroke-width:1.6}.budget-sankey-label-name,.budget-sankey-label-value{fill:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.budget-sankey-label-name{font-size:12px;font-weight:500}.budget-sankey-label-value{fill:var(--ink);font-size:15px;font-weight:850}.budget-sankey-ribbon.is-active{opacity:.84}.budget-sankey-node.is-active rect{filter:brightness(1.05);stroke:#ffffffeb;stroke-width:2}.budget-sankey-overlay{position:absolute;inset:0;pointer-events:none}.budget-node-hitbox,.budget-node-hover-bridge,.budget-node-actions,.budget-popover-layer{pointer-events:auto}.budget-node-hitbox{position:absolute;border:0;border-radius:4px;background:transparent}.budget-node-hitbox:hover,.budget-node-hitbox:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #276ef13d}.budget-node-hover-bridge{position:absolute;background:transparent}.budget-node-actions{position:absolute;z-index:3;display:grid;gap:8px;width:136px}.budget-node-action{min-height:34px;padding:8px 12px;border:1px solid rgba(28,36,48,.1);border-radius:8px;background:#fffffff5;box-shadow:0 10px 24px #1c24301f;color:var(--ink);font-size:.84rem;font-weight:800;text-align:left}.budget-node-action.is-danger{border-color:#b91c1c29;color:#b42318}.budget-popover-layer{position:absolute;z-index:4}.budget-popover{width:min(620px,calc(100vw - 72px));max-height:min(720px,calc(100vh - 48px));overflow:auto;padding:16px;border:1px solid rgba(28,36,48,.1);border-radius:8px;background:#fffdf8fa;box-shadow:0 20px 48px #1c24302e}.budget-adjuster-popover{width:min(760px,calc(100vw - 72px));max-height:min(760px,calc(100vh - 48px))}.budget-popover-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.budget-popover-header strong{color:var(--ink);font-size:.96rem}.budget-popover-close{border:0;background:transparent;color:var(--muted);font-weight:800}.budget-popover-note,.budget-overflow-preview span,.budget-delete-copy span{color:var(--muted);font-size:.84rem;line-height:1.45}.budget-popover-note{margin:0 0 12px}.budget-popover-form{display:grid;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(28,36,48,.08)}.budget-popover-field{display:grid;gap:6px}.budget-popover-field span{color:var(--muted);font-size:.8rem;font-weight:700}.budget-popover-field input{min-height:40px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.budget-popover-actions{display:flex;justify-content:flex-end;gap:10px}.budget-overflow-preview,.budget-delete-copy{display:grid;gap:4px;margin-top:12px;padding:12px;border:1px solid rgba(39,110,241,.12);border-radius:8px;background:#276ef10d}.budget-overflow-preview strong{color:var(--ink);font-size:.84rem}.budget-delete-copy{border-color:#b91c1c1f;background:#b91c1c0d}.budget-adjuster-shell{display:grid;grid-template-columns:minmax(190px,220px) 92px minmax(160px,190px);gap:18px;align-items:start}.budget-adjuster-labels{position:relative;min-height:320px}.budget-adjuster-label{position:absolute;left:0;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;width:100%;transform:translateY(-50%)}.budget-adjuster-label-line{display:block;height:2px;background:#276ef1d1}.budget-adjuster-label-copy{display:grid;gap:2px}.budget-adjuster-label-copy strong{color:var(--ink);font-size:.82rem}.budget-adjuster-label-copy span{color:var(--muted);font-size:.76rem;font-weight:700}.budget-adjuster-bar-wrap{display:flex;justify-content:center}.budget-adjuster-bar{position:relative;display:flex;flex-direction:column;width:20px;height:320px;padding:2px 0;gap:4px;border:1px solid rgba(28,36,48,.1);background:#1c24300a;overflow:visible}.budget-adjuster-segment{width:100%;min-height:0;flex:0 0 auto}.budget-adjuster-segment.is-draft{outline:1px dashed rgba(39,110,241,.5)}.budget-adjuster-handle{position:absolute;left:-8px;width:36px;height:8px;padding:0;border:0;background:var(--blue);transform:translateY(-50%);box-shadow:0 4px 12px #276ef138}.budget-adjuster-handle.is-active{background:#155eef}.budget-adjuster-values{display:grid;gap:10px}.budget-adjuster-active-name{color:var(--ink);font-size:.86rem;font-weight:800}.budget-adjuster-value-field{display:grid;gap:6px}.budget-adjuster-value-field span{color:var(--muted);font-size:.78rem;font-weight:700}.budget-adjuster-value-field input{min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.budget-empty-state{align-content:center}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:0}.path-heading-actions{display:flex;align-items:center;gap:10px}.path-heading-warning{padding:5px 8px;border:1px solid rgba(180,35,24,.16);border-radius:999px;background:#fff1f0;color:#b42318;font-size:.74rem;font-weight:850;line-height:1}.financial-category-selected-year-badge{display:inline-flex;align-items:center;gap:8px;padding:5px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1d4ed8;font-size:.75rem;font-weight:800;line-height:1}.financial-category-selected-year-badge span{color:inherit}.financial-category-selected-year-badge strong{color:#172554;font-size:.88rem;font-weight:800}.chart-wrap{position:relative}.net-worth-chart{display:block;width:100%;height:220px;overflow:visible}.chart-hover-line{stroke:#172554b3;stroke-dasharray:4 5;stroke-width:1.75}.chart-selected-line{stroke:#1725543d;stroke-width:1.5}.chart-selected-year-label{position:absolute;top:10px;transform:translate(-50%);padding:4px 8px;border-radius:999px;background:#ffffffeb;border:1px solid rgba(23,37,84,.18);color:#172554;font-size:.72rem;font-weight:700;line-height:1;white-space:nowrap;pointer-events:none;z-index:4}.chart-grid-line{stroke:#1c243014;stroke-width:1}.chart-grid-line-horizontal{stroke-dasharray:0}.chart-grid-line-vertical{stroke-dasharray:3 6}.chart-grid-label-rail{position:absolute;top:0;left:0;bottom:0;width:72px;pointer-events:none;z-index:2}.chart-grid-rail-label{position:absolute;left:0;display:inline-flex;align-items:center;justify-content:flex-start;min-width:56px;padding-right:8px;background:#fff;color:#6b7481;font-size:.78rem;font-weight:700;line-height:1;transform:translateY(-50%)}.chart-tooltip{position:absolute;z-index:2;top:10px;display:grid;gap:7px;min-width:190px;padding:10px;border:1px solid rgba(28,36,48,.12);border-radius:8px;background:#fffffff5;box-shadow:0 16px 36px #1c243029;transform:translate(-50%);pointer-events:none}.chart-tooltip.is-edge-left{transform:translate(0)}.chart-tooltip.is-edge-right{transform:translate(-100%)}.chart-tooltip strong{font-size:.88rem}.chart-tooltip span{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:8px;color:var(--muted);font-size:.78rem}.chart-tooltip i{width:9px;height:9px;border-radius:999px}.chart-tooltip b{color:var(--ink)}.chart-controls{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:flex-start;margin:-4px 0 0}.chart-filter-menu{position:relative;z-index:7}.chart-filter-menu summary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:190px;min-height:34px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:.84rem;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.chart-filter-menu summary::-webkit-details-marker{display:none}.chart-filter-menu summary span{display:grid;gap:1px}.chart-filter-menu summary strong{color:var(--muted);font-size:.68rem;font-weight:800;text-transform:uppercase}.chart-filter-menu summary svg{color:var(--muted);transition:transform .14s ease}.chart-filter-menu[open] summary{border-color:#276ef138;box-shadow:inset 0 0 0 1px #276ef11f}.chart-filter-menu[open] summary svg{transform:rotate(180deg)}.chart-filter-options{position:absolute;top:calc(100% + 6px);left:0;display:grid;width:220px;max-height:320px;overflow-y:auto;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 18px 38px #1c243029}.chart-filter-option{display:grid;grid-template-columns:18px 10px minmax(0,1fr);align-items:center;gap:9px;min-height:34px;padding:7px 8px;border-radius:6px;color:var(--muted);font-size:.84rem;font-weight:800;cursor:pointer}.chart-filter-option:hover,.chart-filter-option.is-active{background:#276ef10f;color:var(--ink)}.chart-filter-option input{position:absolute;opacity:0;pointer-events:none}.chart-filter-check{display:grid;width:18px;height:18px;place-items:center;border:1px solid var(--line);border-radius:5px;color:#276ef1}.chart-filter-option.is-active .chart-filter-check{border-color:#276ef147;background:#276ef11a}.series-swatch{width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 3px #1c24300f}.chart-axis{display:flex;justify-content:space-between;font-size:.86rem}.path-stage-body{display:flex;gap:0;min-height:0;height:100%;align-items:stretch}.path-stage.is-placement-mode .section-heading,.path-stage.is-placement-mode .path-main-toolbar,.path-stage.is-placement-mode .timeline-range-inline,.path-stage.is-placement-mode .path-side-summary{opacity:.24;filter:saturate(.75);pointer-events:none;transition:opacity .18s ease,filter .18s ease}.path-stage.is-placement-mode .event-drawer-rail,.path-stage.is-placement-mode .event-drawer-inline{opacity:.24;filter:saturate(.75);transition:opacity .18s ease,filter .18s ease}.path-main{display:grid;grid-template-rows:auto minmax(0,1fr) auto;flex:1 1 auto;min-width:0;min-height:0;border:1px solid rgba(28,36,48,.08);border-radius:0;background:#fff;box-shadow:none;overflow:hidden}.path-main-body{display:flex;gap:0;min-height:0;align-items:stretch}.path-main-content{display:grid;grid-template-rows:auto minmax(0,1fr) auto;flex:1 1 auto;min-width:0;min-height:0}.path-side-summary{display:block;flex:0 0 320px;width:320px;min-width:320px;align-self:stretch;border:0;border-left:1px solid #eef2f7;border-radius:0;background:#fff;box-shadow:none;overflow:hidden}.path-side-summary-body{display:grid;align-content:start;gap:0;min-height:0;overflow-y:auto;padding:0 0 22px}.path-side-summary-hero{padding:0;border:0;border-radius:0;background:#172554;box-shadow:inset 0 1px #ffffff0f}.path-side-summary-hero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px;padding:20px}.path-side-summary-hero-metric{display:grid;gap:4px;min-width:0}.path-side-summary-hero-metric span{color:#93c5fd;font-size:.72rem;font-weight:700;text-transform:none}.path-side-summary-hero-metric strong{color:#fff;font-size:1.35rem;font-weight:800;letter-spacing:0}.path-side-summary-hero-metric:nth-child(-n+2) strong{font-size:1.55rem}.path-side-summary-hero-detail{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;font-weight:700}.path-side-summary-hero-detail.is-positive{color:#4ade80}.path-side-summary-hero-detail.is-negative{color:#fca5a5}.path-side-summary-section{display:grid;gap:12px;margin:20px 22px 0;padding-top:16px;border-top:1px solid #eef2f7}.path-side-summary-section h4{margin:0;color:#171717;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.path-side-summary-section-rows{display:grid;gap:12px}.path-side-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#667085;font-size:.84rem}.path-side-summary-row strong{color:#111827;font-size:.88rem;font-weight:600}.path-side-summary-warning{display:grid;gap:4px;margin:20px 22px 0;padding:14px;border-radius:14px;background:#fff1f0;color:#b42318}.path-side-summary-warning span{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.path-side-summary-warning strong{font-size:.9rem}.path-side-summary-empty{padding:20px 22px 22px;color:#667085;font-size:.88rem}.path-main-toolbar{margin:0;padding:22px 0 0 24px}.path-scroll{overflow:hidden;min-height:0;height:100%;flex:1 1 auto;padding:12px 0 4px 24px}.path-line{position:relative;min-width:100%;width:100%;height:100%;min-height:0;padding:0;overflow:visible;border-radius:20px;background:#fff}.path-line.is-placement-target{border-radius:20px;background:linear-gradient(180deg,#276ef10d,#12a5940f),#ffffffeb;box-shadow:0 0 0 2px #276ef147,0 20px 40px #276ef11f}.path-line.is-placement-target:before{content:"";position:absolute;inset:10px;border:1px dashed rgba(39,110,241,.22);border-radius:18px;pointer-events:none}.path-stage.is-placement-mode .path-main{position:relative}.path-stage.is-placement-mode .path-line .life-line{box-shadow:0 0 0 6px #fffffff0,0 0 0 10px #276ef12e,0 18px 36px #12a59447}.path-placement-instruction{position:absolute;top:50%;left:50%;z-index:7;display:inline-flex;flex-direction:column;align-items:center;gap:14px;max-width:min(720px,calc(100% - 48px));padding:18px 24px;border:3px solid rgba(23,37,84,.32);border-radius:14px;background:#fffffff0;box-shadow:0 0 #17255438,0 0 28px #1725541f,0 14px 32px #0f172a14;color:#475467;font-size:1.35rem;font-weight:800;line-height:1.35;text-align:center;animation:empty-start-pulse 1.8s ease-in-out infinite;transform:translate(-50%,-50%);pointer-events:none}.path-placement-instruction-copy{min-width:0;text-align:center}.path-placement-cancel{flex:0 0 auto;height:36px;padding:0 16px;border:1px solid rgba(217,45,32,.22);border-radius:999px;background:#fff1f0;box-shadow:0 8px 18px #b423181f;color:#b42318;font:inherit;font-size:.88rem;font-weight:900;cursor:pointer;pointer-events:auto}.timeline-graph-layer{position:absolute;top:26px;left:0;right:0;height:235px;overflow:visible}.path-empty-state-callout{position:absolute;top:50%;left:50%;z-index:3;max-width:360px;padding:14px 18px;border:3px solid rgba(23,37,84,.32);border-radius:12px;background:#fffffff0;color:#475467;font-size:1.08rem;font-weight:700;line-height:1.5;text-align:center;box-shadow:0 0 #17255438,0 0 28px #1725541f,0 14px 32px #0f172a14;animation:empty-start-pulse 1.8s ease-in-out infinite;transform:translate(-50%,-50%);pointer-events:none}.timeline-graph-plot{position:absolute;inset:0}.timeline-graph{display:block;width:100%;height:100%;overflow:visible}.chart-insolvency-stem{stroke:#b423186b;stroke-dasharray:3 4;stroke-width:1.4}.chart-insolvency-pulse{fill:#fff1f0db;stroke:#b42318;stroke-width:1.6}.chart-insolvency-dot{fill:#b42318;stroke:#fff;stroke-width:.7}.timeline-scene{position:absolute;inset:0;pointer-events:none}.life-line{position:absolute;z-index:1;top:500px;left:15px;right:15px;height:7px;border-radius:999px;background:linear-gradient(90deg,#94a3b8,#64748b 55%,#475569);box-shadow:inset 0 1px #ffffff6b,0 10px 24px #4755692e}.age-marker{position:absolute;display:grid;justify-items:center;gap:6px;width:72px;transform:translate(-50%);color:var(--ink);pointer-events:none}.marker-tick{display:block;width:2px;height:18px;margin-top:8px;background:var(--ink);opacity:.48}.age-marker.is-insolvent .marker-tick{background:#b42318;opacity:.9}.marker-insolvency{display:block;width:12px;height:12px;margin-top:-21px;border:2px solid #ffffff;border-radius:999px;background:#b42318;box-shadow:0 0 0 4px #b4231829}.marker-age{position:relative;z-index:2;font-size:.74rem;font-weight:800}.marker-money{position:relative;z-index:2;min-height:18px;color:var(--muted);font-size:.68rem}.marker-money-placeholder{visibility:hidden}.marker-hover-detail{display:grid;justify-items:center;gap:2px;min-height:34px;margin-top:6px;color:var(--muted);font-size:.68rem;line-height:1.15}.marker-hover-detail strong{color:var(--ink);font-size:.74rem}.tick-layer,.scene-actor-layer{position:absolute;inset:0}.tick-layer{z-index:2;pointer-events:none}.scene-actor-layer{z-index:4;pointer-events:none}.scene-character-anchor,.scene-event-anchor,.scene-preview-anchor{position:absolute}.scene-character-anchor,.scene-preview-anchor{transform:translate(-50%)}.scene-preview-anchor.is-floating{transform:translate(-50%,-50%)}.scene-preview-anchor.is-snapped{transform:translate(-50%,-100%)}.scene-actor-hitbox{display:block;padding:0;border:0;background:transparent;color:inherit}.scene-actor-hitbox,.remove-event,.timeline-duration-bar,.duration-placement-control{pointer-events:auto}.timeline-duration-bar{--timeline-bar-border: rgba(39, 110, 241, .22);--timeline-bar-bg: rgba(255, 255, 255, .92);--timeline-bar-outline: rgba(39, 110, 241, .52);position:absolute;z-index:2;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;height:16px;padding:0;border:1px solid var(--timeline-bar-border);border-radius:5px;background:var(--timeline-bar-bg);box-shadow:0 10px 22px #1c24301f;color:var(--ink);font-size:.62rem;font-weight:800;letter-spacing:0;overflow:hidden;transform:translate(0);transition:height .14s ease,min-width .14s ease,padding .14s ease,background .14s ease,box-shadow .14s ease}.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-expanded,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar:focus-visible,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-selected,.timeline-duration-bar.is-active-edit{z-index:6;min-width:168px;height:38px;padding:0 12px;outline:3px solid var(--timeline-bar-outline);outline-offset:3px;box-shadow:0 14px 30px #1c24302e}.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar:focus-visible{box-shadow:0 14px 30px #1c24302e}.timeline-duration-bar.is-selected{border-width:2px}.timeline-duration-bar.is-preview-active{z-index:6;min-width:168px;height:38px;padding:0 12px;border-width:2px;outline:3px solid var(--timeline-bar-outline);outline-offset:3px;box-shadow:0 14px 30px #276ef12e}.timeline-duration-bar.is-linked-financial-item{box-shadow:0 10px 22px #1c24301f}.scene-event-anchor.is-linked-financial-item .scene-actor-hitbox{outline:2px solid rgba(64,78,237,.22);outline-offset:3px}.scene-event-anchor.is-chart-anchored.is-linked-financial-item .scene-actor-hitbox{outline:none}.timeline-duration-bar.is-linked-highlighted,.scene-event-anchor.is-linked-highlighted .scene-actor-hitbox{outline-color:#276ef194;box-shadow:0 14px 30px #276ef133}.timeline-duration-bar.is-inactive,.scene-event-anchor.is-inactive{opacity:.48}.timeline-duration-content{position:absolute;inset:0;z-index:2;display:flex;min-width:0;align-items:center;justify-content:center;padding:0 10px;pointer-events:none}.timeline-duration-icon{position:absolute;left:8px;top:50%;display:grid;flex:0 0 14px;width:14px;height:14px;place-items:center;color:currentColor;transform:translateY(-50%)}.timeline-duration-copy{display:flex;min-width:0;max-width:calc(100% - 24px);align-items:center;justify-content:center;overflow:hidden}.timeline-duration-label,.timeline-duration-detail{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-duration-label{font-size:.68rem;font-weight:700;text-align:center}.timeline-duration-detail{margin-left:8px;font-size:.72rem;display:none}.timeline-duration-bar.is-preview-active .timeline-duration-detail{display:inline}.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-expanded .timeline-duration-detail,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar:focus-visible .timeline-duration-detail,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-selected .timeline-duration-detail,.timeline-duration-bar.is-active-edit .timeline-duration-detail{display:inline}.timeline-duration-handle{position:absolute;top:50%;display:grid;z-index:3;width:24px;height:36px;place-items:center;border:2px solid rgba(255,255,255,.92);border-radius:999px;background:#276ef1f2;box-shadow:0 8px 18px #1c24303d;opacity:0;transform:translateY(-50%) scale(.9);transition:opacity .12s ease,transform .14s ease}.timeline-duration-handle:before{content:"";width:8px;height:16px;border-radius:999px;background:repeating-linear-gradient(180deg,rgba(255,255,255,.98) 0 2px,transparent 2px 5px)}.timeline-duration-handle-start{left:-12px;cursor:ew-resize}.timeline-duration-handle-end{right:-12px;cursor:ew-resize}.timeline-duration-handle.is-mortgage-end{width:28px;height:40px;background:#f08c00f5}.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar:hover .timeline-duration-handle,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-expanded .timeline-duration-handle,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar:focus-visible .timeline-duration-handle,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-selected .timeline-duration-handle,.timeline-duration-bar.is-active-edit .timeline-duration-handle{opacity:1;transform:translateY(-50%) scale(1)}.timeline-duration-bar-category-accounts{--timeline-bar-border: var(--category-account);--timeline-bar-bg: var(--category-account);--timeline-bar-outline: color-mix(in srgb, var(--category-account) 72%, #ffffff)}.timeline-duration-bar-category-income{--timeline-bar-border: var(--category-income);--timeline-bar-bg: var(--category-income);--timeline-bar-outline: color-mix(in srgb, var(--category-income) 72%, #ffffff)}.timeline-duration-bar-category-expenses{--timeline-bar-border: var(--category-expense);--timeline-bar-bg: var(--category-expense);--timeline-bar-outline: color-mix(in srgb, var(--category-expense) 72%, #ffffff)}.timeline-duration-bar-category-physicalAssets{--timeline-bar-border: var(--category-asset);--timeline-bar-bg: var(--category-asset);--timeline-bar-outline: color-mix(in srgb, var(--category-asset) 72%, #ffffff)}.timeline-duration-bar-category-accounts,.timeline-duration-bar-category-income,.timeline-duration-bar-category-expenses,.timeline-duration-bar-category-physicalAssets{color:#fff}.timeline-duration-bar-normal{cursor:grab}.timeline-duration-bar-mortgage{cursor:pointer}.timeline-duration-bar-preview{border-style:solid}.timeline-duration-bar.is-compacted{height:14px;font-size:.58rem}.timeline-duration-bar.is-compacted.is-preview-active{height:34px}.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-compacted.is-expanded,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-compacted:focus-visible,.timeline-scene:not(.is-duration-expansion-disabled) .timeline-duration-bar.is-compacted.is-selected,.timeline-duration-bar.is-compacted.is-active-edit{height:34px}.duration-placement-control{position:absolute;z-index:5;display:grid;gap:6px;transform:translate(-50%)}.duration-placement-cancel{height:28px;padding:0 12px;border:1px solid rgba(217,45,32,.22);border-radius:999px;background:#fff1f0;color:#b42318;font-size:.72rem;font-weight:900;cursor:pointer;box-shadow:0 8px 18px #b423181f}.duration-placement-nudge{width:max-content;max-width:220px;padding:5px 8px;border-radius:6px;background:#1c2430e6;color:#fff;font-size:.68rem;font-weight:800}.scene-actor-hitbox:focus-visible{outline:none}.scene-event-card{position:relative;display:grid;justify-items:center;gap:8px;min-width:116px;padding:10px 12px 12px;border:1px solid color-mix(in srgb,var(--scene-accent, #276ef1) 24%,#ffffff);border-radius:8px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 14px 28px var(--scene-shadow-color, rgba(28, 36, 48, .13));color:var(--ink);font-size:.74rem;font-weight:800;text-align:center;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.scene-event-card:after{display:none;position:absolute;left:50%;bottom:-20px;width:2px;height:var(--connector-length, 20px);background:color-mix(in srgb,var(--scene-accent, #276ef1) 38%,#8691a0);transform:translate(-50%);content:""}.scene-event-card[data-connector-kind=axis]:after,.scene-event-card[data-connector-kind=stack]:after{display:block}.scene-event-card[data-hovered=true],.scene-event-card[data-selected=true],.scene-actor-hitbox:focus-visible .scene-event-card{border-color:var(--scene-accent, var(--blue));box-shadow:0 18px 34px var(--scene-shadow-color, rgba(39, 110, 241, .2)),0 0 0 1px color-mix(in srgb,var(--scene-accent, #276ef1) 26%,#ffffff);transform:translateY(-2px)}.scene-event-marker{display:grid;width:var(--scene-marker-size, 34px);height:var(--scene-marker-size, 34px);place-items:center;border-radius:999px;background:var(--scene-accent, var(--blue));box-shadow:0 10px 22px var(--scene-shadow-color, rgba(28, 36, 48, .16));color:#fff;transition:box-shadow .16s ease,transform .16s ease}.scene-event-marker[data-hovered=true],.scene-event-marker[data-selected=true],.scene-actor-hitbox:focus-visible .scene-event-marker{box-shadow:0 14px 28px var(--scene-shadow-color, rgba(28, 36, 48, .22));transform:translateY(-1px) scale(1.06)}.scene-event-marker-icon{display:grid;place-items:center;color:currentColor}.remove-event{display:grid;place-items:center;width:18px;height:18px;border:0;border-radius:999px;background:#d92d2000;color:#b4231800;pointer-events:none;opacity:0;transition:opacity .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease}.remove-event.is-visible{pointer-events:auto;opacity:1;background:#fff1f0;color:#b42318;box-shadow:0 8px 18px #b4231829}.scene-event-anchor .remove-event{position:absolute;top:6px;right:10px;cursor:pointer}.event-editor{display:grid;gap:4px}.event-editor-heading{align-items:center;justify-content:flex-start;gap:10px;padding-right:182px}.event-editor-heading h2{font-size:1rem}.duration-active-age-field{padding-top:10px}.dual-age-slider{position:relative;margin-bottom:0}.dual-age-slider-track-wrap{padding:2px 8px 15px}.dual-age-slider-track{position:relative;height:6px;border-radius:999px;background:#1c24301f}.dual-age-slider-active-range{position:absolute;top:0;height:6px;border-radius:999px;background:var(--teal)}.dual-age-slider input[type=range]{position:absolute;top:50%;right:0;left:0;z-index:2;width:100%;height:16px;margin:0;padding:0;transform:translateY(-50%);appearance:none;background:transparent;pointer-events:none}.dual-age-slider input[type=range]::-webkit-slider-runnable-track{height:6px;background:transparent}.dual-age-slider input[type=range]::-webkit-slider-thumb{width:24px;height:24px;margin-top:-9px;border:0;border-radius:0;appearance:none;background:transparent;box-shadow:none;cursor:ew-resize;pointer-events:auto}.dual-age-slider input[type=range]::-moz-range-track{height:6px;background:transparent}.dual-age-slider input[type=range]::-moz-range-thumb{width:24px;height:24px;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:ew-resize;pointer-events:auto}.dual-age-slider-end{z-index:3}.dual-age-slider-handle{position:absolute;top:50%;z-index:4;width:16px;height:16px;border:2px solid #172554;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0f172a1f;transform:translate(-50%,-50%);pointer-events:none}.dual-age-slider-handle.is-end{z-index:5}.dual-age-slider-handle.is-start.is-crowded{transform:translate(calc(-50% - 6px),-50%)}.dual-age-slider-handle.is-end.is-crowded{transform:translate(calc(-50% + 6px),-50%)}.dual-age-slider-value{position:absolute;top:auto;z-index:4;min-width:28px;bottom:-19px;color:#525252;font-size:.75rem;font-weight:500;transform:translate(-50%);pointer-events:none}.empty-editor p,.editor-footnote{color:var(--muted);font-size:.86rem;line-height:1.4}.empty-editor p{margin:0}.editor-footnote{display:flex;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.modal-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:24px;background:transparent}.event-modal{position:relative;width:min(560px,100%);max-height:min(760px,calc(100vh - 48px));overflow-y:auto;padding:22px;border:1px solid rgba(28,36,48,.1);border-radius:8px;background:var(--paper);box-shadow:0 28px 80px #1c243047}.modal-close{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.event-editor-remove-top{position:absolute;top:16px;right:60px;min-height:36px;padding:8px 12px}.confirm-modal{display:grid;gap:12px;width:min(420px,100%);padding:24px;border:1px solid rgba(28,36,48,.1);border-radius:8px;background:var(--paper);box-shadow:0 28px 80px #1c243047}.confirm-modal h2,.confirm-modal p{margin:0}.confirm-modal p{color:var(--muted);line-height:1.4}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:8px}.danger-button,.primary-button,.secondary-button,.reset-button{min-height:36px;padding:8px 14px;border-radius:8px;font-weight:800}.primary-button{border:1px solid #155eef;background:#276ef1;color:#fff}.danger-button{border:1px solid #b42318;background:#d92d20;color:#fff}.secondary-button{border:1px solid var(--line);background:#fff;color:var(--ink)}.scene-preview-anchor{z-index:3;pointer-events:none}.scene-preview-anchor.is-snapped .scene-event-card{border:2px dashed var(--scene-accent, var(--blue));background:#fffffffa;box-shadow:0 18px 30px #1c243029;color:var(--blue)}.scene-preview-anchor.is-snapped .scene-event-card:after{bottom:-33px;height:33px;background:var(--scene-accent, var(--blue))}.scene-preview-anchor.is-floating .scene-event-card{transform:rotate(-2deg);opacity:.98}.scene-preview-anchor.is-floating .scene-event-card:after{display:none}.scene-character-card{position:relative;display:grid;justify-items:center;width:80px;height:112px;pointer-events:none}.scene-character-label{position:absolute;top:90px;left:50%;color:var(--muted);font-size:.7rem;font-weight:800;transform:translate(-50%);white-space:nowrap}.scene-character-art{display:grid;place-items:center;width:72px;height:90px}.scene-sprite-image,.scene-illustration-image{display:block;-webkit-user-select:none;user-select:none}.scene-sprite-image{width:72px;height:102px}.scene-event-art{display:grid;place-items:center;min-height:68px}.scene-illustration-image{width:auto;max-width:84px;height:66px}.scene-event-meta{display:grid;justify-items:center;gap:6px;width:100%}.scene-event-meta strong{max-width:100%;overflow:hidden;color:var(--ink);font-size:.73rem;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.scene-event-card[data-condensed=true]{min-width:52px;width:52px;padding:6px;border-radius:999px;gap:0;border-color:transparent;background:transparent;box-shadow:none}.scene-event-card[data-condensed=true]:after{bottom:-24px;height:24px}.scene-event-card[data-connector-kind=stack]:after{bottom:-12px;height:10px}.scene-event-card[data-condensed=true] .scene-event-art{min-height:0}.scene-event-card[data-condensed=true] .scene-event-meta{display:none}.scene-event-card[data-condensed=true] .scene-illustration-image{max-width:34px;height:28px}.scene-event-card[data-condensed=true][data-hovered=true],.scene-event-card[data-condensed=true][data-selected=true],.scene-actor-hitbox:focus-visible .scene-event-card[data-condensed=true]{border-color:color-mix(in srgb,var(--scene-accent, #276ef1) 24%,#ffffff);background:#fffffff0;box-shadow:0 10px 20px var(--scene-shadow-color, rgba(28, 36, 48, .13));transform:translateY(-1px) scale(1.04)}.scene-event-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--scene-accent, #276ef1) 12%,#ffffff);color:var(--scene-accent, var(--blue));font-size:.66rem;font-weight:800}.scene-character-card[data-state=idle][data-reduced-motion=false] .scene-character-art{animation:scene-character-bob 2.2s ease-in-out infinite}.scene-event-card[data-state=dropIn][data-reduced-motion=false],.scene-character-card[data-state=dropIn][data-reduced-motion=false]{animation:scene-drop-in .36s cubic-bezier(.21,1.1,.34,1)}.scene-event-card[data-state=dragPreview]{color:var(--blue)}.scene-event-card[data-state=dropIn][data-reduced-motion=false] .scene-event-art{animation:scene-event-pop .34s cubic-bezier(.21,1.1,.34,1)}.scene-event-card[data-state=dragPreview]{opacity:.96}.scene-event-card[data-reduced-motion=true],.scene-character-card[data-reduced-motion=true],.scene-event-card[data-reduced-motion=true] .scene-event-art,.scene-character-card[data-reduced-motion=true] .scene-character-art{animation:none}@keyframes scene-drop-in{0%{opacity:0;transform:translateY(-16px) scale(.94)}72%{opacity:1;transform:translateY(3px) scale(1.02)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes scene-event-pop{0%{transform:translateY(-9px) scale(.92) rotate(-2deg)}60%{transform:translateY(2px) scale(1.04) rotate(1deg)}to{transform:translateY(0) scale(1) rotate(0)}}@keyframes scene-character-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes empty-start-pulse{0%,to{opacity:.72;box-shadow:0 0 #17255424,0 0 18px #17255414}50%{opacity:1;box-shadow:0 0 0 8px #17255400,0 0 28px #1725542e}}@keyframes empty-start-chip-pulse{0%,to{box-shadow:0 0 0 1px #1725540f}50%{box-shadow:0 0 0 1px #1725542e,0 0 18px #1725541f}}.finish-flag{position:absolute;top:-42px;color:var(--gold)}.finish-line{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:10px;border-top:1px solid var(--line)}.finish-line strong{font-size:1.25rem}.timeline-range{padding:2px 0 0;color:var(--muted);font-size:.78rem;font-weight:800}.timeline-range-inline{margin:-18px 24px 10px;padding:0 16px 6px;border-top:1px solid #eef2f7;background:#f8fafc;border-radius:18px}.timeline-range-track{position:relative;height:52px}.timeline-range-track:before{position:absolute;top:16px;left:0;right:0;height:6px;border-radius:999px;background:#dfe5ee;content:""}.timeline-range-window{position:absolute;top:16px;height:6px;border-radius:999px;background:#172554;cursor:grab}.timeline-range-window:active{cursor:grabbing}.timeline-range-handle{position:absolute;top:8px;width:16px;height:16px;padding:0;border:2px solid #172554;border-radius:999px;background:#fff;box-shadow:0 8px 18px #17255424;transform:translate(-50%);touch-action:none}.timeline-range-bound{position:absolute;bottom:0;color:var(--muted);font-size:.78rem;font-weight:800;line-height:1}.timeline-range-bound-start{left:0;transform:translate(-4px)}.timeline-range-bound-end{right:0;transform:translate(4px)}.timeline-range-handle:hover,.timeline-range-handle:focus-visible{border-color:var(--blue);outline:none}.event-template-list{display:grid;gap:10px}.event-drawer-inline{display:grid;gap:10px;margin:-10px 24px 20px;padding:10px 16px 18px;border-top:1px solid #eef2f7;background:#fff}.event-drawer-inline.is-empty-start{position:relative}.event-drawer-inline.is-empty-start:before{content:"";position:absolute;inset:8px 10px;border-radius:18px;border:3px solid rgba(23,37,84,.32);box-shadow:0 0 #17255438,0 0 28px #1725541f;animation:empty-start-pulse 1.8s ease-in-out infinite;pointer-events:none}.event-drawer-inline-header{display:flex;align-items:center}.event-drawer-inline-header span{color:#98a2b3;font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.event-template-inline-list{display:flex;flex-wrap:wrap;gap:10px}.event-drawer-rail{display:flex;flex:0 0 auto;flex-direction:column;gap:12px;width:80px;padding:16px 10px;border:1px solid rgba(28,36,48,.08);border-radius:24px;background:#fff;box-shadow:0 18px 40px #1c243014;overflow:hidden}.event-drawer-rail-header{display:flex;justify-content:center;padding-bottom:2px}.event-drawer-rail-header span{color:#98a2b3;font-size:.64rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.event-template-rail-list{display:grid;gap:12px}.event-template{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;width:100%;padding:13px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-align:left}.event-drawer-rail .event-template{grid-template-columns:1fr;place-items:center;width:100%;min-height:56px;aspect-ratio:1 / 1;padding:0;border:1px solid #dfe5ee;border-radius:16px;background:#fff;overflow:hidden}.event-drawer-rail .event-template span{display:none}.event-drawer-rail .event-template:hover,.event-drawer-rail .event-template:focus-visible{border-color:#172554;background:#eef2ff;color:#172554;outline:none}.event-drawer-rail .event-template.is-selected{border-color:#172554;background:#172554;color:#fff}.event-drawer-rail .event-template svg{width:24px;height:24px}.event-drawer-inline .event-template{grid-template-columns:20px minmax(0,1fr);align-items:center;width:auto;min-height:40px;padding:10px 12px;border-radius:12px;background:#f8fafc}.event-drawer-inline.is-empty-start .event-template{border-color:#1725543d;box-shadow:0 0 0 1px #1725540f;animation:empty-start-chip-pulse 1.8s ease-in-out infinite}.event-drawer-inline .event-template span{display:inline}.event-drawer-inline .event-template strong{color:#334155;font-size:.82rem;font-weight:700}.event-drawer-inline .event-template:hover,.event-drawer-inline .event-template:focus-visible{border-color:#172554;background:#eef2ff;color:#172554;outline:none}.event-drawer-inline .event-template.is-selected{border-color:#172554;background:#172554}.event-drawer-inline .event-template.is-selected strong,.event-drawer-inline .event-template.is-selected svg{color:#fff}@media(max-width:1240px){.path-stage-body,.path-main-body{flex-wrap:wrap}.path-side-summary{flex:1 1 100%;width:100%;min-width:0;border-left:0;border-top:1px solid #eef2f7}.event-template-inline-list{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}}.event-template span{display:grid;gap:0}.event-template strong{font-size:.82rem;font-weight:700;line-height:1.1}.event-template-tooltip{position:fixed;z-index:30;width:220px;padding:10px 12px;border-radius:8px;background:#1c2430f0;box-shadow:0 14px 28px #1c24303d;color:#fff;font-size:.76rem;line-height:1.4;pointer-events:none;transform:translateY(-50%)}.event-template.is-selected{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.control-row{display:grid;gap:10px;padding:14px 0;border-top:1px solid var(--line)}.control-row:first-of-type,.entry-row:first-of-type{border-top:0}.control-row span{display:flex;align-items:center;justify-content:space-between;gap:12px}.control-row strong{color:var(--ink)}.slider-value-button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 8px;border:1px dashed rgba(28,36,48,.18);border-radius:999px;background:#ffffffeb;color:var(--ink);cursor:text;font-size:.82rem;font-weight:600}.slider-value-button svg{color:var(--muted)}.slider-value-input{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:.82rem;font-weight:600}.slider-value-input b{color:var(--muted);font-size:.82rem;font-weight:600}.slider-value-input input{width:84px;min-height:32px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:.82rem;font-weight:600;text-align:right}.slider-value-group{display:inline-flex;align-items:center;gap:8px}.slider-value-group strong{color:var(--muted);font-size:.82rem;font-weight:600}input[type=range]{width:100%;accent-color:var(--teal)}.entry-row{display:grid;gap:8px;padding:14px 0;border-top:1px solid var(--line)}.entry-row span{color:var(--muted)}.field-label-inline{display:inline-flex;align-items:center;gap:8px}.numeric-entry-row{gap:6px}.entry-row input[type=number]{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.unit-entry{position:relative;display:block}.unit-entry b{position:absolute;right:9px;top:50%;color:var(--muted);transform:translateY(-50%);pointer-events:none}.unit-entry input[type=number]{padding-right:20px}.numeric-entry-control{display:flex;align-items:stretch;width:100%;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.numeric-entry-label{display:inline-flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;max-width:min(18rem,58%);padding:10px 14px;color:#fff;font-size:.84rem;font-weight:800;line-height:1.2;background:#2c2c2c}.numeric-entry-label span,.numeric-entry-label svg,.numeric-entry-label .field-required{color:inherit}.numeric-entry-label>span:first-child{flex:1 1 auto;min-width:0}.numeric-entry-label .field-required{margin-left:0;opacity:.82}.numeric-entry-label .info-hint{border-color:#ffffff38;color:#fff;background:#ffffff1f}.numeric-entry-input-shell{position:relative;display:flex;align-items:center;flex:1 1 auto;min-width:84px;background:#fff}.numeric-entry-input-shell input[type=number]{min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none}.text-entry-input-shell{display:flex;align-items:center;flex:1 1 auto;min-width:84px;background:#172554}.text-entry-input-shell input[type=text]{min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#fff;caret-color:#fff}.text-entry-input-shell input[type=text]::placeholder{color:#ffffffb8}.numeric-entry-input-shell.has-prefix input[type=number]{padding-left:22px}.numeric-entry-input-shell.has-suffix input[type=number]{padding-right:24px}.numeric-entry-affix{position:absolute;top:50%;color:var(--muted);font-weight:700;transform:translateY(-50%);pointer-events:none}.numeric-entry-affix-start{left:10px}.numeric-entry-affix-end{right:10px}.entry-row input[type=text],.entry-row select{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.entry-row input[aria-invalid=true]{border-color:#d92d20;background:#fff6f5}.expandable-entry{align-content:start}.expandable-input-row{display:flex;align-items:center;gap:8px}.expandable-input-row .money-entry,.expandable-input-row input[type=number]{flex:1 1 auto}.expand-toggle{display:grid;place-items:center;flex:0 0 auto;width:42px;min-width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);transition:border-color .14s ease,color .14s ease,transform .14s ease}.expand-toggle.is-open{border-color:#276ef133;color:var(--blue)}.expand-toggle.is-open svg{transform:rotate(180deg)}.expand-toggle svg{transition:transform .14s ease}.inline-advanced-panel{display:grid;gap:0;padding-top:8px}.floating-advanced-panel{position:fixed;z-index:40;padding:14px 16px;border:1px solid rgba(28,36,48,.1);border-radius:8px;background:var(--paper);box-shadow:0 18px 40px #1c24302e;max-height:calc(100vh - 32px);overflow-y:auto}.floating-advanced-panel:before{position:absolute;top:14px;left:-7px;width:14px;height:14px;border-left:1px solid rgba(28,36,48,.1);border-bottom:1px solid rgba(28,36,48,.1);background:var(--paper);transform:rotate(45deg);content:""}.inline-advanced-panel>:first-child{border-top:0;padding-top:0}.nested-entry,.nested-slider-row{padding-top:14px}.payment-entry{align-self:start}.payment-row{display:grid;gap:8px}.payment-frequency{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.frequency-choice{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.frequency-choice.is-selected{border-color:var(--blue);box-shadow:inset 0 0 0 1px #276ef12e}.frequency-choice input{width:16px;height:16px;margin:0;accent-color:var(--blue)}.frequency-choice span{color:var(--ink);font-weight:700}.assumption-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.assumptions-grid-refined{gap:12px}.assumption-entry-card{padding:12px 12px 10px;border:1px solid rgba(28,36,48,.08);border-radius:8px;background:#fcfdfd}.assumption-entry-card:first-child,.assumption-entry-card{border-top:1px solid rgba(28,36,48,.08)}.assumption-entry-card span:first-child{font-weight:700}.money-entry{position:relative;display:block}.money-entry b{position:absolute;left:9px;top:50%;color:var(--muted);transform:translateY(-50%);pointer-events:none}.money-entry input[type=number]{padding-left:18px}.financial-item-inline-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.financial-item-inline-summary{color:var(--muted);font-size:.76rem;font-weight:700;line-height:1.3;white-space:nowrap}.spending-row{display:grid;gap:10px;padding:14px 0 0;border-top:1px solid var(--line)}.spending-row span{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted)}.spending-row strong{color:var(--ink);text-align:right}.expandable-group{margin-top:14px;border-top:1px solid var(--line)}.expandable-group summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;cursor:pointer;list-style:none;color:var(--ink);font-weight:700}.expandable-group summary::-webkit-details-marker{display:none}.expandable-group summary span{color:var(--muted);font-size:.9rem;font-weight:500}.expandable-content{display:grid;gap:12px;padding-bottom:6px}.collection-card{padding:12px 14px 14px;border:1px solid var(--line);border-radius:8px;background:#fcfdfd}.collection-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.collection-card-header strong{color:var(--ink)}.field-required{margin-left:4px;color:#d92d20}.info-hint{position:relative;display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid rgba(28,36,48,.14);border-radius:999px;color:var(--muted);background:#fff;cursor:help;outline:none}.info-tooltip{position:absolute;z-index:6;left:calc(100% + 10px);top:50%;width:220px;padding:10px 12px;border-radius:8px;background:#1c2430f0;box-shadow:0 14px 28px #1c24303d;color:#fff;font-size:.76rem;font-weight:600;line-height:1.4;opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity .14s ease}.info-tooltip-floating{position:fixed;z-index:60;left:0;top:0;opacity:1}.compact-entry{padding:10px 0 0}.financial-item-field-label{display:inline-flex;align-items:center;gap:6px}.compact-entry:first-child{border-top:0}.subtle-button{width:30px;height:30px;color:var(--muted)}.add-row-button{display:inline-flex;align-items:center;gap:8px;justify-self:flex-start}.field-error{margin:0;color:#b42318;font-size:.82rem;font-weight:700}.draft-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:10px}.advanced-options{padding:12px 0 4px;border-top:1px solid var(--line)}.advanced-options summary{display:flex;align-items:center;justify-content:space-between;color:var(--ink);font-weight:800;cursor:pointer}.advanced-options summary:after{color:var(--muted);content:"Show";font-size:.78rem;font-weight:700}.advanced-options[open] summary:after{content:"Hide"}.checkbox-row{display:flex;align-items:center;gap:10px;padding:16px 0 8px;color:var(--ink);font-weight:700}.checkbox-row input{width:18px;height:18px;accent-color:var(--teal)}.choice-group{display:grid;gap:10px;padding:14px 0;border-top:1px solid var(--line)}.choice-group label{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.choice-group label.is-selected{border-color:var(--blue);box-shadow:inset 0 0 0 1px #276ef129}.choice-group input{margin-top:2px;accent-color:var(--blue)}.choice-group span{display:grid;gap:4px}.choice-group small{color:var(--muted);line-height:1.35}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.icon-button:disabled{cursor:not-allowed;opacity:.45}.reset-button{border:1px solid rgba(217,45,32,.24);background:#fff1f0;color:#b42318}.reset-button:disabled{cursor:not-allowed;opacity:.45}.compact-readonly{justify-content:center}.customize-accounts-row{align-content:end;padding-top:8px;border-top:0}.customize-accounts-button{display:inline-flex;align-items:center;align-self:end;width:100%;height:42px;min-height:42px;justify-content:center;padding:9px 14px;border-color:#1c243024;box-shadow:0 1px 2px #1c24300a;font-weight:800;font-size:.92rem}.customize-accounts-button.is-open{border-color:#276ef129;background:#276ef114;box-shadow:inset 0 0 0 1px #276ef11a}.summary-pill{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid rgba(39,110,241,.16);border-radius:8px;background:#276ef114;color:var(--ink);font-weight:800}.summary-pill-button{border:0}.summary-pill-button.is-open{box-shadow:inset 0 0 0 1px #276ef12e}.budget-entry-card,.budget-summary-panel{display:grid;gap:12px;margin-top:14px;padding:14px;border:1px solid rgba(39,110,241,.14);border-radius:8px;background:#276ef10d}.budget-entry-copy,.budget-summary-heading{display:grid;gap:4px}.budget-entry-copy p,.budget-summary-heading span{margin:0;color:var(--muted);font-size:.86rem;line-height:1.45}.budget-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.budget-summary-grid article{display:grid;gap:4px;padding:12px;border:1px solid rgba(28,36,48,.08);border-radius:8px;background:#fff}.budget-summary-grid article span{color:var(--muted);font-size:.78rem;font-weight:700}.budget-summary-grid article strong{color:var(--ink);font-size:1rem}.budget-summary-actions{display:flex;justify-content:flex-end}.account-summary-strip{display:grid;gap:6px;padding:14px;border:1px solid rgba(39,110,241,.12);border-radius:8px;background:#276ef10d}.account-summary-strip p{margin:0;color:var(--muted);font-size:.86rem;line-height:1.45}.preset-row{display:flex;flex-wrap:wrap;gap:10px}.preset-chip{display:inline-flex;align-items:center;gap:7px}.account-global-card{gap:10px;display:grid}.choice-toggle{display:inline-flex;flex-wrap:wrap;gap:8px}.choice-toggle label{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:.84rem;font-weight:700}.choice-toggle label.is-selected{border-color:#276ef12e;background:#276ef114}.choice-toggle input{width:16px;height:16px;accent-color:var(--blue)}.compact-choice{padding-top:4px}.account-group{display:grid;gap:8px}.account-group-heading{padding:2px 2px 0}.account-card{border:1px solid var(--line);border-radius:8px;background:#fff}.account-card.is-archived{opacity:.8}.account-card-inline{padding:8px 10px}.account-inline-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:8px}.account-inline-grid-compact{grid-template-columns:minmax(0,1fr) minmax(132px,140px) auto;align-items:center;margin-top:0}.account-name-inline{display:inline-flex;align-items:center;gap:6px;min-width:0}.account-name-inline strong{overflow:hidden;color:var(--ink);font-size:.93rem;text-overflow:ellipsis;white-space:nowrap}.account-name-inline small{color:var(--muted);font-size:.76rem;font-weight:700}.account-name-inline .compact-icon-button{opacity:0;pointer-events:none;transition:opacity .14s ease}.account-name-inline:hover .compact-icon-button,.account-name-inline:focus-within .compact-icon-button{opacity:1;pointer-events:auto}.account-inline-field{padding-top:0}.account-inline-field span{font-size:.8rem}.account-inline-field input[type=text],.account-inline-field input[type=number]{min-height:38px;padding-top:8px;padding-bottom:8px}.account-inline-amount span:first-child{display:none}.account-advanced-button{width:32px;height:32px}.account-advanced-button svg{transition:transform .14s ease,color .14s ease}.account-advanced-button.is-open svg{color:var(--blue);transform:rotate(45deg)}.nested-account-flyout{z-index:43;max-width:392px;padding:16px 16px 18px}.account-card-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;cursor:pointer;list-style:none}.account-card-summary::-webkit-details-marker{display:none}.account-card-summary strong{display:block;color:var(--ink)}.account-card-summary span,.account-card-summary small,.account-card-body p{color:var(--muted)}.account-card-body{display:grid;gap:14px;padding:0 14px 14px;border-top:1px solid var(--line)}.account-card-actions{display:inline-flex;align-items:center;gap:6px}.account-card-actions-group{padding:4px;border:1px solid rgba(28,36,48,.08);border-radius:10px;background:#fbfcfe}.account-card-actions-group .compact-icon-button{background:#fff}.account-card-actions .icon-button.is-active{border-color:#12a59438;background:#12a5941a;color:var(--teal)}.compact-icon-button{width:32px;height:32px}.account-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-detail-section{display:grid;gap:10px;padding:12px;border:1px solid rgba(28,36,48,.08);border-radius:8px;background:#fcfdfd}.account-detail-section h4{margin:0;color:var(--ink);font-size:.86rem}.account-detail-heading{display:flex;align-items:center;justify-content:flex-start;gap:10px}.account-detail-label{display:inline-flex;align-items:center;gap:8px}.account-detail-label h4{flex:0 0 auto}.account-checkbox-row{justify-content:flex-start}.checkbox-control{display:inline-flex;align-items:center;gap:10px}.checkbox-label-group{display:inline-flex;align-items:center;gap:8px}.account-slider-row{padding-top:8px}.compact-slider-row{gap:8px}.slider-input-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.slider-percent-input{display:inline-grid;grid-template-columns:minmax(0,72px) auto;align-items:center;gap:6px}.slider-percent-input input{width:72px;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-align:right}.slider-percent-input span{color:var(--muted);font-size:.88rem;font-weight:700}.nested-account-flyout .sidebar-flyout-header{padding-bottom:10px;margin-bottom:10px}.nested-account-flyout .account-section-grid{grid-template-columns:1fr;gap:10px}.nested-account-flyout .account-detail-section{gap:8px;padding:12px 14px 14px;background:#fff}.nested-account-flyout .account-detail-section h4{font-size:.92rem}.nested-account-flyout .entry-row,.nested-account-flyout .control-row{gap:6px;padding:8px 0 0;border-top:0}.nested-account-flyout .entry-row span,.nested-account-flyout .control-row span{display:block;color:var(--muted);font-size:.82rem;font-weight:700}.nested-account-flyout .compact-entry{padding-top:8px}.nested-account-flyout .entry-row input[type=number],.nested-account-flyout .entry-row input[type=text],.nested-account-flyout .entry-row select{min-height:40px;padding:8px 11px}.nested-account-flyout .checkbox-row{align-items:center;gap:10px;padding:2px 0 4px}.nested-account-flyout .checkbox-row span{color:var(--ink);font-size:.95rem;font-weight:800;line-height:1.25}.nested-account-flyout .account-slider-row span{display:flex;align-items:center;justify-content:space-between;gap:12px}.nested-account-flyout .account-slider-row strong{color:var(--ink);text-align:right}.nested-account-flyout .choice-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nested-account-flyout .choice-toggle label{justify-content:center;min-height:40px;padding:8px 10px}.nested-account-flyout .choice-toggle span{display:inline}.chart-tooltip-wide{min-width:260px;max-width:min(320px,calc(100% - 16px))}.chart-tooltip-equation{display:block;margin-bottom:6px;color:var(--muted);font-size:.8rem;line-height:1.35}.chart-tooltip-account-row{opacity:.8}.chart-tooltip-warning{display:grid;gap:4px;margin-top:6px;padding:10px 12px;border:1px solid rgba(180,35,24,.18);border-radius:8px;background:#fff1f0;color:#b42318}.chart-tooltip-warning small{color:#b42318;font-size:.72rem;font-weight:800;line-height:1.2;text-transform:uppercase}.chart-tooltip-warning b{color:#8f1f16;font-size:.88rem;line-height:1.2}.sidebar-popover-section{margin-top:14px;border-top:1px solid var(--line)}.sidebar-popover-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 0;border:0;background:transparent;color:var(--ink);text-align:left}.sidebar-popover-trigger strong{font-size:1rem}.sidebar-popover-trigger span{color:var(--muted);font-size:.9rem}.sidebar-popover-trigger.is-open strong{color:var(--blue)}.financial-category-inventory{display:grid;gap:8px;padding:10px 12px 12px;border-bottom:0}.financial-category-sections{display:grid;gap:6px}.financial-category-section{overflow:hidden;border:2px solid var(--line);border-radius:10px;background:#fff}.financial-category-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:42px;padding:10px 12px;border:0;background:#fff;color:var(--ink);cursor:pointer;text-align:left}.financial-category-title,.financial-category-meta,.financial-category-row-main{display:inline-flex;min-width:0;align-items:center;gap:6px}.financial-category-title strong,.financial-category-row-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.financial-category-title strong{font-size:.875rem;font-weight:600}.financial-category-title svg{flex:0 0 auto;color:var(--muted);transition:transform .16s ease}.financial-category-title svg.is-collapsed{transform:rotate(-90deg)}.financial-category-meta{color:var(--muted);font-size:.75rem;font-weight:500;white-space:nowrap}.financial-category-meta span+span:before{content:"•";padding-right:6px;color:var(--line-strong)}.financial-category-body{display:grid;gap:4px;padding:0 12px 10px}.financial-category-row,.financial-category-create{width:100%;min-width:0;border-radius:8px;font:inherit;text-align:left}.financial-category-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:32px;padding:8px 12px;border:1px solid transparent;color:#fff;border-radius:4px;box-shadow:inset 0 0 0 1px #ffffff0d}.financial-category-row-accounts{background:var(--category-account)}.financial-category-row-income{background:var(--category-income)}.financial-category-row-expenses{background:var(--category-expense)}.financial-category-row-physicalAssets{background:var(--category-asset)}.financial-category-row:hover,.financial-category-row:focus-visible{opacity:.92;transform:translateY(-1px);outline:none}.financial-category-row.is-life-path-linked{box-shadow:inset 0 0 0 1px #ffffff14,0 0 0 1px #404eed1f}.financial-category-row.is-highlighted{box-shadow:inset 0 0 0 1px #ffffff1a,0 10px 20px #1c24302e}.financial-category-row.is-inactive{opacity:.5;filter:saturate(.7)}.financial-category-row.is-inactive:hover,.financial-category-row.is-inactive:focus-visible{opacity:.6}.financial-category-row-value{color:#fff;font-size:.75rem;font-weight:600;white-space:nowrap}.financial-category-row-name{font-size:.75rem;font-weight:500}.financial-category-badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:3px;min-height:18px;padding:2px 5px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#ffffff1f;color:#fff;font-size:.68rem;font-weight:800;line-height:1}.financial-category-badge svg{color:currentColor}.financial-category-badge:hover,.financial-category-badge:focus-visible,.financial-category-badge.is-open{border-color:#1c2430e0;background:#1c2430eb;color:#fff;outline:none}.financial-category-badge:hover svg,.financial-category-badge:focus-visible svg,.financial-category-badge.is-open svg{color:#fff}.financial-category-badge-life-path{padding:2px 4px}.financial-category-badge-asset-link{padding-right:6px}.financial-category-empty{margin:0;padding:4px 12px;color:var(--muted);font-size:.75rem}.financial-category-create{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 12px;border:2px solid #d4d4d8;border-radius:8px;background:#fff;color:#404040;font-size:.75rem;font-weight:500}.financial-category-create:hover,.financial-category-create:focus-visible{border-color:var(--navy-950);background:#eff6ff;color:var(--navy-950);outline:none}.financial-category-section-accounts{border-color:var(--category-account)}.financial-category-section-income{border-color:var(--category-income)}.financial-category-section-expenses{border-color:var(--category-expense)}.financial-category-section-physicalAssets{border-color:var(--category-asset)}.financial-category-section-accounts .financial-category-header{background:var(--category-account-tint)}.financial-category-section-income .financial-category-header{background:var(--category-income-tint)}.financial-category-section-expenses .financial-category-header{background:var(--category-expense-tint)}.financial-category-section-physicalAssets .financial-category-header{background:var(--category-asset-tint)}.financial-sidebar-card{padding:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}.financial-sidebar-card .section-heading{align-items:stretch;justify-content:flex-start;min-height:0;padding:0;border-bottom:0;background:#fff}.financial-sidebar-card .section-heading h2{margin:0;font-size:.875rem;font-weight:600;color:#171717}.financial-sidebar-header-stack{display:grid;gap:0;width:100%}.financial-sidebar-header-top{display:flex;justify-content:stretch;padding:10px 12px;border-bottom:1px solid #e5e7eb;background:#fff}.financial-sidebar-header-main{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 12px}.financial-sidebar-age-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;padding:8px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.financial-sidebar-categories-card{display:grid;gap:0;background:#fafafa}.financial-sidebar-settings-card{gap:10px;margin:6px 12px 12px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.financial-sidebar-settings-card .budget-entry-copy strong{font-size:.88rem;font-weight:600}.financial-sidebar-settings-card .budget-entry-copy p{font-size:.74rem;line-height:1.45}.financial-sidebar-settings-button{min-height:34px;border-width:2px;border-radius:8px;font-size:.75rem;font-weight:500}.financial-sidebar-settings-button.financial-sidebar-primary-action{border-color:#111827;background:#111827;color:#fff}.financial-sidebar-support-grid{gap:12px;padding:0 12px 12px}.financial-sidebar-assumptions-card{display:grid;gap:0;border-top:1px solid #e5e7eb;margin-top:auto}.sidebar-compact-field{display:flex;align-items:center;gap:6px;min-width:0}.sidebar-compact-field-label{display:inline-flex;align-items:center;justify-content:center;min-width:54px;min-height:34px;padding:0 10px;border-radius:8px;background:var(--navy-950);color:#fff!important;font-size:.75rem;font-weight:500;white-space:nowrap}.sidebar-compact-field input{width:100%;min-width:0;min-height:34px;padding:7px 10px;border:2px solid #d4d4d8;border-radius:8px;background:#fff;color:#171717;font-size:.75rem;font-weight:500}.sidebar-compact-field input:focus{border-color:var(--navy-950);outline:none}.financial-sidebar-support-grid,.financial-sidebar-budget-card,.financial-sidebar-assumptions-card .section-heading,.financial-sidebar-assumptions-card .financial-sidebar-support-grid{display:none}.financial-item-modal{display:grid;width:min(1024px,calc(100vw - 32px))}.financial-item-modal-shell{display:flex;gap:0;width:min(1024px,calc(100vw - 32px));height:min(760px,calc(100vh - 48px));padding:0;border:1px solid var(--slate-100);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 24px 60px #0f172a2e}.financial-item-shell-sidebar{display:grid;grid-template-rows:auto 1fr auto;width:256px;gap:24px;padding:24px;border-right:1px solid #e5e7eb;background:#fff}.financial-item-shell-sidebar-top{display:grid;gap:16px}.financial-item-shell-hero-icon{display:inline-grid;place-items:center;width:64px;height:64px;flex:0 0 auto;border-radius:12px;background:#172554;color:#fff}.financial-item-option-icon{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--navy-50);color:var(--navy-950)}.financial-item-shell-sidebar-copy{display:grid;gap:4px}.financial-item-shell-sidebar-copy h2,.financial-item-shell-content-copy h3,.financial-item-shell-content-copy p{margin:0}.financial-item-shell-sidebar-copy h2{color:#171717;font-size:1.25rem;font-weight:500}.financial-item-shell-sidebar-copy strong{color:#172554;font-size:1.875rem;font-weight:500;line-height:1.1}.financial-item-shell-nav{display:grid;align-content:start;gap:8px;margin-top:8px}.financial-item-shell-nav-button{width:100%;min-height:40px;padding:10px 12px;border:0;border-radius:6px;background:transparent;color:#525252;font-size:.9rem;font-weight:500;text-align:left}.financial-item-shell-nav-button:hover,.financial-item-shell-nav-button:focus-visible{background:#f5f5f5;outline:none}.financial-item-shell-nav-button.is-active{background:#172554;color:#fff}.financial-item-shell-sidebar-actions{display:grid;gap:8px;margin-top:24px;padding-top:16px;border-top:1px solid #e5e7eb}.financial-item-sidebar-action{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#525252;font-size:.9rem;font-weight:500;text-align:left}.financial-item-sidebar-action:hover,.financial-item-sidebar-action:focus-visible{background:#f5f5f5;outline:none}.financial-item-sidebar-action.is-danger{color:#d92d20}.financial-item-sidebar-action:disabled{opacity:.58}.financial-item-shell-content{position:relative;display:flex;flex-direction:column;flex:1 1 auto;min-width:0;min-height:0;padding:32px;overflow:hidden}.financial-item-shell-close{top:24px;right:24px;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#a3a3a3}.financial-item-shell-close:hover,.financial-item-shell-close:focus-visible{background:#f5f5f5;color:#172554;outline:none}.financial-item-shell-content-header{margin-bottom:32px;padding-right:48px}.financial-item-shell-content-copy{display:grid;gap:4px}.financial-item-shell-content-title-row{display:flex;align-items:center;gap:10px}.financial-item-shell-content-copy h3{color:#171717;font-size:1.125rem;font-weight:500}.financial-item-shell-content-copy p{color:#737373;font-size:.875rem;line-height:1.4}.financial-item-shell-content-body{--modal-input-height: 42px;--modal-input-height-subtle: 42px;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:4px}.financial-item-modal-actions{display:flex;justify-content:flex-end;flex:0 0 auto;margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.financial-item-save-button{min-height:48px;padding:12px 32px;border:0;border-radius:10px;background:#172554;box-shadow:0 10px 24px #17255438;color:#fff;font-weight:600}.financial-item-save-button:hover,.financial-item-save-button:focus-visible{background:#1e3a8a;outline:none}.danger-outline-button{color:#b42318}.financial-item-advanced-list{display:grid;gap:8px}.financial-item-advanced-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-align:left}.financial-item-advanced-row span:last-child{display:grid;gap:2px}.financial-item-advanced-row strong,.financial-item-option-card-heading h3{font-size:1rem}.financial-item-option-card{display:grid;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.financial-item-option-card-heading{display:flex;align-items:center;gap:10px}.financial-item-option-back{flex:0 0 auto}.financial-item-option-card-heading h3{margin:0}.financial-item-option-controls{display:grid;gap:8px}.financial-item-readonly-setting{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border:1px solid var(--slate-200);border-radius:10px;background:#fff}.financial-item-readonly-setting span{color:var(--muted);font-size:.8rem;font-weight:800}.financial-item-type-picker-modal{display:flex;flex-direction:column;width:min(650px,calc(100vw - 32px));max-height:min(90vh,760px);overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 28px 64px #0f172a38,0 8px 18px #0f172a1f}.financial-item-type-picker-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 18px;border-bottom:1px solid #e5e7eb;background:#fff}.financial-item-type-picker-header div{display:grid;gap:4px;min-width:0}.financial-item-type-picker-header span{color:#737373;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.financial-item-type-picker-header h2{margin:0;color:#171717;font-size:1.1rem;font-weight:700}.financial-item-type-picker-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:#737373}.financial-item-type-picker-close:hover,.financial-item-type-picker-close:focus-visible{background:#f5f5f5;color:#171717;outline:none}.financial-item-type-picker-body{flex:1 1 auto;min-height:0;overflow:auto;padding:24px;background:#fafafa}.financial-item-type-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.financial-item-type-card{display:flex;align-items:center;justify-content:center;min-height:164px;padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;color:var(--ink);text-align:center;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease}.financial-item-type-card:hover,.financial-item-type-card:focus-visible{border-color:#172554;background:#eff6ff;box-shadow:0 8px 18px #17255414;outline:none;transform:translateY(-1px)}.financial-item-type-card-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:48px;height:48px;border:1px solid #1e3a8a;border-radius:12px;background:#172554;color:#fff}.financial-item-type-card-copy{display:grid;gap:6px;min-width:0;justify-items:center}.financial-item-type-card-copy strong{color:#171717;font-size:.92rem;font-weight:700}.financial-item-type-card-copy span{color:#525252;font-size:.78rem;line-height:1.25;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.financial-item-type-card>.financial-item-type-card-icon,.financial-item-type-card>.financial-item-type-card-copy{pointer-events:none}.financial-item-type-card{flex-direction:column;gap:12px}@media(max-width:720px){.financial-item-type-picker-body{padding:18px}.financial-item-type-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.financial-item-type-card-grid{grid-template-columns:minmax(0,1fr)}}.financial-item-modal-header{display:grid;gap:4px;padding-right:44px}.financial-item-modal-header span{color:var(--muted);font-size:.76rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.financial-item-modal-header h2,.financial-item-modal-header p{margin:0}.financial-item-modal-header p,.financial-item-derived-copy,.financial-item-delete-confirm p{color:var(--muted);line-height:1.4}.financial-item-modal-body{display:grid;gap:12px}.financial-item-life-event-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid rgba(64,78,237,.16);border-radius:8px;background:#404eed0f}.financial-item-life-event-link div{display:grid;gap:4px;min-width:0}.financial-item-life-event-link strong,.financial-item-life-event-link span{overflow-wrap:anywhere}.financial-item-life-event-link span{color:var(--muted);font-size:.875rem}.linked-event-source-summary{display:grid;gap:4px;padding:14px;border:1px solid rgba(64,78,237,.16);border-radius:8px;background:#404eed0f}.linked-event-source-summary span{color:var(--muted);font-size:.76rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.linked-event-source-summary strong,.linked-event-source-summary p{margin:0}.linked-event-source-summary p{color:var(--muted);line-height:1.4}.linked-event-actions{display:flex;flex-wrap:wrap;gap:8px}.financial-item-field-group{display:grid;gap:14px;padding-top:18px;border-top:1px solid var(--slate-100)}.financial-item-field-group:first-child{padding-top:0;border-top:0}.financial-item-field-group-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.financial-item-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.financial-item-field,.financial-item-active-age-field{padding:0;border-top:0}.financial-item-field>span,.financial-item-active-age-field>span,.financial-item-toggle-row>span{color:#525252;font-size:.875rem;font-weight:600}.financial-item-field input,.financial-item-field select{min-height:44px;font-size:1rem}.financial-item-number-field,.financial-item-text-field{gap:0}.financial-item-shell-content-body .financial-item-field-group-heading h3{color:#344054;font-size:.98rem;font-weight:600}.financial-item-shell-content-body .financial-item-field-group-heading{align-items:end}.financial-item-shell-content-body .financial-item-field-group-heading .financial-item-derived-copy{color:#667085;font-size:.84rem}.financial-item-shell-content-body .numeric-entry-control{display:grid;gap:8px;align-items:start;width:auto;overflow:visible;border:0;border-radius:0;background:transparent}.financial-item-shell-content-body .numeric-entry-label{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;max-width:none;padding:0;color:#525252;font-size:.875rem;font-weight:600;background:transparent}.financial-item-shell-content-body .numeric-entry-label .info-hint{border-color:#1c243024;color:var(--muted);background:#fff}.financial-item-shell-content-body .numeric-entry-input-shell,.financial-item-shell-content-body .text-entry-input-shell,.house-asset-modal-body .modal-system-input-shell{min-width:0;background:transparent;border:0;border-radius:0;box-shadow:none}.financial-item-shell-content-body .modal-system-input-shell,.house-asset-modal-body .modal-system-input-shell{min-width:0;height:auto;min-height:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.financial-item-shell-content-body .modal-system-select-shell,.house-asset-modal-body .modal-system-select-shell{min-width:0;height:var(--modal-input-height);min-height:var(--modal-input-height);border:1px solid #d4d4d4;border-radius:10px;background:#fff;box-shadow:none;overflow:hidden}.financial-item-shell-content-body .modal-system-select-shell:focus-within,.house-asset-modal-body .modal-system-select-shell:focus-within{border-color:#172554;box-shadow:0 0 0 2px #17255424}.financial-item-shell-content-body .modal-system-input-shell:focus-within,.house-asset-modal-body .modal-system-input-shell:focus-within{border-color:transparent;box-shadow:none}.financial-item-shell-content-body .numeric-entry-input-shell input[type=number]:focus,.financial-item-shell-content-body .text-entry-input-shell input[type=text]:focus,.financial-item-shell-content-body .modal-system-input-shell input:focus,.house-asset-modal-body .modal-system-input-shell input:focus,.financial-item-shell-content-body .financial-item-field select:focus,.financial-item-shell-content-body .financial-item-toggle-row:focus-within,.financial-item-shell-content-body .financial-item-readonly-setting:focus-within,.financial-item-visibility-toggle-card:focus-within{border-color:#172554;outline:none;box-shadow:0 0 0 2px #17255424}.financial-item-shell-content-body .numeric-entry-input-shell input[type=number],.financial-item-shell-content-body .text-entry-input-shell input[type=text]{display:block;width:100%;height:var(--modal-input-height);min-height:var(--modal-input-height);padding:12px 16px;border:1px solid #d4d4d4!important;border-radius:10px;background:#fff;box-shadow:none!important;color:#171717;outline:none!important;appearance:none;-webkit-appearance:none;box-sizing:border-box;font-size:1rem;line-height:1.2}.financial-item-shell-content-body .modal-system-input-shell input,.house-asset-modal-body .modal-system-input-shell input{display:block;width:100%;height:var(--modal-input-height);min-height:var(--modal-input-height);padding:12px 16px;border:1px solid #d4d4d4;border-radius:10px;background:#fff;box-shadow:none;color:#171717;outline:none;appearance:none;-webkit-appearance:none;box-sizing:border-box;font-size:1rem;line-height:1.2}.financial-item-shell-content-body .text-entry-input-shell input[type=text]{caret-color:var(--ink)}.financial-item-shell-content-body .text-entry-input-shell input[type=text]::placeholder{color:#98a2b3}.financial-item-shell-content-body .numeric-entry-affix{color:#344054;font-weight:500}.financial-item-shell-content-body .financial-item-inline-input{gap:12px}.financial-item-shell-content-body .financial-item-inline-summary{color:#667085;font-size:.82rem;font-weight:600}.financial-item-shell-content-body .financial-item-field select,.financial-item-shell-content-body .financial-item-toggle-row,.financial-item-shell-content-body .financial-item-readonly-setting{border-radius:10px}.financial-item-shell-content-body .financial-item-field select{box-sizing:border-box;height:100%;min-height:0;padding:0 40px 0 16px;border:1px solid #d4d4d4;border-radius:10px;background:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%23171717' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px 16px;color:#171717;font-size:1rem;line-height:1.2;appearance:none;-webkit-appearance:none;outline:none}.financial-item-shell-content-body .modal-system-select-shell select,.house-asset-modal-body .modal-system-select-shell select{box-sizing:border-box;display:block;width:100%;height:100%;min-height:0;padding:0 40px 0 16px;border:0;border-radius:0;background:transparent;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%23171717' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px 16px;box-shadow:none;color:#171717;font-size:1rem;line-height:1.2;appearance:none;-webkit-appearance:none;outline:none}.financial-item-shell-content-body .modal-system-select-shell select:focus,.house-asset-modal-body .modal-system-select-shell select:focus{border-color:transparent;box-shadow:none}.financial-item-shell-content-body .financial-item-toggle-row{box-sizing:border-box;align-items:center;height:var(--modal-input-height);min-height:var(--modal-input-height);padding:12px 14px;border:1px solid #d4d4d4;border-radius:10px;background:#fff;color:#171717;font-size:.9rem;line-height:1.2}.financial-item-shell-content-body .financial-item-readonly-setting{box-sizing:border-box;align-items:center;height:48px;min-height:48px;padding:12px 16px;border:1px solid #d4d4d4;border-radius:10px;background:#fff}.financial-item-shell-content-body .financial-item-single-slider:before{background:#e4e7ec}.financial-item-shell-content-body .financial-item-single-slider:after{background:var(--navy-950)}.financial-item-shell-content-body .dual-age-slider-track{background:#e5e7eb}.financial-item-shell-content-body .dual-age-slider-active-range{background:#172554}.financial-item-shell-content-body .dual-age-slider input[type=range]::-webkit-slider-thumb,.financial-item-shell-content-body .dual-age-slider input[type=range]::-moz-range-thumb{width:16px;height:16px;border:2px solid #172554;background:#fff;box-shadow:0 1px 2px #0f172a1f}.financial-item-shell-content-body .dual-age-slider-value{top:auto;bottom:-19px;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#525252;font-size:.75rem;font-weight:500;white-space:nowrap;transform:translate(-50%)}.dual-age-slider-value-start.is-crowded{transform:translate(calc(-100% - 4px))}.dual-age-slider-value-end.is-crowded{transform:translate(4px)}.financial-item-shell-content-body .dual-age-slider-value.is-pinned-start{transform:translate(0)}.financial-item-shell-content-body .dual-age-slider-value.is-pinned-end{transform:translate(-100%)}.financial-item-active-age-field{grid-column:1 / -1}.financial-item-shell-content-body .financial-item-active-age-field{gap:8px}.financial-item-shell-content-body .financial-item-active-age-field>span{align-items:center;justify-content:space-between}.financial-item-shell-content-body .financial-item-active-age-field>span strong{color:#172554;font-size:.75rem;font-weight:500}.financial-item-field-span-2{grid-column:1 / -1}.financial-item-debt-payment-summary{grid-column:2;align-self:end;margin-top:0}.financial-item-debt-payment-summary-full{grid-column:1 / -1;align-self:stretch}.financial-item-name-visibility-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;align-items:end}.financial-item-visibility-toggle{display:grid;gap:8px;align-content:end;width:100%}.financial-item-visibility-toggle-label{color:#525252;font-size:.875rem;font-weight:600}.financial-item-visibility-toggle-card{display:inline-flex;align-items:center;gap:10px;box-sizing:border-box;width:100%;height:42px;min-height:42px;padding:9px 14px;border:1px solid #d4d4d4;border-radius:10px;background:#fff;line-height:1.2}.financial-item-visibility-toggle-card input{width:16px;height:16px;margin:0;accent-color:var(--navy-950)}.financial-item-visibility-toggle-card strong{color:#171717;font-size:.9rem;font-weight:500}.financial-item-slider-field{gap:10px}.financial-item-single-slider{position:relative;display:block;height:24px}.financial-item-single-slider:before,.financial-item-single-slider:after{position:absolute;top:50%;right:0;left:0;height:6px;border-radius:999px;content:"";transform:translateY(-50%)}.financial-item-single-slider:before{background:#1c24301f}.financial-item-single-slider:after{right:calc(100% - var(--slider-progress));background:var(--teal)}.financial-item-single-slider input[type=range]{position:absolute;inset:0;z-index:2;width:100%;height:24px;margin:0;appearance:none;background:transparent}.financial-item-single-slider input[type=range]::-webkit-slider-runnable-track{height:6px;background:transparent}.financial-item-single-slider input[type=range]::-webkit-slider-thumb{width:18px;height:18px;margin-top:-6px;border:3px solid #ffffff;border-radius:50%;appearance:none;background:var(--teal);box-shadow:0 4px 10px #1c243038;cursor:ew-resize}.financial-item-single-slider input[type=range]::-moz-range-track{height:6px;background:transparent}.financial-item-single-slider input[type=range]::-moz-range-thumb{width:18px;height:18px;border:3px solid #ffffff;border-radius:50%;background:var(--teal);box-shadow:0 4px 10px #1c243038;cursor:ew-resize}.financial-item-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:0}.financial-item-toggle-row input{width:18px;height:18px;accent-color:var(--navy-950)}.financial-item-derived-copy{grid-column:1 / -1;margin:0;font-size:.82rem}.financial-item-delete-confirm{display:grid;gap:8px;padding:12px;border:1px solid rgba(180,35,24,.22);border-radius:8px;background:#fff6f5}.financial-item-delete-confirm p{margin:0}.financial-item-confirm-backdrop{z-index:58}.financial-item-confirm-modal{position:relative;width:min(420px,calc(100vw - 32px));padding:24px}.financial-item-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:20px;border-top:0}.financial-item-delete-button{display:inline-flex;align-items:center;gap:6px}.house-asset-modal{display:flex;width:min(1024px,calc(100vw - 32px));height:min(680px,calc(100vh - 48px));padding:0;border:1px solid var(--slate-100);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 24px 60px #0f172a2e}.house-asset-modal-sidebar{display:grid;grid-template-rows:auto 1fr auto;width:256px;padding:24px;border-right:1px solid #e5e7eb;background:#fff}.house-asset-modal-identity{display:grid;gap:16px}.house-asset-modal-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:12px;background:#172554;color:#fff}.house-asset-modal-identity-copy{display:grid;gap:4px}.house-asset-modal-identity-copy h2,.house-asset-modal-header h3,.house-asset-modal-header p,.house-asset-section-header h4{margin:0}.house-asset-modal-identity-copy h2{color:#171717;font-size:1.25rem;font-weight:500}.house-asset-modal-identity-copy strong{color:#172554;font-size:1.875rem;font-weight:500}.house-asset-modal-nav{display:grid;align-content:start;gap:8px;margin-top:24px}.house-asset-modal-nav-button{width:100%;padding:10px 12px;border:0;border-radius:6px;background:transparent;color:#525252;font-size:.9rem;text-align:left}.house-asset-modal-nav-button:hover,.house-asset-modal-nav-button:focus-visible{background:#f5f5f5;outline:none}.house-asset-modal-nav-button.is-active{background:#172554;color:#fff}.house-asset-modal-actions{display:grid;gap:8px;margin-top:24px;padding-top:16px;border-top:1px solid #e5e7eb}.house-asset-modal-action{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#525252;font-size:.9rem;text-align:left}.house-asset-modal-action:hover,.house-asset-modal-action:focus-visible{background:#f5f5f5;outline:none}.house-asset-modal-action.is-danger{color:#dc2626}.house-asset-modal-action.is-danger:hover,.house-asset-modal-action.is-danger:focus-visible{background:#fef2f2}.house-asset-modal-action:disabled{opacity:.56}.house-asset-modal-content{position:relative;display:flex;flex-direction:column;flex:1 1 auto;min-width:0;padding:32px;overflow:hidden}.house-asset-modal-close{position:absolute;top:24px;right:24px;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#a3a3a3}.house-asset-modal-close:hover,.house-asset-modal-close:focus-visible{background:#f5f5f5;color:#172554;outline:none}.house-asset-modal-header{margin-bottom:32px}.house-asset-modal-header h3{color:#171717;font-size:1.125rem;font-weight:500}.house-asset-modal-header p{color:#737373;font-size:.875rem}.house-asset-modal-form{display:grid;align-content:start;gap:24px}.house-asset-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px}.house-asset-modal-form-narrow{max-width:560px}.house-asset-expense-block{display:grid;gap:24px;padding-top:24px;border-top:1px solid #e5e7eb}.house-asset-expense-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.house-asset-field-grid,.house-asset-primary-grid,.house-asset-mortgage-grid{display:grid;gap:24px}.house-asset-primary-grid,.house-asset-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.house-asset-mortgage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.house-asset-field{display:grid;gap:8px}.house-asset-field>span{color:#525252;font-size:.875rem}.house-asset-field input{width:100%;min-height:48px;padding:12px 16px;border:1px solid #d4d4d4;border-radius:10px;background:#fff;color:#171717}.house-asset-field input:focus{border-color:#172554;outline:none;box-shadow:0 0 0 2px #17255424}.house-asset-field input:disabled{background:#fafafa;color:#a3a3a3}.house-asset-visibility-toggle{display:grid;gap:8px;align-content:end;width:100%}.house-asset-visibility-toggle>span:first-child{color:#525252;font-size:.875rem}.house-asset-visibility-toggle-card{display:inline-flex;align-items:center;gap:10px;box-sizing:border-box;width:100%;height:48px;min-height:48px;padding:12px 14px;border:1px solid #d4d4d4;border-radius:10px;background:#fff;line-height:1.2}.house-asset-visibility-toggle-card input{width:16px;height:16px;margin:0;accent-color:#172554}.house-asset-visibility-toggle-card strong{color:#171717;font-size:.9rem;font-weight:500}.house-asset-expense-helper{color:#737373;font-size:.75rem;line-height:1.4}.house-asset-input-shell{position:relative}.house-asset-input-shell.is-subtle input{min-height:42px;background:#fafafa;border-color:#e5e7eb;border-radius:8px;padding:10px 14px}.house-asset-input-prefix,.house-asset-input-suffix{position:absolute;top:50%;color:#171717;transform:translateY(-50%);pointer-events:none}.house-asset-input-prefix{left:14px}.house-asset-input-suffix{right:14px}.house-asset-input-shell.is-with-prefix input{padding-left:28px}.house-asset-input-shell.is-with-suffix input{padding-right:48px}.house-asset-segmented-input{position:relative}.house-asset-segmented-input input{padding-left:94px}.house-asset-segmented-toggle{position:absolute;top:1px;bottom:1px;left:1px;z-index:1;display:inline-flex;align-items:center;overflow:hidden;border-right:1px solid #d4d4d4;border-radius:9px 0 0 9px;background:#fff}.house-asset-segmented-toggle button{min-width:36px;height:100%;padding:0 10px;border:0;background:#fff;color:#525252;font-size:.9rem;font-weight:500}.house-asset-segmented-toggle button+button{border-left:1px solid #d4d4d4}.house-asset-segmented-toggle button.is-active{background:#172554;color:#fff}.house-asset-segmented-toggle button:hover,.house-asset-segmented-toggle button:focus-visible{outline:none}.house-asset-mortgage{padding-top:24px;border-top:1px solid #e5e7eb}.house-asset-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.house-asset-section-header h4{color:#404040;font-size:.9rem;font-weight:500}.house-asset-slider{margin-bottom:20px}.house-asset-slider.is-disabled{opacity:.56}.house-asset-slider-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.house-asset-slider-header span{color:#737373;font-size:.75rem}.house-asset-slider-header strong{color:#172554;font-size:.75rem;font-weight:500}.house-asset-slider-track-wrap{padding:4px 8px 19px}.house-asset-slider-track{position:relative;height:6px;border-radius:999px;background:#e5e7eb}.house-asset-slider-active-range{position:absolute;top:0;height:6px;border-radius:999px;background:#172554}.house-asset-slider-handle{position:absolute;top:50%;width:16px;height:16px;border:2px solid #172554;border-radius:999px;background:#fff;box-shadow:0 1px 2px #0f172a1f;cursor:pointer;transform:translate(-50%,-50%);transition:transform .12s ease}.house-asset-slider-handle:hover{transform:translate(-50%,-50%) scale(1.08)}.house-asset-slider.is-disabled .house-asset-slider-handle{cursor:default}.house-asset-slider.is-disabled .house-asset-slider-handle:hover{transform:translate(-50%,-50%)}.house-asset-slider-value{position:absolute;left:50%;bottom:-20px;color:#525252;font-size:.75rem;white-space:nowrap;transform:translate(-50%)}.house-asset-payment{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding:16px;border-radius:12px;background:#eff6ff}.house-asset-payment span{color:#525252;font-size:.875rem}.house-asset-payment strong{color:#172554;font-size:1.5rem;font-weight:500}.house-asset-expense-summary{grid-column:2;align-self:stretch;margin-top:0}.house-asset-inline-toggle{display:inline-flex;align-items:center;gap:8px;color:#525252;font-size:.85rem}.house-asset-inline-toggle input{width:16px;height:16px;margin:0;accent-color:#172554}.house-asset-mortgage-fields.is-disabled{opacity:.56}.house-asset-toggle{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa}.house-asset-toggle strong{display:block;margin-bottom:4px;color:#171717;font-size:.95rem;font-weight:500}.house-asset-toggle span{color:#737373;font-size:.85rem;line-height:1.4}.house-asset-toggle input{width:18px;height:18px;margin-top:2px;accent-color:#172554}.house-asset-modal-footer{display:flex;justify-content:flex-end;flex:0 0 auto;margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb;background:#fff}.house-asset-save-button{min-height:48px;padding:12px 32px;border:0;border-radius:10px;background:#172554;box-shadow:0 10px 24px #17255438;color:#fff;font-weight:600}.house-asset-save-button:hover,.house-asset-save-button:focus-visible{background:#1e3a8a;outline:none}@media(max-width:640px){.house-asset-modal{flex-direction:column}.house-asset-modal-sidebar{width:100%;border-right:0;border-bottom:1px solid #e5e7eb}.house-asset-field-grid,.house-asset-primary-grid,.house-asset-mortgage-grid,.house-asset-expense-grid{grid-template-columns:1fr}.house-asset-expense-summary{grid-column:auto}.house-asset-modal-content{padding:24px 20px}.house-asset-modal-footer{justify-content:stretch}.house-asset-save-button{width:100%}.financial-item-modal-shell{flex-direction:column;width:min(100vw - 20px,1024px);height:auto;max-height:calc(100vh - 24px)}.financial-item-shell-sidebar{width:100%;grid-template-rows:auto auto auto;gap:18px;border-right:0;border-bottom:1px solid #e5e7eb}.financial-item-shell-nav{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.financial-item-shell-content{padding:24px 20px}.financial-item-field-grid,.financial-item-name-visibility-row{grid-template-columns:1fr}.financial-item-modal-actions{justify-content:stretch}.financial-item-save-button{width:100%}}.sidebar-flyout-panel{z-index:42;max-width:520px;overflow:hidden}.sidebar-flyout-panel .expandable-content{max-height:min(70vh,620px);overflow-y:auto;padding-top:4px;padding-right:4px}.sidebar-flyout-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--line)}.sidebar-flyout-header strong{color:var(--ink);font-size:1rem}.sidebar-flyout-close svg{transform:rotate(90deg)}.sidebar-flyout-content{position:relative}.sidebar-add-account-area{position:relative;padding-top:8px}.add-account-button{display:inline-flex;align-items:center;gap:8px;justify-self:flex-start}.nested-flyout-panel{position:fixed;z-index:44;width:min(320px,calc(100vw - 48px));padding:14px 16px;border:1px solid rgba(28,36,48,.1);border-radius:8px;background:var(--paper);box-shadow:0 18px 40px #1c24302e}.rename-account-panel{z-index:45;width:min(260px,calc(100vw - 32px));padding:12px 14px}.rename-account-content{display:grid;gap:10px}.rename-account-content strong{color:var(--ink);font-size:.9rem}.rename-account-content input{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.rename-account-actions{display:flex;justify-content:flex-end;gap:8px}.nested-flyout-panel:before{position:absolute;top:18px;left:-7px;width:14px;height:14px;border-left:1px solid rgba(28,36,48,.1);border-bottom:1px solid rgba(28,36,48,.1);background:var(--paper);transform:rotate(45deg);content:""}.nested-flyout-header{padding-bottom:10px;margin-bottom:10px}.nested-preset-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}input:not([type=checkbox]):not([type=radio]):not([type=range]),select{height:34px;min-height:34px;padding-top:6px;padding-bottom:6px;line-height:1.2}@media(max-width:1080px){.path-scroll{overflow:auto}.app-shell{grid-template-columns:1fr}.side-panel{width:auto;min-width:0;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));position:static;max-height:none}.account-section-grid,.account-inline-grid,.account-inline-grid-compact{grid-template-columns:1fr}}@media(max-width:760px){.app-shell{padding:14px 0}.site-nav{align-items:stretch;grid-template-columns:minmax(0,1fr);padding:12px 14px}.site-nav-actions,.site-nav-links{flex-wrap:wrap}.site-nav-actions{justify-content:space-between}.site-nav-links{flex-wrap:wrap}.finish-line{align-items:stretch;flex-direction:column}.summary-grid,.side-panel{grid-template-columns:1fr}h1{font-size:2.5rem}.net-worth-chart{height:170px}}:root{--modal-color-accent: #172554;--modal-color-accent-hover: #1e3a8a;--modal-color-danger: #dc2626;--modal-color-danger-soft: #fef2f2;--modal-color-ink: #171717;--modal-color-label: #525252;--modal-color-muted: #737373;--modal-color-border: #e5e7eb;--modal-color-border-strong: #d4d4d4;--modal-color-surface: #ffffff;--modal-color-surface-muted: #fafafa;--modal-color-hover: #f5f5f5;--modal-font-size-title: 1.25rem;--modal-font-size-section-title: 1.125rem;--modal-font-size-label: .875rem;--modal-font-size-helper: .75rem;--modal-font-size-nav: .9rem;--modal-input-height: 48px;--modal-input-height-subtle: 42px;--modal-button-height: 48px;--modal-space-sidebar: 28px;--modal-space-content: 32px;--modal-space-section: 24px;--modal-space-field: 8px;--modal-space-grid: 24px;--modal-radius-shell: 24px;--modal-radius-sidebar: 24px 0 0 24px;--modal-radius-field: 10px;--modal-radius-control: 8px;--modal-radius-button: 14px;--modal-border-subtle: 1px solid var(--modal-color-border);--modal-border-strong: 1px solid var(--modal-color-border-strong);--modal-shadow-shell: 0 24px 70px rgba(15, 23, 42, .2);--modal-focus-ring: 0 0 0 3px rgba(23, 37, 84, .14)}.modal-system-shell{display:flex;gap:0;width:min(1024px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 32px));overflow:hidden;padding:0;border-radius:var(--modal-radius-shell);background:var(--modal-color-surface);box-shadow:var(--modal-shadow-shell)}.modal-system-sidebar{display:grid;width:280px;flex:0 0 280px;grid-template-rows:auto 1fr auto;gap:var(--modal-space-section);padding:var(--modal-space-sidebar);border-right:var(--modal-border-subtle);background:var(--modal-color-surface-muted)}.modal-system-content{position:relative;display:flex;min-width:0;flex:1 1 auto;flex-direction:column;padding:var(--modal-space-content);overflow:hidden}.modal-system-field{display:grid;gap:var(--modal-space-field)}.modal-system-field-label{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;color:var(--modal-color-label);font-size:var(--modal-font-size-label);font-weight:500}.modal-system-input-shell{position:relative;display:flex;align-items:center;width:100%;height:var(--modal-input-height);min-height:var(--modal-input-height);border:var(--modal-border-strong);border-radius:var(--modal-radius-field);background:var(--modal-color-surface);box-sizing:border-box;overflow:hidden}.modal-system-select-shell{display:flex;align-items:center;width:100%;height:var(--modal-input-height);min-height:var(--modal-input-height);border:var(--modal-border-strong);border-radius:var(--modal-radius-field);background:var(--modal-color-surface);box-sizing:border-box;overflow:hidden}.modal-system-segmented-control{position:relative;display:flex;align-items:center;width:100%;height:var(--modal-input-height);min-height:var(--modal-input-height);border:var(--modal-border-strong);border-radius:var(--modal-radius-field);background:var(--modal-color-surface);box-sizing:border-box;overflow:hidden}.modal-system-checkbox-row{display:inline-flex;align-items:center;gap:10px}.modal-system-checkbox-row.is-field-aligned{align-self:end;min-height:var(--modal-input-height)}.modal-system-checkbox-row[data-checkbox-row-kind=descriptive]{display:flex;box-sizing:border-box;width:100%;height:var(--modal-input-height);min-height:var(--modal-input-height);padding:12px 14px;border:var(--modal-border);border-radius:var(--modal-radius-field);background:var(--modal-color-surface);line-height:1.2}.modal-system-checkbox-row[data-checkbox-row-kind=descriptive]:focus-within{border-color:var(--modal-color-accent);outline:none;box-shadow:0 0 0 2px #17255424}.modal-system-segmented-toggle{position:absolute;z-index:1;top:1px;bottom:1px;left:1px;display:inline-flex;overflow:hidden;border-right:var(--modal-border-strong);border-radius:var(--modal-radius-field) 0 0 var(--modal-radius-field)}.modal-system-segmented-toggle button{min-width:36px;height:100%;border:0;background:var(--modal-color-surface-muted);color:var(--modal-color-label);cursor:pointer;font-weight:700}.modal-system-segmented-toggle button+button{border-left:var(--modal-border-strong)}.modal-system-segmented-toggle button.is-active{background:var(--modal-color-accent);color:#fff}.modal-system-segmented-toggle button:disabled{cursor:not-allowed;opacity:.56}.modal-system-segmented-toggle button:focus-visible{outline:none;box-shadow:inset var(--modal-focus-ring)}.modal-system-checkbox-row input{width:18px;height:18px;accent-color:var(--modal-color-accent)}.modal-system-checkbox-row span{color:var(--modal-color-ink);font-size:.9rem}.modal-system-descriptive-checkbox-field{display:grid;gap:var(--modal-space-field)}.modal-system-checkbox-copy{display:grid;gap:4px}.modal-system-checkbox-copy strong{color:var(--modal-color-ink);font-size:.9rem}.modal-system-checkbox-copy span{color:var(--modal-color-muted);font-size:.85rem}.modal-system-active-age-slider{margin-bottom:20px}.modal-system-active-age-slider.is-disabled{opacity:.56}.modal-system-slider-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.modal-system-slider-header span{color:var(--modal-color-muted);font-size:var(--modal-font-size-helper)}.modal-system-slider-header strong{color:var(--modal-color-accent);font-size:var(--modal-font-size-helper)}.modal-system-slider-track-wrap{padding:2px 9px 15px}.modal-system-slider-track{position:relative;height:6px;border-radius:999px;background:var(--modal-color-border)}.modal-system-slider-active-range{position:absolute;top:0;height:6px;border-radius:999px;background:var(--modal-color-accent)}.modal-system-slider-range{position:absolute;top:50%;left:0;width:100%;height:6px;margin:0;padding:0;transform:translateY(-50%);pointer-events:none;appearance:none;background:transparent}.modal-system-slider-range::-webkit-slider-runnable-track{height:6px;background:transparent}.modal-system-slider-range::-webkit-slider-thumb{width:28px;height:28px;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;pointer-events:auto;appearance:none}.modal-system-slider-range::-moz-range-track{height:6px;background:transparent}.modal-system-slider-range::-moz-range-thumb{width:28px;height:28px;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;pointer-events:auto}.modal-system-slider-range:disabled::-webkit-slider-thumb,.modal-system-slider-range:disabled::-moz-range-thumb{cursor:default}.modal-system-slider-end{z-index:3}.modal-system-slider-start{z-index:4}.modal-system-slider-handle{position:absolute;top:50%;width:18px;height:18px;border:3px solid var(--modal-color-surface);border-radius:999px;background:var(--modal-color-accent);box-shadow:0 8px 20px #17255438;transform:translate(-50%,-50%);pointer-events:none}.modal-system-slider-handle.is-start{z-index:5}.modal-system-slider-handle.is-end{z-index:6}.modal-system-slider-handle.is-start.is-crowded{transform:translate(calc(-50% - 6px),-50%)}.modal-system-slider-handle.is-end.is-crowded{transform:translate(calc(-50% + 6px),-50%)}.modal-system-slider-value{position:absolute;top:13px;color:var(--modal-color-muted);font-size:var(--modal-font-size-helper);transform:translate(-50%)}.modal-system-slider-value[data-bound=min]{transform:translate(0)}.modal-system-slider-value[data-bound=max]{transform:translate(-100%)}.modal-system-slider-value.is-start.is-crowded{transform:translate(calc(-100% - 4px))}.modal-system-slider-value.is-end.is-crowded{transform:translate(4px)}.modal-system-button{min-height:var(--modal-button-height);border-radius:var(--modal-radius-button)}.modal-system-sidebar-identity{display:grid;gap:16px}.modal-system-sidebar-icon,.modal-system-section-icon{display:inline-grid;place-items:center;color:var(--modal-color-accent)}.modal-system-sidebar-copy{display:grid;gap:4px}.modal-system-sidebar-copy h2,.modal-system-header h3,.modal-system-header p{margin:0}.modal-system-sidebar-copy h2{color:var(--modal-color-ink);font-size:var(--modal-font-size-title)}.modal-system-sidebar-copy strong{color:var(--modal-color-accent);font-size:1.875rem}.modal-system-nav,.modal-system-sidebar-actions{display:grid;align-content:start;gap:8px}.modal-system-nav-button,.modal-system-sidebar-action{width:100%;min-height:40px;border:0;border-radius:var(--modal-radius-control);background:transparent;color:var(--modal-color-label);cursor:pointer;font-size:var(--modal-font-size-nav);text-align:left}.modal-system-nav-button{padding:10px 12px}.modal-system-sidebar-action{display:inline-flex;align-items:center;gap:8px;padding:10px 12px}.modal-system-nav-button:hover,.modal-system-nav-button:focus-visible,.modal-system-sidebar-action:hover,.modal-system-sidebar-action:focus-visible,.modal-system-close-button:hover,.modal-system-close-button:focus-visible{background:var(--modal-color-hover);outline:none}.modal-system-nav-button:focus-visible,.modal-system-sidebar-action:focus-visible,.modal-system-close-button:focus-visible,.modal-system-button:focus-visible{box-shadow:var(--modal-focus-ring)}.modal-system-nav-button.is-active{background:var(--modal-color-accent);color:#fff}.modal-system-sidebar-action.is-danger{color:var(--modal-color-danger)}.modal-system-sidebar-action.is-danger:hover,.modal-system-sidebar-action.is-danger:focus-visible{background:var(--modal-color-danger-soft)}.modal-system-sidebar-action:disabled{cursor:not-allowed;opacity:.56}.modal-system-close-button{position:absolute;top:24px;right:24px;display:inline-grid;width:40px;height:40px;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--modal-color-label);cursor:pointer}.modal-system-header{display:grid;gap:4px;margin-bottom:32px;padding-right:48px}.modal-system-title-row{display:inline-flex;align-items:center;gap:10px}.modal-system-header h3{color:var(--modal-color-ink);font-size:var(--modal-font-size-section-title)}.modal-system-header p,.modal-system-field-helper{color:var(--modal-color-muted);font-size:var(--modal-font-size-helper)}.modal-system-body{flex:1 1 auto;min-height:0;overflow:auto}.modal-system-footer{display:flex;justify-content:flex-end;margin-top:var(--modal-space-section);padding-top:var(--modal-space-section);border-top:var(--modal-border-subtle)}.modal-system-field-grid{display:grid;gap:var(--modal-space-grid)}.modal-system-field-grid[data-columns="1"]{grid-template-columns:minmax(0,1fr)}.modal-system-field-grid[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-system-field-grid[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.modal-system-field[data-span="2"]{grid-column:span 2}.modal-system-field[data-span="3"]{grid-column:span 3}.modal-system-field input,.modal-system-field select{display:block;width:100%;height:100%;min-height:var(--modal-input-height);color:var(--modal-color-ink);font:inherit;line-height:normal;box-sizing:border-box}.modal-system-field input{height:100%;min-height:0;padding:0 16px;border:0;border-radius:0;background:transparent;appearance:none;-webkit-appearance:none;outline:none}.modal-system-field input[type=number]{appearance:textfield;-webkit-appearance:textfield}.modal-system-field input[type=number]::-webkit-outer-spin-button,.modal-system-field input[type=number]::-webkit-inner-spin-button{margin:0}.modal-system-field .modal-system-segmented-control input{height:100%;padding-left:94px;padding-right:16px}.modal-system-field select{height:100%;min-height:0;padding:0 48px 0 16px;border:0;border-radius:0;background:transparent;appearance:none;-webkit-appearance:none}.modal-system-input-shell.is-subtle,.modal-system-segmented-control.is-subtle{height:var(--modal-input-height-subtle);min-height:var(--modal-input-height-subtle);background:var(--modal-color-surface-muted)}.modal-system-field input:focus,.modal-system-field select:focus,.modal-system-input-shell:focus-within,.modal-system-select-shell:focus-within,.modal-system-segmented-control:focus-within{border-color:var(--modal-color-accent);outline:none;box-shadow:var(--modal-focus-ring)}.modal-system-field input:disabled,.modal-system-field select:disabled{background:var(--modal-color-surface-muted);color:#a3a3a3}.modal-system-input-shell:has(input:disabled){background:var(--modal-color-surface-muted)}.modal-system-select-shell:has(select:disabled){background:var(--modal-color-surface-muted)}.modal-system-segmented-control:has(input:disabled){background:var(--modal-color-surface-muted)}.modal-system-input-prefix,.modal-system-input-suffix{position:absolute;top:50%;color:var(--modal-color-muted);font-size:.875rem;transform:translateY(-50%);pointer-events:none}.modal-system-input-prefix{left:14px}.modal-system-input-suffix{right:14px}.modal-system-input-shell.is-with-prefix input{padding-left:28px}.modal-system-input-shell.is-with-suffix input{padding-right:48px}.modal-system-button{display:inline-flex;align-items:center;justify-content:center;border:0;padding:12px 32px;cursor:pointer;font-weight:700}.modal-system-button.is-primary{background:var(--modal-color-accent);color:#fff}.modal-system-button.is-primary:hover,.modal-system-button.is-primary:focus-visible{background:var(--modal-color-accent-hover);outline:none}.modal-system-button.is-secondary,.modal-system-button.is-ghost{background:var(--modal-color-hover);color:var(--modal-color-ink)}.modal-system-button.is-danger{background:var(--modal-color-danger);color:#fff}.modal-system-button:disabled{cursor:not-allowed;opacity:.56}@media(max-width:640px){.modal-system-shell{width:min(calc(100vw - 20px),1024px);flex-direction:column}.modal-system-sidebar{width:100%;flex-basis:auto;grid-template-rows:auto auto auto;border-right:0;border-bottom:var(--modal-border-subtle)}.modal-system-nav{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.modal-system-content{padding:24px 20px}.modal-system-field-grid,.modal-system-field-grid[data-columns="2"],.modal-system-field-grid[data-columns="3"]{grid-template-columns:1fr}.modal-system-field[data-span="2"],.modal-system-field[data-span="3"]{grid-column:auto}.modal-system-footer{justify-content:stretch}.modal-system-footer .modal-system-button{width:100%}}.budget-sankey-ribbon.is-generated{stroke:#276ef12e;stroke-width:1.3}.budget-sankey-node.is-generated rect{stroke:#276ef185;stroke-width:1.4}.budget-sankey-node.is-deficit rect{stroke:#b91c1cdb;stroke-width:2}.budget-sankey-node.is-one-time rect{stroke-dasharray:3 3}.budget-sankey-node.is-zero-flow rect{opacity:.42;stroke-dasharray:4 3}.budget-sankey-label.is-zero-flow{opacity:.62}.budget-sankey-label.is-deficit .budget-sankey-label-name{fill:#991b1b;font-size:13px;font-weight:850}.budget-sankey-label.is-deficit .budget-sankey-label-value{fill:#7f1d1d;font-size:16px;font-weight:900}.budget-node-action.is-source-action{border-color:#276ef12e;color:var(--blue)}.budget-node-action.is-disabled,.budget-node-action:disabled{color:var(--muted);cursor:default;opacity:.72}.budget-generated-node-marker{position:absolute;z-index:2;display:grid;place-items:center;width:20px;height:20px;border:1px solid rgba(39,110,241,.32);border-radius:999px;background:#fffdf8f0;color:var(--blue);box-shadow:0 6px 16px #1c24301f;pointer-events:none;transform:translate(-50%,-50%)}.budget-generated-node-marker.is-deficit{border-color:#b91c1c6b;background:#fff5f5f5;color:#b91c1c}.budget-one-time-dot{position:absolute;right:-2px;bottom:-2px;width:7px;height:7px;border:1px solid #fffdf8;border-radius:999px;background:var(--blue)}.budget-generated-node-details{display:grid;gap:6px;padding:10px 12px;border:1px solid rgba(39,110,241,.12);border-radius:8px;background:#276ef10d;overflow-wrap:anywhere}.budget-generated-node-details strong{color:var(--ink);font-size:.86rem;line-height:1.25}.budget-generated-node-details span,.budget-generated-node-details small,.budget-generated-node-details em{color:var(--muted);font-size:.78rem;font-style:normal;line-height:1.35}.budget-generated-node-details em{color:var(--blue);font-weight:700}.budget-generated-node-facts{display:grid;gap:4px;margin:0}.budget-generated-node-facts div,.budget-generated-node-provenance-row{display:grid;gap:2px}.budget-generated-node-facts dt{margin:0;color:var(--muted);font-size:.68rem;font-weight:800;line-height:1.2;text-transform:uppercase}.budget-generated-node-facts dd{margin:0;color:var(--ink);font-size:.82rem;font-weight:900;line-height:1.2}.budget-generated-node-provenance{display:grid;gap:7px;padding-top:4px;border-top:1px solid rgba(39,110,241,.12)}.budget-generated-node-provenance-row b{color:var(--ink);font-size:.76rem;font-weight:850;line-height:1.25}.collection-card.is-source-focused{border-color:#276ef16b;box-shadow:0 0 0 2px #276ef12e,0 14px 30px #1c24301a;outline:none}.budget-year-guide{bottom:74px}.budget-one-time-payments{position:absolute;left:32px;bottom:176px;z-index:3;display:grid;gap:8px;width:min(270px,calc(100% - 64px));max-height:148px;padding:10px;border:1px solid rgba(185,28,28,.14);border-radius:8px;background:#fffdf8f5;box-shadow:0 12px 28px #1c24301a}.budget-one-time-payments strong{color:var(--ink);font-size:.76rem;font-weight:900;line-height:1.1}.budget-one-time-payment-list{display:grid;gap:5px;overflow:auto}.budget-one-time-payment{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:28px;padding:5px 7px;border:1px solid rgba(28,36,48,.08);border-radius:6px;background:#fff;color:var(--ink);text-align:left}.budget-one-time-payment span{overflow:hidden;font-size:.74rem;font-weight:750;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.budget-one-time-payment b{color:#b42318;font-size:.74rem;font-weight:900;white-space:nowrap}button.budget-one-time-payment:hover,button.budget-one-time-payment:focus-visible{border-color:#b91c1c3d;box-shadow:0 0 0 2px #b91c1c14;outline:none}.budget-life-timeline{position:absolute;right:0;bottom:0;left:0;z-index:2;height:170px;pointer-events:auto}.budget-life-timeline[data-disabled=true]{pointer-events:none;opacity:.62}.budget-life-timeline .timeline-scene{transform:translateY(-404px)}
