/* Application navigation */
:root{--sidebar-width:252px;--appbar-height:72px}
.skip-link{position:fixed;left:16px;top:-80px;z-index:300;background:#ff7900;color:white;padding:12px;border-radius:8px}.skip-link:focus{top:12px}
.app-shell{overflow-x:clip}.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);height:100dvh;display:flex;flex-direction:column;background:#1b1e20;border-right:1px solid #32373a;z-index:100;box-shadow:8px 0 30px #0001}
.sidebar-brand-row{height:var(--appbar-height);flex-shrink:0;display:flex;align-items:center;padding:14px 20px;border-bottom:1px solid #303538}.sidebar-brand-row .brand{font-size:23px;gap:10px}.sidebar-brand-row .brand img{width:40px;height:40px}.sidebar-brand-row .brand small{font-size:6.5px;letter-spacing:1px}
.sidebar-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;gap:4px!important;padding:18px 12px;overflow-y:auto;flex:1;min-height:0;font-size:14px;scrollbar-width:thin;scrollbar-color:#454b50 transparent}
.sidebar-label{font-size:10px;font-weight:700;letter-spacing:1.9px;color:#7d878e;padding:6px 14px 12px}.sidebar-label:not(:first-child){padding-top:26px}
.sidebar-link{display:flex;align-items:center;gap:12px;position:relative;padding:11px 14px;min-height:44px;border:1px solid transparent;border-radius:9px;color:#b7bfc5;font-size:13px;font-weight:550;line-height:1.35;flex-shrink:0}
.sidebar-link svg,.sidebar-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar-link:hover{background:#282d30;color:#fff}.sidebar-link.active{background:#ff790019;border-color:#ff79003b;color:#ff9b4a}.sidebar-link.active:before{content:'';position:absolute;left:-13px;top:10px;bottom:10px;width:3px;background:#ff8a24;border-radius:3px}.nav-active-dot{width:6px;height:6px;background:#ff8a24;border-radius:50%;margin-left:auto}.sidebar-child{padding-left:30px;min-height:38px;font-size:12px}.sidebar-child svg{width:15px;height:15px}
.sidebar-account{padding:16px;border-top:1px solid #303538;flex-shrink:0}.sidebar-user{display:flex;gap:10px;align-items:center;min-width:0}.sidebar-user>div{min-width:0}.sidebar-user strong{font-size:12px;display:block}.sidebar-user small{display:block;max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8b969e;font-size:10px}.user-avatar{width:32px;height:32px;background:#ff790023;color:#ff9b4a;border:1px solid #ff790042;border-radius:9px;display:grid;place-items:center;font-weight:700}.sidebar-signout{background:none;border:0;color:#99a4ac;display:flex;justify-content:space-between;width:100%;padding:16px 2px 0;cursor:pointer;font:inherit;font-size:12px}.sidebar-signout:hover{color:white}
.app-content{margin-left:var(--sidebar-width);min-width:0}.app-bar{position:sticky;top:0;z-index:45;min-height:var(--appbar-height);height:var(--appbar-height);padding:12px 28px;border-bottom:1px solid #303538;background:#191c1ef2;backdrop-filter:blur(16px);display:flex;align-items:center;justify-content:space-between;gap:16px}.app-bar-heading{display:flex;align-items:center;gap:12px;min-width:0;font-size:14px;color:#d4dade;font-weight:600}.app-bar-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}.sa-badge{color:#8a969e;font-size:11px}.app-bar .btn{padding:8px 12px;font-size:12px}.sidebar-toggle,.sidebar-close{display:none;background:transparent;border:1px solid #3a4248;color:#d6dee4;border-radius:8px;padding:8px;cursor:pointer}.sidebar-toggle{align-items:center;justify-content:center}.sidebar-close{font-size:24px;line-height:22px}.app-footer{display:flex;justify-content:space-between;gap:16px;margin-top:30px;padding:24px 28px;text-align:left;font-size:11px;color:#77838c}.app-footer span{margin-left:auto}.app-content .dashboard{padding:32px 28px;max-width:1480px}.app-content .budget-workspace{padding:28px 28px 60px}.app-content .workspace-heading h1{font-size:clamp(1.8rem,3vw,2.6rem)}
.page-menu,.budget-tabs,.admin-nav{position:sticky;top:var(--appbar-height);z-index:30;display:flex;align-items:center;gap:8px;padding:12px 0;margin:0 0 24px;background:#161819f5;backdrop-filter:blur(18px);border-bottom:1px solid #353d43;overflow-x:auto;scrollbar-width:thin;flex-wrap:nowrap}.page-menu a,.budget-tabs a,.admin-nav a{flex-shrink:0;white-space:nowrap;padding:9px 14px;border:1px solid #3a4248;border-radius:8px;background:#22272b;color:#b8c1c8;font-size:12px;font-weight:600}.page-menu a.active,.budget-tabs a.active,.admin-nav a.active{color:#ffab66;background:#ff79001c;border-color:#ff8a2466}.page-menu a:hover,.budget-tabs a:hover,.admin-nav a:hover{border-color:#ff8a24;color:#ffab66}.app-content section[id],.app-content div[id]{scroll-margin-top:150px}.section-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.section-actions .btn{font-size:12px;padding:9px 12px}.budget-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 24px}.category-table{min-width:620px}.category-rename-form{display:flex;align-items:end;gap:10px;max-width:460px}.category-rename-form label{flex:1;margin:0}.category-rename-form .btn{flex-shrink:0;font-size:12px;padding:11px}.category-rename-form input{min-width:140px}.category-empty{padding:24px;background:#1c2023;border-radius:10px}.category-table td{vertical-align:middle}.category-name-link{border-bottom:1px dotted #a96d40;color:#ffb374}.category-help{margin:16px 0;padding:16px 20px;border-left:3px solid #ff8a24;background:#ff790009;border-radius:0 10px 10px 0}.sidebar-backdrop{position:fixed;inset:0;border:0;background:#0009;z-index:90;backdrop-filter:blur(3px)}
@media(max-width:1100px){:root{--sidebar-width:230px}.sidebar-brand-row{padding-inline:14px}.app-content .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app-content .chart-pair{grid-template-columns:1fr}.app-content .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-content .feature-main{grid-column:span 2}.sa-badge{display:none}}
@media(max-width:760px){:root{--appbar-height:64px;--sidebar-width:252px}.app-sidebar{transform:translateX(-100%);transition:transform .2s ease}.app-shell.sidebar-open .app-sidebar{transform:translateX(0)}.app-content{margin-left:0}.sidebar-toggle,.sidebar-close{display:flex}.sidebar-close{margin-left:auto}.sidebar-brand-row .brand{font-size:20px}.sidebar-brand-row .brand small{font-size:6px}.sidebar-brand-row{gap:10px;padding-inline:14px}.app-bar{padding-inline:16px}.app-bar-heading{font-size:12px}.app-bar-actions .btn{font-size:11px;padding:8px 10px}.app-content .dashboard{padding:24px 16px}.app-content .budget-workspace{padding:24px 12px 50px}.app-content .feature-grid{grid-template-columns:1fr}.app-content .feature-main{grid-column:auto}.app-content .two-col{grid-template-columns:1fr}.page-menu,.budget-tabs,.admin-nav{margin-bottom:18px}.app-footer{padding-inline:16px}.app-footer span{display:none}.app-shell.sidebar-open{overflow:hidden}.section-head{flex-wrap:wrap}.category-rename-form{flex-wrap:wrap}.category-table{min-width:520px}}
@media(prefers-reduced-motion:reduce){.app-sidebar{transition:none}html{scroll-behavior:auto}}
@media print{.app-sidebar,.app-bar,.page-menu,.budget-tabs,.admin-nav,.sidebar-backdrop,.skip-link{display:none!important}.app-content{margin-left:0}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Spreadsheet controls stay directly in their rows and cells. */
.finance-sheet .editable-row-heading{min-width:210px;vertical-align:top;white-space:normal}.row-name-editor{margin:0}.row-name-editor>summary{color:#e6edf2;font-size:13px;font-weight:650;list-style:none;padding:4px 0;white-space:normal}.row-name-editor>summary span{color:#ff9b4a;font-size:11px}.row-name-editor>form{white-space:normal;padding:8px 0;min-width:180px}.row-name-editor input{font-size:12px;padding:8px}.row-name-editor label{font-size:11px}.row-controls{display:flex;gap:12px;margin-top:7px}.row-controls form{display:flex;gap:4px}.row-icon-button{display:inline-flex;align-items:center;justify-content:center;background:#282e33;border:1px solid #424d56;border-radius:5px;color:#abb9c5;min-width:26px;height:25px;cursor:pointer;font-size:15px;line-height:1}.row-icon-button:hover{color:#ffb376;border-color:#ff8a24}.row-icon-button:disabled{opacity:.25;cursor:default}.row-delete:hover{color:#ff938b;border-color:#ad5c54}.cell-editor{margin:0}.cell-editor>summary{list-style:none;font-size:12px;padding:5px 0;color:#dce5ec;cursor:pointer}.cell-editor>summary span{color:#a7744b;font-size:10px}.cell-editor>summary:hover,.cell-editor[open]>summary{color:#ffb176}.cell-editor-content{width:190px;text-align:left;white-space:normal;background:#1b2024;border:1px solid #664528;border-radius:9px;padding:12px;margin-top:8px}.cell-editor-content>strong{font-size:11px;color:#ffb176}.cell-editor-content label{font-size:10px;margin:9px 0}.cell-editor-content input,.cell-editor-content select{font-size:12px;padding:8px;min-width:0}.cell-existing-entry{display:flex;align-items:end;gap:6px}.cell-existing-entry label{flex:1;min-width:0}.cell-existing-entry button{margin-bottom:10px}.cell-close{font-size:11px;margin-top:10px;padding:0;color:#aebbc4}.table-add-row{display:flex;align-items:end;gap:12px;max-width:570px;text-align:left;white-space:normal;padding:8px 0}.table-add-row label{flex:1;margin:0;font-size:12px}.table-add-row input{font-size:13px;min-width:160px}.table-add-row button{white-space:nowrap}.finance-sheet tfoot td{position:static!important;background:#252a2f!important}.cell-editor summary::-webkit-details-marker,.row-name-editor summary::-webkit-details-marker{display:none}.sheet-scroll{scrollbar-width:thin;scrollbar-color:#68635d #252a2f}
.cell-editor-content .recurring-check{font-size:12px;color:#ffb176;align-items:center;gap:8px}.cell-editor-content .recurring-check input{width:auto;margin:0}.cell-hint{font-size:10px!important;color:#9aa8b3!important;line-height:1.5;margin:8px 0}.row-icon-button:focus-visible{outline:2px solid #ffb176;outline-offset:2px}
/* Consistent edit, confirmation and notification popups. */
html{scrollbar-gutter:stable}body:has(dialog[open]){overflow:hidden}.edit-dialog,.confirmation-dialog{position:fixed;inset:0;margin:auto;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #4a4c49;border-radius:16px;background:#23282c;color:#edf1f4;box-shadow:0 30px 100px #0009;text-align:left;white-space:normal;font-size:14px;font-weight:400;line-height:1.6}.edit-dialog::backdrop,.confirmation-dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.dialog-heading{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#252a2e;border-bottom:1px solid #3b444b;z-index:2}.dialog-heading h2{font-size:18px!important;margin:0!important;color:#f4f6f8}.dialog-close,.notification-close{background:transparent;border:0;color:#aebbc6;font-size:25px;cursor:pointer;line-height:1;padding:4px}.dialog-body{padding:22px 24px;overflow:auto}.dialog-body form{max-width:none}.dialog-body input,.dialog-body select{font-size:14px;padding:11px 12px}.dialog-body label{font-size:13px;margin:14px 0}.dialog-body .cell-editor-content{width:auto;padding:0;border:0;background:transparent;margin:0}.dialog-body .cell-editor-content>strong{display:none}.dialog-body .cell-editor-content label{font-size:13px}.dialog-body .cell-hint{font-size:12px!important}.dialog-body .cell-existing-entry button{height:38px;min-width:34px;margin-bottom:15px}.dialog-body .row-controls{display:none}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.danger{background:#b9493e;border-color:#b9493e}.danger:hover{background:#d05a4e}.popup-edit-control{display:block}.cell-edit-button,.row-edit-button,.popup-edit-button{border:0;background:none;color:#e2e9ef;font:inherit;cursor:pointer;white-space:nowrap;padding:5px 0}.cell-edit-button{font-size:12px}.cell-edit-button span,.row-edit-button span{font-size:10px;color:#c38a56}.row-edit-button{font-size:13px;font-weight:650;white-space:normal;text-align:left}.cell-edit-button:hover,.row-edit-button:hover,.popup-edit-button:hover{color:#ffb176}.popup-edit-button{color:#ffb176;font-size:13px;text-align:left}.row-name-editor>form{display:none}.notification-popups{position:fixed;right:24px;top:calc(var(--appbar-height) + 16px);z-index:250;width:min(410px,calc(100vw - 32px));display:flex;flex-direction:column;gap:12px;pointer-events:none}.notification-popup{pointer-events:auto;display:flex;align-items:flex-start;gap:12px;border:1px solid #436b56;border-radius:12px;background:#24372f;box-shadow:0 14px 40px #0007;padding:16px;color:#eaf5ee}.notification-error{background:#422d2d;border-color:#a35b56}.notification-popup strong{display:block;font-size:13px}.notification-popup p{margin:3px 0 0;font-size:12px;line-height:1.6;color:#c7d6cd}.notification-error p{color:#e5c7c5}.notification-symbol{width:26px;height:26px;flex-shrink:0;display:grid;place-items:center;background:#4e876844;border-radius:50%;color:#8beaaf;font-weight:800}.notification-error .notification-symbol{background:#c1635e44;color:#ffa49e}.notification-close{font-size:21px;margin-left:auto;flex-shrink:0}@media(max-width:760px){.notification-popups{right:16px;top:calc(var(--appbar-height) + 12px)}.dialog-heading{padding:16px 18px}.dialog-body{padding:16px 18px}.dialog-heading h2{font-size:16px!important}}
.goal-live-preview{background:#ff790014;border:1px solid #ff79003b;border-radius:9px;padding:12px 14px;color:#ffd3ac!important;font-size:12px!important;line-height:1.7}.dialog-body .popup-editor{margin:0}
/* Compact debt workspace: data first, editing in popups. */
.debt-workspace .metrics{margin:18px 0}.debt-workspace .metrics article{padding:18px}.debt-workspace .metrics strong{font-size:24px}.debt-workspace .dash-head{padding-bottom:12px}.debt-workspace .dash-head h1{font-size:30px;margin:8px 0}.debt-workspace .dash-head p{font-size:13px;margin:6px 0}.add-debt-control{margin:0}.add-debt-control>.popup-edit-button{padding:10px 16px;background:#ff7900;border:1px solid #ff7900;border-radius:9px;color:white;font-size:13px}.debt-list-panel{padding:18px 20px;margin-bottom:18px}.debt-list-panel .section-head{margin-bottom:10px;align-items:center}.debt-list-panel h2{font-size:18px;margin:0}.debt-table{min-width:800px}.debt-table td,.debt-table th{padding:13px 10px;font-size:12px}.debt-table td{vertical-align:middle}.debt-table td strong{font-size:12px;display:block}.debt-table td small{display:block;font-size:10px;color:#899aa7;margin-top:3px}.debt-row-actions{display:flex;gap:12px;flex-wrap:wrap}.debt-row-actions .popup-edit-button{font-size:11px;padding:2px 0;white-space:nowrap}.debt-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.debt-chart-grid .chart-shell{padding:16px;margin-bottom:18px}.debt-chart-grid h2{font-size:15px;margin:0 0 12px}.debt-chart-grid canvas{height:185px!important;max-height:185px}.debt-freedom-panel{padding:20px}.debt-freedom-panel .section-head{margin-bottom:14px}.debt-freedom-panel h2{font-size:18px}.debt-freedom-panel p{font-size:12px}.freedom-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:28px;align-items:center}.freedom-number{font-size:32px;font-weight:700;color:#75dfa9}.freedom-number small{font-size:13px;color:#91a59b;font-weight:400}.freedom-chart{height:200px;min-width:0}.freedom-chart canvas{height:200px!important}.status-pill{padding:4px 8px;font-size:10px;border-radius:20px}.status-pill.paid{background:#6bdd9b1a;color:#6bdd9b}.debt-empty{padding:12px 0}.debt-empty p{font-size:13px}.debt-workspace .page-menu{margin-bottom:16px}@media(max-width:1000px){.debt-chart-grid{grid-template-columns:1fr}.freedom-layout{grid-template-columns:1fr;gap:14px}}@media(max-width:760px){.debt-workspace .metrics strong{font-size:20px}.debt-workspace .metrics article{padding:14px}.debt-list-panel{padding:16px}.debt-workspace .dash-head h1{font-size:27px}}
.asset-contribution-note{display:block;color:#8d9eaa;font-size:10px;margin-top:3px}.investment-section{padding-top:0!important}.dialog-body [data-investment-fields],.dialog-body [data-finance-fields]{border-top:1px solid #41494e;margin-top:20px;padding-top:12px}[data-new-loan-fields]{border-left:2px solid #ff8a24;padding-left:14px}.dialog-body [hidden]{display:none!important}
.help-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:16px;height:16px;padding:0;margin-left:6px;border:1px solid #7e8d97;border-radius:50%;background:#7e8d970d;color:#aebec9;font-family:Georgia,serif;font-weight:700;font-size:11px;line-height:1;cursor:pointer;flex-shrink:0;letter-spacing:0}.help-icon:hover{color:#ffc18f;border-color:#ff9c4c;background:#ff790014}.help-icon:focus-visible{outline:2px solid #ffac64;outline-offset:3px}label>.help-icon{margin-top:5px}.check>.help-icon{margin-top:0}.help-dialog .dialog-body p{line-height:1.9;font-size:14px;color:#cbd5dc;margin-top:0}.help-dialog .dialog-body .btn{margin-top:10px}.dialog-heading .help-icon{display:none}.help-dialog{max-width:500px}.finance-sheet thead th .help-icon{width:13px;height:13px;font-size:9px;margin-left:4px}
.notification-action{display:inline-block;font-size:11px;font-weight:600;color:#aff2c6;margin-top:8px;border-bottom:1px solid #5fa176}.app-content main>.notice,.app-content main>.error{margin:16px 28px}.help-icon{font-style:normal}
.cell-planned{display:block;font-size:10px;color:#ffb77b;margin:4px 0}.task-budget-explanation{background:#ff790011;border:1px solid #ff790033;padding:12px;border-radius:9px;font-size:12px;margin-bottom:14px}.task-budget-explanation ul{margin:6px 0;padding-left:20px}.task-budget-explanation strong{color:#ffbd87}
.rich-dashboard .dash-head h1{font-size:clamp(25px,3vw,35px);margin:8px 0}.rich-dashboard .dash-head p{font-size:13px}.rich-dashboard .dash-head{padding-bottom:16px}.dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.dashboard-metrics article{padding:18px 20px}.dashboard-metrics strong{font-size:26px}.dashboard-savings-panel{display:grid;grid-template-columns:1fr 1.4fr;gap:30px;background:radial-gradient(ellipse at 10% 0,#154c36,transparent 80%),#202d28;border:1px solid #3f6050;border-radius:16px;padding:26px;margin:22px 0}.dashboard-savings-panel h2{font-size:23px;margin:8px 0 16px}.dashboard-savings-panel .eyebrow{color:#8fe4b7}.savings-feature-number{font-size:32px;font-weight:750;color:#8df0b7;margin-bottom:18px}.savings-feature-number small{font-size:11px;font-weight:400;color:#adceba;display:block}.savings-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px}.savings-mini-stats span,.savings-mini-stats small{font-size:11px;color:#b7cabe;display:block}.savings-mini-stats strong{font-size:22px;display:block;margin:7px 0;color:#e1f5e9}.savings-mini-stats small{font-size:10px;color:#88a994}.dashboard-chart-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;margin-bottom:18px}.chart-wide{grid-column:span 8}.chart-narrow{grid-column:span 4}.chart-half{grid-column:span 6}.dashboard-chart-grid .chart-shell{margin:0;padding:20px;min-width:0}.dashboard-chart-grid h2{font-size:17px;margin:0 0 14px}.dashboard-chart-grid .section-head{align-items:center;margin-bottom:12px;gap:8px}.dashboard-chart-grid .section-head h2{margin:0}.dashboard-chart-grid .section-head a{font-size:11px;color:#ffb176}.dashboard-canvas{height:230px;min-width:0}.dashboard-canvas canvas{max-height:none;height:230px!important}.upcoming-panel{padding:20px;min-width:0}.dashboard-upcoming-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.dashboard-upcoming-tabs span{font-size:10px;padding:4px 7px;border:1px solid #48525a;border-radius:20px;color:#b3bec6}.upcoming-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #354047;gap:12px}.upcoming-item strong{font-size:12px}.upcoming-item small{display:block;color:#8fa0ac;font-size:10px;margin-top:3px}.upcoming-item>span{font-size:11px;white-space:nowrap}.upcoming-panel>.btn{margin-top:16px}.dashboard-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.dashboard-shortcuts a{font-size:12px;border:1px solid #3c464e;border-radius:9px;padding:12px;background:#242b30}.goal-card .section-head{align-items:center}.goal-card h2{font-size:18px}.goal-card .section-chip{font-size:10px}.goal-card p{font-size:12px}@media(max-width:1150px){.rich-dashboard .dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-savings-panel{grid-template-columns:1fr;gap:20px}.savings-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-wide,.chart-narrow,.chart-half{grid-column:span 12}.dashboard-chart-grid{gap:14px}}@media(max-width:760px){.rich-dashboard .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metrics article{padding:14px}.dashboard-metrics strong{font-size:21px}.dashboard-savings-panel{padding:20px}.savings-feature-number{font-size:28px}.savings-mini-stats strong{font-size:20px}.dashboard-canvas{height:210px}.dashboard-canvas canvas{height:210px!important}}
.protection-workspace .dash-head h1{font-size:30px;margin:8px 0}.protection-workspace .dash-head p{font-size:13px}.protection-workspace .metrics article{padding:18px}.protection-workspace .metrics strong{font-size:23px}.protection-list{padding:18px 20px;margin-bottom:18px}.protection-list .section-head{margin-bottom:10px;align-items:center}.protection-list h2{font-size:18px;margin:0}.protection-list table{min-width:720px}.protection-list td,.protection-list th{padding:12px 9px;font-size:12px;vertical-align:middle}.protection-list td strong{display:block;font-size:12px}.protection-list td small{display:block;font-size:10px;color:#8c9eaa;margin-top:3px}.protection-list .debt-row-actions a{font-size:10px;color:#ffb176}.unit-trust-table{min-width:950px!important}[data-investment-product-fields][hidden],[data-insurance-product-fields][hidden]{display:none!important}

/* Supplied Vanta wordmark: show the full image without cropping. */
.sidebar-brand-row{min-height:104px;height:auto;padding-top:12px;padding-bottom:12px}.sidebar-brand-row .brand{min-width:0;flex:1}.sidebar-brand-row .brand img.brand-wordmark{width:198px;max-width:100%;height:auto;max-height:80px;object-fit:contain;border-radius:0;flex-shrink:1}.public-shell .top .brand img.brand-wordmark{width:200px;max-width:100%;height:auto;max-height:80px;object-fit:contain;border-radius:0}.footer-inner .brand img.brand-wordmark{width:220px;max-width:100%;height:auto;max-height:88px;object-fit:contain;border-radius:0}@media(max-width:600px){.public-shell .top .brand img.brand-wordmark{width:164px}.sidebar-brand-row .brand img.brand-wordmark{width:190px}}

/* Transparent PNG branding; retain aspect ratio and avoid narrow image constraints. */
.sidebar-brand-row{padding:12px 10px;min-height:100px}.sidebar-brand-row .brand{display:block;width:100%;line-height:0}.sidebar-brand-row .brand img.brand-wordmark{display:block;width:100%;max-width:230px;max-height:none;height:auto;object-fit:contain}.public-shell .top .brand img.brand-wordmark{display:block;width:280px;max-height:none;height:auto}.footer-inner .brand img.brand-wordmark{display:block;width:280px;max-height:none;height:auto}@media(max-width:760px){.sidebar-brand-row .brand{width:calc(100% - 36px)}.public-shell .top .brand img.brand-wordmark{width:220px}}@media(max-width:400px){.public-shell .top .brand img.brand-wordmark{width:190px}}

.compare-sheet .comparison-group th{background:#252a2e;color:#ff9a43;font-size:12px;letter-spacing:.04em;padding-top:14px;padding-bottom:14px;}
.budget-readonly form[method="post"],.budget-readonly .section-actions,.budget-readonly .textbutton,.budget-readonly .row-actions,.budget-readonly tfoot,.budget-readonly a[href^="#capture"],.budget-readonly a[href$="new-row"]{display:none!important}.budget-readonly details>summary{pointer-events:none;list-style:none}.budget-selector form{display:flex;align-items:end;gap:1rem;flex-wrap:wrap}.budget-selector label{min-width:240px}
@media print{.app-sidebar,.app-topbar,.app-footer,button,form{display:none!important}.app-main,.app-shell{display:block!important;margin:0!important}table{font-size:10pt}tr{break-inside:avoid}}
