:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#f7f8f4;--paper:#fff;--ink:#162823;--muted:#5b6d64;--line:#e1e8e0;--green:#15644d;--forest:#102f26;--soft-green:#e6f2eb;--lime:#d9f5a3;--clay:#a64e3c;--soft-clay:#f8eae5;--shadow:0 2px 5px #23403109;font-synthesis:none;font-family:Aptos,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{color:var(--ink);background:var(--canvas);margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:2px solid #389274}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}svg{vertical-align:middle;flex-shrink:0}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.shell{min-height:100dvh}.sidebar{z-index:4;background:var(--forest);color:#dce9df;flex-direction:column;width:228px;padding:27px 17px 18px;display:flex;position:fixed;inset:0 auto 0 0}.mark{white-space:nowrap;align-items:center;gap:12px;padding:0 9px;display:flex}.mark>span{background:var(--lime);width:42px;height:42px;color:var(--forest);border-radius:13px;place-items:center;display:grid}.mark strong{color:#fff;letter-spacing:-.055em;font-size:1.47rem}.mark strong span{color:var(--lime)}.nav-label{letter-spacing:.11em;color:#abc1b5;margin:38px 12px 10px;font-size:.75rem;font-weight:720}.sidebar nav{gap:5px;display:grid}.nav-item{text-align:left;color:#dce9df;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:12px;width:100%;min-height:44px;padding:11px 12px;font-size:.91rem;font-weight:560;display:flex}.nav-item:hover{background:#23473a}.nav-item.active{color:#e8f8d9;background:#2a4b3f;border-color:#456554}.nav-item.active svg{color:var(--lime)}.side-bottom{margin-top:auto}.example{color:#c6d8cd;margin-bottom:12px}.profile{border-top:1px solid #355346;align-items:center;gap:10px;padding:14px 3px 2px 5px;display:flex}.avatar{width:36px;height:36px;color:var(--forest);background:#d4e9c1;border-radius:50%;flex:0 0 36px;place-items:center;font-weight:760;display:grid}.profile>div{flex:1;gap:3px;min-width:0;display:grid}.profile strong,.profile>div span{white-space:nowrap;text-overflow:ellipsis;font-size:.87rem;overflow:hidden}.profile>div span{color:#adc1b4;font-size:.76rem}.profile-logout{width:34px;height:34px;color:inherit;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.profile-logout:hover{background:#2a4b3f}.workspace{margin-left:228px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:15px;min-height:66px;padding:0 31px;display:flex}.top-location{color:var(--muted);align-items:center;gap:9px;font-size:.89rem;display:inline-flex}.top-location strong{color:var(--ink);font-weight:650}.cloud{color:var(--muted);white-space:nowrap;background:#f2f4f1;border-radius:7px;align-items:center;gap:7px;padding:6px 10px;font-size:.82rem;display:inline-flex}.cloud.online{background:var(--soft-green);color:#205d47}.content{max-width:1520px;margin:0 auto;padding:28px 31px 32px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:15px 18px;margin-bottom:21px;display:flex}h1{letter-spacing:-.06em;font-size:clamp(1.8rem,2.65vw,2.57rem);font-weight:740;line-height:1.08}.page-head p{color:var(--muted);margin-top:7px;font-size:.96rem;line-height:1.5}.page-actions,.quick-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.quick-actions{margin-bottom:15px}.button{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;max-width:100%;min-height:41px;padding:0 13px;font-size:.88rem;font-weight:660;display:inline-flex}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#0f513d}.secondary,.outline-wide{color:var(--ink);border-color:var(--line);background:#fff}.secondary:hover:not(:disabled),.outline-wide:hover:not(:disabled){background:#f2f7f2;border-color:#bdcec2}.text-button{color:var(--green);background:0 0;padding-inline:5px}.text-button:hover:not(:disabled){text-decoration:underline}.outline-wide{width:100%;color:var(--green);margin-top:15px}.month-picker{border:1px solid var(--line);background:#fff;border-radius:8px;flex-shrink:0;align-items:center;height:41px;padding:0 3px;display:flex}.icon-button{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:grid}.icon-button:hover:not(:disabled){color:var(--ink);background:#edf2eb}.month-label{justify-content:center;align-items:center;gap:7px;min-width:132px;min-height:36px;padding:0 5px;font-size:.875rem;font-weight:640;display:flex;position:relative}.month-label input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.month-label:focus-within{outline-offset:-1px;border-radius:6px;outline:2px solid #389274}.mobile-menu,.overlay{display:none}.surface{border:1px solid var(--line);box-shadow:var(--shadow);background:var(--paper);border-radius:13px;min-width:0}.summary{grid-template-columns:1.16fr 1fr 1fr 1fr;gap:14px;display:grid}.metric{border-radius:13px;min-height:132px;padding:15px;position:relative;overflow:hidden}.metric-top{color:var(--muted);z-index:1;align-items:center;gap:8px;font-size:.86rem;font-weight:650;display:flex;position:relative}.metric-icon,.account-icon,.setup-icon,.entry-icon{border-radius:9px;flex:none;place-items:center;width:35px;height:35px;display:grid}.metric-icon.opening,.account-icon.bank,.entry-icon.transfer{color:#525e87;background:#eef0f8}.metric-icon.income,.account-icon.cash,.setup-icon,.entry-icon.income{background:var(--soft-green);color:#17654b}.metric-icon.expense,.entry-icon.expense{background:var(--soft-clay);color:var(--clay)}.metric strong{z-index:1;letter-spacing:-.055em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:9px;font-size:clamp(1.26rem,2vw,1.91rem);font-weight:780;line-height:1.15;display:block;position:relative}.metric p{z-index:1;color:var(--muted);margin-top:6px;font-size:.8rem;position:relative}.balance{color:#f7fff5;background:#155641;border:1px solid #155641}.balance .metric-top,.balance p{color:#d1e9d8}.balance .metric-icon{color:var(--lime);background:#326c52}.balance-decoration{stroke:#d9f5a3;stroke-width:1px;opacity:.21;fill:none;pointer-events:none;width:108px;height:150px;position:absolute;inset:auto -2px -22px auto}.setup{background:#edf5ea;border:1px solid #dcebd8;border-radius:10px;align-items:center;gap:11px;margin-top:14px;padding:10px 13px;display:flex}.setup>div{flex:1;min-width:0}.setup strong{font-size:.89rem}.setup p{color:var(--muted);margin-top:2px;font-size:.86rem;line-height:1.45}.setup .button{min-height:35px}.dashboard-grid,.report-grid{grid-template-columns:minmax(0,1.65fr) minmax(265px,1fr);gap:15px;margin-top:15px;display:grid}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title h2{letter-spacing:-.035em;font-size:1.16rem;line-height:1.3}.section-title p{color:var(--muted);margin-top:4px;font-size:.85rem;line-height:1.42}.section-action{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.trend,.accounts,.report-panel{padding:17px}.legend{color:var(--muted);gap:12px;font-size:.78rem;display:flex}.legend span{align-items:center;gap:5px;display:inline-flex}.legend i{background:#278061;border-radius:3px;width:9px;height:9px}.legend span:nth-child(2) i{background:#d78c76}.plot{grid-template-columns:42px minmax(0,1fr);height:158px;margin-top:16px;padding-bottom:22px;display:grid}.scale{color:var(--muted);flex-direction:column;justify-content:space-between;margin-top:-7px;margin-bottom:-7px;font-size:.75rem;display:flex}.graph{position:relative}.grid-lines{flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:0}.grid-lines i{border-top:1px dashed #d8e2db;width:100%}.grid-lines i:last-child{border-top-style:solid}.series,.axis{grid-template-columns:repeat(6,minmax(0,1fr));width:100%;display:grid;position:absolute}.series{inset:0}.bar-pair{justify-content:center;align-items:flex-end;gap:3px;height:100%;display:flex}.bar-pair i{background:#278061;border-radius:4px 4px 0 0;width:min(25%,18px)}.bar-pair i:nth-child(2){background:#d78c76}.axis{text-align:center;color:var(--muted);font-size:.76rem;bottom:-20px}.plot-empty{text-align:center;width:max-content;max-width:90%;color:var(--muted);pointer-events:none;background:#fff;border-radius:5px;padding:7px;font-size:.79rem;position:absolute;top:35%;left:50%;transform:translate(-50%)}.account-row{border-bottom:1px solid #edf1ed;flex-wrap:wrap;align-items:center;gap:9px;padding:12px 0;display:flex}.account-row>div{flex:1;min-width:90px}.account-row strong{font-size:.88rem}.account-row p{color:var(--muted);margin-top:3px;font-size:.78rem}.account-amount{text-align:right;overflow-wrap:anywhere}.accounts .section-title{margin-bottom:3px}.transaction-surface{margin-top:15px;overflow:visible}.transaction-surface>.section-title{padding:15px 17px 12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:.86rem}th{color:var(--muted);background:#f5f7f3;font-size:.8rem;font-weight:680}td,th{border-bottom:1px solid #edf1ed;padding:10px 12px}td:first-child,th:first-child{padding-left:17px}td:last-child,th:last-child{padding-right:17px}tr:last-child td{border-bottom:0}tr:hover td{background:#fafcf9}td:not(:first-child){min-width:112px}.numeric{text-align:right;white-space:nowrap}.amount{font-weight:720}.transaction-note{align-items:center;gap:9px;min-width:155px;display:flex}.transaction-note strong{overflow-wrap:anywhere;display:block}.transaction-note small,.to-account{color:var(--muted);margin-top:2px;font-size:.76rem;display:block}.entry-icon{width:32px;height:32px}.positive{color:#17654b}.negative{color:var(--clay)}td.action-col,th.action-col{width:80px;min-width:80px;padding-inline:3px 9px}.row-actions{align-items:center;gap:2px;display:flex}.row-actions button:last-child:hover{color:var(--clay);background:var(--soft-clay)}.empty{text-align:center;color:var(--ink);justify-items:center;gap:5px;padding:20px 15px 23px;display:grid}.empty>span{color:#315f4e;background:#eaf2eb;border-radius:12px;place-items:center;width:43px;height:43px;margin-bottom:3px;display:grid}.empty strong{font-size:.92rem}.empty p{color:var(--muted);font-size:.85rem;line-height:1.45}.filters{flex-wrap:wrap;gap:8px;padding:0 17px 14px;display:flex}.filters .search{flex:180px}.search{border:1px solid var(--line);color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.search input{width:100%;height:36px;color:var(--ink);border:0;outline:0;padding:0}.search:focus-within{outline-offset:2px;outline:2px solid #389274}select,.form-fields input,.form-fields textarea{color:var(--ink);background:#fff;border:1px solid #d8e1da;border-radius:8px;min-width:0;min-height:38px;padding:7px 10px;font-size:.91rem}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235b6d64' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center no-repeat;padding-right:31px}.totals{margin:13px 0 0}.totals>div{border-bottom:1px solid #edf1ed;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 0;font-size:.92rem;display:flex}.totals dt{color:var(--muted)}.totals dd{text-align:right;overflow-wrap:anywhere;margin:0;font-weight:720}.totals .total{border-bottom:0;font-size:1.05rem}.report-accounts{margin-top:13px}.report-accounts :is(th,td){padding-left:8px;padding-right:8px}.help{color:var(--muted);font-size:.89rem;line-height:1.6}.report-panel>.help{margin-top:10px}.breakdown{gap:12px;margin-top:14px;display:grid}.breakdown>div>div{justify-content:space-between;gap:7px;font-size:.87rem;display:flex}progress{appearance:none;color:#278061;background:#e7eee7;border:0;border-radius:8px;width:100%;height:7px}progress::-webkit-progress-bar{background:#e7eee7;border-radius:8px}progress::-webkit-progress-value{background:#278061;border-radius:8px}progress::-moz-progress-bar{background:#278061;border-radius:8px}.budget{margin-top:17px}.budget strong{font-size:1.13rem;display:block}.budget strong span,.budget p{color:var(--muted);font-size:.85rem;font-weight:520}.budget progress{margin:10px 0 3px}.budget.over p{color:var(--clay)}.budget.over progress::-webkit-progress-value{background:var(--clay)}.budget.over progress::-moz-progress-bar{background:var(--clay)}.loading{color:var(--muted);padding:32px 17px}.error-panel,.demo-banner{border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;padding:10px 13px;font-size:.9rem;display:flex}.error-panel,.form-error{color:#8b382c;background:#fbeee8}.demo-banner{color:#574a21;background:#f5efd9}.demo-banner span{align-items:center;gap:8px;display:flex}.demo-banner button{background:0 0;border:0;font-weight:700;text-decoration:underline}.dialog{border:1px solid var(--line);width:min(490px,100vw - 30px);color:var(--ink);border-radius:14px;max-height:calc(100dvh - 30px);padding:19px}.dialog::backdrop{background:#14291fb0}.dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.dialog-head h2{letter-spacing:-.05em;font-size:1.38rem}.form-fields,.form-fields label{gap:11px;display:grid}.form-fields label{gap:5px;font-size:.88rem;font-weight:650}.form-fields textarea{resize:vertical}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.kind-fields{background:#eff3ee;border-radius:8px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.kind-fields button{white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:5px;min-height:37px;padding:5px 7px;font-size:.82rem;font-weight:650;display:flex}.kind-fields button.chosen{border-color:var(--line);color:var(--green);background:#fff}.form-error{border-radius:7px;margin-top:10px;padding:7px 9px;font-size:.87rem}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.danger{color:#fff;background:#a64434}.danger:hover:not(:disabled){background:#862f23}.toast{z-index:5;color:#fff;background:var(--forest);border-radius:9px;padding:11px 15px;font-size:.9rem;position:fixed;bottom:20px;right:20px;box-shadow:0 5px 20px #102f2640}.auth-screen{grid-template-columns:minmax(285px,42%) minmax(0,1fr);min-height:100dvh;display:grid}.auth-intro{color:#fff;background:radial-gradient(ellipse at 85% 16%, #416049, var(--forest) 65%);flex-direction:column;justify-content:space-between;gap:70px;padding:clamp(22px,4.8vw,68px);display:flex}.auth-intro .mark{align-self:flex-start;padding:0}.auth-intro>div:last-child{margin:auto 0}.auth-intro h1{max-width:11ch;font-size:clamp(2.7rem,5.35vw,5.5rem)}.auth-intro p{color:#d1e2d7;max-width:30ch;margin-top:15px;line-height:1.65}.auth-section{place-items:center;padding:clamp(20px,4vw,45px);display:grid}.auth-card{width:100%;max-width:405px}.auth-mark{width:42px;height:42px;color:var(--green);background:var(--soft-green);border-radius:10px;place-items:center;margin-bottom:12px;display:grid}.auth-card h2{letter-spacing:-.055em;font-size:clamp(1.65rem,3vw,2.05rem)}.auth-card>p{color:var(--muted);margin-top:6px;line-height:1.5}.auth-modes{margin:17px 0 15px}.auth-modes button{font-size:.91rem}.auth-card .form-fields input{min-height:43px;font-size:1rem}.field-hint{color:var(--muted);margin-top:-6px;font-size:.8rem;line-height:1.46}.password-field{position:relative}.password-field input{width:100%;padding-right:39px}.password-field .icon-button{position:absolute;top:50%;right:5px;transform:translateY(-50%)}.auth-submit{margin-top:4px}.legacy-signin{border-top:1px solid var(--line);margin-top:17px;padding-top:14px}.legacy-signin .button{width:100%}.legacy-signin p{color:var(--muted);text-align:center;margin-top:7px;font-size:.82rem;line-height:1.45}@media (width>=1450px){.content,.topbar{padding-inline:39px}.metric,.trend,.accounts,.report-panel{padding:20px}}@media (width<=1070px) and (width>=761px){.sidebar{width:188px;padding-inline:12px}.workspace{margin-left:188px}.content,.topbar{padding-inline:19px}.summary{gap:8px}.metric{padding:11px}}@media (width<=900px){.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{min-height:111px}.dashboard-grid,.report-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=760px){.auth-screen{grid-template-columns:minmax(0,1fr);align-content:start}.auth-intro{padding:17px}.auth-intro>div:last-child{display:none}.auth-intro .mark>span{width:35px;height:35px}.auth-section{padding:23px 16px 28px}.sidebar{transition:transform .17s;transform:translate(-100%)}.sidebar-open{transform:translate(0)}.overlay{z-index:3;background:#14291f85;border:0;display:block;position:fixed;inset:0}.workspace{margin-left:0}.topbar{justify-content:flex-start;gap:8px;min-height:53px;padding-inline:13px}.topbar .cloud{margin-left:auto}.mobile-menu{display:grid}.content{padding:21px 13px}.top-location{gap:4px;font-size:.82rem}}@media (width<=460px){.page-head{margin-bottom:13px}.page-actions{gap:6px}.button{padding-inline:8px;font-size:.83rem}.month-label{min-width:108px;font-size:.8rem}.month-picker .icon-button{width:26px}.summary{gap:7px}.metric{padding:9px}.metric-top{gap:5px;font-size:.79rem}.metric-icon{width:29px;height:29px}.metric-icon svg{width:16px;height:16px}.setup{flex-wrap:wrap}.setup>.button{margin-left:46px}.legend{font-size:.75rem}.form-fields input,.form-fields select,.form-fields textarea{font-size:1rem}.dialog{padding:12px}}@media (prefers-reduced-motion:reduce){.sidebar{transition:none}}.backup-settings{border-top:1px solid var(--line);justify-items:start;gap:8px;margin-top:14px;padding-top:12px;display:grid}.session-gate{place-content:center;gap:12px;min-height:100dvh;padding:16px;display:grid}.backup-settings h3{margin:0;font-size:.96rem}.backup-settings form{max-width:100%}.backup-settings input[type=file]{width:100%}.toast button{color:inherit;background:0 0;border:1px solid #adc1b4;border-radius:5px;margin-left:5px}.password-setup{margin-top:17px}
