:root{--navy:#101b2a;--navy-2:#162538;--ink:#1d2939;--muted:#8994a3;--line:#edf0f3;--paper:#f6f8fa;--white:#fff;--mint:#b8f1d5;--green:#198b65;--green-dark:#0b6b4a;--red:#e27676;--orange:#efb76b;--shadow:0 12px 34px rgba(28,42,60,.045);font-family:'DM Sans',sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--navy);color:#fff;padding:28px 18px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font:800 21px Manrope,sans-serif;letter-spacing:-1px;padding:3px 13px 46px}.brand-light{color:#94a9bd;font-weight:500}.brand-mark{width:27px;height:27px;border:1px solid rgba(184,241,213,.55);border-radius:9px;display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:6px}.brand-mark span{width:3px;border-radius:3px;background:var(--mint)}.brand-mark span:nth-child(1){height:7px}.brand-mark span:nth-child(2){height:12px}.brand-mark span:nth-child(3){height:9px}.side-label{color:#718096;font-size:9px;letter-spacing:1.7px;font-weight:700;padding:0 14px 12px}.main-nav{display:grid;gap:5px}.nav-link{height:43px;padding:0 14px;display:flex;align-items:center;gap:13px;color:#9cabbc;text-decoration:none;border:0;background:transparent;border-radius:9px;font-size:12px;font-weight:500;text-align:left;width:100%;transition:.2s}.nav-link:hover{background:rgba(255,255,255,.055);color:white}.nav-link.active{background:#1b3043;color:#fff;box-shadow:inset 2px 0 var(--mint)}.nav-icon{font-size:17px;width:17px;text-align:center;color:#a6b7c8}.nav-link.active .nav-icon{color:var(--mint)}.side-label-tools{margin-top:33px}.sidebar-bottom{margin-top:auto}.privacy-card{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);border-radius:12px;padding:15px;margin:0 3px 20px}.privacy-icon{height:26px;width:26px;border-radius:8px;background:rgba(184,241,213,.12);color:var(--mint);display:grid;place-items:center;margin-bottom:11px;font-size:17px}.privacy-card strong{font-size:11px;font-weight:600}.privacy-card p{color:#8192a4;font-size:10px;line-height:1.55;margin:5px 0 0}.profile-row{border-top:1px solid rgba(255,255,255,.09);padding:17px 4px 0;display:flex;align-items:center;gap:10px}.avatar{width:32px;height:32px;border-radius:50%;background:#d8e8e4;color:#285b4a;display:grid;place-items:center;font-size:10px;font-weight:700}.profile-copy{display:grid;gap:3px}.profile-copy strong{font-size:10px;font-weight:600}.profile-copy span{font-size:9px;color:#7e8fa2}.profile-dot{width:6px;height:6px;border-radius:50%;background:#70d6a7;margin-left:auto}.main-content{margin-left:248px;min-height:100vh}.topbar{height:74px;background:rgba(255,255,255,.86);border-bottom:1px solid #edf0f3;display:flex;align-items:center;justify-content:space-between;padding:0 43px;position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.breadcrumb{font-size:11px;color:#8792a0}.breadcrumb span{padding:0 9px;color:#c5cbd2}.breadcrumb strong{color:#344054;font-weight:600}.topbar-actions{display:flex;align-items:center;gap:16px}.today-label{font-size:10px;color:#909aa7}.icon-button{width:34px;height:34px;border:1px solid #e8edf0;border-radius:9px;background:#fff;color:#566476;font-size:17px}.primary-button{border:0;border-radius:8px;background:var(--navy);color:#fff;padding:11px 16px;font-weight:600;font-size:11px;box-shadow:0 5px 14px rgba(16,27,42,.12);transition:transform .2s,background .2s}.primary-button:hover{background:#20364e;transform:translateY(-1px)}.top-add span{font-size:16px;vertical-align:-1px;margin-right:4px;color:var(--mint)}.page-wrap{max-width:1510px;margin:0 auto;padding:36px 43px 20px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:27px}.eyebrow,.panel-kicker{font-size:9px;letter-spacing:1.8px;color:#8d99a8;font-weight:700}.eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:13px}.eyebrow-dot{width:6px;height:6px;border-radius:50%;background:#56bd91;box-shadow:0 0 0 4px #e4f5ed}.page-heading h1{font:700 clamp(24px,3vw,32px) Manrope,sans-serif;letter-spacing:-1.4px;margin:0;color:#1d2939}.page-heading h1 span{color:#23936d}.heading-sub{font-size:11px;color:#8a95a3;margin:9px 0 0}.month-picker-wrap{display:grid;gap:7px;color:#939daa;font-size:8px;letter-spacing:1.3px;font-weight:700}.month-picker-wrap input{height:37px;border:1px solid #e8edf1;background:#fff;border-radius:8px;padding:0 11px;color:#425064;font-size:11px;min-width:145px}.summary-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:14px;margin-bottom:17px}.summary-card{background:#fff;border:1px solid #edf0f3;border-radius:12px;min-height:131px;padding:18px 19px;box-shadow:var(--shadow);position:relative;overflow:hidden}.balance-card{background:var(--navy);border-color:var(--navy);color:#fff}.summary-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.summary-label{font-size:8px;letter-spacing:1.4px;font-weight:700;color:#9ba6b3}.balance-card .summary-label{color:#a8b8c8}.summary-symbol{width:25px;height:25px;border-radius:8px;background:#f2f5f7;color:#8090a0;display:grid;place-items:center;font-size:14px}.balance-card .summary-symbol{background:rgba(184,241,213,.13);color:var(--mint)}.income-symbol{color:#259b70;background:#eaf7f1}.expense-symbol{color:#d77c79;background:#fcf0ef}.saving-symbol{color:#c18a46;background:#fbf4e9}.summary-value{font:700 clamp(19px,2.1vw,25px) Manrope,sans-serif;letter-spacing:-.8px;margin-top:16px;white-space:nowrap;position:relative;z-index:1}.balance-card .summary-value{color:#fff}.summary-foot{font-size:9px;color:#a2acb8;margin-top:9px;position:relative;z-index:1}.mini-status{color:var(--mint);font-size:8px;margin-right:4px}.neutral-caption{color:#99a3af}.balance-decoration{position:absolute;width:110px;height:110px;border:1px solid rgba(184,241,213,.1);border-radius:50%;right:-26px;bottom:-68px;box-shadow:0 0 0 17px rgba(184,241,213,.025),0 0 0 34px rgba(184,241,213,.02)}.content-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:17px;margin-bottom:17px}.panel{background:#fff;border:1px solid #edf0f3;border-radius:12px;box-shadow:var(--shadow);padding:22px}.flow-panel,.category-panel{min-height:294px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between}.panel-heading h2{font:700 16px Manrope,sans-serif;letter-spacing:-.4px;margin:7px 0 4px;color:#253244}.panel-heading p{font-size:10px;color:#98a1ad;margin:0}.period-chip{background:#f5f7f8;border-radius:6px;padding:7px 9px;color:#7f8b99;font-size:9px}.chart-legend{display:flex;gap:18px;margin-top:22px;font-size:9px;color:#8d98a5}.chart-legend span{display:flex;align-items:center;gap:7px}.legend-dot{height:7px;width:7px;border-radius:50%;display:inline-block}.income-dot{background:#43b98b}.expense-dot{background:#ed9891}.flow-chart{height:130px;display:flex;align-items:flex-end;gap:9px;padding:11px 3px 0;border-bottom:1px solid #edf0f3;position:relative}.chart-empty{height:100%;width:100%;display:grid;place-items:center;color:#a7b0bb;font-size:10px}.bar-group{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative}.chart-bar{width:min(13px,32%);min-height:2px;border-radius:4px 4px 0 0;background:#65c9a0;opacity:.9}.chart-bar.expense{background:#f0aaa3}.chart-axis{display:flex;justify-content:space-between;font-size:8px;color:#a5aeb8;padding-top:9px}.round-icon{height:28px;width:28px;border-radius:9px;display:grid;place-items:center;background:#f1f8f4;color:#4caa80;font-size:17px}.category-total{font:700 23px Manrope,sans-serif;letter-spacing:-.7px;margin-top:24px}.category-sub{font-size:9px;color:#9aa4af;margin-top:4px}.category-list{margin-top:17px;display:grid;gap:12px}.category-item{display:grid;grid-template-columns:1fr auto;gap:7px 10px;align-items:center}.category-item-head{display:flex;gap:8px;align-items:center;font-size:9px;color:#657183}.category-color{width:7px;height:7px;border-radius:3px}.category-amount{font-size:9px;font-weight:600;color:#536174}.category-track{grid-column:1/-1;background:#f2f4f6;height:4px;border-radius:10px;overflow:hidden}.category-fill{height:100%;border-radius:10px;background:#62bd91}.empty-inline{font-size:10px;color:#a4adb8;padding:4px 0}.lower-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:17px}.transactions-panel{padding-bottom:14px}.transaction-heading{align-items:center}.text-button{border:0;background:transparent;color:#4a9276;font-size:9px;font-weight:600;padding:6px 0}.text-button span{font-size:13px;margin-left:5px}.table-tools{display:flex;align-items:center;gap:9px;margin:21px 0 12px}.search-box{height:32px;border:1px solid #edf0f3;border-radius:7px;display:flex;align-items:center;padding:0 9px;gap:7px;flex:1;max-width:250px;color:#9ba5b1}.search-box span{font-size:17px}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:9px;color:#475467}.search-box input::placeholder{color:#abb3bd}.table-tools select{height:32px;border:1px solid #edf0f3;border-radius:7px;padding:0 9px;color:#778393;background:#fff;font-size:9px;outline:none}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}thead th{font-size:8px;letter-spacing:1px;color:#a1aab5;text-align:left;font-weight:700;padding:11px 9px;border-bottom:1px solid #edf0f3}tbody td{padding:12px 9px;border-bottom:1px solid #f1f3f5;font-size:9px;color:#778393}tbody tr:last-child td{border-bottom:0}.transaction-name{display:flex;align-items:center;gap:9px;color:#3d4a5a;font-weight:600}.transaction-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;font-size:13px;background:#f0f6f2;color:#55a77e}.transaction-icon.income{background:#edf7f2;color:#3fa878}.transaction-icon.expense{background:#fbf0ef;color:#d7807b}.category-pill{display:inline-block;background:#f5f7f8;color:#7e8b99;border-radius:5px;padding:5px 7px;font-size:8px}.amount-col{text-align:right}td.amount-cell{text-align:right;font-weight:700;color:#4b5969}td.amount-cell.income{color:#21956a}td.amount-cell.expense{color:#d77a75}.row-actions{text-align:right}.row-action{border:0;background:transparent;color:#a1aab5;padding:4px 5px;font-size:12px}.row-action:hover{color:#30445b}.empty-table{text-align:center!important;color:#a4adb8!important;padding:24px!important}.table-footer{border-top:1px solid #f1f3f5;padding-top:12px;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#a0a9b4}.budget-panel{padding:22px}.budget-round{background:#f9f4ec;color:#ca995c}.budget-amount-row{display:flex;align-items:flex-end;justify-content:space-between;margin-top:25px}.budget-caption{font-size:9px;color:#9ba5b0;display:block;margin-bottom:5px}.budget-amount-row strong{font:700 17px Manrope,sans-serif;color:#344255}.edit-button{border:1px solid #e8edef;background:white;color:#6e7d8d;border-radius:6px;padding:6px 10px;font-size:9px}.budget-progress-track{height:7px;border-radius:10px;background:#f0f3f4;margin-top:17px;overflow:hidden}.budget-progress-fill{height:100%;width:0;background:#5bb98e;border-radius:10px;transition:width .3s}.budget-progress-labels{display:flex;justify-content:space-between;font-size:8px;color:#9ba5af;margin-top:8px}.budget-progress-labels strong{color:#4a9c79}.budget-note{display:flex;gap:9px;background:#f6faf7;border:1px solid #edf5ef;padding:10px;border-radius:8px;margin-top:18px;color:#809386;font-size:9px;line-height:1.5}.note-icon{color:#5bad82;font-size:13px}.budget-divider{height:1px;background:#eef1f3;margin:19px 0 16px}.budget-mini-title{font-size:8px;letter-spacing:1.3px;color:#a0aab5;font-weight:700;margin-bottom:13px}.guide-row{display:flex;align-items:center;gap:10px;margin:10px 0}.guide-icon{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;font-size:12px}.guide-icon.food{background:#f0f6f1;color:#6aa17b}.guide-icon.wants{background:#faf3eb;color:#c6945c}.guide-icon.future{background:#edf3f8;color:#7092b2}.guide-row strong{display:block;font-size:9px;color:#647184;font-weight:600}.guide-row small{font-size:8px;color:#a3acb7;display:block;margin-top:3px}.page-footer{display:flex;justify-content:space-between;align-items:center;color:#a3acb6;font-size:8px;padding:23px 2px 5px}.footer-lock{color:#82968c}.mobile-menu{display:none}.modal{border:0;border-radius:15px;padding:0;width:min(520px,calc(100% - 28px));box-shadow:0 25px 80px rgba(12,24,39,.25);color:#263447}.modal::backdrop{background:rgba(12,23,36,.48);backdrop-filter:blur(3px)}.modal form{padding:25px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modal-head h2{font:700 20px Manrope,sans-serif;margin:7px 0 5px;letter-spacing:-.7px}.modal-head p{margin:0;color:#97a1ad;font-size:10px}.modal-close{width:29px;height:29px;border:0;border-radius:8px;background:#f4f6f7;color:#758292;font-size:20px;line-height:1}.type-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:4px;background:#f4f6f7;border-radius:9px;margin-bottom:18px}.type-option{border:0;background:transparent;border-radius:7px;padding:9px;color:#8d98a5;font-size:10px;font-weight:600}.type-option.selected{background:#fff;color:#d47b76;box-shadow:0 2px 7px rgba(28,42,60,.06)}.type-option.selected[data-type="income"]{color:#23936d}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:7px;font-size:9px;color:#778494;font-weight:600}.field.full{grid-column:1/-1}.field input,.field select{width:100%;height:39px;border:1px solid #e8edf0;border-radius:7px;padding:0 10px;outline:none;color:#344255;background:#fff;font-size:10px}.field input:focus,.field select:focus{border-color:#9bd8bb;box-shadow:0 0 0 3px #eaf7f0}.field input::placeholder{color:#b5bdc6}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.secondary-button,.danger-button{border:1px solid #e8edf0;background:#fff;border-radius:8px;padding:10px 14px;color:#7a8795;font-size:10px;font-weight:600}.danger-button{color:#c76e6e;border-color:#f3e4e3}.compact-modal{width:min(430px,calc(100% - 28px))}.compact-modal .field input{height:42px}.settings-info{background:#f5f8f7;border:1px solid #eaf1ed;padding:12px;border-radius:8px;margin-top:17px}.settings-info strong{font-size:10px;color:#567362}.settings-info p{font-size:9px;line-height:1.6;color:#88968e;margin:5px 0 0}.settings-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:13px}.import-button{cursor:pointer}.toast{position:fixed;right:25px;bottom:24px;background:#142538;color:#fff;border-radius:8px;padding:12px 16px;font-size:10px;box-shadow:0 10px 30px rgba(8,20,33,.2);opacity:0;transform:translateY(10px);pointer-events:none;transition:.25s;z-index:50}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1120px){.summary-grid{grid-template-columns:repeat(2,1fr)}.content-grid,.lower-grid{grid-template-columns:1fr 1fr}.page-wrap{padding-left:28px;padding-right:28px}.topbar{padding:0 28px}.summary-card{min-height:120px}}
@media(max-width:820px){.sidebar{transform:translateX(-100%);transition:transform .25s}.sidebar.open{transform:translateX(0);box-shadow:15px 0 35px rgba(7,18,30,.2)}.main-content{margin-left:0}.mobile-menu{display:block;border:0;background:transparent;color:#647184;font-size:18px;margin-right:10px}.topbar{padding:0 18px}.breadcrumb{margin-right:auto}.today-label{display:none}.page-wrap{padding:28px 18px 18px}.page-heading h1{font-size:25px}.heading-sub{max-width:420px;line-height:1.5}.content-grid,.lower-grid{grid-template-columns:1fr}.page-footer{gap:10px;flex-wrap:wrap}.topbar-actions{gap:9px}}
@media(max-width:540px){.topbar{height:62px}.top-add{font-size:0;padding:8px 11px}.top-add span{font-size:19px;margin:0}.page-heading{display:block}.month-picker-wrap{margin-top:19px;display:flex;align-items:center;gap:10px}.month-picker-wrap input{min-width:0}.summary-grid{gap:9px}.summary-card{padding:14px;min-height:111px}.summary-label{font-size:7px;letter-spacing:1px}.summary-value{font-size:18px;margin-top:13px}.summary-foot{font-size:8px}.panel{padding:17px}.flow-panel,.category-panel{min-height:auto}.flow-chart{height:115px}.table-tools{margin-top:16px}.table-wrap table{min-width:520px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal form{padding:20px}.settings-actions{align-items:stretch;flex-direction:column}.page-footer span:nth-child(2){display:none}}
