/* The approved Home uses the existing Ballr tokens and phone layout. */
.app-brand{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center}.app-brand>.brand-lockup{justify-self:center}.brand-header-spacer{width:44px;height:44px;pointer-events:none}
.main{overscroll-behavior-y:none}
/* Data refreshes replace the wrapper; do not replay a page entrance on each update. */
.main>div{animation:none}
.ui-icon{display:inline-block;width:var(--icon-size,22px);height:var(--icon-size,22px);flex:0 0 auto;background:currentColor;mask:var(--icon-source) center/contain no-repeat;-webkit-mask:var(--icon-source) center/contain no-repeat}
.notification-button{position:relative;width:44px;height:44px;flex-shrink:0;background:var(--brand-surface);color:var(--brand-accent)}.notification-dot{position:absolute;right:10px;top:8px;width:6px;height:6px;border:1.5px solid var(--screen-bg);border-radius:50%;background:var(--orange)}
.brand-lockup{min-height:44px;flex-shrink:0}.brand-lockup img{width:30px;height:30px}.app-brand{padding-top:max(14px,env(safe-area-inset-top));min-height:58px}
.home-hub .home-head{padding:14px 22px 18px;display:block}.home-head h1{font-size:22px;line-height:1.35;letter-spacing:-.5px}.home-date{margin-top:5px;font-size:12px;color:#85858e;line-height:1.5}
.home-hub .home-balance{padding:18px 18px 17px;border-radius:27px}.home-hub .home-balance .balance-label{font-size:13px;margin-top:16px}.home-hub .home-balance .balance-value{font-size:clamp(34px,11vw,44px);line-height:1.22;letter-spacing:-1.5px;margin-top:4px}.home-income-sources{color:#a5a5af;font-size:12px;line-height:1.55;text-align:center;margin-top:7px;overflow-wrap:anywhere}.home-breakdown-link{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:6px auto -3px;color:#fff;font-size:12px;font-weight:500}
.home-hub .purpose-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.home-hub .purpose-card{min-width:0;padding:12px 13px 14px;min-height:116px;border-radius:21px;background:#fcfcfd}.home-hub .purpose-card .purpose-top{grid-template-columns:28px minmax(0,1fr) 10px;gap:7px;font-size:12px;min-width:0}.home-hub .purpose-label{overflow-wrap:anywhere;line-height:1.4}.home-hub .purpose-amount{font-size:22px;line-height:1.35;margin-top:9px;overflow-wrap:anywhere;max-width:100%}.home-hub .purpose-bank{font-size:11px;line-height:1.5;white-space:normal;overflow:visible;max-width:100%;overflow-wrap:anywhere}.purpose-goal-progress{display:flex;align-items:center;gap:8px;width:100%;margin-top:10px}.home-savings-track,.home-goal-track{display:block;background:#e0e1e7;border-radius:99px;height:6px;overflow:hidden;flex:1;min-width:0}.home-savings-fill,.home-goal-fill{display:block;height:100%;background:#22c55e;border-radius:99px}.home-savings-count{font-size:10px;white-space:nowrap;color:#85858e}
.home-hub .goals-head{padding-top:19px;padding-bottom:11px}.home-hub .goals-head h2{font-size:17px}.home-hub .bill-mini{padding:14px}.home-hub .bill-mini .bill-price{max-width:34%}.home-goals{display:grid;gap:9px;margin:0 22px}.home-goal-row{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:78px;padding:13px;background:#fcfcfd;border:1px solid #ededf0;border-radius:22px;text-align:left}.home-goal-row>.tile{width:40px;height:40px;border-radius:50%}.home-goal-info{min-width:0;flex:1}.home-goal-title{display:flex;align-items:center;gap:10px;justify-content:space-between;min-width:0}.home-goal-title b{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.home-goal-percent{font-size:11px;color:#85858e;flex-shrink:0}.home-goal-amount{display:block;font-size:11px;line-height:1.6;color:#85858e;margin:2px 0 7px;overflow-wrap:anywhere}.home-empty{margin:0 22px;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:20px;background:#fafafb}.home-empty p{font-size:12px;line-height:1.6;color:#85858e}.home-empty .text-button{min-height:44px}
.workspace-intro{font-size:13px;line-height:1.7;color:#7e7e88;margin:0 22px 17px}.workspace-balance .balance-label{margin-top:0}.workspace-balance .balance-value{font-size:34px;overflow-wrap:anywhere}.workspace-list{margin:0 22px;border-radius:22px;overflow:hidden;background:#fcfcfd;border:1px solid #ededf0}.workspace-list:empty{display:none}.workspace-row{display:flex;align-items:center;gap:11px;width:100%;min-width:0;min-height:75px;padding:15px;text-align:left}.workspace-row+.workspace-row{border-top:1px solid #ededf0}.workspace-row-copy{min-width:0;flex:1}.workspace-row-copy b{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.workspace-row-copy small{display:block;font-size:11px;line-height:1.5;color:#85858e;margin-top:3px;overflow-wrap:anywhere}.workspace-row>strong{font-size:13px;max-width:35%;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.workspace-row>.tile{width:35px;height:35px;border-radius:12px}.workspace-row>svg{flex-shrink:0}
/* Ballr adaptation of reviewed notification selection patterns; motion uses the shared press system. */
.notification-workspace{padding-bottom:8px}.notification-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px;padding:4px 18px 10px;background:var(--screen-bg,#f1f1f3)}.notification-summary{padding-left:4px;font-size:12px;line-height:1.5;color:#777781;overflow-wrap:anywhere}.notification-toolbar-action{flex:none;min-height:44px;min-width:44px;padding:10px 8px;border-radius:12px;font-size:13px;line-height:1.5;font-weight:600;color:#25252a}.notification-selection-count{min-width:0;text-align:center;overflow-wrap:anywhere;font-size:12px;line-height:1.5;color:#777781;font-variant-numeric:tabular-nums}.notification-row{--press-scale:.985}.notification-row.is-selected{background:#ececf1}.notification-check{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border:1.5px solid #c0c0c8;border-radius:7px;color:#fff;background:#fff;box-sizing:border-box}.notification-check>svg{opacity:0}.notification-row[aria-checked=true] .notification-check{border-color:#222226;background:#222226}.notification-row[aria-checked=true] .notification-check>svg{opacity:1}.notification-row:focus-visible{outline-offset:-4px}.notification-explainer{margin:13px 28px 0;color:#7e7e88;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.notification-error{margin:0 22px 12px;border:1px solid #efc6c9;border-radius:14px;padding:12px 14px;background:#fff4f5;font-size:12px;line-height:1.6;color:#a52e3a;overflow-wrap:anywhere}.notification-clear-bar{position:sticky;bottom:0;z-index:3;margin:18px 22px 0;border-radius:999px;background:var(--screen-bg,#f1f1f3);box-shadow:0 0 0 7px var(--screen-bg,#f1f1f3)}.notification-clear-bar>.primary-button{width:100%;min-height:48px}.notification-workspace button:disabled{cursor:default}
.lifestyle-budget-actual{display:flex;justify-content:center;gap:24px;margin-top:18px;padding-top:16px;border-top:1px solid #ffffff30}.lifestyle-budget-actual>div{min-width:0;flex:1}.lifestyle-budget-actual span{display:block;font-size:11px;line-height:1.5;color:var(--category-card-text)}.lifestyle-budget-actual strong{display:block;margin-top:3px;font-size:19px;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.lifestyle-budget-edit{display:flex;align-items:center;justify-content:center;gap:6px;color:#fff;min-height:44px;margin:9px auto -8px;padding:7px 12px;font-size:12px;border-radius:99px}.lifestyle-budget-edit:focus-visible{outline:2px solid #fff;outline-offset:2px}.lifestyle-budget-edit:hover{background:#ffffff14}
.workspace-accounts .list-card{min-height:76px;min-width:0;gap:12px}.workspace-accounts .list-info{min-width:0}.workspace-accounts .list-info b,.workspace-accounts .list-info p{overflow-wrap:anywhere;white-space:normal}.workspace-accounts .list-amount{max-width:32%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.workspace-account-choice .list-info{flex:1}.workspace-accounts+.segmented{margin-top:24px}#activity-search{min-width:0;font-size:16px}.segmented[aria-label="Transaction type"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.segmented[aria-label="Transaction type"] button{min-width:0;min-height:44px;padding-inline:5px;font-size:11px}
.breakdown-bank-controls{margin-top:12px}.breakdown-bank-controls>.outline-button{width:100%;min-height:48px}.allocation-page .bank-connections{margin:22px 0 0}.account-purpose-choices .list-card{width:100%;margin-inline:0;min-width:0}.account-purpose-choices .list-info{min-width:0}.account-purpose-choices .list-info p{white-space:normal;overflow-wrap:anywhere}.workspace-accounts .empty-state p{max-width:30ch;margin-inline:auto}
.settings-page{padding:0 22px}.settings-page>.surface{margin:0 0 14px}.settings-page>.fine-print{padding-inline:6px}.settings-page .bank-progress{margin-inline:0}.settings-page .button-wrap{padding-inline:0}.settings-page .bank-connections{margin-top:18px}.settings-page .surface p{overflow-wrap:anywhere}
.agent-intro{padding:28px 22px 20px}.agent-intro>.tile{width:60px;height:60px;border-radius:19px}.agent-intro h1{font-size:34px;font-weight:800;line-height:1.18;letter-spacing:-1px;margin-top:18px}.agent-intro p{font-size:13px;line-height:1.7;color:#85858e;max-width:280px;margin:12px 0}.agent-status h2{font-size:14px;margin-bottom:7px}.agent-status p{color:#85858e;font-size:12px;line-height:1.7}
.allocation-page{padding:0 22px}.allocation-intro,.allocation-guide{font-size:12px;line-height:1.7;color:#85858e;margin:0 0 16px}.allocation-summary{padding:21px;background:#202125;border-radius:25px;color:#fff;margin-bottom:17px}.allocation-summary>span{font-size:12px;color:#b3b3ba}.allocation-summary>strong{display:block;font-size:31px;letter-spacing:-1px;line-height:1.35;margin:7px 0 18px;overflow-wrap:anywhere}.allocation-summary>div{display:flex;justify-content:space-between;gap:16px;font-size:12px;border-top:1px solid #ffffff20;padding-top:15px}.allocation-summary>div span{color:#b3b3ba}.allocation-summary>div strong{overflow-wrap:anywhere;text-align:right}.allocation-summary p{font-size:10px;line-height:1.7;color:#a5a5af;margin-top:10px}.allocation-list{border:1px solid #ededf0;border-radius:22px;background:#fcfcfd;overflow:hidden}.allocation-row{padding:17px 15px}.allocation-row+.allocation-row{border-top:1px solid #ededf0}.allocation-row-heading{display:flex;align-items:center;gap:9px;min-width:0}.allocation-row-heading>.badge{padding:8px;border-radius:11px;flex-shrink:0}.allocation-row-heading>.badge.orange{background:var(--orange-tile);color:#dd8a2f}.allocation-row-heading>.badge.blue{background:var(--blue-tile);color:var(--blue)}.allocation-row-heading h2{font-size:13px;min-width:0;overflow-wrap:anywhere}.allocation-amount{margin-left:auto;text-align:right;min-width:0;max-width:48%}.allocation-amount strong{display:block;font-size:14px;overflow-wrap:anywhere}.allocation-amount span{display:block;font-size:10px;margin-top:3px;color:#85858e}.allocation-bank{padding-left:45px;margin-top:9px;min-width:0}.allocation-bank strong,.allocation-bank span{display:block;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.allocation-bank span{color:#85858e}.allocation-guide{margin:15px 0}.allocation-page>.btn{width:100%;border-radius:99px;min-height:48px;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 17px;margin-top:12px}.allocation-page>.btn-black{background:#101113;color:#fff;box-shadow:0 8px 20px -12px #0009}.allocation-page>.btn-outline{border:1px solid #dadade;background:#fafafa}.allocation-editor fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.allocation-editor legend{font-size:14px;font-weight:700;margin-bottom:11px}.allocation-editor label{display:block;font-size:11px;font-weight:600;color:#73737b;line-height:1.5;margin:9px 0 6px}.allocation-editor input,.allocation-editor select{display:block;box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:48px;border:1px solid #e1e1e7;border-radius:15px;padding:12px 13px;background:#fff;font-size:16px;color:var(--ink)}
@media(max-width:360px){.home-hub .purpose-card{padding-inline:10px}.home-hub .purpose-card .purpose-top{gap:5px;grid-template-columns:25px minmax(0,1fr) 9px;font-size:11px}.home-hub .purpose-card .tile{width:25px;height:25px}.home-hub .purpose-amount{font-size:20px}.home-hub .home-head h1{font-size:20px}.home-hub .purpose-bank{font-size:10px}.allocation-bank{padding-left:0}.workspace-row{gap:8px;padding:13px}.workspace-row-copy b{font-size:12px}}
/* Full-width categories keep the amount and its real assigned institution together. */
.home-hub .purpose-grid{grid-template-columns:minmax(0,1fr);gap:11px}
.home-hub .purpose-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) 13px;align-items:center;gap:10px 12px;min-height:128px;padding:16px;border-radius:22px;width:100%}
.home-hub .purpose-card-main{display:block;min-width:0}
.home-hub .purpose-card .purpose-top{grid-template-columns:28px minmax(0,1fr);gap:9px;font-size:13px}
.home-hub .purpose-card .purpose-amount{display:block;margin-top:11px;font-size:25px;line-height:1.25}
.home-hub .purpose-card .purpose-bank{display:block;margin-top:5px;font-size:11px}
.purpose-destination{display:block;min-width:0;text-align:right;overflow-wrap:anywhere}
.purpose-bank-caption,.purpose-bank-detail{display:block;font-size:10px;line-height:1.5;color:#85858e}
.purpose-bank-name{display:block;font-size:12px;font-weight:600;line-height:1.5;color:#3e3e46;margin:3px 0}
.purpose-destination.is-unassigned .purpose-bank-name{font-weight:400;color:#85858e;font-size:11px}
.home-hub .purpose-card>.purpose-chevron{display:grid;place-items:center;color:#8f8f96}
.home-hub .purpose-goal-progress{grid-column:1/-1;margin-top:1px}
.home-income-heading{display:flex;align-items:center;justify-content:center;gap:14px}
.home-hub .home-income-heading .cardnum{min-width:0;flex:1;text-align:center}
.home-income-heading .pill{max-width:100%;gap:7px;padding:10px 12px;min-height:44px;font-size:12px;white-space:normal}
.home-income-heading .pill>svg{flex:none}
.home-income-heading .purpose-destination{flex:0 1 40%}
.home-income-heading .purpose-bank-name{color:#f2f2f5;font-size:11px}
.home-income-heading .purpose-bank-caption,.home-income-heading .purpose-bank-detail{color:#b5b5bf}
.home-income-heading .is-unassigned .purpose-bank-name{color:#b5b5bf}
.home-hub .purpose-card[data-action=lending],.lending-balance{--category-color:#117f81;--category-card-end:#0b6264;--category-soft:#e4f5f3;--category-card-text:#e6faf7}
.tile.teal,.allocation-row-heading>.badge.teal{background:#e4f5f3;color:#117f81}
.home-total-wealth{margin:0 22px 8px;padding:20px;border:1px solid #e3e3e8;border-radius:24px;background:#fcfcfd;min-width:0}
.home-wealth-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.home-wealth-heading>.tile{width:34px;height:34px;border-radius:11px;background:var(--brand-surface);color:var(--brand-accent)}
.home-wealth-heading h2{font-size:15px;line-height:1.4;flex:1;min-width:0}
.home-wealth-heading>span:last-child{font-size:10px;color:#85858e}
.home-wealth-value{display:block;font-size:32px;line-height:1.3;letter-spacing:-.8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin-top:16px}
.home-total-wealth>p,.home-wealth-details p{font-size:11px;line-height:1.6;color:#85858e;margin-top:7px}
.home-wealth-details{margin-top:14px;border-top:1px solid #e9e9ed}
.home-wealth-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;list-style:none;font-size:12px;color:#565660}
.home-wealth-details>summary::-webkit-details-marker{display:none}
.home-wealth-details>div>div{display:flex;justify-content:space-between;gap:14px;font-size:11px;line-height:1.6;padding:7px 0}
.home-wealth-details>div>div>span{min-width:0;color:#85858e}
.home-wealth-details strong{font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;max-width:48%}
.home-wealth-details>summary:focus-visible{outline:2px solid #3d7ded;outline-offset:2px;border-radius:6px}
.lending-balance{background:linear-gradient(180deg,var(--category-color),var(--category-card-end));color:#fff}
.lending-balance .balance-label,.lending-balance .balance-note{color:#e6faf7}
.lending-balance .balance-value{color:#fff}
.lending-list .workspace-row>.tile{background:#e4f5f3;color:#117f81}
@media(max-width:360px){.home-hub .purpose-card{padding:14px;gap:9px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr) 10px}.home-hub .purpose-card .purpose-top{grid-template-columns:25px minmax(0,1fr);gap:7px;font-size:12px}.home-hub .purpose-card .purpose-amount{font-size:23px}.purpose-bank-name{font-size:11px}.home-income-heading{gap:9px}.home-income-heading .pill{font-size:11px;padding:9px;gap:4px}.home-income-heading .pill>svg:first-child{width:18px}.home-income-heading .purpose-bank-name{font-size:10px}.home-wealth-value{font-size:29px}}

/* Keep the new source journeys in the previous white-card design. */
.home-hub .purpose-card.home-card-wide{grid-template-columns:minmax(0,1fr) 13px}
.home-hub .purpose-card[data-action="home-business"]{--category-color:#b44708;--category-soft:#fdf0e0}
.home-hub .purpose-card[data-action="home-capital-gains"]{--category-color:#393735;--category-soft:var(--brand-surface)}
.home-hub .purpose-card[data-action="home-sports"]{--category-color:#117f81;--category-soft:#e4f5f3}
.home-hub .purpose-source-context .purpose-bank-name{font-weight:400;color:#85858e;font-size:11px}
.home-hub .purpose-capital-progress{display:grid;gap:7px}
.purpose-progress-caption{display:flex;align-items:baseline;justify-content:space-between;gap:5px 12px;flex-wrap:wrap;font-size:10px;line-height:1.5;color:#85858e}
.purpose-progress-caption>span:last-child{font-variant-numeric:tabular-nums}
.purpose-capital-progress .home-savings-track{width:100%;height:5px}
@media(max-width:360px){.home-hub .purpose-card.home-card-wide{grid-template-columns:minmax(0,1fr) 10px}}

/* Income and Wealth reuse the restored Home card system. */
.home-hub .home-section-head{padding-top:18px;padding-bottom:12px}
.home-hub .home-section-head h2{font-size:20px;line-height:1.35;letter-spacing:-.35px}
.home-hub .home-money-section .purpose-grid{margin-top:0}
.home-hub .home-money-section+.home-money-section .home-section-head{padding-top:27px}
.home-hub .purpose-card[data-action="home-investments"]{--category-color:#2762bc;--category-soft:#e8f0fc}

.home-hub .home-money-section .home-balance+.purpose-grid{margin-top:14px}

/* Each Home view keeps one hero and its own source journeys. */
.home-hub .purpose-card{border:0;color:var(--ink,#17171a)}
.home-hub .purpose-card[data-action="savings"] .purpose-amount{color:#177548}
.home-hero-links{display:flex;justify-content:center;gap:6px 18px;flex-wrap:wrap;margin-top:6px}
.home-hero-links .home-breakdown-link{margin:0;min-width:44px}
.home-capital-note{font-size:11px;line-height:1.6;text-align:center;color:#b8b8c0;margin-top:7px}
.home-capital-balance .purpose-capital-progress{max-width:330px;margin:17px auto 11px;text-align:left}
.home-capital-balance .purpose-progress-caption{color:#c9c9d0}
.home-capital-balance .home-savings-track{background:#46464f}
.purpose-weekly-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0 9px;min-width:0}
.purpose-weekly-results>span{display:block;min-width:0}
.purpose-weekly-results>span>span{display:block;font-size:10px;line-height:1.5;color:#72727c}
.purpose-weekly-results strong{display:block;font-size:clamp(20px,6vw,25px);line-height:1.4;letter-spacing:-.4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.purpose-weekly-results .betting-profit{color:#177548}
.purpose-weekly-results .betting-loss{color:#b52b3b}
.allocation-page>.income-account-card{margin:0 0 17px}
.home-hub .purpose-card[data-action="lending"] .purpose-amount{color:#177548}

/* Wealth is a distinct trading-led view with a rich purple hero. */
.main.home-hub>div{animation:none}
.home-hub .home-capital-balance{background:linear-gradient(145deg,#30271f,#171717);box-shadow:0 12px 26px -16px var(--brand-shadow)}
.home-capital-balance .balance-label,.home-capital-balance .home-capital-note{color:#fff}
.home-capital-balance .home-income-heading .pill{background:#00000020;color:#fff}
.home-capital-balance .home-income-heading .pill svg:first-child{color:#fff}
.home-capital-balance .purpose-progress-caption{color:#fff}
.home-capital-balance .home-savings-track{background:#ffffff35}
.home-capital-balance .home-savings-fill{background:#fff}
.home-hub .home-owner-balance{background:linear-gradient(145deg,#30271f,#171717)}
.home-hub .purpose-amount.is-gain{color:#177548}
.home-hub .purpose-amount.is-loss{color:#b52b3b}
.home-income-heading .pill{max-width:100%;white-space:normal;min-height:44px}
.home-income-heading .pill span{overflow-wrap:anywhere}
.owner-business-category>.wealth-section-heading>.text-button{min-height:44px;flex:none}
.portfolio-income-returns>.wealth-list-heading{margin-top:22px}
.home-wealth-goals .goals-head,.home-wealth-milestones .goals-head{padding-top:25px}
.home-wealth-goals .goals-head h2,.home-wealth-milestones .goals-head h2{font-size:18px;letter-spacing:-.3px}
.home-wealth-goals .wealth-goal-row .tile{border-radius:13px;background:var(--brand-surface);color:var(--brand-accent)}
.wealth-goal-row .home-goal-fill{background:var(--brand-muted)}
.wealth-goal-create{margin:4px 22px 0;display:flex;justify-content:flex-end}
.wealth-goal-create .text-button{min-height:44px;gap:5px}
.home-wealth-empty,.home-wealth-state{margin:0 22px;padding:20px 18px;border-radius:22px;background:#fcfcfd;min-width:0}
.home-wealth-empty h3{font-size:14px;line-height:1.5}
.home-wealth-empty p,.home-wealth-state{font-size:12px;line-height:1.65;color:#777781;overflow-wrap:anywhere}
.home-wealth-empty p{margin-top:5px}
.home-wealth-empty .outline-button{margin-top:16px;min-height:46px;font-size:12px}
.home-wealth-state{display:flex;align-items:center;justify-content:space-between;gap:10px}
.home-wealth-state .text-button{min-width:44px;min-height:44px}
.wealth-section-caption{font-size:10px;line-height:1.5;color:#85858e;text-align:right}
.wealth-milestone-list{margin:0 22px;border-radius:22px;background:#fcfcfd;overflow:hidden}
.wealth-milestone-row{display:flex;align-items:center;gap:13px;min-height:81px;padding:16px;width:100%;text-align:left}
.wealth-milestone-row+.wealth-milestone-row{border-top:1px solid #ededf0}
.wealth-milestone-date{flex:none;display:grid;place-items:center;min-width:55px;min-height:44px;padding:8px;background:#f0f0f3;border-radius:12px;font-size:11px;font-weight:600;line-height:1.4;color:#595961}
.wealth-milestone-copy{flex:1;min-width:0}
.wealth-milestone-copy b{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.wealth-milestone-copy small{display:block;font-size:11px;color:#85858e;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}
.wealth-milestone-copy .is-overdue{color:#a2473b}
.wealth-milestone-row>svg{flex:none;color:#85858e}
@media(max-width:360px){.wealth-milestone-row{padding:14px;gap:10px}.wealth-milestone-date{min-width:48px;font-size:10px}}
.goal-filters button{min-height:44px}

/* The personal wealth overview stays in place above each income view. */
.home-hub .home-head{padding-bottom:18px}
.home-hub .home-total-wealth{margin:0 22px;padding:22px 20px 0;border:0;border-radius:27px;background:linear-gradient(145deg,#30271f,#171717);color:#fff;box-shadow:0 12px 26px -18px var(--brand-shadow);overflow:hidden}
.home-total-wealth .home-wealth-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
.home-total-wealth h2{font-size:15px;font-weight:600;letter-spacing:0;line-height:1.5;color:#fff}
.home-total-wealth .home-wealth-currency{font-size:10px;font-weight:600;letter-spacing:1px;border:1px solid #ffffff35;padding:4px 7px;border-radius:7px}
.home-total-wealth .home-wealth-value{display:block;margin:15px 0 7px;font-size:clamp(34px,10vw,43px);font-weight:700;letter-spacing:-1.6px;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.home-total-wealth>p{font-size:11px;line-height:1.7;color:var(--brand-surface)}
.home-wealth-freshness{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0 0;min-height:44px;font-size:10px;line-height:1.5;color:var(--brand-surface)}
.home-wealth-freshness>span{min-width:0;overflow-wrap:anywhere}
.home-wealth-freshness>button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;color:#fff;border-radius:50%}
.home-total-wealth .home-wealth-details{margin:0 -20px;border-top:1px solid #ffffff29;background:#0000000c}
.home-total-wealth .home-wealth-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:11px 20px;font-size:11px;line-height:1.5;color:#fff;cursor:pointer;list-style:none}
.home-wealth-details>summary::-webkit-details-marker{display:none}
.home-total-wealth .home-wealth-details>div{padding:0 20px 10px}
.home-total-wealth .home-wealth-details>div>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:7px 0;font-size:11px;line-height:1.5;color:#fff}
.home-total-wealth .home-wealth-details strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}
.home-total-wealth .home-wealth-details p{padding:0 20px 12px;font-size:10px;line-height:1.65;color:var(--brand-surface)}
.home-cash-summary{display:flex;align-items:center;gap:10px;width:calc(100% - 44px);margin:12px 22px 0;padding:13px 14px;min-height:76px;background:#fcfcfd;border-radius:20px;text-align:left}
.home-cash-summary>span:nth-child(2){flex:1;min-width:0}
.home-cash-summary b{display:block;font-size:12px;line-height:1.5;font-weight:600}
.home-cash-summary small{display:block;font-size:10px;line-height:1.6;color:#71717b;margin-top:2px;overflow-wrap:anywhere}
.home-cash-summary>svg{flex:none;color:#777781}
.home-portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 22px}
.home-portfolio-link{display:flex;align-items:center;gap:9px;min-width:0;min-height:80px;padding:14px 12px;border-radius:20px;background:#fcfcfd;text-align:left}
.home-portfolio-link>span:nth-child(2){flex:1;min-width:0}
.home-portfolio-link b{display:block;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.home-portfolio-link small{display:block;font-size:10px;line-height:1.5;color:#71717b;margin-top:3px;overflow-wrap:anywhere}
.home-portfolio-link>svg{flex:none;color:#8a8a93}
.home-portfolio-link:last-child:nth-child(odd){grid-column:1/-1;min-height:64px}
.home-portfolio-link .tile{width:30px;height:30px;border-radius:10px}
.home-income-context{margin:-2px 22px 12px;color:#71717b;font-size:10px;line-height:1.6}
.home-hub .home-money-section>.home-section-head{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-attention .goals-head h2{font-size:17px}
.home-attention .goals-head>.text-button{min-width:44px;min-height:44px;justify-content:center}
.home-attention-list{margin:0 22px;border-radius:22px;overflow:hidden;background:#fcfcfd}
.home-attention-row{display:flex;align-items:center;gap:10px;width:100%;min-height:82px;padding:15px 14px;text-align:left}
.home-attention-row+.home-attention-row{border-top:1px solid #ededf0}
.home-attention-copy{min-width:0;flex:1}
.home-attention-copy b{display:block;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.home-attention-copy small{display:block;font-size:10px;color:#71717b;line-height:1.6;margin-top:4px;overflow-wrap:anywhere}
.home-attention-row.is-overdue .home-attention-copy small{color:#a13d35}
.home-attention-row>strong{max-width:32%;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.home-attention-row>svg{flex:none;color:#8a8a93}
.home-overview-status{display:flex;flex-direction:column;gap:5px;margin:0 22px;padding:19px 17px;background:#fcfcfd;border-radius:20px;font-size:12px;line-height:1.65;color:#71717b;overflow-wrap:anywhere}
.home-overview-status b{font-size:13px;font-weight:600;color:var(--ink)}
.home-hub .home-wealth-goals .goals-head,.home-hub .home-wealth-milestones .goals-head{padding-top:23px}
@media(max-width:360px){.home-hub .home-total-wealth{padding-inline:17px}.home-total-wealth .home-wealth-details{margin-inline:-17px}.home-portfolio-grid{gap:8px}.home-portfolio-link{padding:12px 8px;gap:6px}.home-portfolio-link>.tile{width:25px;height:25px}.home-portfolio-link>svg{width:9px}.home-portfolio-link b{font-size:11px;overflow-wrap:normal}.home-cash-summary{gap:8px;padding:13px 11px}.home-attention-row{padding:14px 11px;gap:8px}.home-attention .goals-head h2{font-size:16px}}
