:root{color-scheme:light;--page:#f1f5fc;--surface:#fff;--text:#172b49;--muted:#536580;--heading:#122846;--accent:#2563eb;--subtle:#e9eff9;--selected:#e0f7fc;--focus:#0891b2;--border:#d7e1ef;--notice:#e7faff;--notice-border:#59bdd5;--notice-text:#07566b;--positive:#087b59;--negative:#bd304b;--chart-wealth:#087fa5;--chart-cash:#0891b2;--chart-investments:#3971ed;--chart-pension:#8b5cf6;--chart-other:#0d9488;--chart-outgoings:#bd304b}:root[data-theme=dark]{color-scheme:dark;--page:#080f1e;--surface:#111e33;--text:#edf3ff;--muted:#a9b8cf;--heading:#f2f6ff;--accent:#3978ff;--subtle:#1a2a43;--selected:#123a4b;--focus:#22d3ee;--border:#293c59;--notice:#102f40;--notice-border:#278ba8;--notice-text:#83e7f7;--positive:#4cdeac;--negative:#ff8195;--chart-wealth:#39d4ed;--chart-cash:#32c6df;--chart-investments:#638eff;--chart-pension:#ae91ff;--chart-other:#2dd4bf;--chart-outgoings:#ff8195}:root{font-family:Inter,Segoe UI,sans-serif;color:var(--text);background:var(--page);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:0;border-radius:6px;padding:11px 16px;background:var(--accent);color:#fff;cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:hover{filter:brightness(.94)}button.secondary{background:var(--subtle);color:var(--text);margin:4px}input,select{border:1px solid var(--border);border-radius:5px;padding:10px;background:var(--surface);color:var(--text);max-width:100%}label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted);margin:12px 0}input:focus,select:focus,button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app{display:flex;min-height:100vh}aside{width:238px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:40px 22px;display:flex;flex-direction:column;gap:48px}.brand{font-family:Inter,Segoe UI,sans-serif;font-size:36px;color:var(--heading)}.brand span{display:block;font:10px Segoe UI,sans-serif;letter-spacing:2px;margin-top:10px}nav{display:flex;flex-direction:column;gap:7px}nav button{text-align:left;background:transparent;color:var(--muted);padding:13px 10px}nav button.active{background:var(--selected);color:var(--heading);font-weight:600}.later{font-size:10px;letter-spacing:1px;color:var(--muted)}.later p{font-size:12px;letter-spacing:0;color:var(--muted)}aside>small{margin-top:auto;color:var(--muted);line-height:1.8}main{padding:30px 44px;width:100%;min-width:0;max-width:1600px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding-bottom:24px;font-size:13px;color:var(--muted)}header>div{display:flex;gap:8px;align-items:center}.title{display:flex;align-items:center;justify-content:space-between;margin:38px 0 24px}h1{font-family:Inter,Segoe UI,sans-serif;font-weight:400;font-size:40px;letter-spacing:-1px;margin:8px 0 15px}h2{font-size:17px;font-weight:600;margin-top:0}h3{font-family:Inter,Segoe UI,sans-serif;font-size:26px;font-weight:400}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.metrics strong{font-family:Inter,Segoe UI,sans-serif;font-weight:400;font-size:34px;display:block;margin:24px 0 16px}.metrics p{font-size:13px;color:var(--muted)}small{display:block;font-size:11px;color:var(--muted);margin-top:5px}section{background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:26px;margin-bottom:22px;box-shadow:0 3px 8px var(--shadow-subtle)}section p{font-size:13px;line-height:1.8;color:var(--muted)}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.empty{text-align:center;padding:30px 10px}.allocation{display:flex;align-items:center;justify-content:space-between;width:100%;background:transparent;color:var(--text);border-bottom:1px solid var(--border);border-radius:0;padding:15px 0;text-align:left;font-size:13px}.fields{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:0 18px;align-items:end}.fields button{align-self:end;margin-bottom:12px}.table{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{color:var(--muted);font-weight:400;font-size:11px}td,th{border-bottom:1px solid var(--border);padding:17px 8px}.notice{background:var(--notice);border:1px solid var(--notice-border);border-radius:6px;padding:12px;font-size:13px;color:var(--notice-text)}.setup{max-width:700px;margin:8vh auto;background:var(--surface);padding:50px;border-radius:10px}.setup p,.setup li{line-height:1.8;color:var(--muted)}.setup form{max-width:360px}.rate{font-size:11px!important}footer{font-size:10px;letter-spacing:1px;color:var(--muted);margin:28px 0}section img{max-width:220px}@media(max-width:1000px){aside{width:190px}main{padding:24px}.metrics,.grid{grid-template-columns:1fr}.fields{grid-template-columns:1fr 1fr}header{align-items:flex-start;gap:10px;flex-direction:column}}@media(max-width:650px){.app{display:block}aside{width:100%;padding:18px;gap:16px}nav{flex-direction:row;flex-wrap:wrap}.brand{font-size:24px}.later,aside>small{display:none}.fields{grid-template-columns:1fr}header>div{flex-wrap:wrap}h1{font-size:32px}.setup{margin:12px;padding:24px}}.chart{display:flex;align-items:flex-end;gap:8px;height:160px;border-bottom:1px solid var(--border);padding:12px}.chart-column{background:var(--chart-wealth);min-width:12px;max-width:40px;flex:1;padding:0;border-radius:3px 3px 0 0}.demo-banner{border:2px solid var(--notice-border);background:var(--notice)}.demo-banner h2,.demo-banner p{color:var(--notice-text)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.staging-banner{margin:0;border:3px solid var(--notice-border);border-radius:0;background:var(--notice);color:var(--notice-text);text-align:center;padding:14px}.staging-banner h2{color:var(--notice-text);margin:0 0 6px}.staging-banner p{margin:0}.source-card{border-top:1px solid var(--border);padding:12px 0 22px}.source-card h3{font-size:23px}.source-card li{font-size:13px;line-height:1.8;color:var(--muted)}details{margin:12px 0}summary{cursor:pointer;line-height:1.6}.document-text{white-space:pre-wrap;max-height:300px;overflow:auto;overflow-wrap:anywhere}fieldset{min-inline-size:0;max-width:100%;margin:16px 0;padding:16px;border:1px solid var(--border);border-radius:6px}legend{font-size:14px;font-weight:600;padding:0 6px}.document-movements table{min-width:950px}.document-movements td{vertical-align:top}.document-movements td:nth-child(2){min-width:220px;max-width:280px;overflow-wrap:anywhere}.document-movements td:nth-child(4){min-width:200px}.document-movements td:nth-child(5){min-width:130px}.risk-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.risk-profiles article{min-width:0}@media(max-width:1000px){.risk-profiles{grid-template-columns:1fr}}.advisor-analysis{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}button.brand{background:transparent;padding:0;text-align:left;filter:none;line-height:1.1}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:48px;margin-left:auto!important}.notification-count{position:absolute;top:-5px;right:-4px;min-width:20px;padding:2px 4px;border-radius:12px;background:var(--focus);color:var(--on-focus);font-size:11px;font-weight:700;line-height:16px;text-align:center}.overview-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px}.smooth-trend{min-width:0}.smooth-trend svg{width:100%;height:auto;display:block;overflow:visible}.smooth-trend text{font:12px Segoe UI,sans-serif;fill:var(--muted)}.trend-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;margin-bottom:16px}.trend-legend span{display:flex;align-items:center;gap:6px}.trend-legend i{width:16px;height:4px;border-radius:4px}.trend-point{cursor:pointer}.trend-point:focus-visible{stroke:var(--focus);stroke-width:2;outline:none}.couple-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;font-size:14px}.couple-totals strong{display:block;font:600 26px Inter,Segoe UI,sans-serif;margin:12px 0}.joint-allocation{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);font-size:14px}.joint-allocation b{flex:1 1 200px}.overview-available{font:600 32px Inter,Segoe UI,sans-serif}.overview-month{max-width:340px}.lifestyle-verdict{border-left:4px solid var(--border);background:var(--subtle);padding:14px 18px;margin:20px 0}.lifestyle-verdict h3{font-family:inherit;font-size:18px;margin:0}.verdict-positive,.verdict-attention{border-color:var(--focus)}.cashflow-metrics section{box-shadow:none}.cashflow-metrics strong{font-size:27px}@media(max-width:1050px){.overview-charts{grid-template-columns:minmax(0,1fr)}}@media(max-width:650px){.couple-totals{grid-template-columns:1fr;gap:6px}.couple-totals strong{margin:6px 0 14px}.joint-allocation{flex-direction:column}.joint-allocation b{flex:auto}}.skip-link{position:absolute;top:8px;left:8px;transform:translateY(-200%);z-index:30;background:var(--accent);color:var(--surface);padding:12px 16px;border-radius:6px;text-decoration:none}.skip-link:focus{transform:none}a:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}#page-title{scroll-margin-top:110px}#page-title:focus{outline:none}#page-title:focus-visible{outline:2px solid var(--focus);outline-offset:5px;border-radius:6px}.app-sidebar{position:sticky;top:0;height:100dvh;overflow-y:auto;gap:28px}.app-sidebar nav button{min-height:44px;width:100%}.app-sidebar nav details{margin:8px 0}.app-sidebar nav details button{display:block}.app-sidebar nav summary{font-size:13px;color:var(--muted);padding:12px 10px}.menu-toggle{display:none}.page-introduction{font-size:15px;line-height:1.7;color:var(--muted);max-width:850px;margin:0 0 24px}button+.page-introduction{margin-top:20px}section>button+p,section>button+small{margin-top:16px}main>button+section{margin-top:20px}.workspace-panel{background:var(--surface);border:1px solid var(--border);border-radius:9px;margin:0 0 20px;padding:0 20px}.workspace-panel>summary{font-weight:600;color:var(--accent);padding:20px 0;min-height:56px}.workspace-panel>section{border:0;box-shadow:none;padding:20px 0;margin-bottom:12px}.workspace-panel>details{margin:16px 0}.section-explanation{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 20px}.investment-step{border-top:1px solid var(--border);padding:8px 0;margin:0!important}.investment-step>summary{font-weight:600;padding:12px 0;color:var(--accent)}.investment-step>section{border:0;box-shadow:none;padding:12px 0;margin:0}.investment-step>.section-explanation{margin:8px 0 16px}.spending-ranking{list-style:decimal;padding-left:26px;display:grid;gap:18px}.spending-ranking li{padding-left:6px}.spending-ranking li>div:first-child{display:flex;justify-content:space-between;gap:16px;align-items:baseline;font-size:14px}.spending-ranking strong{white-space:nowrap}.ranking-track{height:14px;border-radius:4px;background:var(--subtle);margin-top:8px;overflow:hidden}.ranking-track span{display:block;height:100%;background:var(--chart-wealth);border-radius:4px}.document-help{border-left:3px solid var(--border);padding:0 14px}.document-help h3{font-size:20px}.distribution-layout{display:grid;grid-template-columns:minmax(170px,220px) minmax(0,1fr);gap:20px;align-items:center}.distribution-layout>svg{max-width:100%;height:auto;justify-self:center}.distribution-legend{min-width:0}.distribution-legend .allocation{gap:12px}.distribution-legend .allocation[aria-pressed=true]{background:var(--selected)}.distribution-legend b{text-align:right}.distribution-legend small{margin-left:18px}.allocation-detail{border-top:1px solid var(--border);margin-top:18px}.allocation-detail h3{font-size:23px}.allocation{gap:12px}.allocation span{min-width:0;overflow-wrap:anywhere}.allocation b{flex-shrink:0}.distribution-layout circle[role=button]{cursor:pointer}.distribution-layout circle[role=button]:focus{outline:none}.distribution-layout circle[role=button]:focus-visible{outline:none;filter:brightness(1.25) drop-shadow(0 0 3px var(--chart-wealth))}.result-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.result-cards article{border:1px solid var(--border);border-radius:8px;padding:18px}.result-cards h3{font-family:inherit;font-size:17px;line-height:1.5;margin:0}.result-cards strong{font-family:Inter,Segoe UI,sans-serif;font-size:28px}textarea{font:inherit;max-width:100%;width:100%;padding:12px;border:1px solid var(--border);border-radius:5px;min-height:100px;color:var(--text)}.category-movements{padding:0 8px 12px;min-width:0}.category-movement-list{list-style:none;padding:0;display:grid;gap:0}.category-movement-list li{padding:12px 0;border-bottom:1px solid var(--border)}.category-movement-list li>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.category-movement-list strong{white-space:normal;overflow-wrap:anywhere;min-width:0;flex:1 1 180px}.category-movement-list b{white-space:nowrap}.spending-ranking details>summary{padding:12px 0;color:var(--accent);cursor:pointer}th{color:var(--muted);font-weight:600;font-size:12px}small{color:var(--muted);font-size:12px}section,fieldset,.workspace-panel,.source-card{min-width:0;overflow-wrap:anywhere}summary{min-height:44px}button,input,select{min-height:44px}input[type=checkbox]{min-height:20px;width:20px;height:20px;flex-shrink:0}.table{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.mobile-table-help{display:none}@media(max-width:800px){.distribution-layout,.result-cards{grid-template-columns:1fr}.distribution-layout>svg{width:200px}}@media(max-width:900px){.app{display:block}.app-sidebar{width:100%;height:auto;position:sticky;z-index:20;overflow:visible;padding:14px 16px;gap:0;border-bottom:1px solid var(--border);box-shadow:0 3px 10px var(--shadow-subtle)}.app-sidebar .brand{font-size:28px}.app-sidebar .brand span{font-size:9px;letter-spacing:1.5px;margin-top:5px}.menu-toggle{display:block;margin:0!important}.app-sidebar nav{display:none;flex-direction:column;flex-wrap:nowrap;max-height:70vh;max-height:calc(100dvh - 110px);overflow-y:auto;margin-top:14px;gap:2px}.app-sidebar.is-open nav{display:flex}.app-sidebar nav button{font-size:15px}.app-sidebar nav details{flex-shrink:0}.app-sidebar nav summary{font-size:15px}main{padding:20px 14px}.title{margin:24px 0 18px;flex-wrap:wrap;gap:8px}.title h1{font-size:32px;overflow-wrap:anywhere;margin-bottom:8px}header>div{display:flex;flex-wrap:wrap;width:100%;gap:8px}header select{flex:1;min-width:85px}header button{margin:0!important}section{padding:18px 16px;margin-bottom:16px}section p,.section-explanation{font-size:14px;line-height:1.7}.page-introduction{font-size:15px;margin:0 0 18px}.fields{grid-template-columns:minmax(0,1fr);gap:0}label{font-size:14px}.fields input,.fields select,fieldset input,fieldset select{width:100%}input[type=checkbox]{width:20px}input,select,textarea{font-size:16px}button{font-size:15px;touch-action:manipulation}fieldset{padding:12px;margin:14px 0}.workspace-panel{padding:0 14px;margin-bottom:16px}.workspace-panel>summary{padding:16px 0;line-height:1.6}.workspace-panel>section{padding:16px 0}.table table{min-width:550px}.table td,.table th{padding:14px 8px}.table th{font-size:12px}.mobile-table-help{display:block;font-size:12px;color:var(--muted);line-height:1.6}.allocation{font-size:14px;align-items:flex-start}.allocation b{font-size:13px;max-width:45%;overflow-wrap:anywhere}.distribution-legend .allocation b{max-width:50%}.metrics strong{font-size:32px;margin:16px 0 12px}.metrics,.grid{gap:0}.demo-banner button{margin:4px 4px 4px 0}.setup{width:auto}footer{font-size:11px;line-height:1.7}}:root[data-theme=dark] .smooth-trend text{fill:var(--muted)}:root[data-theme=dark] .demo-banner,:root[data-theme=dark] .staging-banner{background:var(--notice);color:var(--notice-text)}:root[data-theme=dark] .demo-banner h2,:root[data-theme=dark] .demo-banner p,:root[data-theme=dark] .staging-banner h2{color:var(--notice-text)}textarea{background:var(--surface)}header>div{margin-left:auto}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:48px}.notification-bell{margin-left:0!important}.notification-dialog{border:1px solid var(--border);border-radius:12px;padding:0;background:var(--surface);color:var(--text);width:min(620px,calc(100vw - 24px));max-height:85dvh;overflow:auto;box-shadow:0 20px 80px #0006}.notification-dialog::backdrop{background:#0008}.notification-panel{padding:22px}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:var(--surface);z-index:1}.notification-heading h2{margin:0}.notification-heading button{font-size:26px;line-height:1}.notification-list{list-style:none;padding:0;margin:18px 0 0}.notification-list li{border-top:1px solid var(--border);padding:18px 0}.notification-list h3{font:600 16px/1.5 Inter,Segoe UI,sans-serif;margin:0 0 8px}.notification-list p,.notification-panel>p{font-size:14px;line-height:1.7;color:var(--muted)}.notification-list .is-read h3{font-weight:400}.notification-list small{margin:10px 4px}.notification-dialog button:disabled{cursor:default}.overview-targets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.editable-card{position:relative}.editable-card h2{padding-right:45px;line-height:1.5}.card-pencil{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;justify-content:center;padding:10px;opacity:0;pointer-events:none;transition:opacity .15s ease}.editable-card:hover>.card-pencil,.editable-card:focus-within>.card-pencil,.card-pencil:focus-visible{opacity:1;pointer-events:auto}.target-progress{height:16px;background:var(--subtle);border-radius:20px;overflow:hidden;margin:10px 0}.target-progress>span{display:block;height:100%;background:var(--accent);border-radius:inherit;transition:width .2s ease}.target-scale{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-top:20px;color:var(--muted)}.account-choice{flex-direction:row;align-items:center;line-height:1.6}.target-message{grid-column:1/-1}.overview-dashboard section{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.overview-dashboard section:hover,.overview-dashboard section:focus-within{background:var(--selected);border-color:var(--focus);box-shadow:0 3px 16px var(--glow-soft)}.editable-card fieldset{background:var(--surface)}@media(hover:none),(pointer:coarse){.card-pencil{opacity:1;pointer-events:auto}}@media(max-width:900px){.overview-targets{grid-template-columns:minmax(0,1fr);gap:0}}@media(prefers-reduced-motion:reduce){.overview-dashboard section,.card-pencil,.target-progress>span{transition:none}}.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-card{min-width:0}.project-card h2{overflow-wrap:anywhere}.project-card>button{margin:8px 6px 0 0}.project-card li{font-size:13px;line-height:1.8}.project-card:hover{background:var(--selected);border-color:var(--focus)}@media(max-width:1000px){.projects-grid{grid-template-columns:minmax(0,1fr);gap:0}}.wealth-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wealth-category-card{background:var(--surface);color:var(--text);border:1px solid var(--border);padding:22px;text-align:left;display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;border-radius:9px;filter:none!important;transition:background-color .18s,border-color .18s,box-shadow .18s}.wealth-category-card:hover,.wealth-category-card:focus-visible{background:var(--selected);border-color:var(--focus);box-shadow:0 3px 16px var(--glow-soft)}.wealth-category-heading{display:flex;justify-content:space-between;gap:12px;font-weight:600;font-size:17px}.wealth-category-card>strong{font:600 28px Inter,Segoe UI,sans-serif;margin:8px 0}.wealth-category-card>span:not(.wealth-category-heading){font-size:13px}.wealth-category-card p{font-size:13px;line-height:1.7;margin:0;color:var(--muted)}.wealth-category-card small{overflow-wrap:anywhere}.wealth-category-action{margin-top:auto;padding-top:12px;color:var(--heading)}@media(max-width:1100px){.wealth-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.wealth-category-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.wealth-category-card{transition:none}}.free-money-breakdown{margin:20px 0}.free-money-breakdown>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border);padding:12px 0;font-size:14px}.free-money-breakdown dt{min-width:0}.free-money-breakdown dd{margin:0;text-align:right;white-space:nowrap}.free-money-card li{font-size:13px;line-height:1.8}@media(max-width:500px){.free-money-breakdown>div{flex-wrap:wrap;gap:6px}.free-money-breakdown dd{margin-left:auto}}:root{--debt-text:#a3342d;--debt-border:#db9e96;--debt-surface:#fff7f5}:root[data-theme=dark]{--debt-text:#ffb3a9;--debt-border:#985d54;--debt-surface:#302321}.wealth-category-card.debt-category{border-color:var(--debt-border)}.wealth-category-card.debt-category strong,.debt-category .wealth-category-heading{color:var(--debt-text)}.wealth-category-card.debt-category:hover,.wealth-category-card.debt-category:focus-visible{background:var(--selected);border-color:var(--focus)}.debt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.debt-card{border-color:var(--debt-border);background:var(--debt-surface)}.debt-amount{display:block;font:600 34px Inter,Segoe UI,sans-serif;color:var(--debt-text);margin:16px 0}.debt-facts{margin:22px 0}.debt-facts>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--debt-border);font-size:14px}.debt-facts dd{margin:0;text-align:right}.debt-card li{font-size:13px;line-height:1.8}.debt-editor{max-width:780px}.debt-editor>form>fieldset{border:0;padding:0;margin:0}.debt-editor label{font-size:15px}.debt-editor .debt-step{color:var(--debt-text);font-size:12px}.debt-editor form>fieldset>label{max-width:520px}.debt-editor form>fieldset>button,.debt-editor form>fieldset>div>button{margin-top:16px}.debt-card .target-progress{background:var(--border)}@media(max-width:1000px){.debt-grid{grid-template-columns:minmax(0,1fr);gap:0}}@media(max-width:500px){.debt-facts>div{flex-wrap:wrap;gap:6px}.debt-facts dd{margin-left:auto}}.guided-editor form,.debt-editor form{max-width:640px}.guided-editor fieldset,.debt-editor fieldset,.editable-card fieldset,.project-card fieldset{min-width:0}.form-step{font-weight:600;color:var(--heading)}.form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px;align-items:center}.form-actions .secondary{margin:0}.review-summary{display:grid;grid-template-columns:auto 1fr;gap:12px}.review-summary dd{margin:0;overflow-wrap:anywhere}.guided-editor label,.debt-editor label{font-size:14px}.guided-editor details,.debt-editor details{padding:12px 0;border-top:1px solid var(--border)}.entry-currency .notice{max-width:640px}.movement-question{grid-column:1/-1;max-width:640px}.fields:has(.movement-question)>p{grid-column:1/-1}.fields:has(.movement-question)>label{grid-column:1/-1}.fields:has(.movement-question)>div:last-child{grid-column:1/-1}@media(max-width:650px){.form-actions button{flex:1;min-height:44px}.review-summary{grid-template-columns:1fr;gap:5px}.review-summary dd{margin-bottom:12px}}.guided-form{max-width:680px}.guided-form fieldset{min-width:0}.guided-form [data-form-step][hidden]{display:none!important}.guided-form label{font-size:14px}.guided-form details{margin:20px 0;padding-top:12px;border-top:1px solid var(--border)}.task-choices{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 24px}.task-choices button[aria-pressed=true]{background:var(--selected);outline:2px solid var(--focus);outline-offset:1px}@media(max-width:650px){.task-choices{flex-direction:column}.task-choices button{min-height:44px;text-align:left}}:root{font-variant-numeric:tabular-nums}body{background:var(--page)}h1{font-weight:650;letter-spacing:-.045em;line-height:1.14}h2{line-height:1.45}h3{font-weight:600;letter-spacing:-.025em}.brand{font-weight:750;letter-spacing:-.07em}.brand span{letter-spacing:.19em;font-weight:500}.app-sidebar{background:var(--surface)}.app-sidebar nav button{border:1px solid transparent;border-radius:9px}.app-sidebar nav button.active{border-color:var(--focus);box-shadow:inset 3px 0 0 var(--accent)}.app-sidebar nav button:hover{background:var(--subtle)}header{gap:16px}header select{min-height:44px;border-radius:9px}button{font-weight:550;border-radius:9px}button.secondary{border:1px solid var(--border)}input,select,textarea{border-radius:8px}small{font-size:12px;line-height:1.65}section{border-radius:14px;box-shadow:0 6px 24px var(--shadow-subtle)}.overview-dashboard>*,.overview-targets>*{min-width:0}.overview-metrics{gap:20px;margin-bottom:4px}.overview-metrics>section{padding:26px;position:relative;overflow:hidden}.overview-metrics>section>p{margin:0;color:var(--muted);font-size:14px;font-weight:550}.overview-metrics strong{font-size:clamp(27px,2.7vw,44px);font-weight:650;letter-spacing:-.055em;line-height:1.2;margin:24px 0 18px;color:var(--heading);overflow-wrap:anywhere}.overview-metrics .metric-primary{background:linear-gradient(135deg,var(--surface),var(--selected));border-color:var(--focus);box-shadow:0 8px 32px var(--glow-soft)}.overview-metrics .metric-primary:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--accent),var(--chart-wealth))}.overview-metrics .metric-positive>strong{color:var(--positive)}.overview-metrics .metric-negative>strong{color:var(--negative)}.overview-charts{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:20px}.overview-charts>section{min-width:0;padding:28px}.overview-charts .smooth-trend{margin-top:30px}.overview-charts .distribution-layout{grid-template-columns:minmax(140px,190px) minmax(0,1fr);gap:16px}.overview-charts .distribution-layout>svg{width:190px;height:auto}.overview-charts .allocation{padding:12px 0}.overview-charts .allocation b{font-size:13px}.overview-charts .allocation small{font-size:11px}.overview-dashboard .overview-available{font-size:clamp(30px,3vw,40px);font-weight:650;letter-spacing:-.045em}.overview-dashboard .target-progress{height:10px}.overview-dashboard .target-progress>span{background:linear-gradient(90deg,var(--accent),var(--chart-wealth))}.overview-dashboard section{transition:border-color .18s,box-shadow .18s,background-color .18s}.overview-dashboard section:hover,.overview-dashboard section:focus-within{background:var(--surface);border-color:var(--focus);box-shadow:0 8px 28px var(--glow-fill)}.overview-dashboard .metric-primary:hover{background:linear-gradient(135deg,var(--surface),var(--selected))}.verdict-positive{border-color:var(--positive)}.verdict-negative{border-color:var(--negative)}.smooth-trend .trend-point:focus-visible{stroke:var(--focus)}:root[data-theme=dark] a{color:var(--link)}.distribution-layout text{font-family:Inter,Segoe UI,sans-serif}.free-money-card .overview-available{color:var(--chart-wealth)}.cashflow-metrics strong{font-size:30px;font-weight:650;letter-spacing:-.035em}@media(max-width:1300px){.overview-charts{grid-template-columns:minmax(0,1fr)}.overview-charts .distribution-layout{grid-template-columns:minmax(150px,220px) minmax(0,1fr)}}@media(max-width:650px){h1{font-size:32px}.overview-metrics{gap:0}.overview-metrics>section,.overview-charts>section{padding:22px 18px}.overview-metrics strong{font-size:36px}.overview-charts .distribution-layout{grid-template-columns:minmax(0,1fr)}.overview-charts .distribution-layout>svg{width:200px}.overview-charts .allocation b{font-size:14px}.overview-targets{gap:0}.overview-dashboard .overview-available{font-size:34px}}@media(prefers-reduced-motion:reduce){.overview-dashboard section{transition:none}}.help-trigger{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}.help-dialog{border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);padding:26px;width:min(560px,calc(100vw - 28px));max-height:85dvh;overflow:auto;box-shadow:0 24px 80px #0005}.help-dialog::backdrop{background:var(--scrim);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.help-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.help-dialog-heading h2{margin:0;font-size:21px}.help-dialog-heading button{font-size:24px;padding:6px 12px}.help-dialog p{font-size:15px;line-height:1.7;color:var(--muted)}.help-dialog>button{margin:8px 8px 0 0}.help-choice{display:flex;flex-direction:column;align-items:stretch;gap:8px;text-align:left;width:100%;background:var(--subtle);border:1px solid var(--border);color:var(--text);padding:20px;margin:12px 0;border-radius:12px}.help-choice:hover,.help-choice:focus-visible{border-color:var(--focus);background:var(--selected)}.help-choice strong{font-size:16px}.help-choice span{font-size:14px;font-weight:400;line-height:1.6;color:var(--muted)}.overview-actions{display:flex;justify-content:flex-end;margin:0 0 20px}.overview-actions button{display:inline-flex;align-items:center;gap:10px;min-height:46px}.first-account{max-width:640px}.first-account fieldset{border:0;padding:0;min-width:0}.tour-layer{position:fixed;inset:0;z-index:1000;pointer-events:none;overflow:hidden}.tour-spotlight{position:fixed;border:2px solid var(--chart-wealth);border-radius:12px;box-shadow:0 0 0 9999px var(--scrim),0 0 24px var(--glow-edge);pointer-events:none}.tour-popover{position:fixed;width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:var(--surface);border:1px solid var(--accent);border-radius:14px;box-shadow:0 16px 60px #0005;padding:20px;pointer-events:auto;color:var(--text);outline:none}.tour-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.tour-heading>span{font-size:12px;color:var(--chart-wealth);font-weight:600}.tour-heading button{font-size:21px;padding:3px 10px;margin:0}.tour-popover h2{font-size:18px;margin:0 0 10px}.tour-popover p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}.tour-popover .form-actions{margin-top:18px}.tour-popover button{min-height:40px;font-size:13px}@media(max-width:650px){.help-dialog{padding:20px}.help-dialog-heading h2{font-size:19px}.overview-actions button{width:100%;justify-content:center}.tour-popover{padding:18px}.tour-popover button{min-height:44px}.help-choice{padding:18px}.tour-spotlight{border-radius:8px}}.donut-slice{transition:filter .16s ease,stroke-width .16s ease}.donut-slice.is-hovered{filter:brightness(1.22) drop-shadow(0 0 3px var(--chart-wealth))}.distribution-legend .allocation[data-hovered=true]{background:var(--subtle)}.distribution-layout>svg:focus{outline:none}@media(prefers-reduced-motion:reduce){.donut-slice{transition:none}}.donut-reset{cursor:pointer}.donut-reset:focus{outline:none}.donut-reset:focus-visible>circle{stroke:var(--chart-wealth);stroke-width:2}.bank-upload{margin:24px 0;padding:22px;background:var(--subtle);border:1px solid var(--border);border-radius:12px}.bank-upload>h3{font-size:20px;margin:0 0 12px}.merchant-review{margin:24px 0}.merchant-review>h3{font-size:22px}.merchant-card{border:1px solid var(--border);border-radius:12px;padding:20px;margin:16px 0;background:var(--surface)}.merchant-card h4{margin:0 0 8px;font-size:17px;overflow-wrap:anywhere}.merchant-card fieldset{border:0;padding:0;min-width:0}.merchant-card fieldset>label,.merchant-card fieldset>details{max-width:640px}.merchant-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--border);padding:10px 0}.merchant-row label{min-width:0}.merchant-row small{overflow-wrap:anywhere}.merchant-row button{flex-shrink:0}@media(max-width:650px){.bank-upload,.merchant-card{padding:16px}.merchant-row{align-items:flex-start;flex-direction:column;gap:4px}.merchant-row button{align-self:flex-end}}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline-color:var(--focus)}input[type=checkbox],input[type=radio]{accent-color:var(--focus)}input::placeholder,textarea::placeholder{color:var(--focus);opacity:1}.simple-document-reader>small{display:block;margin:12px 0;overflow-wrap:anywhere}.simple-document-reader{margin-top:18px}.simple-document-reader form{margin-top:20px}.wealth-explorer-hero{display:flex;justify-content:space-between;gap:32px;align-items:center;background:linear-gradient(120deg,var(--surface),var(--selected));border-color:var(--notice-border)}.wealth-eyebrow{font-size:10px;letter-spacing:.22em;color:var(--focus);font-weight:700}.wealth-explorer-hero h2{font-size:27px;margin:12px 0}.wealth-explorer-hero p{max-width:520px;margin:10px 0 18px}.wealth-facts{display:flex;gap:24px;color:var(--muted);font-size:12px}.wealth-facts b{color:var(--heading);margin-right:4px}.wealth-reference{padding:20px 26px;border-left:1px solid var(--notice-border);min-width:250px}.wealth-reference>span,.wealth-reference>small{display:block;font-size:11px;color:var(--muted)}.wealth-reference>strong{display:block;font-size:34px;letter-spacing:-.04em;margin:10px 0;color:var(--heading);font-variant-numeric:tabular-nums}.wealth-explorer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 14px}.wealth-lens-switch{display:flex;padding:5px;background:var(--surface);border:1px solid var(--border);border-radius:12px;gap:4px}.wealth-lens-switch button{background:transparent;color:var(--muted);border:1px solid transparent;border-radius:8px;font-size:13px;padding:12px 16px;white-space:nowrap;margin:0;display:flex;align-items:center;gap:9px}.wealth-lens-switch button>span{font-size:20px}.wealth-lens-switch button[aria-pressed=true]{background:var(--selected);border-color:var(--focus);color:var(--focus);box-shadow:0 0 16px var(--glow-fill)}.wealth-search{margin:0!important;max-width:300px;flex:1}.wealth-search input{margin:0!important;min-height:48px}.wealth-view-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.wealth-view-caption p{margin:0;max-width:750px;font-size:13px;line-height:1.8}.wealth-view-caption small{display:block}.wealth-view-caption button{white-space:nowrap;font-size:12px}.wealth-native-values{margin:24px 0 12px}.wealth-native-values>strong{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:29px!important;letter-spacing:-.035em;line-height:1.35;margin:6px 0!important;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.wealth-native-values>strong>small{font-size:10px;letter-spacing:.08em;font-weight:600;color:var(--focus);padding:4px 8px;border-radius:5px;background:var(--selected);flex-shrink:0}.wealth-native-values>strong.native-negative{color:var(--negative)}.wealth-native-values>strong.wealth-empty-value{font-size:21px!important;color:var(--muted)}.wealth-category-heading>span:first-child{display:flex;gap:10px;align-items:center}.wealth-group-mark{display:inline-block;width:8px;height:8px;background:var(--focus);border-radius:50%;box-shadow:0 0 10px var(--glow-edge)}.wealth-group-mark.mark-1{background:var(--chart-investments)}.wealth-group-mark.mark-2{background:var(--chart-pension)}.wealth-group-mark.mark-3{background:var(--chart-other)}.wealth-item-count{font-size:11px;color:var(--muted)}.wealth-card-preview{border-top:1px solid var(--border);padding:12px 0 6px;margin-top:12px}.wealth-card-preview>span{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:1.8;color:var(--text)}.wealth-card-preview>span>small{font-size:10px;color:var(--muted)}.wealth-card-equivalent{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:13px 0;border-top:1px dashed var(--border);margin-top:10px;font-size:11px;color:var(--muted)}.wealth-card-equivalent b{font-size:12px;font-weight:500;color:var(--text)}.wealth-card-equivalent small{flex-basis:100%}.wealth-lens-card .wealth-category-action{display:flex;justify-content:space-between;align-items:center;color:var(--focus);margin-top:15px}.wealth-lens-card[aria-expanded=true]{border-color:var(--focus);background:var(--selected)}.wealth-expanded{scroll-margin-top:24px}.wealth-expanded-heading{display:flex;align-items:center;justify-content:space-between}.wealth-item-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:24px;align-items:center;padding:20px 0;border-top:1px solid var(--border)}.wealth-item-row strong,.wealth-item-row b{display:block;font-size:15px}.wealth-item-row small{display:block;margin-top:7px}.country-assignment p{max-width:700px}.wealth-search .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:1050px){.wealth-explorer-hero{gap:15px}.wealth-explorer-hero h2{font-size:23px}.wealth-reference{min-width:210px;padding:12px 18px}.wealth-reference>strong{font-size:29px}.wealth-explorer-toolbar{flex-wrap:wrap}.wealth-search{max-width:none;min-width:220px}}@media(max-width:650px){.wealth-explorer-hero{display:block;padding:24px!important}.wealth-reference{border-left:0;border-top:1px solid var(--notice-border);padding:20px 0 0;margin-top:22px;min-width:0}.wealth-explorer-hero h2{font-size:25px}.wealth-lens-switch{width:100%;gap:2px}.wealth-lens-switch button{flex:1;justify-content:center;padding:12px 7px;font-size:11px;gap:5px}.wealth-lens-switch button>span{font-size:17px}.wealth-search{flex-basis:100%}.wealth-view-caption{align-items:flex-start;flex-direction:column;gap:12px}.wealth-facts{gap:18px}.wealth-item-row{grid-template-columns:minmax(0,1fr) auto;gap:14px}.wealth-item-row>button{grid-column:1/-1;justify-self:start}.wealth-native-values>strong{font-size:30px!important}.wealth-explorer .wealth-category-grid{gap:14px}}@media(max-width:380px){.wealth-lens-switch button>span{display:none}.wealth-facts{gap:12px}.wealth-native-values>strong{font-size:26px!important}}:root{--glow-fill:#06b6d412;--glow-edge:#0891b230;--glow-soft:#0891b21a;--glow-press:#0891b22b;--light-duration:.18s}:root[data-theme=dark]{--glow-fill:#22d3ee18;--glow-edge:#22d3ee42;--glow-soft:#22d3ee1c;--glow-press:#22d3ee32}:is(.wealth-category-card,.project-card,.editable-card,.overview-dashboard section,.metrics>section,.source-card,.merchant-card,.help-choice,.wealth-explorer-hero){position:relative;isolation:isolate;transition:border-color var(--light-duration) ease,box-shadow var(--light-duration) ease,background-color var(--light-duration) ease,transform var(--light-duration) ease}:is(.wealth-category-card,.project-card,.editable-card,.overview-dashboard section,.metrics>section,.source-card,.merchant-card,.help-choice,.wealth-explorer-hero):before{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none;opacity:0;background:radial-gradient(360px circle at var(--light-x,50%) var(--light-y,0%),var(--glow-fill),transparent 72%);transition:opacity var(--light-duration) ease}:is(.wealth-category-card,.project-card,.editable-card,.overview-dashboard section,.metrics>section,.source-card,.merchant-card,.help-choice,.wealth-explorer-hero):focus-within{border-color:var(--focus);box-shadow:0 0 0 1px var(--glow-edge),0 5px 24px var(--glow-soft)}:is(.wealth-category-card,.project-card,.editable-card,.overview-dashboard section,.metrics>section,.source-card,.merchant-card,.help-choice,.wealth-explorer-hero):focus-within:before{opacity:1}button{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease,transform .11s ease}button:not(:disabled):focus-visible{box-shadow:0 0 0 3px var(--glow-edge),0 0 22px var(--glow-soft)}button:not(:disabled):active{transform:translateY(1px) scale(.99);box-shadow:0 0 0 2px var(--glow-press),0 0 20px var(--glow-soft);filter:brightness(1.08)}.app-sidebar nav button{transition:color .17s ease,background-color .17s ease,border-color .17s ease,box-shadow .17s ease,transform .17s ease}.app-sidebar nav button[aria-current=page]{color:var(--focus);border-color:var(--focus);background:var(--selected);box-shadow:inset 3px 0 0 var(--focus),0 0 20px var(--glow-soft)}@media(hover:hover)and (pointer:fine){:is(.wealth-category-card,.project-card,.editable-card,.overview-dashboard section,.metrics>section,.source-card,.merchant-card,.help-choice,.wealth-explorer-hero):hover{border-color:var(--focus);box-shadow:0 0 0 1px var(--glow-edge),0 8px 30px var(--glow-soft)}:is(.wealth-category-card,.project-card,.editable-card,.overview-dashboard section,.metrics>section,.source-card,.merchant-card,.help-choice,.wealth-explorer-hero):hover:before{opacity:1}:is(.wealth-category-card,.help-choice):hover:not(:focus-within){transform:translateY(-2px)}button:not(:disabled):hover{filter:brightness(1.07);box-shadow:0 0 0 1px var(--glow-edge),0 4px 20px var(--glow-soft)}.app-sidebar nav button:not(:disabled):hover{color:var(--focus);background:var(--selected);border-color:var(--glow-edge);box-shadow:inset 3px 0 0 var(--focus),0 0 18px var(--glow-soft);transform:translate(2px)}.app-sidebar nav button[aria-current=page]:hover{border-color:var(--focus)}}@media(hover:none){:is(.wealth-category-card,.project-card,.help-choice):active{border-color:var(--focus);box-shadow:0 0 0 2px var(--glow-edge),0 0 20px var(--glow-soft)}:is(.wealth-category-card,.project-card,.help-choice):active:before{opacity:1}}@media(prefers-reduced-motion:reduce){:is(.wealth-category-card,.project-card,.editable-card,.overview-dashboard section,.metrics>section,.source-card,.merchant-card,.help-choice,.wealth-explorer-hero),:is(.wealth-category-card,.project-card,.editable-card,.overview-dashboard section,.metrics>section,.source-card,.merchant-card,.help-choice,.wealth-explorer-hero):before,button,.app-sidebar nav button{transition:none!important;animation:none!important;transform:none!important}}.bank-file-picker{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:18px;border:1px dashed var(--focus);border-radius:12px;background:var(--selected);margin:18px 0}.bank-file-picker>span{color:var(--focus);font-size:13px;overflow-wrap:anywhere;min-width:0}.upload-cyan{background:var(--bright);color:var(--on-bright);font-weight:700}.bank-upload-progress,.bank-upload-saved{display:flex;flex-direction:column;gap:9px;padding:18px!important;margin:18px 0}.bank-upload-progress strong,.bank-upload-saved strong{color:var(--focus);font-size:16px}.bank-upload-progress>span,.bank-upload-saved>span{font-size:13px;overflow-wrap:anywhere}.bank-upload-progress small,.bank-upload-saved small{line-height:1.7}.bank-upload-progress progress{width:100%;height:7px;accent-color:var(--focus)}input[type=file]::file-selector-button{border:1px solid var(--focus);border-radius:7px;background:var(--bright);color:var(--on-bright);font:inherit;font-weight:650;padding:10px 14px;margin-right:12px;cursor:pointer}input[type=file]{color:var(--focus)}@media(max-width:650px){.bank-file-picker{align-items:stretch;flex-direction:column;gap:12px}.bank-file-picker button{width:100%}}.spending-review-progress>strong{display:block;font-size:18px;color:var(--focus);margin-bottom:14px}.spending-review-progress .target-progress{height:8px;margin:12px 0}.spending-review-progress>p{margin:12px 0 0}.settings-hub{display:grid;gap:16px;margin-bottom:16px}.settings-category{border:1px solid var(--border);border-radius:16px;background:var(--surface);margin:0 0 16px;overflow:hidden}.settings-hub>.settings-category{margin:0}.settings-category>summary{display:flex;align-items:center;gap:16px;padding:24px;cursor:pointer;font-weight:700;list-style:none;transition:background .18s,border-color .18s}.settings-category>summary::-webkit-details-marker{display:none}.settings-category>summary:after{content:"+";margin-left:auto;color:var(--focus);font-size:24px}.settings-category[open]>summary:after{content:"−"}.settings-category>summary:hover,.settings-category[open]>summary{background:var(--selected)}.settings-symbol{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid var(--focus);border-radius:12px;color:var(--focus);font-size:22px}.settings-caption{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:5px}.settings-body{padding:24px;border-top:1px solid var(--border)}.settings-body>label{display:block;max-width:440px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.settings-links{display:flex;gap:12px;flex-wrap:wrap}.settings-rules{margin-top:20px}.settings-rule{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--border)}.settings-rule>span:first-child{min-width:0;overflow-wrap:anywhere}.settings-rule small{display:block;margin-top:6px}.settings-switch{display:flex;align-items:center;gap:10px;font-size:13px;flex-shrink:0}.settings-switch input{width:20px;height:20px;accent-color:var(--focus)}.settings-city>.workspace-panel{margin:0;border-radius:16px}.settings-shortcut{font-size:23px;line-height:1;padding:10px 14px}@media(max-width:650px){.settings-category>summary,.settings-body{padding:18px}.settings-rule{align-items:flex-start;flex-direction:column;gap:14px}.settings-links{flex-direction:column}.settings-links button{width:100%;text-align:left}}*{scrollbar-color:var(--focus) var(--subtle)}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:var(--subtle);border-radius:999px}::-webkit-scrollbar-thumb{background:var(--focus);border:3px solid var(--subtle);border-radius:999px;min-height:28px;min-width:28px}::-webkit-scrollbar-thumb:hover{background:var(--focus);border-width:2px}::-webkit-scrollbar-corner{background:var(--subtle)}@media(forced-colors:active){*{scrollbar-color:auto}}.page-header{margin:32px 0 24px}.page-header>.title{margin:0;gap:24px;align-items:flex-start}.page-header>.title>div:first-child{min-width:0}.page-header .title h1{margin-bottom:0}.page-back{display:block;margin:0 0 20px}.back-link{display:inline-flex;align-items:center;gap:8px;padding:6px 0;background:transparent;color:var(--focus);font-size:14px;font-weight:600;border-radius:5px;text-align:left}.back-link:hover{background:transparent;box-shadow:none!important;text-decoration:underline;text-underline-offset:4px}.page-secondary-actions{display:flex;justify-content:flex-end;flex-shrink:0;padding-top:7px}.page-secondary-actions .compact-link{font-size:13px;padding:8px 12px;min-height:36px;font-weight:600;border:1px solid var(--border);margin:0;color:var(--focus)}.page-description{margin:22px 0 0;color:var(--muted);line-height:1.7;max-width:72ch}.page-primary-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.page-primary-actions>button{margin:0}.action-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0 16px}.action-row>button.secondary{margin:0}.action-row+details{margin-top:20px}.dialog-back{margin:0 0 16px}.help-dialog .form-actions{margin-bottom:12px}.form-actions{gap:12px}.form-actions button{min-height:44px}section>button+details{margin-top:22px}.project-card>.action-row{padding-top:20px;border-top:1px solid var(--border)}@media(max-width:650px){.page-header{margin-top:24px}.page-header>.title{gap:16px;flex-wrap:wrap}.page-secondary-actions{padding-top:0;justify-content:flex-start}.page-primary-actions{margin-top:20px}.page-primary-actions>button{min-height:44px}.page-back{margin-bottom:16px}.action-row{gap:10px}.action-row>button{min-height:44px}.page-description{margin-top:18px}}[data-tour=investment-update]>.investment-account,[data-tour=investment-update]>section.investment-step{border:0;box-shadow:none;background:transparent;padding:22px 0;margin:0;border-radius:0}[data-tour=investment-update]>section.investment-step{border-top:1px solid var(--border)}[data-tour=investment-update]>.investment-account>details{margin-bottom:20px}[data-tour=investment-update]>.investment-step>h2{margin-bottom:20px}.help-dialog.help-dialog-wide{width:calc(100% - 40px);max-width:1100px}.analysis-context{padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--selected)}.analysis-context>label{margin-top:0}.analysis-context .review-summary{margin-bottom:0}.analysis-hint{font-size:13px;color:var(--muted);line-height:1.7}.help-dialog-wide>.workspace-panel{margin-top:24px}@media(max-width:650px){.help-dialog.help-dialog-wide{width:calc(100% - 20px);padding:18px}.analysis-context{padding:14px}}:root{--advanced-hover-bg:#fff;--advanced-hover-text:var(--heading);--advanced-hover-border:var(--border);--advanced-hover-glow:#00000014}:root[data-theme=dark]{--advanced-hover-bg:rgba(255,255,255,.09);--advanced-hover-text:#fff;--advanced-hover-border:rgba(255,255,255,.38);--advanced-hover-glow:rgba(255,255,255,.09)}.app-sidebar nav .advanced-nav{margin:26px 0 0;padding:0 8px 8px;border:1px solid var(--border);border-radius:14px;background:var(--page)}.app-sidebar nav .advanced-nav>summary{display:flex;align-items:center;gap:10px;padding:16px 8px;list-style:none;font-size:12px;font-weight:650;letter-spacing:.025em;color:var(--muted);cursor:pointer}.app-sidebar nav .advanced-nav>summary::-webkit-details-marker{display:none}.app-sidebar nav .advanced-nav>summary:before{content:"";display:block;flex:0 0 7px;width:7px;height:7px;margin:0 5px 0 2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .16s ease}.app-sidebar nav .advanced-nav[open]>summary:before{transform:rotate(45deg)}.app-sidebar nav .advanced-nav[open]>summary{border-bottom:1px solid var(--border);margin-bottom:8px}.app-sidebar nav .advanced-nav:not([open]){padding-bottom:0}.advanced-links{display:flex;flex-direction:column;gap:5px}.app-sidebar nav .advanced-links button{font-size:13px;line-height:1.45;min-height:44px;padding:10px 9px;color:var(--muted);font-weight:450}.app-sidebar nav .advanced-links button[aria-current=page],.app-sidebar nav .advanced-links button[aria-current=page]:hover{color:var(--advanced-hover-text);background:var(--advanced-hover-bg);border-color:var(--advanced-hover-border);box-shadow:inset 2px 0 0 var(--advanced-hover-border),0 0 18px var(--advanced-hover-glow);font-weight:650}@media(hover:hover)and (pointer:fine){.app-sidebar nav .advanced-links button:not([aria-current=page]):not(:disabled):hover{color:var(--advanced-hover-text);background:var(--advanced-hover-bg);border-color:var(--advanced-hover-border);box-shadow:inset 2px 0 0 var(--advanced-hover-border),0 0 18px var(--advanced-hover-glow);transform:translate(1px)}.app-sidebar nav .advanced-nav>summary:hover{color:var(--text)}}@media(max-width:650px){.app-sidebar nav .advanced-nav{margin-top:20px}.app-sidebar nav .advanced-links button{font-size:14px}}@media(prefers-reduced-motion:reduce){.app-sidebar nav .advanced-nav>summary:before{transition:none}}.projection-sections{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}.projection-panel{margin:0 0 24px;min-width:0}.projection-panel-title{display:flex;align-items:center;gap:16px;margin-bottom:24px}.projection-panel-title h2{font-size:23px;margin:0 0 8px}.projection-panel-title p{margin:0;color:var(--muted);line-height:1.6}.projection-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--focus);border-radius:14px;color:var(--focus);background:var(--selected);font-size:25px;flex-shrink:0}.projection-start{display:flex;flex-direction:column;gap:10px;justify-content:center;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--selected)}.projection-start>span{color:var(--muted);font-size:13px}.projection-start>strong{font-size:26px}.projection-start>small{font-size:12px;color:var(--muted)}.projection-history,.projection-adjustments{padding:16px 0;border-top:1px solid var(--border);margin-top:18px}.projection-history>summary,.projection-adjustments>summary{color:var(--focus);font-weight:650}.projection-panel fieldset{padding:0;border:0;min-width:0}.projection-panel .fields{align-items:start;margin:20px 0}.projection-panel .inline-choice{align-self:flex-start;background:transparent;color:var(--focus);font-size:12px;padding:6px 0;text-align:left}.projection-result{margin:28px 0;padding-top:24px;border-top:1px solid var(--border)}.projection-result h3{font-size:22px;font-weight:650}.projection-result>.metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.projection-result>.metrics>section{padding:20px}.projection-result>.metrics strong{font-size:25px;overflow-wrap:anywhere}.projection-sources p{font-size:13px;line-height:1.8}.projection-history>.metrics{margin-top:20px}.projection-history .smooth-trend{margin-top:20px}@media(max-width:750px){.projection-result>.metrics{grid-template-columns:1fr}.projection-panel-title{align-items:flex-start}.projection-start>strong{font-size:23px}.projection-result>.metrics strong{font-size:26px}}.monthly-review-list{padding-left:24px;display:grid;gap:22px}.monthly-review-list>li{padding:0 0 20px 8px;border-bottom:1px solid var(--border)}.monthly-review-list h3{font-size:18px;font-weight:650;margin:0 0 10px}.monthly-review-list button{margin-top:10px}.monthly-review-list p{margin:0 0 8px}.monthly-review-list small{margin-bottom:12px}.inventory-mobile{display:none}.inventory-actions{display:flex;gap:.6rem;flex-wrap:wrap}.inventory-amount{font-size:1.5rem;font-weight:700}.inventory-mobile .inventory-actions{margin-top:1rem}.simple-document-reader blockquote{white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid var(--accent);padding:.75rem;margin:1rem 0}.inventory-desktop td:last-child{min-width:200px}@media(max-width:700px){.inventory-desktop{display:none}.inventory-mobile{display:grid;gap:1rem}.inventory-mobile .inventory-actions button{flex:1 1 140px}.inventory-mobile article{min-width:0}.inventory-mobile h3,.inventory-mobile p{overflow-wrap:anywhere}}.help-dialog-heading>h2,.notification-heading>h2{min-width:0;overflow-wrap:anywhere}.help-dialog-heading>button,.notification-heading>button{flex-shrink:0;min-width:44px;min-height:44px}.settings-category>section.settings-body{border:0;border-top:1px solid var(--border);border-radius:0;margin:0;box-shadow:none}.table{max-width:100%;overscroll-behavior-inline:contain}.help-dialog,.notification-dialog{overscroll-behavior:contain;scroll-padding-block:20px}.tour-popover{scroll-padding-block:16px}.bank-upload-progress,.notice{overflow-wrap:anywhere}@media(max-width:650px){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px;min-height:44px}button{min-height:44px}.help-dialog{max-height:calc(100dvh - 24px);padding:18px}.help-dialog-heading{position:sticky;top:-18px;padding-block:12px;background:var(--surface);z-index:2}.help-dialog-wide .fields{grid-template-columns:minmax(0,1fr)}.review-summary{overflow-wrap:anywhere}.settings-category>summary{min-height:64px}.settings-caption{line-height:1.5}.source-card h3{overflow-wrap:anywhere}.form-actions{flex-wrap:wrap}.form-actions>button{flex:1 1 120px}}.help-dialog{overflow-x:hidden}.help-dialog>.help-choice{width:100%;max-width:100%;min-width:0;margin:12px 0;white-space:normal;overflow-wrap:anywhere}.help-dialog>.help-choice>*{min-width:0}.wealth-history-panel{margin-top:44px;padding-top:0}.wealth-history-panel>summary{color:var(--focus)}.sidebar-collapse{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;font-size:25px;line-height:1;padding:4px!important;margin:0 0 16px auto!important}.app-sidebar{transition:width .18s ease,padding .18s ease;overflow-x:hidden}.sidebar-heading{min-width:0}@media(min-width:901px){.app-sidebar.is-collapsed{width:76px;padding:18px 10px;gap:16px}.app-sidebar.is-collapsed #app-navigation{display:none}.app-sidebar.is-collapsed .brand{font-size:24px;padding:8px 0;width:100%;text-align:center}.app-sidebar.is-collapsed .brand span{display:none}.app-sidebar.is-collapsed .sidebar-collapse{margin:0 auto 16px!important}.app:has(>.app-sidebar.is-collapsed)>main{max-width:none}}@media(max-width:650px){.sidebar-collapse{display:none}.wealth-history-panel{margin-top:32px}}@media(prefers-reduced-motion:reduce){.app-sidebar{transition:none}}.navigation-icon{flex:0 0 22px;display:block}.app-sidebar #app-navigation>button{display:flex;align-items:center;gap:12px}.navigation-label{min-width:0}.app-sidebar .advanced-nav>summary>.navigation-icon{width:20px;height:20px;flex-basis:20px}@media(min-width:901px){.app-sidebar .sidebar-heading{display:flex;flex-direction:column;align-items:stretch;gap:0}.app-sidebar .sidebar-collapse{align-self:flex-start;margin:0 0 22px!important;width:44px;height:44px}.app-sidebar .brand{text-align:left;align-self:flex-start}.app-sidebar.is-collapsed{width:76px;padding:18px 12px}.app-sidebar.is-collapsed .sidebar-heading{align-items:center}.app-sidebar.is-collapsed .brand{display:none}.app-sidebar.is-collapsed .sidebar-collapse{align-self:center;margin:0 0 10px!important}.app-sidebar.is-collapsed #app-navigation{display:flex;flex-direction:column;gap:12px}.app-sidebar.is-collapsed #app-navigation>button{justify-content:center;padding:12px 0;min-height:48px}.app-sidebar.is-collapsed .navigation-label{display:none}.app-sidebar.is-collapsed nav .advanced-nav{padding:0;margin:18px 0 0;border:0;background:transparent}.app-sidebar.is-collapsed nav .advanced-nav>summary{padding:12px 0;justify-content:center;min-height:48px;border:1px solid var(--border);border-radius:9px;margin:0}.app-sidebar.is-collapsed nav .advanced-nav>summary:before{display:none}.app-sidebar.is-collapsed nav .advanced-links{display:none}}.document-value-review .document-review-fields{align-items:start;gap:20px;margin:24px 0 0}.document-review-fields>label{margin:0;min-width:0}.document-review-fields input{width:100%;min-height:54px}.document-value-review .document-review-note{margin:12px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}.document-value-review .document-review-actions{margin-top:24px}.document-value-review .document-review-actions>button{margin:0}@media(max-width:650px){.document-value-review .document-review-fields{gap:18px}}.profile-avatar{border-radius:50%!important;width:44px;height:44px;min-width:44px;padding:0!important;overflow:hidden;display:grid;place-items:center;color:var(--focus)!important}.profile-avatar img{width:100%;height:100%;object-fit:cover}.personal-profile{max-width:1100px}.profile-hero{display:flex;align-items:center;gap:24px;background:linear-gradient(120deg,var(--surface),var(--selected));padding:30px}.profile-hero h2{font-size:30px;margin-bottom:6px}.profile-hero p{margin:0}.profile-picture{width:104px;height:104px;flex:0 0 104px;display:grid;place-items:center;border:2px solid var(--focus);border-radius:50%;overflow:hidden;background:var(--subtle);font-size:40px;color:var(--focus)}.profile-picture img{width:100%;height:100%;max-width:none;object-fit:cover}.profile-block-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.profile-block-heading h2{margin:0}.personal-profile fieldset{border:0;padding:0;margin:0}.profile-facts{display:flex;gap:60px;flex-wrap:wrap}.profile-facts dt{color:var(--muted);font-size:13px;margin-bottom:8px}.profile-facts dd{margin:0}.profile-prose{white-space:pre-wrap;overflow-wrap:anywhere}.personal-profile blockquote{margin:20px 0;padding:18px;border-left:3px solid var(--focus);background:var(--selected);line-height:1.7}.profile-consent{display:flex;flex-direction:row;align-items:flex-start;gap:12px;margin-top:24px}.profile-consent input{width:20px;height:20px;accent-color:var(--focus);flex-shrink:0}.personal-profile textarea{font:inherit;padding:14px;width:100%;max-width:100%;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;resize:vertical}.vision-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.vision-board figure{margin:0;min-width:0}.vision-board img{display:block;width:100%;max-width:none;border-radius:12px;aspect-ratio:4/3;object-fit:cover}.vision-board button{width:100%;margin-top:10px!important}.profile-hero>div:last-child{min-width:0;overflow-wrap:anywhere}@media(max-width:650px){.profile-hero{padding:22px;gap:16px}.profile-picture{width:76px;height:76px;flex-basis:76px}.profile-hero h2{font-size:24px}.profile-block-heading{align-items:flex-start;gap:12px}.profile-block-heading button{font-size:13px}.vision-board{grid-template-columns:minmax(0,1fr)}.profile-facts{gap:24px}.personal-profile .fields{grid-template-columns:minmax(0,1fr)}}.profile-picture-upload{position:relative;padding:0;cursor:pointer;isolation:isolate;background:var(--subtle);color:var(--focus)}.profile-photo-overlay{position:absolute;inset:50% 0 0;display:flex;align-items:center;justify-content:center;background:var(--photo-overlay);color:var(--notice-text);transform:translateY(105%);transition:transform .18s ease;pointer-events:none}.profile-picture-upload:hover:not(:disabled) .profile-photo-overlay,.profile-picture-upload:focus-visible .profile-photo-overlay{transform:translateY(0)}.profile-picture-upload:hover{filter:none;box-shadow:0 0 20px var(--glow-edge)}.profile-picture-upload>img{border-radius:0}.profile-picture-upload:focus-visible{outline:2px solid var(--focus);outline-offset:4px}@media(hover:none){.profile-photo-overlay{transform:translateY(0);inset:60% 0 0}.profile-photo-overlay svg{width:19px;height:19px}}@media(prefers-reduced-motion:reduce){.profile-photo-overlay{transition:none}}.profile-photo-control{position:relative;flex:0 0 104px}.profile-photo-actions{position:absolute;z-index:5;top:calc(100% + 10px);left:0;min-width:170px;padding:8px;border:1px solid var(--focus);border-radius:12px;background:var(--surface);box-shadow:0 12px 30px #0004;display:grid;gap:6px}.profile-photo-actions button{width:100%;margin:0!important;text-align:left;white-space:nowrap}.personal-profile [data-tour=profile-residence]>[data-tour=city-context]{margin-top:30px}.profile-hero:has(.profile-photo-actions){position:relative;z-index:3}@media(max-width:650px){.profile-photo-control{flex-basis:76px}.personal-profile [data-tour=profile-residence]>[data-tour=city-context]{margin-top:26px}}@media(min-width:901px){.app-sidebar{height:var(--sidebar-available-height,100dvh);min-height:0;overscroll-behavior-y:contain;overflow-anchor:none;scrollbar-gutter:stable;align-self:flex-start}.app-sidebar>.sidebar-heading,.app-sidebar>#app-navigation{flex-shrink:0}.app-sidebar #app-navigation{overflow:visible;max-height:none}}@media(max-width:900px){.app-sidebar .sidebar-collapse{display:none}.app-sidebar #app-navigation{max-height:var(--sidebar-nav-available-height, calc(100dvh - 110px) );overscroll-behavior-y:contain;overflow-anchor:none;scrollbar-gutter:stable}}@media(min-width:901px){.app-sidebar.is-collapsed{scrollbar-gutter:auto}}@media(min-width:901px){html:has(.app),body:has(.app){height:100%;overflow:hidden}#root:has(>.app){height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}#root:has(>.app)>.staging-banner{flex:0 0 auto;margin:0}#root>.app{flex:1 1 0;min-height:0;height:auto;overflow:hidden;align-items:stretch}#root>.app>.app-sidebar{position:relative;top:auto;height:100%;max-height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}#root>.app>main{flex:1 1 0;width:auto;max-width:none;height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}}.app-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.app-toolbar>.toolbar-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;min-width:0;max-width:100%;width:auto;margin-left:auto}.toolbar-caption{font-size:13px;color:var(--muted)}.toolbar-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.toolbar-utilities{display:flex;align-items:center;gap:6px;padding-left:16px;border-left:1px solid var(--border)}.app-toolbar button.secondary{margin:0}.app-toolbar .toolbar-utilities>button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;width:44px;height:44px;min-height:44px;padding:9px}.app-toolbar .toolbar-utilities>button:not(.profile-avatar){background:transparent;border-color:transparent;box-shadow:none}.app-toolbar .toolbar-utilities>button:not(.profile-avatar):hover:not(:disabled){background:var(--subtle);border-color:var(--border)}.toolbar-session{border-left:1px solid var(--border);padding-left:18px;margin-left:4px}.app-toolbar .toolbar-logout{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 10px;background:transparent;border-color:transparent;color:var(--muted);white-space:nowrap}.app-toolbar .toolbar-logout:hover:not(:disabled){background:var(--subtle);color:var(--text)}.app-toolbar [hidden]{display:none!important}@media(max-width:900px){.app-toolbar>.toolbar-controls{width:100%;justify-content:flex-end}.toolbar-caption{flex-basis:100%}.toolbar-context select{flex:1;min-width:82px}}@media(max-width:650px){.toolbar-caption{display:none}.app-toolbar>.toolbar-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.toolbar-context{grid-column:1/-1;width:100%}.toolbar-utilities{grid-column:1;padding-left:0;border-left:0}.toolbar-session{grid-column:2;padding-left:12px;margin-left:0}.app-toolbar .toolbar-logout{padding:8px 6px;gap:6px}.app-toolbar .toolbar-logout svg{width:17px;height:17px}}@media(max-width:380px){.toolbar-utilities{gap:4px}.app-toolbar .toolbar-utilities>button{min-width:40px;width:40px;height:40px;min-height:40px;padding:8px}.toolbar-session{padding-left:8px}}.password-recovery{width:100%;max-width:580px;margin:0 auto;padding:32px 20px;overflow-y:auto;min-height:0}.password-recovery section{padding:28px}.password-recovery form{display:grid;gap:20px}.password-recovery input{width:100%;box-sizing:border-box}.password-recovery a{display:inline-block;margin-top:24px}[data-tour=connections] .connection-candidate{margin-top:24px}[data-tour=connections]>.connection-incoming{margin:0 0 24px;padding:24px}[data-tour=connections]>.connection-incoming .workspace-panel{margin-top:16px}.notification-heading>div>p{margin:8px 0 0;color:var(--muted);font-size:14px}.notification-tools{display:flex;justify-content:flex-end;margin:20px 0 24px}.notification-group{margin-top:24px}.notification-group>h3{font-size:13px;color:var(--muted);letter-spacing:.04em;margin-bottom:12px}.notification-list{display:grid;gap:14px;margin-top:12px}.notification-list .notification-card{border:1px solid var(--border);border-radius:14px;padding:18px;background:var(--surface)}.notification-list .notification-card-request{border-color:var(--focus)}.notification-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.notification-category{font-size:12px;color:var(--focus);font-weight:600}.notification-read-action{min-width:32px;min-height:32px;padding:4px 8px!important;font-size:16px!important}.notification-list .notification-card h3{font-size:17px;margin:0 0 8px}.notification-card p{margin:8px 0 16px}.notification-card-actions{display:flex;flex-wrap:wrap;gap:10px}.notification-archive{margin-top:28px;border-top:1px solid var(--border);padding-top:20px}.notification-archive>summary{color:var(--muted);font-size:14px}.notification-empty{padding:24px 0}.notification-extra{margin:12px 0 18px}.notification-extra>summary{font-size:14px}.notification-archive .notification-card{opacity:.85}@media(max-width:600px){.notification-panel{padding:18px}.notification-card-actions>button{width:100%}.notification-read-action{min-width:44px;min-height:44px}.notification-tools>button{width:100%}}.sharing-choice{margin:24px 0;padding:20px 0;border-top:1px solid var(--border)}.sharing-choice fieldset,.joint-accounts-panel fieldset{min-width:0}.sharing-choice legend{font-weight:600;margin-bottom:16px}.sharing-option{display:flex!important;align-items:center;gap:12px;padding:14px;border:1px solid var(--border);border-radius:12px;margin:10px 0;cursor:pointer}.sharing-option:has(input:checked){border-color:var(--focus);background:color-mix(in srgb,var(--focus) 10%,var(--surface))}.sharing-option input{width:20px!important;min-width:20px;margin:0!important}.sharing-option small{display:block;margin-top:6px}.sharing-items{max-height:360px;overflow:auto;margin:18px 0}.shared-portfolio-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--border)}.shared-portfolio-row small{display:block;margin-top:6px;color:var(--muted)}.joint-accounts-panel form,.joint-accounts-panel .workspace-panel{margin:20px 0}.joint-accounts-panel input,.joint-accounts-panel select{max-width:100%;box-sizing:border-box}@media(max-width:600px){.shared-portfolio-row{align-items:flex-start;flex-direction:column;gap:8px}.sharing-option{padding:12px}}.sharing-option{flex-direction:row!important}.sharing-choice fieldset,.joint-accounts-panel fieldset{border:0;padding:0;margin:0;width:100%}.sharing-choice>fieldset>button{margin-top:12px}.joint-accounts-panel .form-actions{margin-top:18px}:root{--space-1:8px;--space-2:16px;--space-3:24px;--space-4:32px}.settings-body>label{display:flex;flex-direction:column;gap:var(--space-1);margin-block:var(--space-3)}.content-card{padding:var(--space-3);margin-block:var(--space-2);border:1px solid var(--border);border-radius:16px;background:var(--surface);min-width:0;overflow-wrap:anywhere}.content-card>h3:first-child{margin-top:0}.content-card>:last-child{margin-bottom:0}.content-card>button{margin-top:var(--space-1)}.entry-mode-switch{display:flex;flex-wrap:wrap;gap:var(--space-1);margin-block:var(--space-2) var(--space-3)}.entry-mode-switch>button{margin:0}.entry-mode-switch>button[aria-pressed=true]{border-color:var(--focus);color:var(--focus);background:color-mix(in srgb,var(--focus) 12%,var(--surface));box-shadow:inset 0 0 0 1px var(--focus)}label:has(>input[type=checkbox]),label:has(>input[type=radio]){flex-direction:row;align-items:flex-start;gap:12px;line-height:1.5}label:has(>input[type=checkbox])>input,label:has(>input[type=radio])>input{flex:none;width:20px;min-width:20px;height:20px;margin:2px 0 0}label>span:has(>input[type=checkbox]),label>span:has(>input[type=radio]){display:flex;align-items:flex-start;gap:12px;line-height:1.5}label>span>input[type=checkbox],label>span>input[type=radio]{flex:none;width:20px;min-width:20px;height:20px;margin:2px 0 0}.free-money-details{margin-block:var(--space-3)}.free-money-details>summary{font-size:14px}.free-money-details[open]>.free-money-breakdown{margin-top:var(--space-2)}.item-actions-menu{position:relative}.item-actions-menu>summary{font-size:14px;padding:12px;min-height:44px;box-sizing:border-box;white-space:nowrap}.item-actions-popover{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.item-actions-popover>button{margin:0;width:100%}@media(hover:hover){.metrics>section:hover:not(:focus-within){transform:none}.content-card{transition:border-color .18s ease,box-shadow .18s ease}.content-card:hover{border-color:color-mix(in srgb,var(--focus) 45%,var(--border));box-shadow:0 0 18px color-mix(in srgb,var(--focus) 5%,transparent)}}@media(max-width:600px){.content-card{padding:var(--space-2)}.entry-mode-switch>button{flex:1;min-width:140px}.inventory-actions{align-items:stretch;gap:8px}.item-actions-menu>summary{white-space:normal}}@media(prefers-reduced-motion:reduce){.content-card{transition:none}}.companies-workspace>.page-description{margin-bottom:24px}.company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px;margin-bottom:24px}.company-grid>.content-card{margin:0}.company-overview-card{display:flex;flex-direction:column;align-items:flex-start;gap:18px;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px;color:var(--text);min-width:0;overflow-wrap:anywhere;transition:border-color .18s,box-shadow .18s}.company-overview-card>span:first-child{font-size:21px;font-weight:650}.company-overview-card>strong{font-size:30px;letter-spacing:-.025em}.company-overview-card small{margin:0;line-height:1.6}.company-card-link{color:var(--focus);font-size:14px;margin-top:auto}.company-overview-card:hover{border-color:var(--focus);box-shadow:0 0 24px var(--glow-fill);filter:none}.company-heading{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:24px}.company-heading h2{font-size:26px;margin:0;overflow-wrap:anywhere}.company-role{border:1px solid var(--border);border-radius:20px;padding:6px 12px;font-size:12px;color:var(--muted)}.company-heading>.compact-link{margin-left:auto}.company-currency-control{max-width:340px;margin-bottom:24px}.company-liquidity>p:first-child{margin-bottom:8px}.company-native-totals{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.company-native-totals>span{padding:10px 14px;background:var(--subtle);border:1px solid var(--border);border-radius:10px;font-size:14px}.company-bank-card h3{margin-top:0;font-size:20px}.company-bank-amount,.company-negative{display:block;font-size:27px;overflow-wrap:anywhere}.company-negative{color:var(--negative)}.company-bank-card .form-actions{margin-bottom:0}.company-access-body{padding:24px 0}.company-access-body>.content-card h3{font-size:18px}.company-access-body form{margin-top:28px;padding-top:24px;border-top:1px solid var(--border)}.company-access-body .connection-candidate{margin-top:24px}.company-bank-editor .guided-form fieldset{border:0;padding:0;margin:16px 0}@media(max-width:650px){.company-grid{gap:16px}.company-overview-card{padding:20px}.company-heading{align-items:flex-start}.company-heading>.compact-link{margin-left:0}.company-native-totals{gap:8px}.company-access-body{padding:16px 0}.company-liquidity .overview-available{font-size:32px}}@media(prefers-reduced-motion:reduce){.company-overview-card{transition:none}}.wealth-explorer>.page-primary-actions{margin:0 0 24px}.app-toolbar .toolbar-utilities>.profile-avatar{margin-inline-start:10px}@media(max-width:380px){.app-toolbar .toolbar-utilities>.profile-avatar{margin-inline-start:8px}}.wealth-explorer>.wealth-category-grid+.wealth-expanded{margin-top:32px}@media(max-width:650px){.wealth-explorer>.wealth-category-grid+.wealth-expanded{margin-top:24px}}.country-assignment .fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}.country-assignment .fields>label{margin:0;min-width:0}.country-assignment .fields input,.country-assignment .fields select{width:100%;min-height:54px}.country-assignment .fields small{display:block;margin-top:12px}@media(max-width:650px){.country-assignment .fields{grid-template-columns:minmax(0,1fr);gap:20px}}.currency-converter{max-width:1000px}.converter-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px minmax(0,1fr);align-items:start;gap:20px;margin:28px 0}.converter-fields>label,.converter-fields>div>label:first-child{margin:0;min-width:0}.converter-fields input,.converter-fields select{min-height:54px;width:100%}.converter-fields .converter-swap{margin:27px 0 0;padding:8px;width:44px;min-height:54px;font-size:24px}.converter-result{padding:24px;border:1px solid var(--notice-border);border-radius:14px;background:var(--selected);min-height:150px;overflow-wrap:anywhere}.converter-result>strong{font-size:42px;color:var(--focus);font-variant-numeric:tabular-nums}.converter-result p{margin:14px 0}.converter-note{margin:24px 0 0;line-height:1.7;color:var(--muted);font-size:13px}@media(max-width:650px){.converter-fields{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:12px}.converter-fields>label{grid-column:1/-1}.converter-result{padding:18px}.converter-result>strong{font-size:32px}}.help-dialog:has(.ibkr-simple-import){max-height:85dvh;overflow-y:auto;overflow-x:hidden;box-sizing:border-box}.ibkr-simple-import fieldset{border:0;padding:0;min-width:0;margin:0}.ibkr-simple-list{display:grid;gap:12px;margin:20px 0}.ibkr-simple-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--subtle)}.ibkr-simple-list article small{display:block;margin-top:6px;color:var(--muted);overflow-wrap:anywhere}.ibkr-simple-list article>span{font-size:13px;color:var(--focus)}.ibkr-simple-list article>details{grid-column:1/-1;margin:0}.ibkr-simple-list article>details label{margin-top:14px}.ibkr-simple-confirm{display:flex;align-items:flex-start;gap:12px;margin:24px 0 18px}@media(max-width:550px){.ibkr-simple-list article{grid-template-columns:minmax(0,1fr)}.ibkr-simple-list article>strong{grid-row:2}.ibkr-simple-list article{padding:14px}}.help-dialog:has(.ibkr-simple-import){overflow:hidden;max-height:calc(100dvh - 32px)}.ibkr-simple-import{max-height:calc(75dvh - 180px);min-height:120px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0 8px 16px 0;box-sizing:border-box}.ibkr-simple-import button:disabled{cursor:not-allowed}@media(max-width:650px){.ibkr-simple-import{max-height:calc(100dvh - 290px)}}.company-overview-panel{margin-top:28px}.company-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.company-overview-heading h2{margin:0}.company-overview-panel>.company-grid{margin-top:24px;margin-bottom:0}.company-overview-accounts{list-style:none;padding:0;margin:20px 0 0}.company-overview-accounts li{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--border)}.company-overview-accounts small{display:block;margin-top:6px;color:var(--muted)}.company-overview-accounts strong{white-space:nowrap}@media(max-width:500px){.company-overview-accounts li{flex-wrap:wrap}}:root[data-palette=blue]{color-scheme:light;--page:#f1f5fc;--surface:#ffffff;--text:#172b49;--muted:#536580;--heading:#122846;--accent:#2563eb;--subtle:#e9eff9;--selected:#e0f7fc;--focus:#0e7490;--border:#d7e1ef;--notice:#e7faff;--notice-border:#59bdd5;--notice-text:#07566b;--bright:#22d3ee;--on-accent:#ffffff;--on-bright:#102018;--on-focus:#ffffff;--link:#0e7490;--chart-wealth:#0e7490;--chart-cash:#0891b2;--chart-investments:#3971ed;--chart-pension:#8b5cf6;--chart-other:#0d9488;--glow-fill:#0e749012;--glow-edge:#0e749042;--glow-soft:#0e74901c;--glow-press:#0e749032;--photo-overlay:#f1f5fce6;--shadow-subtle:#00000008;--scrim:#000000b8}:root[data-palette=blue][data-theme=dark]{color-scheme:dark;--page:#080f1e;--surface:#111e33;--text:#edf3ff;--muted:#a9b8cf;--heading:#f2f6ff;--accent:#3269e6;--subtle:#1a2a43;--selected:#123a4b;--focus:#22d3ee;--border:#293c59;--notice:#102f40;--notice-border:#278ba8;--notice-text:#83e7f7;--bright:#22d3ee;--on-accent:#ffffff;--on-bright:#102018;--on-focus:#062535;--link:#81c7ff;--chart-wealth:#22d3ee;--chart-cash:#32c6df;--chart-investments:#638eff;--chart-pension:#ae91ff;--chart-other:#2dd4bf;--glow-fill:#22d3ee12;--glow-edge:#22d3ee42;--glow-soft:#22d3ee1c;--glow-press:#22d3ee32;--photo-overlay:#080f1ee6;--shadow-subtle:#00000008;--scrim:#000000b8}:root[data-palette=green]{color-scheme:light;--page:#f2f4f0;--surface:#ffffff;--text:#263630;--muted:#5c6b64;--heading:#142b22;--accent:#17664f;--subtle:#e9eee8;--selected:#e4efe7;--focus:#236e55;--border:#d7dfd7;--notice:#edf2ea;--notice-border:#bccdbd;--notice-text:#335c47;--bright:#17664f;--on-accent:#ffffff;--on-bright:#ffffff;--on-focus:#ffffff;--link:#17664f;--chart-wealth:#20785c;--chart-cash:#237459;--chart-investments:#a07243;--chart-pension:#7c789d;--chart-other:#477f88;--sidebar-surface:#e8eee7;--input-surface:#f9fbf7;--glow-fill:#236e5508;--glow-edge:#236e5524;--glow-soft:#236e5510;--glow-press:#236e5518;--photo-overlay:#f2f4f0e6;--shadow-subtle:#00000008;--scrim:#000000b8}:root[data-palette=orange]{color-scheme:dark;--page:#151719;--surface:#202326;--text:#f6f3ed;--muted:#b8b6ae;--heading:#fffaf0;--accent:#f0b45c;--subtle:#2b2e31;--selected:#34312a;--focus:#f4bf75;--border:#3c4044;--notice:#292a27;--notice-border:#6a6254;--notice-text:#eed5aa;--bright:#f4bf75;--on-accent:#251c0f;--on-bright:#251c0f;--on-focus:#251c0f;--link:#f7ca86;--chart-wealth:#f4bf75;--chart-cash:#f4bf75;--chart-investments:#8ebba9;--chart-pension:#a8a1c7;--chart-other:#809fb4;--sidebar-surface:#1a1d1f;--input-surface:#181b1d;--glow-fill:#f4bf7512;--glow-edge:#f4bf7542;--glow-soft:#f4bf751c;--glow-press:#f4bf7532;--photo-overlay:#151719e6;--shadow-subtle:#00000025;--scrim:#000000b8}:root:is([data-palette=green],[data-palette=orange]) .app-sidebar{background:var(--sidebar-surface)}:root:is([data-palette=green],[data-palette=orange]) a:not(.skip-link){color:var(--link)}:root:is([data-palette=green],[data-palette=orange]) :is(input:not([type=radio]):not([type=checkbox]),select,textarea){background:var(--input-surface)}.theme-mode-label{color:var(--muted);font-size:13px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--subtle)}.palette-picker{border:0;padding:0;margin:12px 0 28px;min-width:0}.palette-picker legend{font-size:14px;color:var(--text);margin-bottom:16px}.palette-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.palette-choice{display:flex;flex-direction:column;gap:0;margin:0;padding:12px;min-width:0;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);cursor:pointer;transition:border-color .18s,box-shadow .18s}.palette-choice:hover{border-color:var(--focus);box-shadow:0 6px 20px var(--glow-soft)}.palette-choice:has(input:checked){border-color:var(--focus);box-shadow:0 0 0 1px var(--focus),0 8px 24px var(--glow-soft)}.palette-choice:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:4px}.palette-choice-heading{display:flex;align-items:center;gap:9px;padding:16px 3px 0;flex-wrap:wrap}.palette-choice-heading strong{font-size:14px;font-weight:650}.palette-choice input{width:17px;min-width:17px;height:17px;min-height:17px;flex:0 0 17px;margin:0}.palette-choice input:focus{outline:none}.palette-mode{margin-left:auto;font-size:10px;line-height:1.5;padding:3px 7px;border-radius:5px;background:var(--subtle);color:var(--muted)}.palette-description{padding:9px 3px 5px;font-size:12px;color:var(--muted);line-height:1.6}.palette-preview{display:flex;width:100%;height:142px;overflow:hidden;border:1px solid var(--sample-border);border-radius:8px;background:var(--sample-page);pointer-events:none}.palette-preview-rail{display:flex;flex-direction:column;gap:9px;width:21%;padding:15px 8px;background:var(--sample-sidebar);border-right:1px solid var(--sample-border)}.palette-preview-rail>i{display:block;width:70%;height:7px;background:var(--sample-accent);border-radius:2px;margin-bottom:11px}.palette-preview-rail>b{display:block;width:85%;height:4px;background:var(--sample-muted);opacity:.35;border-radius:2px}.palette-preview-content{display:flex;flex-direction:column;gap:10px;flex:1;min-width:0;padding:10px}.palette-preview-top{display:flex;gap:4px;align-items:center;justify-content:flex-end;height:10px}.palette-preview-top>i{display:block;width:4px;height:4px;background:var(--sample-muted);opacity:.5;border-radius:50%}.palette-preview-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.palette-preview-metrics>i{display:block;position:relative;height:27px;border:1px solid var(--sample-border);border-radius:4px;background:var(--sample-surface)}.palette-preview-metrics>i:after{content:"";position:absolute;left:6px;right:12px;top:12px;height:4px;background:var(--sample-accent);border-radius:2px;opacity:.8}.palette-preview-charts{display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:7px;flex:1;min-height:0}.palette-preview-line{display:flex;align-items:center;border:1px solid var(--sample-border);border-radius:5px;background:var(--sample-surface);padding:4px}.palette-preview-line svg{width:100%;height:51px}.palette-preview-donut{position:relative;align-self:center;width:48px;height:48px;border-radius:50%;background:conic-gradient(var(--sample-accent) 0 44%,var(--sample-secondary) 44% 73%,var(--sample-border) 73%)}.palette-preview-donut:after{content:"";position:absolute;inset:25%;border-radius:50%;background:var(--sample-page)}@media(max-width:1000px){.palette-choices{grid-template-columns:1fr}.palette-preview{height:150px}.palette-choice-heading strong{font-size:15px}}@media(prefers-reduced-motion:reduce){.palette-choice{transition:none}}
