@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,650&display=swap";:root{font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#29342e;background:#f6f7f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--pine: #245848;--pine-dark: #193f34;--ink: #29342e;--muted: #858f88;--line: #e7eae5;--paper: #fff;--canvas: #f6f7f4;--sage: #e8f1eb;--coral: #c96f5b;--serif: "Fraunces", Georgia, serif}*{box-sizing:border-box}body{min-width:340px;min-height:100vh;margin:0;background:var(--canvas)}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #85ae98;outline-offset:2px}button:disabled{cursor:not-allowed!important;opacity:.5}#root,.app-shell{min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);bottom:0;display:flex;flex-direction:column;left:0;padding:27px 19px 20px;position:fixed;top:0;width:228px;z-index:20}.brand{align-items:center;display:flex;gap:10px;margin:0 0 45px 4px}.brand-mark{align-items:center;background:var(--pine);border-radius:12px;display:inline-flex;height:37px;justify-content:center;width:37px}.brand-name{color:#25372d;font:600 21px/1 var(--serif);letter-spacing:-.5px}.brand-name span{color:var(--pine)}.sidebar-label{color:#a0a8a2;font-size:10px;font-weight:700;letter-spacing:1.35px;margin:0 0 12px 11px;text-transform:uppercase}.side-nav{display:grid;gap:5px}.nav-button{align-items:center;background:transparent;border:0;border-radius:9px;color:#737e76;cursor:pointer;display:flex;font-size:13px;font-weight:550;gap:12px;min-height:43px;padding:0 12px;text-align:left;transition:background .18s,color .18s;width:100%}.nav-button:hover{background:#f6f8f5;color:var(--pine)}.nav-button.active{background:#eaf1ec;color:var(--pine);font-weight:650}.sidebar-divider{background:var(--line);height:1px;margin:24px 4px 22px}.side-note{background:#f6f8f5;border:1px solid #edf0eb;border-radius:12px;margin-top:auto;padding:14px 13px}.side-note-title{align-items:center;color:var(--pine);display:flex;font-size:12px;font-weight:650;gap:7px}.side-note p{color:#8a938d;font-size:11px;line-height:1.6;margin:7px 0 0}.sidebar-footer{color:#a0a8a2;font-size:10px;padding:15px 4px 0}.main{margin-left:228px;min-height:100vh;padding:37px clamp(28px,5vw,68px) 70px}.content{margin:0 auto;max-width:1200px}.topbar{align-items:flex-end;display:flex;gap:20px;justify-content:space-between;margin-bottom:28px}.eyebrow{color:#8a948d;font-size:10px;font-weight:700;letter-spacing:1.4px;margin-bottom:8px;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{color:#29342e;font:600 clamp(29px,3.3vw,38px)/1.13 var(--serif);letter-spacing:-.7px;margin-bottom:7px}.page-subtitle{color:#89928c;font-size:13px;margin:0}.topbar-actions{align-items:center;display:flex;flex-shrink:0;gap:9px}.month-control{align-items:center;background:#fff;border:1px solid #e5e9e4;border-radius:9px;display:flex;height:41px;overflow:hidden}.month-control button{align-items:center;background:transparent;border:0;color:#6d7971;cursor:pointer;display:flex;height:100%;justify-content:center;padding:0 10px}.month-control button:hover{background:#f4f7f3;color:var(--pine)}.month-control input{background:transparent;border:0;color:#38443c;font-size:12px;font-weight:600;min-width:121px;padding:0 1px}.month-control input:focus{outline:none}.month-control input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.65}.primary-button,.secondary-button,.icon-button{align-items:center;border-radius:9px;cursor:pointer;display:inline-flex;font-size:12px;font-weight:600;gap:8px;justify-content:center;min-height:41px;transition:background .18s,border-color .18s,transform .18s}.primary-button{background:var(--pine);border:1px solid var(--pine);color:#fff;padding:0 15px}.primary-button:hover{background:var(--pine-dark);transform:translateY(-1px)}.secondary-button{background:#fff;border:1px solid #e3e8e2;color:#526058;padding:0 13px}.secondary-button:hover{background:#f7f9f6;border-color:#cad7cc}.icon-button{background:#fff;border:1px solid #e5e9e4;color:#68746d;height:35px;min-height:35px;padding:0;width:35px}.icon-button:hover{background:#f4f7f3;color:var(--pine)}.stat-grid{display:grid;gap:15px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.stat-card{background:#fff;border:1px solid #eaede9;border-radius:13px;min-height:131px;padding:18px 19px 15px}.stat-label{align-items:center;color:#79847c;display:flex;font-size:11px;font-weight:550;gap:8px;justify-content:space-between}.stat-icon{align-items:center;border-radius:8px;display:inline-flex;height:29px;justify-content:center;width:29px}.stat-icon.green{background:#eaf2ec;color:#418061}.stat-icon.coral{background:#fbefeb;color:#c97763}.stat-icon.amber{background:#f9f2e6;color:#ad8743}.stat-icon.blue{background:#edf1f7;color:#6682ab}.stat-value{color:#29342e;font-size:clamp(21px,2.35vw,27px);font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-.7px;line-height:1.2;margin:15px 0 5px;white-space:nowrap}.stat-foot{color:#9ba29d;font-size:10px}.dashboard-grid{align-items:start;display:grid;gap:17px;grid-template-columns:minmax(0,1.72fr) minmax(280px,1fr)}.panel{background:#fff;border:1px solid #e9ece8;border-radius:13px;min-width:0;padding:19px 20px}.panel-heading{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:15px}.panel-title{color:#37433b;font-size:13px;font-weight:650;margin:0}.panel-caption{color:#9aa29c;font-size:10px;margin:5px 0 0}.chart-legend{align-items:center;color:#7d887f;display:flex;flex-wrap:wrap;font-size:10px;gap:13px}.legend-dot{border-radius:50%;display:inline-block;height:7px;margin-right:5px;vertical-align:0;width:7px}.trend-chart{display:block;overflow:visible;width:100%}.trend-gridline{stroke:#edf0ec;stroke-dasharray:3 5;stroke-width:1}.trend-axis{fill:#a2aaa4;font-family:DM Sans,sans-serif;font-size:9px}.trend-line-income{fill:none;stroke:#76a990;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}.trend-line-expense{fill:none;stroke:#dfa47c;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}.trend-dot-income{fill:#fff;stroke:#76a990;stroke-width:2.4}.trend-dot-expense{fill:#fff;stroke:#dfa47c;stroke-width:2.4}.chart-empty{align-items:center;color:#a3aca6;display:flex;flex-direction:column;font-size:11px;gap:8px;height:155px;justify-content:center;text-align:center}.chart-empty svg{color:#8dad98}.category-panel{min-height:272px}.category-layout{align-items:center;display:flex;gap:18px;min-height:180px}.donut-wrap{align-items:center;display:flex;flex:0 0 138px;height:138px;justify-content:center;position:relative;width:138px}.donut{height:100%;transform:rotate(-90deg);width:100%}.donut-bg{fill:none;stroke:#f0f2ef;stroke-width:13}.donut-segment{fill:none;stroke-linecap:butt;stroke-width:13;transition:stroke-dasharray .3s}.donut-center{align-items:center;display:flex;flex-direction:column;inset:0;justify-content:center;position:absolute}.donut-center strong{color:#39443d;font-size:17px;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-.6px}.donut-center span{color:#9aa39c;font-size:9px;margin-top:3px}.category-legend{display:grid;flex:1;gap:10px;min-width:0}.category-legend-row{align-items:center;display:grid;font-size:10px;gap:7px;grid-template-columns:8px minmax(45px,1fr) auto}.category-legend-name{color:#778179;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-legend-amount{color:#455148;font-variant-numeric:tabular-nums;font-weight:600}.color-dot{border-radius:50%;height:7px;width:7px}.budget-panel{grid-column:1}.budget-list{display:grid;gap:15px}.budget-row-top{align-items:center;display:flex;font-size:11px;gap:10px;justify-content:space-between;margin-bottom:8px}.budget-category{align-items:center;color:#47534a;display:inline-flex;font-weight:600;gap:8px}.budget-values{color:#838c85;font-size:10px;font-variant-numeric:tabular-nums}.progress-track{background:#edf1ed;border-radius:999px;height:6px;overflow:hidden;width:100%}.progress-bar{background:#72a889;border-radius:999px;height:100%;transition:width .35s ease}.progress-bar.warning{background:#d5a359}.progress-bar.over{background:#cb7965}.budget-footer{align-items:center;border-top:1px solid #f0f2ef;color:#909a92;display:flex;font-size:10px;justify-content:space-between;margin-top:17px;padding-top:14px}.budget-footer strong{color:#526458;font-size:11px;font-weight:650}.insight-stack{display:grid;gap:9px}.insight-card{align-items:flex-start;border:1px solid #edf0eb;border-radius:10px;display:flex;gap:10px;padding:11px 10px}.insight-icon{align-items:center;border-radius:7px;display:inline-flex;flex:0 0 27px;height:27px;justify-content:center}.insight-icon.warning{background:#fbf0ea;color:#c27760}.insight-icon.positive{background:#edf4ed;color:#51846b}.insight-icon.neutral{background:#eff2f6;color:#7084a3}.insight-title{color:#465249;font-size:10px;font-weight:650;line-height:1.45;margin:1px 0 3px}.insight-detail{color:#959e97;font-size:9px;line-height:1.5;margin:0}.view-title-row{align-items:center;display:flex;justify-content:space-between;margin:27px 0 17px}.view-title-row h2{color:#39463d;font:600 20px var(--serif);margin:0}.view-title-row p{color:#98a19b;font-size:11px;margin:5px 0 0}.view-tools{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.search-box{align-items:center;background:#fff;border:1px solid #e4e9e3;border-radius:9px;color:#909a93;display:flex;gap:7px;height:38px;padding:0 10px}.search-box input{background:transparent;border:0;color:#344038;font-size:11px;outline:none;width:155px}.filter-select{background:#fff;border:1px solid #e4e9e3;border-radius:9px;color:#566258;font-size:11px;height:38px;padding:0 9px}.transactions-panel{overflow:hidden;padding:0}.transaction-table{border-collapse:collapse;text-align:left;width:100%}.transaction-table th{background:#fafbf9;border-bottom:1px solid #edf0ec;color:#929b94;font-size:9px;font-weight:650;letter-spacing:.4px;padding:12px 15px;text-transform:uppercase}.transaction-table td{border-bottom:1px solid #f0f2ef;color:#677269;font-size:11px;padding:12px 15px}.transaction-table tr:last-child td{border-bottom:0}.transaction-table td.amount-cell{color:#3f4b42;font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap}.amount-positive{color:#438363!important}.amount-negative{color:#b56c58!important}.tx-description{color:#4a564d;font-weight:600}.tx-category{align-items:center;display:inline-flex;gap:6px}.tx-actions{display:flex;gap:5px;justify-content:flex-end}.table-empty{color:#a1aaa4;padding:39px 15px!important;text-align:center}.table-actions-head{text-align:right!important}.budget-grid{display:grid;gap:13px;grid-template-columns:repeat(2,minmax(0,1fr))}.budget-card{background:#fff;border:1px solid #e8ece7;border-radius:12px;padding:17px}.budget-card-heading{align-items:flex-start;display:flex;justify-content:space-between}.budget-card-meta{align-items:center;color:#66736a;display:flex;font-size:12px;font-weight:600;gap:8px}.budget-card-numbers{align-items:baseline;display:flex;gap:4px;margin:17px 0 11px}.budget-card-spent{color:#354137;font-size:20px;font-variant-numeric:tabular-nums;font-weight:650}.budget-card-limit{color:#98a19b;font-size:10px}.budget-card-foot{color:#8b958e;display:flex;font-size:10px;justify-content:space-between;margin-top:9px}.budget-card-foot strong{font-weight:600}.budget-card-foot strong.negative{color:var(--coral)}.modal-backdrop{align-items:center;animation:fade .15s ease-out;background:#1c2a2159;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;inset:0;justify-content:center;padding:18px;position:fixed;z-index:50}.modal{animation:rise .2s ease-out;background:#fff;border:1px solid #edf0eb;border-radius:15px;box-shadow:0 20px 65px #1c2d2226;max-height:min(88vh,820px);max-width:490px;overflow:auto;padding:24px;width:100%}.modal.modal-wide{max-width:760px}.modal-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:21px}.modal-title{color:#344239;font:600 22px var(--serif);margin:0}.modal-subtitle{color:#97a099;font-size:11px;line-height:1.5;margin:6px 0 0}.close-button{align-items:center;background:#f5f7f4;border:0;border-radius:50%;color:#707c73;cursor:pointer;display:inline-flex;height:31px;justify-content:center;width:31px}.form-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.form-field{display:grid;gap:7px}.form-field.full{grid-column:1 / -1}.form-field label{color:#717d74;font-size:10px;font-weight:600}.form-field input,.form-field select,.form-field textarea{background:#fff;border:1px solid #e3e9e2;border-radius:8px;color:#354138;font-size:12px;min-height:40px;outline:none;padding:0 10px;width:100%}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#8aaf98;box-shadow:0 0 0 3px #558b681a}.form-field textarea{min-height:72px;padding:10px;resize:vertical}.type-toggle{background:#f4f6f3;border-radius:9px;display:flex;gap:4px;padding:4px}.type-toggle button{background:transparent;border:0;border-radius:6px;color:#879189;cursor:pointer;flex:1;font-size:11px;font-weight:600;min-height:33px}.type-toggle button.active.expense{background:#fff;box-shadow:0 1px 4px #273c3020;color:#b66b57}.type-toggle button.active.income{background:#fff;box-shadow:0 1px 4px #273c3020;color:#488266}.modal-actions{align-items:center;border-top:1px solid #eff1ee;display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:15px}.modal-error{background:#fcf0ec;border-radius:8px;color:#a55542;font-size:11px;margin-top:13px;padding:10px 12px}.csv-summary{align-items:center;background:#f5f8f4;border-radius:10px;color:#6c786f;display:flex;flex-wrap:wrap;font-size:11px;gap:14px;margin-bottom:14px;padding:12px}.csv-summary strong{color:#44544a}.csv-preview-wrap{border:1px solid #edf0ec;border-radius:10px;max-height:300px;overflow:auto}.csv-preview{border-collapse:collapse;font-size:10px;text-align:left;width:100%}.csv-preview th{background:#f7f9f6;color:#838e86;position:sticky;top:0}.csv-preview td,.csv-preview th{border-bottom:1px solid #eef1ed;padding:9px 10px}.csv-preview .row-warning{background:#fff9f4;color:#9c7761}.csv-errors{color:#ae6755;font-size:10px;line-height:1.7;margin-top:10px;max-height:94px;overflow:auto}.toast{animation:rise .2s ease-out;background:#263c31;border-radius:9px;bottom:24px;box-shadow:0 9px 26px #1f36272b;color:#fff;font-size:12px;left:50%;padding:12px 18px;position:fixed;transform:translate(-50%);z-index:100}.mobile-header,.bottom-nav{display:none}.visually-hidden{clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@media(max-width:1100px){.sidebar{width:204px}.main{margin-left:204px;padding-left:30px;padding-right:30px}.stat-grid{gap:10px}.stat-card{padding:15px 14px}.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(255px,1fr)}.category-layout{gap:10px}.donut-wrap{flex-basis:120px;height:120px;width:120px}}@media(max-width:850px){.sidebar{display:none}.main{margin-left:0;padding:24px 26px 96px}.mobile-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:25px}.mobile-brand{align-items:center;display:flex;gap:8px}.mobile-brand .brand-mark{height:31px;width:31px}.mobile-brand .brand-name{font-size:18px}.mobile-private{color:#8e9890;font-size:10px}.bottom-nav{background:#fff;border-top:1px solid #e7ebe6;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);left:0;padding:8px 7px calc(8px + env(safe-area-inset-bottom));position:fixed;right:0;z-index:30}.bottom-nav button{align-items:center;background:transparent;border:0;color:#909a93;cursor:pointer;display:flex;flex-direction:column;font-size:9px;gap:3px;justify-content:center;min-height:46px}.bottom-nav button.active{color:var(--pine);font-weight:650}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(235px,1fr)}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-height:113px}.stat-value{font-size:23px;margin-top:10px}.budget-grid{grid-template-columns:1fr}}@media(max-width:620px){body{min-width:320px}.main{padding:15px 15px 92px}.mobile-header{margin-bottom:24px}.topbar{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:18px}.topbar-actions{justify-content:space-between;width:100%}h1{font-size:30px}.month-control{height:39px}.month-control input{font-size:11px;min-width:109px}.topbar-actions .primary-button{min-height:39px;padding:0 12px}.stat-grid{gap:9px;margin-bottom:10px}.stat-card{border-radius:11px;min-height:103px;padding:12px}.stat-label{font-size:10px}.stat-icon{height:25px;width:25px}.stat-value{font-size:clamp(19px,5.5vw,24px);margin:8px 0 3px}.stat-foot{font-size:9px}.dashboard-grid{gap:11px;grid-template-columns:1fr}.panel{border-radius:11px;padding:16px}.category-panel{min-height:0}.category-layout{justify-content:flex-start}.donut-wrap{flex-basis:130px;height:130px;width:130px}.category-legend{gap:11px}.budget-panel{grid-column:1}.view-title-row{align-items:flex-start;flex-direction:column;gap:12px;margin:19px 0 13px}.view-title-row h2{font-size:19px}.view-tools{width:100%}.search-box{flex:1}.search-box input{width:100%}.transactions-panel{overflow:auto}.transaction-table{min-width:590px}.transaction-table th,.transaction-table td{padding:11px 12px}.budget-grid{gap:10px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:1}.modal{border-radius:13px;padding:20px}.csv-preview{min-width:590px}.topbar-actions .secondary-button{font-size:10px;min-height:37px;padding:0 9px}}
