:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#263d35;background:#f5f6f2;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:0;transition:background .18s}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #cc9b4b;outline-offset:3px}input:focus,select:focus{outline:2px solid #5d9680;outline-offset:1px}button:hover:not(:disabled){filter:brightness(.96)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.25;font-weight:650;margin-bottom:9px}h2{font-size:17px;letter-spacing:-.3px;font-weight:650}h3{font-size:15px}small{font-size:12px;color:#7a8880}p{line-height:1.6}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid #e5e9e1;padding:32px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:#194e40;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;background:#1c6654;color:#fff;border-radius:13px;width:42px;height:42px;font-size:30px;font-family:Georgia;position:relative}.brand-mark span{color:#dabb7c;position:absolute;right:6px;top:5px}.sidebar-label{font-size:9px;letter-spacing:1.7px;color:#96a098;margin:54px 12px 16px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{text-align:left;background:none;padding:0 16px;border-radius:9px;color:#748079;display:flex;align-items:center;gap:14px;font-weight:550;height:49px}.sidebar nav button span{font-size:24px;width:22px}.sidebar nav button.active{background:#edf4ee;color:#18614f}.local-note{margin-top:auto;background:#f5f7f1;padding:17px 12px;border-radius:10px;font-size:12px;font-weight:600}.local-note p{font-size:11px;color:#879087;font-weight:400;margin:8px 0 0 13px;line-height:1.8}.status-dot{display:inline-block;background:#6d967c;width:6px;height:6px;border-radius:50%;margin-right:6px}.main{margin-left:238px}.topbar{height:76px;border-bottom:1px solid #e4e8df;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fcfcf9}.breadcrumb{font-size:12px;color:#65776b}.breadcrumb span{margin:0 12px;color:#b2b9af}.connection{font-size:11px;color:#738476;display:flex;align-items:center;gap:8px}.connection i{height:6px;width:6px;background:#63957c;border-radius:50%}.mobile-brand{display:none}.content{max-width:1450px;margin:auto;padding:36px 42px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#7a8b7e;margin-bottom:13px}.subtitle{color:#839083;margin-bottom:0;font-size:13px}.primary,.secondary,.danger{padding:12px 18px;border-radius:8px;font-weight:600;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.primary{background:#1c6552;color:#fff;box-shadow:0 3px 5px #18513e0a}.secondary{background:#fff;border:1px solid #dce3d8;color:#315849}.danger{background:#f9e9e5;color:#a13f2d}.add-top{white-space:nowrap}.month-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.month-switch{display:flex;align-items:center;gap:3px;background:#fff;border:1px solid #e2e7dd;border-radius:8px;padding:0 4px}.month-switch button{background:none;font-size:22px;color:#8a988b;width:35px}.month-switch input{border:0;background:transparent;width:170px;color:#3d5848;font-weight:600;font-size:13px;padding:8px}.period-caption{font-size:11px;color:#8e998f}.stats{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:20px;margin-bottom:24px}.balance-card{padding:24px 26px;background:#1d604f;color:#fff;border-radius:13px;position:relative;overflow:hidden}.balance-card:after{content:"";position:absolute;width:140px;height:140px;border:1px solid #ffffff0c;border-radius:50%;right:-40px;top:-40px;box-shadow:0 0 0 24px #ffffff03,0 0 0 48px #ffffff03;pointer-events:none}.stat-label{display:flex;justify-content:space-between;color:#ceded4;font-size:12px}.stat-label span{opacity:.7}.balance-card h2{font-size:32px;letter-spacing:-1px;margin:19px 0 5px}.balance-card>p{font-size:10px;color:#a6c4b5}.balance-foot{border-top:1px solid #ffffff1f;padding-top:15px;margin-top:22px;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#b8d1c2}.balance-foot b{font-size:11px;color:#e2eee6}.stat-card{background:#fff;border:1px solid #e3e8de;border-radius:13px;padding:23px}.stat-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;font-size:22px}.income{color:#257657}.stat-symbol.income,.entry-icon.income{background:#eef6ed}.expense{color:#b16a55}.stat-symbol.expense,.entry-icon.expense{background:#fcf0e8}.stat-card p{font-size:12px;color:#7c897e;margin:16px 0 9px}.stat-card h2{font-size:26px;margin:0 0 14px;letter-spacing:-.7px}.stat-card small{font-size:10px}.dashboard-grid,.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.card{background:#fff;border:1px solid #e3e8de;border-radius:12px;padding:24px;margin-bottom:22px;min-width:0}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px}.card-heading h2{margin:0}.tag{background:#f4f6f1;color:#86907f;font-size:10px;padding:6px 9px;border-radius:5px}.distribution{display:flex;align-items:center;gap:28px;min-height:210px}.donut{width:170px;height:170px;border-radius:50%;flex-shrink:0;display:grid;place-items:center}.donut>div{width:125px;height:125px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.donut strong{font-size:15px}.legend{flex:1;min-width:0}.legend>div{display:flex;justify-content:space-between;font-size:11px;gap:10px;margin:16px 0}.legend span{display:flex;align-items:center;gap:8px}.legend i{width:7px;height:7px;border-radius:50%;flex-shrink:0}.legend b{font-size:10px;white-space:nowrap}.chart-empty{height:218px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#99a394;font-size:12px}.empty-donut{border:20px solid #f0f3ec;width:140px;height:140px;border-radius:50%;display:grid;place-items:center;font-size:25px;color:#a3afa0;margin-bottom:14px}.savings-total{font-size:24px;font-weight:650;letter-spacing:-.5px}.savings-total small{display:block;font-weight:400;font-size:10px;letter-spacing:0;margin-top:6px}.bar-chart{display:flex;gap:8px;align-items:end;height:150px;border-bottom:1px solid #e7ece1;padding:10px 0 9px}.bar-column{flex:1;min-width:0;display:flex;align-items:center;flex-direction:column;height:100%;gap:6px;font-size:10px;color:#889680}.bar-space{flex:1;min-height:0;width:55%;display:flex;align-items:end;background:linear-gradient(0deg,transparent 49%,#f6f8f3 50%,transparent 51%)}.bar-space>div{width:100%;background:#8fb39a;border-radius:4px 4px 0 0;min-height:2px}.bar-column:last-child .bar-space>div{background:#23664f}.bar-value{font-size:8px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.mini-totals{display:flex;justify-content:space-between;gap:10px;margin-top:16px;font-size:10px;color:#8b9687}.mini-totals b{margin-left:8px;color:#456749;font-size:10px}.insight{background:#edf1e5;border:1px solid #e2e8d5;padding:19px 22px;border-radius:10px;display:flex;gap:17px;margin-bottom:26px}.insight>span{color:#7d9460;font-size:25px}.insight h3{font-size:12px;margin:0 0 6px}.insight p{font-size:12px;color:#64775c;margin:0 0 6px}.insight small{font-size:9px;color:#8a997d}.text-button{background:none;color:#537b61;font-size:11px;font-weight:600;padding:8px}.entry{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #eef0e9}.entry:last-child{border:0}.entry-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;font-size:21px;background:#f0f3e9;flex-shrink:0}.entry-desc{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.entry-desc strong{font-size:12px;overflow-wrap:anywhere}.entry-desc small{font-size:10px}.entry-amount{font-size:13px;white-space:nowrap}.icon-button{background:none;color:#849181;min-width:40px;font-size:19px;border-radius:7px}.empty{text-align:center;padding:28px 12px}.empty>span{color:#92aa94;font-size:30px}.empty h3{font-size:14px;margin:14px 0 7px}.empty p{font-size:12px;color:#91a08d}.filters{display:flex;flex-wrap:wrap;gap:7px;padding-bottom:16px}.filters button{background:#f4f6f1;padding:9px 13px;border-radius:7px;font-size:11px;color:#7b8c77}.filters .selected{background:#e4eee2;color:#27653e}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;flex:1;min-width:0}.field>span{font-size:12px;font-weight:550;color:#64785d}.field input,.field select{padding:12px;border:1px solid #dce3d6;border-radius:7px;min-width:0;width:100%;min-height:45px;background:#fff;color:#314b2d}.form-row{display:flex;gap:15px}form>.primary{margin-top:3px}.muted{font-size:12px;color:#87957e;line-height:1.7}.budget-list{margin-top:26px}.budget-list article,.goal{padding:17px 0;border-top:1px solid #e9ede3}.spread{display:flex;justify-content:space-between;align-items:center;gap:15px}.spread b{font-size:13px}.spread h3{margin:0}.progress{height:7px;border-radius:7px;background:#edf2e7;overflow:hidden;margin:12px 0}.progress i{display:block;height:100%;border-radius:7px;background:#649273}.progress.over i{background:#c47e62}.budget-list p,.goal p{font-size:12px;color:#7f8e76;margin-bottom:12px}.savings-banner{background:#e8efdf;border:1px solid #dce5cf;border-radius:12px;padding:26px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.savings-banner p{font-size:12px;color:#6d835f}.savings-banner h2{font-size:34px;margin:10px 0}.button-group{display:flex;flex-wrap:wrap;gap:10px}.year-list>div{padding:13px 0;border-bottom:1px solid #eef1e7;font-size:12px;color:#7b8b70}.year-list{margin-bottom:14px}.stack{display:grid;gap:12px}.category-list{margin-top:20px}.category-list>div{display:flex;align-items:center;border-top:1px solid #eef1e7;font-size:12px}.category-list span{flex:1}.alert{padding:12px 16px;border:1px solid #cddfc5;background:#edf5e8;border-radius:8px;margin-bottom:20px;color:#45623b;display:flex;align-items:center;justify-content:space-between;font-size:12px}.alert button{background:none;color:inherit;font-size:20px;min-width:35px}.alert.error,.inline-error{background:#fff0eb;color:#a44e36}.alert.error{border-color:#f1d4c7}.inline-error{padding:10px;border-radius:6px;font-size:12px}footer{padding:16px 0 7px;display:flex;gap:10px;justify-content:center;color:#9ba58f;font-size:10px}.bottom-nav{display:none}dialog{border:1px solid #dbe3d4;border-radius:16px;padding:25px;width:480px;max-width:calc(100% - 24px);max-height:90dvh;color:inherit;box-shadow:0 25px 100px #123c292f}dialog::backdrop{background:#173d2c66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-heading h2{margin:0;font-size:19px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.modal-actions .danger{margin-right:auto}.overlay{position:fixed;inset:0;background:#173d2c66;display:grid;place-items:center;z-index:20;padding:20px}.restore-modal{background:#fff;max-width:460px;border-radius:14px;padding:25px}.restore-modal p{font-size:13px;color:#77896c}.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}.loading{padding:50px;text-align:center}@media(min-width:1450px){.content{padding-top:45px}.dashboard-grid{grid-template-columns:1fr 1.05fr}.card{padding:28px}}@media(max-width:1200px){.sidebar{width:200px;padding:28px 15px}.brand{font-size:20px;gap:8px}.main{margin-left:200px}.content{padding:28px 25px}.topbar{padding:0 25px}.distribution{gap:15px;flex-direction:column;padding-top:5px}.legend{width:100%}.legend>div{margin:10px 0}.stats{gap:12px}.balance-card{padding:22px 18px}.stat-card{padding:20px 16px}.stat-card h2{font-size:22px}.balance-card h2{font-size:28px}.page-heading{align-items:flex-start}h1{font-size:26px}.add-top{font-size:11px;padding:12px}}@media(max-width:850px){.sidebar{display:none}.main{margin-left:0}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #e0e7d8;z-index:5;justify-content:space-around}.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;background:none;color:#929f88;padding:6px 0;min-height:55px}.bottom-nav button span{font-size:23px;line-height:25px}.bottom-nav button.active{color:#1e6950}.topbar{height:64px;padding:0 22px}.breadcrumb{display:none}.mobile-brand{display:flex;gap:9px;align-items:center;font-size:26px;color:#1b6850}.mobile-brand b{font-size:17px}.content{padding:28px 22px 100px}.page-heading{gap:14px}.dashboard-grid{gap:16px}.distribution{flex-direction:row;flex-wrap:wrap;justify-content:center}.stats{gap:12px}.card{padding:22px}.two-columns{gap:16px}.period-caption{font-size:10px}}@media(max-width:600px){.content{padding:25px 16px 100px}.eyebrow{font-size:8px;margin-bottom:9px}h1{font-size:25px}.subtitle{font-size:12px}.page-heading{display:block;margin-bottom:22px}.add-top{margin-top:19px;width:100%;font-size:13px;min-height:46px}.month-toolbar{margin-bottom:18px;gap:9px}.period-caption{max-width:105px;text-align:right;line-height:1.6}.month-switch input{width:154px;font-size:12px}.month-switch button{width:28px}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.balance-card{grid-column:1/-1;padding:23px}.balance-card h2{font-size:36px;margin-top:16px}.balance-foot{margin-top:18px}.stat-card{padding:18px 15px}.stat-card h2{font-size:22px;overflow-wrap:anywhere}.stat-card p{font-size:11px;margin:13px 0 8px}.stat-card small{font-size:9px;line-height:1.6}.dashboard-grid,.two-columns{display:block}.card{padding:20px;margin-bottom:18px}.card h2{font-size:16px}.distribution{flex-wrap:nowrap;gap:20px;padding:8px 0;min-height:180px}.donut{width:135px;height:135px}.donut>div{width:99px;height:99px}.donut strong{font-size:12px}.donut small{font-size:10px}.legend>div{font-size:10px;flex-wrap:wrap;gap:5px;margin:14px 0}.legend b{font-size:10px}.chart-empty{height:190px}.bar-chart{height:165px}.bar-value{font-size:8px}.entry{gap:10px}.entry-desc strong{font-size:12px}.entry-desc small{font-size:9px;line-height:1.6}.entry-amount{font-size:11px}.entry .icon-button{min-width:28px;width:28px}.entry-icon{width:32px;height:34px;font-size:19px}.insight{padding:17px 15px;gap:12px}.savings-banner{display:block;padding:22px}.savings-banner .button-group{margin-top:22px}.savings-banner small{line-height:1.7;display:block}.savings-banner h2{font-size:31px}.form-row{gap:10px}.field input,.field select{font-size:16px;padding:11px 9px}.field>span{font-size:11px}.card-heading{margin-bottom:18px}.card-heading .secondary{font-size:10px;padding:10px}.filters{gap:6px}.filters button{font-size:10px;padding:8px 10px}.connection{font-size:10px}dialog{padding:20px}.modal-heading h2{font-size:18px}footer{font-size:9px;gap:6px}.mini-totals{font-size:9px;flex-wrap:wrap}.mini-totals b{font-size:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}body{min-height:100dvh;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.field input,.field select{font-size:16px;scroll-margin-block:90px}.connection.is-offline{color:#9b6b3c}.connection.is-offline i{background:#c39254}.pwa-settings>p,.pwa-settings li{font-size:12px;color:#627657;line-height:1.8}.pwa-settings .install-status{font-weight:650;color:#23634c}.offline-state{font-size:12px;font-weight:600;color:#3f7257;margin:20px 0 8px;line-height:1.6}.status-dot.pending{background:#c7a15e}.update-box{padding:16px;background:#edf3e7;border-radius:8px;margin:16px 0}.update-box p{font-size:12px;line-height:1.7;color:#728469}.update-notice{padding:12px 16px;background:#e9f0de;border:1px solid #d7e3c9;color:#526d40;font-size:12px;border-radius:8px;margin-bottom:18px}.transfer-steps{padding-left:20px;font-size:12px;color:#758469;line-height:1.8}.transfer-steps li{margin-bottom:7px}@media(max-width:850px){.bottom-nav{left:env(safe-area-inset-left);right:env(safe-area-inset-right)}.content{padding-bottom:calc(100px + env(safe-area-inset-bottom))}}@media(max-width:380px){dialog .form-row{flex-direction:column;gap:0}}@media(display-mode:standalone){.topbar{background:#f5f6f2}}
