@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--theme-hue:215;--theme-saturation:1;font-family:'DM Sans',sans-serif;color:hsl(calc(var(--theme-hue) + 1.00) calc(32.71% * var(--theme-saturation)) 20.98%);background:hsl(calc(var(--theme-hue) + 5.00) calc(37.50% * var(--theme-saturation)) 96.86%);font-size:14px;--primary:hsl(calc(var(--theme-hue) + -0.85) calc(52.00% * var(--theme-saturation)) 24.51%);--muted:hsl(calc(var(--theme-hue) + 0.38) calc(16.32% * var(--theme-saturation)) 46.86%);--line:hsl(calc(var(--theme-hue) + 1.00) calc(30.61% * var(--theme-saturation)) 90.39%);--accent:hsl(calc(var(--theme-hue) + -1.67) calc(96.92% * var(--theme-saturation)) 87.25%);--red:#b42335}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button,a,input,select{outline-offset:4px}button{border:0;background:transparent;color:inherit}button:disabled{opacity:.45;cursor:default}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}aside{position:fixed;inset:0 auto 0 0;width:238px;background:hsl(calc(var(--theme-hue) + -0.71) calc(50.00% * var(--theme-saturation)) 94.51%);border-right:1px solid var(--line);padding:36px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;margin-bottom:42px;font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.7px}.logo{width:38px;height:38px;display:grid;place-items:center;background:var(--primary);color:var(--accent);border-radius:12px}.logo svg{width:26px;height:26px}.nav-label{text-transform:uppercase;font-size:10px;color:var(--muted);letter-spacing:1.8px;margin:4px 14px 14px}nav{display:grid;gap:6px}nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:13px 15px;border-radius:9px;color:hsl(calc(var(--theme-hue) + -0.71) calc(20.39% * var(--theme-saturation)) 40.39%);font-weight:500}nav button.active{background:var(--primary);color:#fff}nav button:hover:not(.active){background:hsl(calc(var(--theme-hue) + -1.67) calc(60.00% * var(--theme-saturation)) 91.18%)}.side-bottom{margin-top:auto}.note-card{border:1px solid hsl(calc(var(--theme-hue) + -1.90) calc(42.03% * var(--theme-saturation)) 86.47%);border-radius:12px;padding:18px 15px;margin-bottom:24px;font-size:12px;line-height:1.7}.note-card strong{display:block;font-size:13px;margin:8px 0 4px}.profile{display:flex;align-items:center;gap:10px;font-size:12px}.avatar{background:hsl(calc(var(--theme-hue) + -0.71) calc(72.41% * var(--theme-saturation)) 88.63%);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-weight:700}.profile small{display:block;color:var(--muted);margin-top:3px}main{margin-left:238px;padding:30px 42px 45px;max-width:1800px}.topbar{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;padding-bottom:27px;border-bottom:1px solid var(--line);gap:12px}.topbar strong{color:hsl(calc(var(--theme-hue) + 0.00) calc(32.00% * var(--theme-saturation)) 29.41%);font-weight:500}.local-label{display:flex;align-items:center;gap:7px}.dot{width:6px;height:6px;border-radius:50%;background:hsl(calc(var(--theme-hue) + 2.22) calc(91.22% * var(--theme-saturation)) 59.80%)}.heading{display:flex;justify-content:space-between;align-items:center;margin:32px 0 24px;gap:20px}h1{font-family:Manrope,sans-serif;font-size:30px;line-height:1.3;letter-spacing:-1.2px;margin:0 0 8px;font-weight:750}p{color:var(--muted);line-height:1.65;margin:0}h2{font-family:Manrope,sans-serif;font-size:16px;letter-spacing:-.35px;margin:0;font-weight:750}h3{font-size:14px;margin:0}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:550;font-size:12px;white-space:nowrap}.btn:hover{filter:brightness(.97)}.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.small{padding:7px 10px;font-size:11px}.danger{color:var(--red)}.month-switch{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:5px}.month-switch input{width:144px;border:0;background:transparent;font-size:12px;padding:5px}.icon-btn{padding:5px;display:inline-flex;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px;min-height:154px}.stat:first-child{background:var(--primary);color:#fff;border-color:var(--primary)}.stat-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.stat:first-child .stat-title{color:hsl(calc(var(--theme-hue) + -0.95) calc(64.91% * var(--theme-saturation)) 88.82%)}.stat-value{font-family:Manrope,sans-serif;font-size:27px;font-weight:700;letter-spacing:-1px;margin:21px 0 9px;white-space:nowrap}.stat-value small{font-size:15px;font-weight:500;letter-spacing:0}.stat-foot{font-size:11px;color:var(--muted)}.stat:first-child .stat-foot{color:hsl(calc(var(--theme-hue) + -1.67) calc(96.92% * var(--theme-saturation)) 87.25%)}.grid-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;min-width:0;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.panel-head p{font-size:12px;margin-top:6px}.text-button{color:hsl(calc(var(--theme-hue) + 6.21) calc(83.19% * var(--theme-saturation)) 53.33%);font-size:12px;display:flex;align-items:center;gap:6px}.chart{height:218px;display:flex;align-items:stretch;gap:12px;padding-top:18px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 49px,hsl(calc(var(--theme-hue) + 1.00) calc(38.46% * var(--theme-saturation)) 94.90%) 50px)}.bar-group{flex:1;display:flex;gap:5px;justify-content:center;align-items:flex-end;position:relative;border-radius:5px 5px 0 0;padding:0 3px}.bar-group.selected{background:hsl(calc(var(--theme-hue) + -1.25) calc(100.00% * var(--theme-saturation)) 96.86%)}.bar{width:14px;min-height:2px;border-radius:4px 4px 0 0;background:hsl(calc(var(--theme-hue) + 6.21) calc(83.19% * var(--theme-saturation)) 53.33%)}.bar.expense{background:hsl(calc(var(--theme-hue) + -3.30) calc(96.36% * var(--theme-saturation)) 78.43%)}.chart-labels{display:flex;margin-top:11px;gap:12px;color:var(--muted);font-size:10px}.chart-labels span{flex:1;text-align:center}.legend{display:flex;gap:20px;font-size:11px;color:var(--muted);margin-top:20px}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;background:hsl(calc(var(--theme-hue) + 6.21) calc(83.19% * var(--theme-saturation)) 53.33%);margin-right:6px}.legend .light{background:hsl(calc(var(--theme-hue) + -3.30) calc(96.36% * var(--theme-saturation)) 78.43%)}.chart-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:18px;border-top:1px solid var(--line);font-size:12px}.chart-bottom strong{font-size:17px;color:var(--primary)}.account-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid hsl(calc(var(--theme-hue) + 1.00) calc(38.46% * var(--theme-saturation)) 94.90%)}.account-row:last-child{border:0}.account-icon{width:39px;height:39px;border-radius:10px;background:hsl(calc(var(--theme-hue) + 2.14) calc(100.00% * var(--theme-saturation)) 95.88%);color:hsl(calc(var(--theme-hue) + -0.57) calc(52.04% * var(--theme-saturation)) 43.33%);display:grid;place-items:center}.account-row:nth-child(3n) .account-icon{background:hsl(calc(var(--theme-hue) + 35.00) calc(100.00% * var(--theme-saturation)) 96.47%);color:hsl(calc(var(--theme-hue) + 43.41) calc(34.92% * var(--theme-saturation)) 50.59%)}.account-row strong{font-size:12px}.account-row small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.account-row .amount{margin-left:auto;font-weight:650;font-size:13px;white-space:nowrap}.summary-line{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;margin-top:10px;font-size:12px}.summary-line strong{font-size:15px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}th{font-weight:500;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.65px;padding:12px 13px;background:hsl(calc(var(--theme-hue) + 1.00) calc(45.45% * var(--theme-saturation)) 97.84%);border-bottom:1px solid var(--line)}td{padding:16px 13px;border-bottom:1px solid hsl(calc(var(--theme-hue) + -0.71) calc(41.18% * var(--theme-saturation)) 93.33%)}td:first-child{font-weight:550}tr:last-child td{border-bottom:0}.badge{display:inline-block;font-size:10px;padding:5px 9px;border-radius:5px;background:hsl(calc(var(--theme-hue) + -1.67) calc(36.00% * var(--theme-saturation)) 95.10%);color:hsl(calc(var(--theme-hue) + -0.12) calc(20.57% * var(--theme-saturation)) 40.98%)}.badge.paid{background:hsl(calc(var(--theme-hue) + 2.50) calc(100.00% * var(--theme-saturation)) 95.29%);color:hsl(calc(var(--theme-hue) + 0.16) calc(63.37% * var(--theme-saturation)) 39.61%)}.badge.late{background:#faeee7;color:#b5694b}.badge.partial{background:#fff4d9;color:#9c7b27}.goal{padding:18px 0;border-bottom:1px solid hsl(calc(var(--theme-hue) + -0.71) calc(41.18% * var(--theme-saturation)) 93.33%)}.goal:last-child{border:0;padding-bottom:0}.goal-line{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.goal-line small{color:var(--muted)}.progress{height:6px;background:hsl(calc(var(--theme-hue) + 1.92) calc(41.94% * var(--theme-saturation)) 93.92%);border-radius:9px;margin:13px 0 8px;overflow:hidden}.progress span{display:block;height:100%;background:hsl(calc(var(--theme-hue) + 2.22) calc(91.22% * var(--theme-saturation)) 59.80%);border-radius:9px}.goal:nth-child(3n) .progress span{background:hsl(calc(var(--theme-hue) + 40.14) calc(91.74% * var(--theme-saturation)) 76.27%)}.goal:nth-child(2n) .progress span{background:hsl(calc(var(--theme-hue) + -1.88) calc(93.90% * var(--theme-saturation)) 67.84%)}.goal-info{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.empty{padding:30px 16px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty svg{width:32px;height:32px;margin-bottom:12px;color:hsl(calc(var(--theme-hue) + -1.25) calc(31.07% * var(--theme-saturation)) 59.61%)}.empty strong{display:block;color:hsl(calc(var(--theme-hue) + 0.00) calc(32.00% * var(--theme-saturation)) 29.41%);font-size:15px;margin-bottom:6px}.filters{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.filters button{padding:8px 14px;font-size:12px;border-radius:7px;background:hsl(calc(var(--theme-hue) + -1.67) calc(36.00% * var(--theme-saturation)) 95.10%)}.filters button.selected{background:hsl(calc(var(--theme-hue) + -0.71) calc(94.59% * var(--theme-saturation)) 92.75%);color:hsl(calc(var(--theme-hue) + 9.28) calc(76.33% * var(--theme-saturation)) 48.04%)}.three-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.big-amount{font-family:Manrope,sans-serif;font-size:28px;font-weight:650;letter-spacing:-1px;margin:22px 0}.account-card{margin:0}.subtext{font-size:11px;color:var(--muted);line-height:1.7}.card-actions{display:flex;gap:8px;margin-top:20px}.annual th,.annual td{text-align:right;min-width:100px}.annual th:first-child,.annual td:first-child{text-align:left;position:sticky;left:0;background:#fff;min-width:180px}.annual th:first-child{background:hsl(calc(var(--theme-hue) + 1.00) calc(45.45% * var(--theme-saturation)) 97.84%)}.annual tr.total td{background:hsl(calc(var(--theme-hue) + 2.14) calc(100.00% * var(--theme-saturation)) 95.88%);font-weight:700}.annual td small{display:block;color:var(--muted);font-weight:400;margin-top:5px}.negative{color:var(--red)!important}.positive{color:hsl(calc(var(--theme-hue) + 6.21) calc(83.19% * var(--theme-saturation)) 53.33%)}.section-space{margin-top:28px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.settings-row p{font-size:12px;max-width:600px;margin-top:6px}footer{font-size:10px;color:hsl(calc(var(--theme-hue) + -0.26) calc(15.97% * var(--theme-saturation)) 53.33%);display:flex;justify-content:space-between;margin-top:25px}dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(540px,calc(100% - 28px));max-height:90vh;color:hsl(calc(var(--theme-hue) + 1.00) calc(32.71% * var(--theme-saturation)) 20.98%);box-shadow:0 30px 100px hsl(calc(var(--theme-hue) + 2.78) calc(54.00% * var(--theme-saturation)) 19.61% / 0.149)}dialog::backdrop{background:hsl(calc(var(--theme-hue) + 2.78) calc(54.00% * var(--theme-saturation)) 19.61% / 0.4);backdrop-filter:blur(3px)}.modal-header{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-body{padding:24px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px}.field.full{grid-column:1/-1}.field input,.field select{width:100%;border:1px solid hsl(calc(var(--theme-hue) + 0.00) calc(33.33% * var(--theme-saturation)) 85.88%);border-radius:7px;background:#fff;padding:11px 12px;color:hsl(calc(var(--theme-hue) + 1.00) calc(32.71% * var(--theme-saturation)) 20.98%);min-width:0}.field input:focus,.field select:focus{outline:2px solid hsl(calc(var(--theme-hue) + -1.88) calc(93.90% * var(--theme-saturation)) 67.84%);outline-offset:1px}.field small{color:var(--muted);font-size:10px;line-height:1.5}.form-hint{grid-column:1/-1;background:hsl(calc(var(--theme-hue) + -0.00) calc(60.00% * var(--theme-saturation)) 96.08%);padding:12px;border-radius:7px;font-size:11px;line-height:1.7;color:hsl(calc(var(--theme-hue) + -1.04) calc(24.42% * var(--theme-saturation)) 42.55%)}.form-error{color:var(--red);font-size:12px;margin:16px 0 0;min-height:16px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:hsl(calc(var(--theme-hue) + -0.85) calc(52.00% * var(--theme-saturation)) 24.51%);color:#fff;padding:13px 22px;border-radius:9px;box-shadow:0 5px 25px #0002;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s;font-size:13px;max-width:90%}#toast.show{opacity:1}.mobile-brand{display:none}.year-input{width:85px;padding:8px;border:1px solid var(--line);border-radius:7px}.onboarding{background:linear-gradient(110deg,hsl(calc(var(--theme-hue) + 1.00) calc(80.65% * var(--theme-saturation)) 93.92%),hsl(calc(var(--theme-hue) + 6.54) calc(100.00% * var(--theme-saturation)) 97.45%));padding:30px;border-radius:12px;margin-bottom:25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.onboarding h2{font-size:20px;margin-bottom:8px}.onboarding p{font-size:13px}.help-text{font-size:11px;color:var(--muted);line-height:1.7;margin-top:12px}.row-actions{display:flex;gap:4px}.flow-list{margin-top:16px}.flow-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;gap:10px}
@media(min-width:1550px){main{padding:35px 58px}.stat-value{font-size:32px}}@media(max-width:1200px){aside{width:205px;padding:30px 14px}main{margin-left:205px;padding:26px}.stat{padding:17px}.stat-value{font-size:23px}.grid-main{grid-template-columns:1.4fr 1fr}.heading{flex-wrap:wrap}.three-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:950px){aside{width:78px;padding:25px 12px}.brand>span,nav button span,.nav-label,.side-bottom{display:none}.brand{justify-content:center}nav button{justify-content:center;padding:15px}main{margin-left:78px;padding:22px}.stats{grid-template-columns:repeat(2,1fr)}.grid-main{grid-template-columns:1fr}.chart{height:230px}.topbar{padding-bottom:20px}.three-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){aside{inset:auto 0 0;width:100%;height:65px;padding:6px;border-right:0;border-top:1px solid var(--line);z-index:5;background:hsl(calc(var(--theme-hue) + 0.00) calc(54.55% * var(--theme-saturation)) 95.69%)}.brand{display:none}nav{display:flex;justify-content:space-around;gap:0}nav button{padding:12px}nav button svg{width:18px}main{margin:0;padding:20px 15px 80px}.topbar{font-size:10px}.topbar .breadcrumb{display:none}.mobile-brand{display:block;color:var(--primary);font-weight:700;font-size:14px}.heading{margin-top:24px;gap:14px}h1{font-size:26px}.heading p{font-size:12px}.heading .actions{width:100%;justify-content:space-between}.stats{gap:10px;margin-bottom:15px}.stat{padding:16px 13px;min-height:132px}.stat-title{font-size:10px}.stat-title svg{width:15px}.stat-value{font-size:22px;margin-top:18px}.stat-value small{font-size:11px}.stat-foot{font-size:9px}.panel{padding:18px;margin-bottom:15px}.grid-main{gap:0}.three-grid{grid-template-columns:1fr}.chart{gap:5px}.chart-labels{gap:5px}.bar-group{gap:3px;padding:0 2px}.bar{width:10px}.panel-head h2{font-size:15px}.onboarding{display:block;padding:22px}.onboarding .btn{margin-top:16px}.settings-row{align-items:flex-start;flex-direction:column}.form-grid{gap:13px}.modal-body{padding:20px}footer{display:none}.annual{font-size:11px}}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tax-schedule{grid-column:1/-1;min-width:0;margin:0;padding:15px;border:1px solid var(--line);border-radius:8px}.tax-schedule legend{padding:0 6px;font-weight:650;font-size:12px}.field input:disabled,.field select:disabled{background:hsl(calc(var(--theme-hue) + -0.71) calc(33.33% * var(--theme-saturation)) 95.88%);color:var(--muted)}
.sort-control{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:12px 0;font-size:11px;color:var(--muted)}.sort-control select{border:1px solid var(--line);border-radius:6px;background:#fff;padding:7px;color:var(--primary);max-width:180px}.sort-control label{display:flex;align-items:center;gap:7px}details summary{cursor:pointer}details .subtext{padding:5px 0}
.category-toggle{display:inline-flex;align-items:center;gap:9px;font-size:12px;color:var(--primary);margin:5px 0 10px;cursor:pointer}.category-toggle input{accent-color:var(--primary);width:16px;height:16px}.annual .expense-category td{background:hsl(calc(var(--theme-hue) + 2.50) calc(100.00% * var(--theme-saturation)) 98.43%);font-size:11px}.annual .expense-category td:first-child{background:hsl(calc(var(--theme-hue) + 2.50) calc(100.00% * var(--theme-saturation)) 98.43%);padding-left:25px;font-weight:400}

.annual .annual-group td { font-weight: 650; background: hsl(calc(var(--theme-hue) + -0.71) calc(63.64% * var(--theme-saturation)) 95.69%); }
.annual .annual-detail td:first-child { padding-left: 28px; }

.theme-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin-top:18px}
.theme-option{display:flex;align-items:center;gap:9px;padding:14px;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-size:12px;background:#fff}
.theme-option:has(input:checked){border-color:var(--primary);outline:1px solid var(--primary)}
.theme-option input{accent-color:var(--primary)}
.theme-swatch{display:flex;gap:3px;margin-left:auto}
.theme-swatch i{width:12px;height:24px;border-radius:3px;background:hsl(var(--preview-hue) calc(52% * var(--preview-saturation)) 28%)}
.theme-swatch i:nth-child(2){background:hsl(var(--preview-hue) calc(80% * var(--preview-saturation)) 65%)}
.theme-swatch i:nth-child(3){background:hsl(var(--preview-hue) calc(50% * var(--preview-saturation)) 93%)}

@media(min-width:1400px){.dashboard-stats{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:951px) and (max-width:1399px){.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}

.auth-page{margin:0 auto!important;max-width:520px;padding:48px 20px!important}.auth-page label{display:block;margin:20px 0}.auth-page input{display:block;width:100%;margin-top:8px;padding:12px}.auth-page [role=alert]{color:#b42318}.profile{flex-wrap:wrap}.profile .btn{margin-top:8px}

.profile-details{min-width:0;flex:1;overflow-wrap:anywhere}.profile > .btn{width:100%}
