:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#182e3b;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.5;--ink: #152e3b;--muted: #62717d;--accent: #14775c;--border: #e0e6ea}.history-list{list-style:none;padding:0;margin:1rem 0 0}.history-list li{border-top:1px solid var(--border);padding:1rem 0;overflow-wrap:anywhere}.history-list p{margin:0 0 .4rem}.history-empty{margin:1rem 0 0}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #308bae;outline-offset:4px}h1,h2,p{margin-top:0}h1{font-size:2rem;line-height:1.2;letter-spacing:-.055rem;margin-bottom:.6rem}h2{font-size:1.15rem;letter-spacing:-.02rem;line-height:1.35;margin-bottom:.6rem}p{margin-bottom:1.25rem}svg{flex-shrink:0}label{display:flex;flex-direction:column;gap:.5rem;font-size:.875rem;font-weight:600;margin:1.5rem 0}input,select{width:100%;min-height:48px;border:1px solid #bcc8d0;border-radius:8px;padding:.75rem .875rem;color:var(--ink);background:#fff}input:disabled,select:disabled{background:#f1f4f5}.muted{color:var(--muted)}.small{font-size:.875rem}.eyebrow{display:block;font-size:.75rem;font-weight:700;letter-spacing:.12em;margin-bottom:.8rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-height:46px;padding:.7rem 1.15rem;border:1px solid transparent;border-radius:8px;font-weight:600;font-size:.875rem}.primary{background:var(--ink);color:#fff}.primary:hover{background:#21465a}.secondary{border-color:var(--border);background:#fff}.pale{background:#d0f2e4;color:#183e33}.full{width:100%}.text-button{background:transparent;padding-left:0;color:var(--accent);font-weight:500}.button-row{display:flex;gap:.75rem;flex-wrap:wrap}.error{color:#a33237;background:#fff0f0;padding:.8rem 1rem;border-radius:6px;font-size:.875rem}.success{color:#126448;display:flex;align-items:center;gap:.5rem;font-size:.875rem}.brand{display:flex;align-items:center;gap:.75rem;font-weight:700;font-size:1.2rem;letter-spacing:-.03rem}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;color:#c2efdf;background:var(--ink);font-size:1.5rem}.brand-sub{display:block;font-size:.6rem;letter-spacing:.11em;font-weight:600;margin-top:1px;color:var(--muted)}.brand-light{color:#fff}.brand-light .brand-mark{background:#c5efdf;color:#183e33}.brand-light .brand-sub{color:#b7cacf}.icon-tile{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:15px;background:#e7f2ee;color:#176449;margin-bottom:1.5rem}.auth-layout{min-height:100dvh;display:grid;grid-template-columns:minmax(340px,44%) 1fr}.auth-aside{background:#152e3b;color:#fff;padding:3rem 3.5rem;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh}.auth-intro{padding:5rem 0;max-width:450px}.auth-intro .eyebrow{color:#b5dacb}.auth-intro h1{font-size:clamp(2.4rem,4vw,3.8rem);line-height:1.12;letter-spacing:-.12rem;margin-bottom:1.5rem}.auth-intro p{max-width:330px;color:#c4d2d9;font-size:1.1rem;line-height:1.75}.privacy-note{display:flex;align-items:center;gap:.6rem;color:#c3d4d8;font-size:.875rem;margin:0}.auth-main{display:grid;place-items:center;background:#fff;padding:3rem}.auth-form{width:100%;max-width:390px}.auth-form h2{font-size:1.9rem}.auth-footnote{font-size:.875rem;color:var(--muted);line-height:1.6;margin-top:2rem}.code-input{font-size:1.4rem;letter-spacing:.35rem}.mobile-brand{display:none}.status-page{min-height:100dvh;padding:2.5rem;display:flex;align-items:center;flex-direction:column;gap:4rem}.status-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:2.5rem;width:100%;max-width:560px}.status-card h1{font-size:1.7rem}.setup-note{border-left:3px solid #3f947b;background:#f1f7f5;padding:1rem 1.2rem;margin:1.5rem 0}.setup-note p{margin:.5rem 0 0;color:var(--muted);font-size:.875rem}.app-shell{display:flex;min-height:100dvh}.sidebar{width:246px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--border);padding:2rem 1.25rem;display:flex;flex-direction:column;overflow-y:auto}.sidebar .brand{padding-left:.35rem}.household-label{margin:2.25rem .65rem .75rem;font-size:.75rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;overflow-wrap:anywhere}.sidebar nav{display:flex;flex-direction:column;gap:.35rem}.nav-link{display:flex;align-items:center;gap:.85rem;padding:.8rem .9rem;border-radius:8px;color:#5f6d77;font-size:.9rem;font-weight:500;min-height:48px}.nav-link:hover{background:#f4f7f8}.nav-link.active{background:#e7f3ee;color:#145f49;font-weight:650}.sidebar-footer{margin-top:auto;padding:3rem .75rem 0;display:flex;gap:.5rem;align-items:center;color:var(--muted);font-size:.8rem}.workspace{margin-left:246px;width:calc(100% - 246px);min-width:0}.topbar{height:82px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 3rem;background:#fff}.breadcrumb{font-size:.875rem;color:#61707b}.breadcrumb span{color:#b2bec6;padding:0 .75rem}.user-actions{display:flex;gap:.85rem;align-items:center}.member-name{font-size:.875rem}.avatar{background:#dcece6;color:#285b4a;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;font-weight:600;flex-shrink:0}.small-avatar{width:32px;height:32px;font-size:.8rem}.icon-button{border:0;background:transparent;display:grid;place-items:center;width:44px;height:44px;color:#5d6b74;border-radius:8px}.icon-button:hover{background:#eef3f5}.main-content{max-width:1380px;margin:auto;padding:2.6rem 3rem 1.5rem}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.6rem}.page-heading .eyebrow{color:#677d88;font-size:.65rem;margin-bottom:.55rem}.page-heading p{margin:0;font-size:.9rem}.currency-badge{font-size:.8rem;white-space:nowrap;border:1px solid #d9e2e7;background:#fff;padding:.45rem .75rem;border-radius:6px;color:#576773}.welcome-panel{display:flex;justify-content:space-between;align-items:center;background:#183b48;color:#fff;border-radius:14px;padding:2.25rem 2.5rem;gap:2rem}.welcome-panel .eyebrow{font-size:.65rem;color:#add9ca}.welcome-panel h2{font-size:1.85rem;margin-bottom:.75rem}.welcome-panel p{color:#cedee1;max-width:510px;font-size:.95rem;line-height:1.7}.welcome-emblem{border:1px solid #476771;border-radius:50%;min-width:128px;height:128px;display:grid;place-items:center;color:#b5ded1;margin-right:1rem}.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem;margin:1.5rem 0}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:1.6rem}.overview-grid h2{font-size:1rem}.overview-grid p{font-size:.875rem;line-height:1.7}.card-icon{display:block;color:#456875;margin-bottom:1.5rem}.quiet-label{font-size:.75rem;color:#69767e;border-top:1px solid #edf0f2;padding-top:1rem;display:block}.section-title{display:flex;align-items:center;justify-content:space-between;gap:1rem}.section-title h2{margin-bottom:0}.foundation-panel .eyebrow{color:#6b7d87;font-size:.65rem}.inline-link{font-size:.875rem;color:var(--accent);display:inline-flex;align-items:center;gap:.5rem;min-height:44px}.foundation-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border)}.foundation-details>div{display:flex;flex-direction:column;gap:.4rem}.foundation-details strong{font-weight:500;font-size:.95rem;overflow-wrap:anywhere}.workspace-footer{max-width:1380px;margin:auto;padding:1rem 3rem 2rem;font-size:.75rem;color:#788892}.mobile-nav{display:none}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.settings-grid .muted{font-size:.9rem}.detail-row{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #edf0f2;padding:1rem 0;font-size:.875rem}.detail-row strong{font-weight:500;overflow-wrap:anywhere}.detail-row+button{margin-top:1.5rem}.member-list{list-style:none;padding:0;margin:1.5rem 0}.member-list li{display:flex;gap:.85rem;align-items:center;margin:1rem 0}.member-list strong{display:block;font-size:.9rem;overflow-wrap:anywhere}.member-list .small{display:block}.you-label{font-size:.7rem;font-weight:500;background:#eef3f5;margin-left:.5rem;padding:.15rem .4rem;border-radius:4px}.full-span{grid-column:1/-1}.backup-page{display:grid;gap:1.5rem;max-width:1120px}.backup-back{justify-self:start;display:inline-flex;align-items:center;gap:.4rem}.backup-panel{display:grid;gap:1rem}.backup-panel>p,.backup-preview>p{margin:0}.backup-meta,.backup-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1.5rem;margin:0}.backup-meta>div,.backup-counts>div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border);padding:.5rem 0;min-width:0}.backup-meta dt,.backup-counts dt{color:var(--muted)}.backup-meta dd,.backup-counts dd{margin:0;text-align:right;overflow-wrap:anywhere}.backup-counts{background:#f7faf9;border-radius:10px;padding:.8rem 1rem}.backup-more-counts summary{color:var(--accent);cursor:pointer;min-height:44px;display:flex;align-items:center}.backup-more-counts .backup-counts{margin-top:.3rem}.csv-export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.csv-export-grid .button{justify-content:flex-start;text-align:left}.backup-file-label{display:grid;gap:.5rem;max-width:460px}.backup-file-label input{width:100%}.backup-preview{border-top:1px solid var(--border);padding-top:1.25rem;display:grid;gap:.9rem}.backup-preview h3{margin:0}.backup-result{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.backup-resume-note{background:#edf5f3;border-left:3px solid var(--accent);border-radius:6px;padding:.85rem 1rem}.backup-modal-backdrop{position:fixed;inset:0;background:#14242a8c;z-index:100;display:grid;place-items:center;padding:max(1rem,env(safe-area-inset-top)) 1rem max(1rem,env(safe-area-inset-bottom))}.backup-dialog{width:min(100%,540px);max-height:calc(100dvh - 2rem);overflow:auto;box-shadow:0 25px 70px #0003}.backup-dialog h2{margin-top:0}.backup-confirm-check{display:flex;gap:.65rem;align-items:flex-start;margin:1.2rem 0}.backup-confirm-check input{width:auto;flex:0 0 auto}@media(max-width:760px){.backup-meta,.backup-counts,.csv-export-grid{grid-template-columns:1fr}.csv-export-grid .button{min-height:48px}.backup-panel{padding:1.2rem}.backup-dialog .button-row{display:grid;grid-template-columns:1fr}}.principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin-top:1.5rem}.principles strong{font-size:.9rem}.principles p{margin:.5rem 0}.empty-state{padding:4rem 2rem;text-align:center;display:flex;align-items:center;flex-direction:column}.empty-state p{max-width:460px}.pill{border:1px solid var(--border);border-radius:20px;font-size:.75rem;color:#687a85;padding:.25rem .7rem;margin-bottom:1rem}.more-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.more-link{display:flex;align-items:center;gap:1rem}.more-link span{flex:1}.financial-page{display:grid;grid-template-columns:minmax(0,1fr);gap:1.4rem}.financial-page>*{min-width:0}.setup-intro{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;border-radius:14px;background:#183b48;color:#fff;padding:1.8rem 2rem}.setup-intro .eyebrow{color:#add9ca;margin-bottom:.45rem}.setup-intro h2{font-size:1.5rem}.setup-intro p{max-width:650px;color:#d5e2e4;margin-bottom:0}.setup-intro .button{flex-shrink:0;color:var(--ink)}.setup-section-title{margin:.6rem 0 -.5rem}.setup-section-title p{margin:.3rem 0 0}.setup-empty{text-align:center;padding:2.8rem}.setup-empty .icon-tile{margin:0 auto 1rem}.setup-empty p{max-width:500px;margin-left:auto;margin-right:auto}.setup-empty.compact{padding:2rem}.account-grid,.group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.account-card,.group-card{display:flex;flex-direction:column;gap:.6rem;min-width:0}.account-card h3,.group-card h3,.category-row h3{font-size:1rem;margin:.2rem 0;overflow-wrap:anywhere}.account-currency{border:1px solid #d6e4de;border-radius:6px;padding:.28rem .55rem;color:#176149;font-size:.75rem;font-weight:700}.account-value{font-size:1.3rem;font-weight:700;margin:.5rem 0}.account-meta{display:flex;flex-wrap:wrap;gap:.45rem;margin:.25rem 0 .7rem}.account-meta span{border-radius:999px;background:#f0f4f5;color:#526470;padding:.3rem .55rem;font-size:.72rem}.account-card .button,.group-card .button{align-self:flex-start;margin-top:auto}.setup-editor{border-color:#b4d8ca;box-shadow:0 8px 30px #15393d0a}.setup-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.4rem}.setup-form-grid label{min-width:0}.setup-help{max-width:820px;margin:.7rem 0 1rem}.check-label{flex-direction:row;align-items:flex-start;gap:.75rem;margin:1.25rem 0 .4rem}.check-label input{width:20px;min-height:20px;height:20px;margin:.12rem 0 0;flex-shrink:0}.category-list{display:grid;gap:.5rem}.category-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fff;border:1px solid var(--border);border-radius:10px;padding:.85rem 1rem;margin-left:min(calc(var(--tree-depth) * 1.25rem),4rem)}.category-details{display:flex;gap:.7rem;min-width:0}.category-details p{margin:0}.category-branch{color:#3c8d71;font-weight:700}.group-card .pill{margin-bottom:0;white-space:nowrap}.group-card p{margin-bottom:0}.banner{margin:1rem 3rem}.offline-notice{background:#fff0c7;color:#604817;text-align:center;padding:max(.75rem,env(safe-area-inset-top)) 1rem .75rem;font-size:.875rem;position:sticky;top:0;z-index:20}.update-notice{display:flex;align-items:center;justify-content:center;gap:1rem;padding:.65rem 1rem;background:#e7f4ef;color:#164634;font-size:.875rem;position:sticky;top:0;z-index:20}.update-notice .button{flex:0 0 auto}@media(max-width:480px){.update-notice{flex-wrap:wrap;text-align:center}}.activity-intro{align-items:center}.activity-intro>svg{color:#c7e8dd;margin:auto 1.5rem}.activity-toolbar,.activity-toolbar-actions,.activity-allocation-head,.activity-card-top,.activity-card-foot,.activity-detail-meta{display:flex;align-items:center;justify-content:space-between;gap:1rem}.activity-toolbar{margin:1.7rem 0 1rem;align-items:flex-end}.activity-toolbar h2,.activity-toolbar p{margin-bottom:.2rem}.activity-toolbar-actions{justify-content:flex-end;flex-wrap:wrap;gap:.55rem}.activity-filters{margin-bottom:1rem}.activity-filter-grid,.activity-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem 1rem}.activity-filter-grid label,.activity-form-grid label,.activity-split-grid label{margin:0}.activity-filter-grid input,.activity-filter-grid select,.activity-form-grid input,.activity-form-grid select{margin-top:0}.activity-editor{margin-bottom:1.5rem;border:1px solid #bcd9ca;box-shadow:0 18px 46px #173d3030}.activity-editor .section-title{margin-bottom:1.4rem}.activity-editor textarea,.activity-advanced textarea{width:100%;border:1px solid #bcc8d0;border-radius:8px;padding:.75rem;font:inherit;color:var(--ink);background:#fff}.activity-allocation-head{margin:1.7rem 0 .9rem;align-items:flex-end}.activity-allocation-head p{margin:0}.activity-split-row{margin:.7rem 0;padding:.7rem 1rem 1rem;border:1px solid var(--border);border-radius:10px}.activity-split-row legend{padding:0 .35rem;font-weight:700}.activity-split-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:.8rem;align-items:end}.activity-split-grid .split-remove{margin-bottom:.1rem}.activity-advanced{margin-top:.9rem;color:var(--muted)}.activity-advanced summary{cursor:pointer;font-size:.875rem;font-weight:600}.activity-advanced label{color:var(--ink);margin:1rem 0 0}.activity-remaining{padding:.75rem 1rem;background:#fff1d8;border-radius:8px;color:#6c4d15;font-weight:700;margin:1rem 0}.activity-remaining.settled{background:#e7f5eb;color:#1b6944}.activity-form-actions{margin-top:1.6rem;flex-wrap:wrap}.activity-form-actions .danger{color:#a13737;margin-left:auto}.activity-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--border);border-radius:12px}.activity-table{width:100%;min-width:1050px;border-collapse:collapse;font-size:.84rem}.activity-table th,.activity-table td{padding:.9rem .7rem;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}.activity-table th{background:#f7f9f9;color:#5b6b75;font-weight:700;white-space:nowrap}.activity-table td small{display:block;color:var(--muted)}.activity-table tr:last-child td{border-bottom:0}.activity-row-title{display:inline-flex;align-items:center;gap:.35rem;background:transparent;border:0;color:var(--ink);text-align:left;font-weight:700;padding:0}.activity-table .amount-cell{white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}.activity-table .pill.compact{display:inline-block;margin:.25rem 0 0;padding:.12rem .4rem;font-size:.7rem}.review-pill{background:#fff0c7;color:#765116;border-radius:20px;padding:.25rem .55rem;font-size:.73rem;font-weight:700}.activity-expanded td{background:#f8faf9}.activity-detail{padding:.7rem .8rem}.activity-detail h4{margin:.7rem 0 0}.activity-detail p{margin:.4rem 0}.activity-split-list{margin:.6rem 0;padding:0;list-style:none}.activity-split-list li{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;border-bottom:1px solid var(--border)}.activity-split-list strong{white-space:nowrap}.activity-mobile-list{display:none}.activity-mobile-card{margin-bottom:.8rem}.activity-card-top,.activity-card-foot{color:var(--muted);font-size:.78rem}.activity-direction.out{color:#a0453e}.activity-direction.in{color:#16704e}.activity-card-main{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;border:0;background:transparent;padding:1rem 0;gap:.75rem;color:var(--ink)}.activity-card-main small{display:block;margin-top:.2rem;color:var(--muted)}.activity-card-amount{white-space:nowrap;font-variant-numeric:tabular-nums}.activity-mobile-card .button{width:100%;margin-top:.8rem}.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}.activity-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}.activity-table td:last-child .text-button+.text-button{margin-left:.6rem}.activity-filter-toggle{display:none}.activity-bulk-preview,.activity-detail-panel{margin:1.2rem 0}.activity-bulk-preview p{margin:.8rem 0}.activity-detail-tags{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin:.7rem 0}.voided-pill{background:#f4e8e7;color:#8a4941}.activity-detail-movements{display:grid;gap:.8rem;margin:1rem 0}.activity-movement{border:1px solid var(--border);border-radius:10px;padding:1rem}.activity-movement .section-title{gap:1rem}.activity-detail-balance{font-size:1.4rem;font-weight:700}.activity-detail-balance span{display:block;color:var(--muted);font-size:.9rem;font-weight:400}.activity-void-confirm,.fx-resolution,.transfer-match{margin:1rem 0}.fx-resolution label,.transfer-match label{display:block;margin:.7rem 0}.fx-resolution .button,.transfer-match .button{margin-top:.6rem}.danger-button{background:#a13737;color:#fff}.activity-history{border-top:1px solid var(--border);margin-top:1.5rem;padding-top:1rem}.activity-history h3{display:flex;align-items:center;gap:.5rem}.activity-history ol{list-style:none;margin:0;padding:0}.activity-history li{display:flex;justify-content:space-between;gap:.7rem;border-bottom:1px solid var(--border);padding:.7rem 0}.review-list{display:grid;gap:.8rem}.review-card{display:flex;justify-content:space-between;align-items:center;gap:1rem}.review-card h3{margin:.8rem 0 .4rem}.review-card p{margin:.35rem 0}.review-card .button{flex-shrink:0}@media(max-width:1050px){.activity-table-wrap{display:none}.activity-mobile-list{display:block}.activity-filter-grid,.activity-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.activity-filter-toggle{display:inline-flex}.activity-filters .activity-filter-grid{display:none}.activity-filters .activity-filter-grid.is-open{display:grid}.review-card{display:block}.review-card .button{width:100%;margin-top:1rem}.activity-history li{display:block}.activity-history li span{display:block;margin-top:.2rem}.activity-intro>svg{display:none}.activity-toolbar{display:block}.activity-toolbar-actions{justify-content:flex-start;margin-top:1rem}.activity-toolbar-actions .button:first-child{width:100%}.activity-filter-grid,.activity-form-grid,.activity-split-grid{grid-template-columns:1fr}.activity-split-grid .split-remove{justify-self:end}.activity-allocation-head{align-items:flex-start;flex-direction:column}.activity-allocation-head .button{width:100%}.activity-card-main{align-items:flex-start}.activity-card-amount{font-size:.92rem}.activity-form-actions .button{width:100%}.activity-form-actions .danger{margin:0 auto}}.skip-link{position:fixed;top:-100px;left:1rem;z-index:100;background:#fff;padding:1rem}.skip-link:focus{top:1rem}@media(min-width:1500px){.main-content{padding-top:3.5rem}.welcome-panel{padding:2.8rem}}@media(max-width:1100px){.sidebar{width:215px;padding:1.75rem 1rem}.workspace{margin-left:215px;width:calc(100% - 215px)}.topbar{padding:0 1.75rem}.main-content{padding:2rem 1.75rem}.workspace-footer{padding-left:1.75rem}.welcome-panel{padding:2rem}.welcome-emblem{display:none}.overview-grid{gap:.75rem}.panel{padding:1.25rem}.settings-grid{gap:1rem}.auth-aside{padding:2.5rem}.principles{gap:1rem}}@media(max-width:760px){.sidebar{display:none}.workspace{margin:0;width:100%;padding-bottom:80px}.topbar{height:65px;padding:0 1.25rem}.member-name{display:none}.breadcrumb{font-size:.8rem}.main-content{padding:1.5rem 1.1rem}.page-heading{align-items:flex-start}.page-heading h1{font-size:1.7rem}.page-heading .currency-badge{display:none}.welcome-panel{padding:1.65rem}.welcome-panel h2{font-size:1.6rem}.welcome-panel .eyebrow{font-size:.6rem;letter-spacing:.08em}.overview-grid{grid-template-columns:1fr;gap:.8rem}.overview-grid .panel{display:grid;grid-template-columns:32px 1fr;column-gap:.75rem;padding:1.25rem}.overview-grid .card-icon{grid-row:1/4;margin:0}.overview-grid p{margin-bottom:.8rem}.overview-grid .quiet-label{grid-column:2;padding-top:.7rem}.overview-grid h2{margin-bottom:.4rem}.foundation-details{grid-template-columns:1fr;gap:.9rem;margin-top:1rem;padding-top:1rem}.foundation-details>div{flex-direction:row;justify-content:space-between;gap:1rem}.foundation-details strong{font-size:.875rem;text-align:right}.mobile-nav{display:flex;position:fixed;inset:auto 0 0;z-index:10;background:#fff;border-top:1px solid var(--border);padding:.45rem .5rem max(.5rem,env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav a{min-width:60px;min-height:48px;display:flex;align-items:center;justify-content:center;gap:.2rem;flex-direction:column;color:#6b7b85;font-size:.75rem;padding:.3rem .5rem;border-radius:6px}.mobile-nav a.active{color:#126346;background:#eaf5f0}.workspace-footer{padding:0 1.25rem 1rem}.settings-grid,.principles{grid-template-columns:1fr}.full-span{grid-column:auto}.principles{gap:1.3rem}.empty-state{padding:3rem 1.25rem}.auth-layout{display:block}.auth-aside{display:none}.auth-main{min-height:100dvh;padding:2rem 1.5rem;place-items:start center}.auth-form{padding-top:1rem}.mobile-brand{display:block;margin-bottom:3.5rem}.auth-form h2{font-size:1.7rem}.status-page{padding:2rem 1.25rem;gap:2.5rem}.status-card{padding:1.5rem}.banner{margin:1rem}.more-grid{grid-template-columns:1fr}.setup-intro{display:block;padding:1.5rem}.setup-intro .button{margin-top:1rem}.setup-section-title{align-items:flex-start}.setup-section-title .button{flex-shrink:0}.account-grid,.group-grid,.setup-form-grid{grid-template-columns:1fr}.category-row{align-items:flex-start;flex-direction:column;margin-left:min(calc(var(--tree-depth) * .65rem),2rem)}.category-row .button{width:100%}.setup-empty{padding:2rem 1.2rem}.button{min-height:48px}}@media(max-width:480px){.setup-section-title{display:block}.setup-section-title .button{margin-top:.8rem}.account-card .section-title,.group-card .section-title{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s ease,color .15s ease}}.dashboard-hero{display:flex;align-items:end;justify-content:space-between;gap:1.5rem;padding:2rem;margin-bottom:1.25rem;color:#fff;background:linear-gradient(125deg,#173948,#1e6755);border-radius:18px}.dashboard-hero h2{color:#fff;font-size:clamp(1.65rem,3vw,2.5rem);margin:.5rem 0}.dashboard-hero p{max-width:43rem;margin:0;color:#d9ebe7}.dashboard-hero .eyebrow{color:#afe3d1}.dashboard-month{white-space:nowrap;color:#d7ece8;font-size:.9rem}.dashboard-empty{margin-bottom:1.2rem}.dashboard-empty h2{margin-bottom:.5rem}.dashboard-alert{display:flex;align-items:center;gap:.7rem;padding:.85rem 1rem;margin-bottom:1.2rem;border:1px solid #e7cf94;border-radius:12px;background:#fff9e9;color:#785415;text-decoration:none}.dashboard-alert span{flex:1}.dashboard-priority,.dashboard-secondary,.report-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.dashboard-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}.report-metric{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:.65rem;color:inherit;text-decoration:none;min-height:178px;transition:border-color .15s ease,transform .15s ease}.report-metric:hover,.report-source-row:hover,.report-breakdown a:hover{border-color:#8abdaa}.report-metric.featured{background:#f0f8f4;border-color:#c4dfd2}.report-metric>strong{font-size:clamp(1.35rem,2vw,2rem);line-height:1.1;overflow-wrap:anywhere}.report-status{color:#8a5f1b;font-size:.8rem}.report-card-action{display:inline-flex;align-items:center;gap:.35rem;margin-top:auto;color:#126346;font-size:.82rem;font-weight:650}.dashboard-comparison,.dashboard-trends{margin-top:1.25rem}.dashboard-compare-grid,.report-worth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.1rem 0}.dashboard-compare-grid>a,.report-worth-grid>div{display:flex;flex-direction:column;gap:.45rem;border-left:2px solid #d3e5db;padding-left:.9rem}.dashboard-compare-grid>a{color:inherit;text-decoration:none}.dashboard-compare-grid>a:hover{border-color:#85bda4}.dashboard-compare-grid strong,.report-worth-grid strong{font-size:1.3rem;overflow-wrap:anywhere}.dashboard-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.25rem}.dashboard-next{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;color:inherit;text-decoration:none}.dashboard-next .muted{flex-basis:100%}.report-trend-wrap{overflow-x:auto;max-width:100%}.report-trend{width:100%;min-width:760px;border-collapse:collapse;font-size:.86rem}.report-trend th,.report-trend td{padding:.7rem .55rem;border-bottom:1px solid var(--border);text-align:right;white-space:nowrap}.report-trend th:first-child,.report-trend td:first-child{text-align:left}.report-trend thead{color:#5e7279}.report-trend tbody a{color:#126346;text-decoration:none}.report-trend tbody a:hover{text-decoration:underline}.report-trend-mobile{display:none}.report-toolbar{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin:1.2rem 0}.report-toolbar label{display:flex;flex-direction:column;gap:.3rem;min-width:180px;font-size:.85rem;font-weight:600}.report-section{margin:1.25rem 0}.report-section h2{margin-top:.3rem}.report-section h3{margin:1.3rem 0 .5rem}.report-note{margin:.5rem 0}.report-feature-value{font-size:clamp(1.6rem,3vw,2.35rem);font-weight:700;margin:.7rem 0}.report-breakdown{display:grid;gap:.45rem;margin:1rem 0}.report-breakdown a{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:.7rem;border:1px solid var(--border);border-radius:9px;padding:.7rem .85rem;color:inherit;text-decoration:none}.report-breakdown strong{text-align:right}.report-breakdown-label{min-width:0}.report-breakdown-track{display:block;width:100%;max-width:18rem;height:4px;margin-top:.35rem;overflow:hidden;border-radius:999px;background:#e9f0ec}.report-breakdown-track>span{display:block;height:100%;border-radius:inherit;background:#4a9473}.report-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.report-inline-card{display:flex;flex-direction:column;gap:.55rem;padding:1.2rem;color:inherit;text-decoration:none;border:1px solid var(--border);border-radius:12px;background:#fff}.report-inline-card strong{font-size:1.5rem}.report-inline-card small{color:#5e7279}.report-worth-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.report-worth-grid span{color:#5e7279;font-size:.8rem}.report-source-list{display:grid;gap:.5rem;margin:1rem 0}.report-source-row{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:.8rem;border:1px solid var(--border);border-radius:10px;padding:.8rem;color:inherit;text-decoration:none}.report-source-row span{display:flex;flex-direction:column;gap:.2rem;min-width:0}.report-source-row small{color:#64757a;font-size:.76rem}.report-source-amount{text-align:right}.report-drilldown{border-color:#9fc9b6;background:#f9fdfb}.report-drill-total{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap}.report-drill-total strong{font-size:1.65rem}.report-year{display:flex;align-items:baseline;flex-wrap:wrap;gap:.75rem 1.3rem;padding:.9rem 0;border-bottom:1px solid var(--border)}.report-year span,.report-year a{font-size:.84rem;color:#55696f}.report-year a:hover{color:#126346}.report-selected-account{border-color:#85bda4;box-shadow:0 0 0 2px #d9eee3}@media(max-width:1100px){.dashboard-secondary,.report-worth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.report-trend-desktop{display:none}.report-trend-mobile{display:grid;gap:.6rem}.report-trend-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .7rem;padding:.8rem;border:1px solid var(--border);border-radius:10px;color:inherit;text-decoration:none}.report-trend-card>strong{grid-column:1 / -1;color:#126346}.report-trend-card a{display:flex;flex-direction:column;font-size:.84rem;color:inherit;text-decoration:none}.report-trend-card a:hover{color:#126346;text-decoration:underline}.report-trend-card small{color:#64757a}.dashboard-hero{display:block;padding:1.5rem}.dashboard-month{display:block;margin-top:1rem}.dashboard-priority,.dashboard-secondary,.report-card-grid,.report-two-column,.dashboard-navigation{grid-template-columns:1fr;gap:.75rem}.report-metric{min-height:145px}.dashboard-compare-grid,.report-worth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-toolbar{align-items:stretch;flex-direction:column}.report-source-row{grid-template-columns:minmax(0,1fr) 16px}.report-source-amount{grid-column:1;grid-row:2;text-align:left}.report-source-row>svg{grid-column:2;grid-row:1 / 3}.report-section{padding:1.1rem}}@media(max-width:420px){.dashboard-compare-grid,.report-worth-grid{grid-template-columns:1fr}}.budget-toolbar,.budget-report-toolbar{display:flex;align-items:end;gap:1.4rem;flex-wrap:wrap;margin:1rem 0}.budget-toolbar label,.budget-report-toolbar label{min-width:150px;margin:0}.budget-overview,.budget-report-totals,.dashboard-budget-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:1rem 0 1.25rem}.budget-overview>div,.budget-report-totals>span,.dashboard-budget-values>span{display:flex;flex-direction:column;gap:.35rem;min-width:0}.budget-overview strong,.budget-report-totals strong,.dashboard-budget-values strong{font-size:1.35rem;overflow-wrap:anywhere}.budget-overview small,.budget-report-totals small,.dashboard-budget-values small{color:var(--muted)}.budget-tree-section,.budget-editor,.dashboard-budget{margin-top:1.25rem}.budget-table-wrap{overflow-x:auto;max-width:100%}.budget-table{width:100%;min-width:950px;border-collapse:collapse;font-size:.85rem}.budget-table th,.budget-table td{padding:.75rem .5rem;text-align:right;border-bottom:1px solid var(--border);vertical-align:middle}.budget-table th:first-child,.budget-table td:first-child{text-align:left}.budget-category-cell,.budget-row-actions,.budget-mobile-head{display:flex;align-items:center;gap:.5rem}.budget-category-cell small,.budget-report-row small{display:block;color:var(--muted);font-weight:400}.budget-pace{display:block;color:var(--muted);white-space:nowrap}.budget-tree-toggle{border:0;background:transparent;padding:.15rem;color:var(--ink)}.budget-tree-spacer{display:inline-block;width:20px}.budget-row-actions{justify-content:flex-end}.budget-row-actions a,.budget-mobile-card a{color:var(--accent)}.budget-incomplete{background:#fffaf1}.budget-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.2rem}.budget-enabled{flex-direction:row;align-items:center}.budget-enabled input{width:20px;min-height:20px}.budget-help,.budget-conflict{background:#fff8e9;border:1px solid #e9d6aa;border-radius:8px;padding:.85rem}.budget-conflict p{margin:.5rem 0}.budget-mobile-list{display:none}.budget-report-totals{grid-template-columns:repeat(5,minmax(0,1fr))}.budget-report-rows{border-top:1px solid var(--border);margin:1rem 0}.budget-report-row{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));width:100%;min-height:52px;gap:.8rem;align-items:center;text-align:left;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--ink)}.budget-report-row:hover,.budget-report-row.selected{background:#f0f8f4}.budget-report-row span:last-child{display:flex;gap:.3rem;align-items:center}.budget-report-detail{border-top:1px solid var(--border);padding-top:1rem}.dashboard-budget-values{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:760px){.budget-table-wrap{display:none}.budget-mobile-list{display:grid;gap:.65rem}.budget-mobile-card{border:1px solid var(--border);border-radius:10px;padding:.85rem}.budget-mobile-head{justify-content:space-between}.budget-mobile-figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:.65rem 0}.budget-mobile-figures span{display:flex;flex-direction:column;color:var(--muted);font-size:.78rem}.budget-mobile-figures strong{color:var(--ink);font-size:1rem}.budget-progress{height:8px;background:#e6ece9;border-radius:20px;overflow:hidden}.budget-progress span{display:block;height:100%;background:var(--accent);border-radius:inherit}.budget-overview,.budget-report-totals,.dashboard-budget-values{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-form-grid{grid-template-columns:1fr}.budget-report-row{grid-template-columns:minmax(0,1fr) auto;gap:.25rem .8rem;padding:.7rem}}
