:root{color:#17241d;font-synthesis:none;font-optical-sizing:auto;--ink:#17241d;--muted:#829087;--line:#e8ede7;--theme-sidebar:#111d16;--theme-sidebar-active:#26392b;--theme-sidebar-text-active:#f0f7ec;--theme-highlight:#d7ed80;--theme-highlight-ink:#24311e;--theme-highlight-halo:#c6e9791f;--theme-accent:#355a40;--theme-accent-dark:#1b3023;--theme-accent-hover:#2d4a36;--theme-accent-text:#658052;--theme-accent-text-hover:#334d36;--theme-accent-soft:#eff5dd;--theme-accent-soft-strong:#f2f6e8;--theme-accent-pale:#f5f8ee;--theme-accent-border:#e8eddd;--theme-accent-mid:#c6dc7d;--theme-accent-icon:#71904e;--theme-accent-focus:#a9bf83;--theme-accent-focus-ring:#a9bf8333;--theme-live-bg:#f3f8e9;--theme-live-text:#77954b;background:#f6f8f5;font-family:DM Sans,Noto Sans SC,sans-serif;font-weight:400}:root[data-theme=red]{--theme-sidebar:#281517;--theme-sidebar-active:#45262a;--theme-sidebar-text-active:#fff4f3;--theme-highlight:#f2b6b8;--theme-highlight-ink:#4a2d2e;--theme-highlight-halo:#e7a0a429;--theme-accent:#96484d;--theme-accent-dark:#632d33;--theme-accent-hover:#7e393f;--theme-accent-text:#90464b;--theme-accent-text-hover:#73383c;--theme-accent-soft:#fbeced;--theme-accent-soft-strong:#f8e9ea;--theme-accent-pale:#fdf4f4;--theme-accent-border:#f0dfe0;--theme-accent-mid:#e7a0a4;--theme-accent-icon:#a45056;--theme-accent-focus:#d28b90;--theme-accent-focus-ring:#c9737a2e;--theme-live-bg:#fbeced;--theme-live-text:#a45056}:root[data-theme=blue]{--theme-sidebar:#111b2b;--theme-sidebar-active:#273950;--theme-sidebar-text-active:#f2f6ff;--theme-highlight:#bad1ff;--theme-highlight-ink:#263952;--theme-highlight-halo:#a9c5ed2e;--theme-accent:#416493;--theme-accent-dark:#223d62;--theme-accent-hover:#31517e;--theme-accent-text:#47688f;--theme-accent-text-hover:#355781;--theme-accent-soft:#ebf2fc;--theme-accent-soft-strong:#e8f0fd;--theme-accent-pale:#f3f6fc;--theme-accent-border:#e1e9f5;--theme-accent-mid:#a9c5ed;--theme-accent-icon:#5276a4;--theme-accent-focus:#98b8e4;--theme-accent-focus-ring:#7597cb33;--theme-live-bg:#ebf2fc;--theme-live-text:#5276a4}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--theme-sidebar);color:#dce8dd;flex-direction:column;flex:0 0 244px;width:244px;padding:27px 15px 20px;display:flex}.brand{color:inherit;align-items:center;gap:10px;padding:0 7px;text-decoration:none;display:flex}.brand-mark{border-radius:10px;flex:none;width:32px;height:32px;display:block}.brand strong{letter-spacing:-.5px;font-size:23px;display:block}.brand small{color:#819488;letter-spacing:1.2px;margin-top:2px;font-size:14px;display:block}.nav-caption{color:#728579;letter-spacing:1.3px;text-transform:uppercase;margin:52px 11px 11px;font-size:15px;font-weight:700}.sidebar nav{gap:5px;display:grid}.nav-item,.settings-link{color:#99aaa0;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:13px;padding:12px;font-size:18px;transition:background .15s,color .15s;display:flex}.nav-item span,.settings-link span{text-align:center;width:18px;font-size:23px}.nav-item:hover,.settings-link:hover,.nav-item.active,.settings-link.active{background:var(--theme-sidebar-active);color:var(--theme-sidebar-text-active)}.nav-item.active:after{content:"";background:var(--theme-highlight);border-radius:50%;width:5px;height:5px;margin-left:auto}.sidebar-bottom{margin-top:auto}.local-note{color:#cad7cc;border:1px solid #29382e;border-radius:9px;margin:0 2px 14px;padding:12px;font-size:16px}.local-dot,.local-badge span{background:var(--theme-highlight);width:6px;height:6px;box-shadow:0 0 0 3px var(--theme-highlight-halo);border-radius:50%;margin-right:7px;display:inline-block}.local-note small{color:#84958a;margin:7px 0 0 13px;font-size:15px;display:block}.settings-link{width:100%}.user-chip{border-top:1px solid #2a3a30;align-items:center;gap:10px;margin-top:17px;padding:17px 5px 0;display:flex}.avatar{background:var(--theme-highlight);width:32px;height:32px;color:var(--theme-highlight-ink);border-radius:50%;flex:none;place-items:center;font-size:17px;font-weight:700;display:grid}.user-chip b,.user-chip small{display:block}.user-chip b{font-size:17px}.user-chip small{color:#7f9285;margin-top:3px;font-size:15px}.user-chip i{color:var(--theme-highlight);margin-left:auto;font-size:13px}.user-identity{flex:1;min-width:0}.user-identity b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.logout-button{color:#9aaba0;background:0 0;border:0;border-radius:7px;flex:none;width:30px;height:30px;font-size:23px}.logout-button:hover{background:var(--theme-sidebar-active);color:var(--theme-sidebar-text-active)}.mobile-logout,.mobile-bottom-nav{display:none}.main{flex:1;min-width:0}.topbar{background:#fbfcfa;border-bottom:1px solid #e8ede7;justify-content:flex-end;align-items:center;height:67px;padding:0 5.2%;display:flex}.topbar-right{align-items:center;gap:21px;display:flex}.local-badge{border:1px solid var(--theme-accent-border);background:var(--theme-accent-pale);color:var(--theme-accent-text);white-space:nowrap;border-radius:20px;align-items:center;padding:6px 10px;font-size:15px;display:inline-flex}.local-badge span{width:5px;height:5px;box-shadow:none;background:#91b959;margin-right:6px}.today-label{color:#869289;font-size:16px}.avatar.small{width:29px;height:29px;font-size:16px}.mobile-brand{display:none}.content{max-width:1280px;margin:0 auto;padding:39px 5.2% 25px}.page-heading{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:26px;display:flex}.eyebrow,.modal-title small{color:#88968c;letter-spacing:1.55px;font-size:15px;font-weight:700}.page-heading h1{letter-spacing:-1.1px;margin:8px 0 5px;font-size:35px}.page-heading p{color:#88948b;margin:0;font-size:17px}.primary-button{background:var(--theme-accent-dark);color:#f0f6e8;white-space:nowrap;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:11px 16px;font-size:17px;font-weight:600;display:inline-flex}.primary-button:hover{background:var(--theme-accent-hover)}.primary-button span{font-size:22px;line-height:10px}.period-row{justify-content:space-between;align-items:center;gap:12px;margin:0 0 17px;display:flex}.month-control{align-items:center;gap:14px;display:flex}.month-control strong{text-align:center;min-width:100px;font-size:19px}.month-control button{color:#718176;background:#fff;border:1px solid #e4eae3;border-radius:7px;width:28px;height:28px;font-size:25px;line-height:20px}.month-control button:hover{border-color:var(--theme-accent-mid);color:var(--theme-accent)}.period-hint{color:#9aa49c;font-size:15px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.overview-actions{align-items:center;gap:8px;display:flex}.refresh-button{white-space:nowrap;background:#fff}.metric-card,.panel,.statement-card{border:1px solid var(--line);background:#fff;border-radius:12px;box-shadow:0 3px 14px #18301e05}.metric-card{min-height:129px;padding:16px 16px 13px}.metric-head{color:#718076;align-items:center;gap:8px;font-size:16px;display:flex}.metric-head i{color:#b4beb5;letter-spacing:1px;margin-left:auto;font-size:14px;font-style:normal}.metric-icon{border-radius:7px;place-items:center;width:25px;height:25px;font-size:20px;font-weight:600;display:grid}.metric-icon svg{fill:none;stroke:currentColor;stroke-width:3.2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.metric-icon.lime{color:#6a8b3c;background:#f0f6dc}.metric-icon.peach{color:#c27b55;background:#fff0e7}.metric-icon.lavender{color:#8873b3;background:#f0eafa}.metric-icon.blue{color:#5485a6;background:#e7f2f7}.metric-value{letter-spacing:-.7px;margin:17px 0 10px;font-size:28px;display:block}.metric-foot{color:#96a098;font-size:15px}.metric-foot b{color:#6d9c67;margin-right:5px}.metric-foot b.negative{color:#c77462}.overview-grid{grid-template-columns:1fr 1.15fr;gap:13px;margin-top:14px;display:grid}.panel{padding:17px 18px}.panel-title{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.panel-title h2,.settings-section-head h2{letter-spacing:-.2px;margin:0;font-size:19px}.panel-title p,.settings-section-head p{color:#929e95;margin:5px 0 0;font-size:15px}.text-button{color:var(--theme-accent-text);white-space:nowrap;background:0 0;border:0;padding:4px 0;font-size:15px}.text-button:hover{color:var(--theme-accent-text-hover)}.donut-layout{align-items:center;gap:23px;min-height:171px;padding:14px 5px 4px;display:flex}.donut-chart{border-radius:50%;flex:0 0 142px;place-items:center;width:142px;height:142px;display:grid}.donut-chart>div{background:#fff;border-radius:50%;align-content:center;justify-items:center;width:94px;height:94px;display:grid}.donut-chart strong{letter-spacing:-.4px;font-size:23px}.donut-chart small{color:#8d9990;margin-top:4px;font-size:14px}.category-legend{flex:1;gap:12px;min-width:0;display:grid}.legend-row{color:#68776d;grid-template-columns:7px minmax(46px,1fr) auto 27px;align-items:center;gap:7px;font-size:15px;display:grid}.legend-row>span:first-child{border-radius:3px;width:7px;height:7px}.legend-row strong{color:#34443a;font-size:15px;font-weight:600}.legend-row small{color:#9ba69e;text-align:right;font-size:14px}.live-tag{background:var(--theme-live-bg);color:var(--theme-live-text);letter-spacing:.8px;border-radius:4px;padding:4px 6px;font-size:13px;font-weight:700}.cash-summary{gap:28px;margin:16px 0 4px;display:flex}.cash-summary small,.cash-summary strong{display:block}.cash-summary small{color:#8d9990;font-size:14px}.cash-summary strong{margin-top:5px;font-size:19px}.positive{color:#638f53!important}.bar-chart{border-bottom:1px solid #eff2ee;align-items:stretch;gap:3px;height:105px;padding:7px 2px 0;display:flex}.bar-y-labels{color:#a4ada5;flex-direction:column;justify-content:space-between;width:19px;padding-bottom:14px;font-size:13px;display:flex}.bar-column{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:5px;min-width:0;display:flex}.bar-space{justify-content:center;align-items:flex-end;width:100%;height:78px;display:flex}.bar-space i{background:var(--theme-accent-mid);border-radius:4px 4px 1px 1px;width:min(12px,72%);min-height:3px}.bar-column small{color:#99a49b;font-size:13px}.chart-caption{color:#89968d;justify-content:space-between;margin-top:9px;font-size:14px;display:flex}.chart-caption i{background:var(--theme-accent-mid);border-radius:2px;width:7px;height:7px;margin-right:5px;display:inline-block}.recent-panel{margin-top:13px;padding-bottom:5px}.recent-list{margin-top:11px}.transaction-row{border-bottom:1px solid #f0f2ef;grid-template-columns:29px minmax(100px,1fr) 70px auto auto;align-items:center;gap:10px;min-height:48px;display:grid}.transaction-row:last-child{border-bottom:0}.transaction-icon{color:#c58069;background:#fff0ec;border-radius:8px;place-items:center;width:27px;height:27px;font-size:19px;display:grid}.transaction-icon svg{fill:none;stroke:currentColor;stroke-width:3.3px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.transaction-icon.income{color:#72964c;background:#eef6e6}.transaction-name{min-width:0}.transaction-name b{color:#35443a;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600;display:block;overflow:hidden}.transaction-name small{color:#98a39b;margin-top:4px;font-size:14px;display:block}.transaction-name em{background:var(--theme-accent-soft-strong);color:var(--theme-accent-text);border-radius:3px;margin-left:7px;padding:2px 4px;font-size:13px;font-style:normal}.transaction-date{color:#8d9990;font-size:15px}.transaction-amount{color:#37463b;white-space:nowrap;font-size:16px;font-weight:600}.transaction-source{color:#8d9990;font-size:14px}.row-actions{opacity:.8;justify-content:flex-end;gap:9px;display:flex}.row-actions button{color:var(--theme-accent-text);background:0 0;border:0;padding:4px 0;font-size:14px}.row-actions .delete-action{color:#b58072}.balance-strip{border:1px solid var(--theme-accent-border);background:var(--theme-accent-pale);border-radius:11px;align-items:center;gap:12px;margin-top:13px;padding:12px 15px;display:flex}.balance-icon{background:var(--theme-accent-soft);width:28px;height:28px;color:var(--theme-accent-icon);border-radius:8px;place-items:center;display:grid}.balance-strip div:nth-child(2){flex:1}.balance-strip strong{font-size:16px}.balance-strip p{color:#88947f;margin:4px 0 0;font-size:14px}.balance-strip p span{color:#b0bc9d;padding:0 3px}.balance-strip>b{font-size:20px}.balance-strip>button{color:var(--theme-accent-text);background:0 0;border:0;font-size:15px}.footer-note{color:#a2aaa3;text-align:center;padding:24px 0 6px;font-size:14px}.toast{z-index:4;border:1px solid var(--theme-accent-border);background:var(--theme-accent-pale);color:var(--theme-accent-text);border-radius:8px;padding:10px 12px;font-size:16px;position:fixed;top:78px;right:25px;box-shadow:0 7px 20px #1c332212}.toast button{color:#83917e;background:0 0;border:0;margin-left:16px}.ledger-totals{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:32px;margin:17px 0;padding:14px 16px;display:flex}.ledger-totals div small,.ledger-totals div strong{display:block}.ledger-totals div small{color:#89968e;font-size:14px}.ledger-totals div strong{margin-top:5px;font-size:19px}.ledger-totals .outline-button{margin-left:auto}.outline-button{color:#526b55;background:#fff;border:1px solid #dce5da;border-radius:7px;padding:8px 12px;font-size:15px}.outline-button:hover{border-color:var(--theme-accent-mid)}.segmented{background:#fff;border:1px solid #e5eae4;border-radius:8px;gap:2px;padding:3px;display:flex}.segmented button{color:#87938a;background:0 0;border:0;border-radius:5px;padding:6px 11px;font-size:15px}.segmented button.selected{background:var(--theme-accent-soft);color:var(--theme-accent-text-hover)}.ledger-panel{padding:0 17px}.ledger-table-head{color:#99a49b;border-bottom:1px solid #edf0ec;grid-template-columns:minmax(130px,1fr) 100px 100px 65px 76px;align-items:center;gap:10px;height:40px;font-size:14px;display:grid}.ledger-table-head span:nth-child(3),.ledger-table-head span:last-child{text-align:right}.ledger-panel .transaction-row{grid-template-columns:minmax(130px,1fr) 100px 100px 65px 76px;gap:10px}.ledger-panel .transaction-amount,.ledger-panel .transaction-date{font-size:15px}.ledger-panel .transaction-row>.transaction-name{padding-left:37px;position:relative}.ledger-panel .transaction-icon{position:absolute}.ledger-panel .transaction-row{position:relative}.ledger-panel .row-actions{justify-content:flex-end}.table-footnote,.statement-disclaimer{color:#9aa49c;margin:11px 2px;font-size:14px;line-height:1.7}.statement-tabs{grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0 14px;display:grid}.statement-tabs button{color:#68766d;text-align:left;background:#fff;border:1px solid #e7ece5;border-radius:9px;padding:12px 14px;font-size:16px}.statement-tabs button small{color:#a0aaa2;letter-spacing:1px;margin-bottom:5px;font-size:13px;display:block}.statement-tabs button.active{border-color:var(--theme-accent-mid);background:var(--theme-accent-pale);color:var(--theme-accent-text-hover);box-shadow:0 0 0 2px var(--theme-accent-soft)}.statement-header{border-bottom:1px solid #edf0ec;justify-content:space-between;align-items:center;padding:19px 21px;display:flex}.statement-header small{color:#8a968e;font-size:14px}.statement-header h2{margin:7px 0 0;font-size:22px}.statement-header>strong{font-size:24px}.statement-card{overflow:hidden}.statement-group{padding:12px 21px 5px}.statement-section-title{color:#68796d;padding:10px 0 7px;font-size:16px;font-weight:700}.statement-line{color:#647168;border-bottom:1px solid #f2f4f1;justify-content:space-between;align-items:center;gap:16px;min-height:36px;font-size:15px;display:flex}.statement-line>span{flex-direction:column;gap:3px;display:flex}.statement-line small{color:#a0aaa2;font-size:13px}.statement-line>b{color:#4a584e;font-size:15px;font-weight:500}.statement-line.emphasis{color:#293a2d;border-bottom:0;min-height:41px;font-weight:700}.statement-line.emphasis>b{color:#293a2d;font-size:16px;font-weight:700}.statement-empty{color:#a0aaa2;padding:12px 20px;font-size:15px}.statement-card>.statement-line{border-top:1px solid #e9eee7;margin:0 21px}.statement-disclaimer{margin-top:13px}.settings-layout{gap:13px;display:grid}.settings-card{padding:20px}.theme-settings-card{margin-bottom:13px}.theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:17px;display:grid}.theme-option{text-align:left;background:#fff;border:1px solid #e7ece5;border-radius:10px;min-width:0;padding:9px;transition:border-color .15s,background .15s,box-shadow .15s}.theme-option:hover{border-color:var(--theme-accent-mid)}.theme-option.selected{border-color:var(--theme-accent-mid);background:var(--theme-accent-pale);box-shadow:0 0 0 2px var(--theme-accent-soft)}.theme-preview{background:#fbfcfa;border:1px solid #e7ebe5;border-radius:7px;grid-template-columns:27% 1fr;height:83px;display:grid;overflow:hidden}.theme-preview-sidebar{background:var(--preview-dark);flex-direction:column;gap:8px;padding:10px 6px;display:flex}.theme-preview-sidebar i{background:var(--preview-pale);opacity:.7;border-radius:3px;width:75%;height:4px}.theme-preview-sidebar i:first-child{background:var(--preview-highlight);opacity:1;width:55%;height:7px;margin-bottom:5px}.theme-preview-sidebar i:last-child{background:var(--preview-highlight);opacity:1}.theme-preview-content{flex-direction:column;gap:9px;padding:12px 9px;display:flex}.theme-preview-content>b{background:#dce2dc;border-radius:3px;width:47%;height:6px}.theme-preview-content>div{gap:6px;display:flex}.theme-preview-content>div i{background:#fff;border:1px solid #edf0ec;border-radius:4px;flex:1;height:27px}.theme-preview-content>div i:first-child{border-color:var(--preview-border);background:var(--preview-pale)}.theme-preview-content>span{background:var(--preview-highlight);border-radius:4px;width:66%;height:5px}.theme-preview.green{--preview-dark:#111d16;--preview-highlight:#c6dc7d;--preview-pale:#f1f6e4;--preview-border:#dce8c3}.theme-preview.red{--preview-dark:#281517;--preview-highlight:#e7a0a4;--preview-pale:#fbeced;--preview-border:#f0d7d9}.theme-preview.blue{--preview-dark:#111b2b;--preview-highlight:#a9c5ed;--preview-pale:#ebf2fc;--preview-border:#dce6f5}.theme-option-label{justify-content:space-between;align-items:center;gap:7px;padding:9px 2px 2px;display:flex}.theme-option-label strong,.theme-option-label small{display:block}.theme-option-label strong{color:#38483d;font-size:16px}.theme-option-label small{color:#96a098;margin-top:3px;font-size:14px}.theme-option-label>i{color:#0000;border:1px solid #e1e7df;border-radius:50%;place-items:center;width:17px;height:17px;font-size:15px;font-style:normal;display:grid}.theme-option.selected .theme-option-label>i{border-color:var(--theme-accent);background:var(--theme-accent);color:#fff}.settings-section-head{align-items:center;gap:11px;display:flex}.settings-symbol{background:var(--theme-accent-soft);width:29px;height:29px;color:var(--theme-accent-icon);border-radius:8px;place-items:center;font-size:21px;display:grid}.settings-symbol.peach{color:#be815f;background:#fff0e8}.settings-section-head>div:nth-child(2){flex:1}.settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:20px;display:grid}.settings-fields label,.schedule-row label{color:#738178;font-size:15px;display:block}.settings-fields input,.settings-fields select,.schedule-row input:not([type=checkbox]),.schedule-row select{color:#394a3d;background:#fff;border:1px solid #e1e8e0;border-radius:7px;outline:0;width:100%;height:35px;margin-top:6px;padding:0 9px;font-size:16px}.settings-fields input:focus,.settings-fields select:focus,.schedule-row input:focus,.schedule-row select:focus{border-color:var(--theme-accent-focus);box-shadow:0 0 0 2px var(--theme-accent-focus-ring)}.settings-fields small{color:#9ba69e;margin-top:5px;font-size:14px;display:block}.schedule-list{margin-top:18px}.schedule-row{border-top:1px solid #eff2ee;grid-template-columns:22px 1.2fr 1fr .8fr .6fr 20px;align-items:end;gap:11px;padding:10px 0;display:grid}.schedule-row label{min-width:0}.schedule-enable{justify-content:center;align-items:center;height:35px;display:flex!important}.schedule-enable input{accent-color:var(--theme-accent-icon)}.schedule-name input{min-width:90px}.remove-schedule{color:#a58175;background:0 0;border:0;width:20px;height:35px;font-size:24px}.settings-save-row{justify-content:space-between;align-items:center;display:flex}.save-message{color:var(--theme-accent-text);font-size:15px}.settings-tip{border-left:2px solid var(--theme-accent-mid);color:#71806f;margin-top:15px;padding:5px 12px}.settings-tip b{font-size:15px}.settings-tip p{color:#929d90;margin:5px 0;font-size:14px;line-height:1.8}.modal-backdrop{z-index:5;background:#12201899;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:13px;width:min(500px,100%);padding:23px;box-shadow:0 18px 60px #10201844}.modal-title{justify-content:space-between;align-items:flex-start;display:flex}.modal-title h2{margin:6px 0 0;font-size:25px}.close-button{color:#97a39a;background:0 0;border:0;font-size:29px}.type-toggle{background:#f2f5f1;border-radius:8px;gap:5px;margin:18px 0;padding:4px;display:flex}.type-toggle button{color:#88948c;background:0 0;border:0;border-radius:6px;flex:1;padding:8px;font-size:16px}.type-toggle button.active.expense-tab{color:#b76e58;background:#fff;box-shadow:0 1px 5px #20332110}.type-toggle button.active.income-tab{color:#678d50;background:#fff;box-shadow:0 1px 5px #20332110}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.form-grid label{color:#718076;font-size:15px}.form-grid input,.form-grid select{color:#35483a;background:#fff;border:1px solid #e0e7df;border-radius:7px;outline:0;width:100%;height:38px;margin-top:6px;padding:0 10px;font-size:16px}.form-grid input:focus,.form-grid select:focus{border-color:var(--theme-accent-focus);box-shadow:0 0 0 2px var(--theme-accent-focus-ring)}.amount-input{position:relative}.amount-input span{color:#9aa69c;font-size:16px;position:absolute;top:17px;left:10px}.amount-input input{padding-left:24px}.form-hint{color:#738661;background:#f7f9f1;border-radius:6px;grid-column:1/-1;margin:-4px 0 0;padding:9px;font-size:14px}.form-error{color:#bb6b5b;margin:12px 0 0;font-size:15px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.empty-state{color:#9aa59d;text-align:center;padding:27px 10px}.empty-state span{color:var(--theme-accent-mid);font-size:28px}.empty-state p{margin:6px 0 0;font-size:15px}.auth-page{background:#f6f8f5;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);min-height:100vh;display:grid}.auth-brand-panel{background:var(--theme-sidebar);color:#eef4ed;flex-direction:column;padding:38px clamp(28px,6vw,88px);display:flex}.auth-brand{color:inherit;align-items:center;gap:11px;text-decoration:none;display:flex}.auth-brand strong{letter-spacing:-.5px;font-size:24px}.auth-brand-copy{max-width:520px;margin:auto 0}.auth-brand-copy .eyebrow{color:var(--theme-highlight)}.auth-brand-copy h1{letter-spacing:-1.8px;margin:15px 0 12px;font-size:clamp(36px,4vw,58px);line-height:1.2}.auth-brand-copy p{color:#aebdb1;font-size:19px;line-height:1.8}.auth-brand-foot{color:#8c9d90;letter-spacing:1px;font-size:16px}.auth-form-panel{place-items:center;padding:38px;display:grid}.auth-card{gap:15px;width:min(390px,100%);display:grid}.auth-card h2{letter-spacing:-.8px;margin:-7px 0;font-size:34px}.auth-description{color:var(--muted);margin:0 0 7px;font-size:18px;line-height:1.7}.auth-card label{color:#66766b;gap:7px;font-size:17px;display:grid}.auth-card input{width:100%;height:43px;color:var(--ink);background:#fff;border:1px solid #dfe6de;border-radius:8px;outline:0;padding:0 12px;font-size:19px}.auth-card input:focus{border-color:var(--theme-accent-focus);box-shadow:0 0 0 3px var(--theme-accent-focus-ring)}.auth-submit{justify-content:center;width:100%;margin-top:3px;padding:12px}.auth-switch{color:var(--muted);text-align:center;margin:0;font-size:17px}.auth-switch button{color:var(--theme-accent-text);background:0 0;border:0;margin-left:5px;font-weight:700}.auth-footnote{color:#929e95;text-align:center;margin:5px 0 0;font-size:15px;line-height:1.7}.auth-error,.auth-notice{border-radius:8px;margin:0;padding:10px 12px;font-size:17px;line-height:1.6}.auth-error{color:#a84f46;background:#fff0ed}.auth-notice{background:var(--theme-accent-soft);color:var(--theme-accent-text-hover)}.auth-loading{min-height:100vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:15px;padding:24px;font-size:19px;display:flex}.auth-load-error p{color:#a84f46;text-align:center;max-width:560px;line-height:1.7}.auth-load-error>div{gap:10px;display:flex}@media (width>=1450px){.content{padding-left:65px;padding-right:65px}}@media (width<=1000px){.sidebar{flex-basis:205px;width:205px}.content{padding-left:3.5%;padding-right:3.5%}.overview-grid{grid-template-columns:1fr}}@media (width<=680px){.sidebar{display:none}.mobile-logout{place-items:center;display:inline-grid}.main{padding-bottom:calc(68px + env(safe-area-inset-bottom))}.mobile-bottom-nav{z-index:4;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#fbfcfa;border-top:1px solid #e8ede7;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-bottom-nav button{color:#829087;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;padding:3px;display:flex}.mobile-bottom-nav button>span{font-size:26px;line-height:1}.mobile-bottom-nav button>small{font-size:16px}.mobile-bottom-nav button.active{color:var(--theme-sidebar)}.mobile-bottom-nav button.active>small{font-weight:700}.topbar{justify-content:space-between;height:57px;padding:0 17px}.mobile-brand{align-items:center;gap:7px;display:flex}.mobile-brand .brand-mark{width:27px;height:27px}.mobile-brand strong{font-size:20px}.topbar-right{gap:9px}.today-label{display:none}.content{padding:27px 16px 18px}.page-heading{align-items:flex-start;margin-bottom:21px}.page-heading h1{font-size:31px}.page-heading p{max-width:260px;line-height:1.6}.page-heading .primary-button{padding:10px 11px}.overview-actions{flex-direction:column;align-items:stretch;gap:6px}.overview-actions .refresh-button{padding:8px 9px;font-size:14px}.period-row{margin-bottom:13px}.period-hint{font-size:14px}.metric-grid{gap:9px}.metric-card{min-height:112px;padding:12px}.metric-head{gap:6px;font-size:14px}.metric-icon{width:22px;height:22px}.metric-value{margin:14px 0 8px;font-size:25px}.metric-foot{font-size:14px}.overview-grid{gap:10px;margin-top:10px}.panel{padding:14px}.donut-layout{gap:14px}.donut-chart{flex-basis:120px;width:120px;height:120px}.donut-chart>div{width:80px;height:80px}.donut-chart strong{font-size:20px}.category-legend{gap:9px}.legend-row{grid-template-columns:7px minmax(35px,1fr) auto 24px;gap:5px;font-size:14px}.transaction-row{grid-template-columns:28px minmax(80px,1fr) 48px auto;gap:7px}.recent-list .transaction-row{min-height:46px}.recent-list .transaction-date{font-size:14px}.recent-list .transaction-amount{font-size:15px}.balance-strip{gap:8px;padding:10px}.balance-strip>b{font-size:17px}.balance-strip p{max-width:205px;line-height:1.6}.ledger-table-head{grid-template-columns:minmax(90px,1fr) 48px auto}.ledger-table-head span:nth-child(4),.ledger-table-head span:nth-child(5){display:none}.ledger-panel{padding:0 10px}.ledger-panel .transaction-row{grid-template-columns:minmax(90px,1fr) 48px auto;gap:6px}.ledger-panel .transaction-source{display:none}.ledger-panel .row-actions{grid-column:1/-1;justify-self:end}.ledger-panel .transaction-row{padding:5px 0}.ledger-panel .row-actions{margin-top:-8px}.ledger-panel .transaction-row>.transaction-name{padding-left:34px}.ledger-totals{gap:17px;padding:12px}.ledger-totals .outline-button{padding:7px 8px}.statement-tabs{gap:5px}.statement-tabs button{padding:10px 7px;font-size:15px}.statement-header{padding:16px}.statement-group{padding-left:16px;padding-right:16px}.statement-card>.statement-line{margin-left:16px;margin-right:16px}.settings-card{padding:15px}.theme-settings-card{padding:14px}.theme-options{gap:7px}.theme-option{padding:6px}.theme-preview{grid-template-columns:25% 1fr;height:65px}.theme-preview-sidebar{gap:6px;padding:8px 4px}.theme-preview-content{gap:6px;padding:9px 6px}.theme-preview-content>div i{height:21px}.theme-option-label strong{font-size:15px}.theme-option-label small{font-size:13px}.theme-option-label>i{width:14px;height:14px;font-size:14px}.settings-fields{gap:12px}.schedule-row{grid-template-columns:20px 1.2fr 1fr;align-items:end;gap:7px}.schedule-row label:nth-of-type(4),.schedule-row label:nth-of-type(5){grid-row:2}.schedule-row label:nth-of-type(4){grid-column:2}.schedule-row label:nth-of-type(5){grid-column:3}.schedule-row .remove-schedule{grid-area:2/1}.form-grid{gap:11px}.toast{top:64px;right:12px}.auth-page{display:block}.auth-brand-panel{min-height:225px;padding:22px 24px}.auth-brand-copy{margin:26px 0 12px}.auth-brand-copy h1{margin:10px 0 5px;font-size:33px}.auth-brand-copy p{margin:0;font-size:16px}.auth-brand-foot{display:none}.auth-form-panel{padding:30px 22px 44px;display:block}.auth-card{gap:13px;margin:0 auto}.auth-card h2{font-size:31px}}@media (width<=390px){.metric-card{padding:10px}.metric-head{font-size:13px}.page-heading h1{font-size:29px}.page-heading .primary-button{font-size:15px}.donut-layout{gap:10px}.donut-chart{flex-basis:102px;width:102px;height:102px}.donut-chart>div{width:68px;height:68px}.donut-chart strong{font-size:18px}.period-hint{display:none}.local-badge{padding:5px 7px;font-size:14px}}
