:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f5f7f4;color:#162e29;font-synthesis:none;--pine:#153f36;--pine2:#236c52;--lime:#ddf0c8;--canvas:#f5f7f4;--surface:#fff;--line:#e2e9e3;--soft:#eff4ee;--muted:#70847b;--red:#b64b4b;--amber:#93651a}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{color:#1c342b}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a9d69d;outline-offset:2px}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:#13372f;color:#fff;display:flex;flex-direction:column;padding:30px 18px 20px;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:5px 9px 34px}.brand-emblem{height:41px;width:41px;border-radius:15px;background:linear-gradient(140deg,#daf49f,#6bbb89);color:#173b31;font-size:34px;line-height:37px;text-align:center;font-weight:600}.brand strong{display:block;font-size:20px;letter-spacing:-.8px}.brand small{display:block;color:#aecdc0;font-size:11px;margin-top:3px}.sidebar-label{color:#7eb5a1;font-size:10px;letter-spacing:1.8px;font-weight:800;padding:11px 20px 12px}.nav-item{display:flex;width:100%;border:0;background:transparent;text-align:left;color:#bfd8cd;border-radius:11px;align-items:center;gap:12px;padding:13px 15px;margin:2px 0;font-weight:600;font-size:13px}.nav-item:hover{background:#245146}.nav-item.active{background:#d7eccf;color:#15372e}.nav-icon{font-size:20px;width:24px;text-align:center;font-weight:500}.sidebar-bottom{margin-top:auto;border-top:1px solid #386458;padding:19px 9px 0;color:#e0efe7;font-size:11px}.sidebar-bottom small{display:block;color:#a2c0b3;margin-top:8px;line-height:1.5}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#80bb72;margin-right:6px}.site-main{margin-left:260px;min-height:100vh}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;align-items:center;gap:12px;color:#75887f;font-size:12px}.breadcrumb span:first-child{font-size:10px;letter-spacing:1.4px;font-weight:800}.breadcrumb strong{color:var(--pine);font-size:13px}.chevron{font-size:18px;color:#c7d3ca}.top-actions{display:flex;gap:17px;align-items:center}.top-indicator{font-size:12px;color:#668075}.small-btn,.avatar,.ghost{border:1px solid var(--line);border-radius:10px;background:#fff;color:#23473d;padding:10px 15px;font-weight:650;font-size:12px}.small-btn:hover,.ghost:hover{background:#f1f6f0}.avatar{border-radius:50%;width:37px;height:37px;padding:0;font-size:18px}.mobile-menu{display:none}.content{max-width:1500px;margin:auto;padding:34px 40px 65px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#4c826e;margin:0 0 10px;text-transform:uppercase}.page-head h1{font-size:32px;letter-spacing:-1.25px;margin:0 0 6px;line-height:1.25;font-weight:760}.page-head p{color:var(--muted);margin:0;line-height:1.5;font-size:13px}.head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.primary{border:0;border-radius:11px;background:var(--pine2);color:#fff;font-size:13px;font-weight:700;padding:13px 19px;box-shadow:0 5px 12px #1b61471b}.primary:hover{background:#145940}.primary:disabled,.ghost:disabled{opacity:.5;cursor:not-allowed}.secondary{border:1px solid #b9d1bb;border-radius:11px;background:#e5f1db;color:#234e3c;font-size:13px;font-weight:750;padding:12px 16px}.month-select,.filter{background:white;border:1px solid var(--line);border-radius:10px;padding:11px 12px;min-width:135px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:20px}.kpi{background:#fff;border:1px solid var(--line);padding:22px;border-radius:16px;min-height:151px;box-shadow:0 7px 22px #25362906}.kpi.special{background:#173f34;color:#fff;border-color:#173f34}.kpi-label{font-size:12px;color:#667f73;font-weight:650;display:flex;justify-content:space-between;gap:8px;align-items:center}.kpi.special .kpi-label{color:#d1e4d8}.kpi-mark{width:31px;height:31px;border-radius:10px;background:#ebf4e9;display:flex;align-items:center;justify-content:center;font-size:19px}.kpi.special .kpi-mark{background:#315c4f}.kpi-value{font-size:29px;letter-spacing:-1.2px;font-weight:750;line-height:1.2;margin:17px 0 5px;font-variant-numeric:tabular-nums}.kpi-foot{font-size:11px;color:#85958d}.kpi.special .kpi-foot{color:#b6d6ca}.negative{color:#b34f4b!important}.positive{color:#29764f!important}.panel-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:20px;margin-top:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:23px;box-shadow:0 5px 20px #25362905}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.panel h2{font-size:16px;letter-spacing:-.4px;margin:0}.panel-heading button{background:transparent;border:0;color:#257353;font-weight:750;font-size:12px}.panel-caption{color:#819388;font-size:12px;margin-top:5px}.chart-housing{display:flex;gap:25px;align-items:center;min-height:184px}.donut{width:167px;height:167px;min-width:167px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#d7e8d6 0 100%)}.donut-inside{width:116px;height:116px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:white;text-align:center}.donut-inside strong{font-size:20px;letter-spacing:-.4px}.donut-inside small{font-size:11px;color:#82968b}.legend{flex:1}.legend-row{display:flex;align-items:center;gap:9px;font-size:12px;color:#435d52;padding:7px 0}.legend-row b{margin-left:auto;color:#203d31;font-size:11px}.legend-dot{width:10px;height:10px;border-radius:3px}.empty{color:#82938b;font-size:13px;line-height:1.6;padding:24px 12px;text-align:center;background:#f8faf8;border:1px dashed #d6e3d8;border-radius:12px}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px}.data-table th{text-align:left;color:#819488;text-transform:uppercase;letter-spacing:.7px;font-size:10px;padding:12px 13px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{border-bottom:1px solid #ecf1ed;padding:13px;color:#30483b;white-space:nowrap}.data-table tr:last-child td{border-bottom:0}.data-table .amount{font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.row-name{font-weight:700;color:#223b31}.row-desc{color:#8b9d91;font-size:11px;margin-top:2px}.pill{display:inline-block;border-radius:999px;padding:5px 9px;background:#f0f5ee;color:#44755b;font-size:10px;font-weight:750}.pill.income{background:#e5f3e4;color:#33754d}.pill.expense{background:#f9ebe8;color:#b15443}.pill.transfer{background:#e8eff7;color:#4d718f}.row-actions{white-space:nowrap}.text-btn{background:transparent;border:0;color:#267352;font-weight:700;padding:5px 7px;font-size:11px}.text-btn.danger{color:#b35750}.subgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:18px}.item-card{background:white;border:1px solid var(--line);border-radius:15px;padding:20px;display:flex;flex-direction:column;gap:10px}.item-card h3{margin:0;font-size:16px}.item-card .meta{font-size:12px;color:#799085;line-height:1.6}.item-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.item-total{font-size:23px;font-weight:750;letter-spacing:-.6px}.item-actions{display:flex;gap:7px;align-items:center}.progress{height:9px;border-radius:999px;background:#e9eee8;overflow:hidden}.progress-fill{height:100%;border-radius:999px;background:#5e9c7a;max-width:100%}.muted{color:#7e9186}.grid-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.notice{padding:13px 17px;background:#fff8e9;border:1px solid #eadbbd;color:#6d542e;border-radius:12px;font-size:12px;line-height:1.6;margin-bottom:22px}.notice strong{font-weight:800}.insight{background:#e8f1e4;border-radius:12px;padding:16px;font-size:12px;line-height:1.6;color:#33543d}.two-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.period-stats{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:10px 0}.period-stats span{font-size:12px;color:#6e8378}.period-stats strong{font-size:13px}.footer-note{font-size:11px;color:#89998e;padding:22px 40px;border-top:1px solid var(--line);margin-top:20px}.footer-note button{border:0;background:none;text-decoration:underline;color:#376d58;cursor:pointer;font-size:11px}.modal-backdrop{position:fixed;inset:0;background:#10261ecc;display:flex;align-items:center;justify-content:center;z-index:60;padding:16px}.modal{background:#fff;width:min(600px,100%);max-height:92vh;overflow:auto;border-radius:20px;box-shadow:0 22px 100px #0003}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 0}.modal-head h2{font-size:20px;margin:0}.close-btn{border:0;background:#f1f5f0;color:#385749;width:32px;height:32px;border-radius:9px}.modal-form{padding:20px 24px 24px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1 / -1}.field label{font-size:12px;font-weight:750;color:#3b5347}.field input,.field select,.field textarea{padding:12px;border-radius:10px;border:1px solid #cfdcd2;background:white;width:100%;font-size:13px;min-width:0}.field textarea{resize:vertical;min-height:78px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.danger-btn{border:1px solid #ecc9c5;background:#fff3f0;border-radius:9px;color:#a14c42;padding:11px 16px;font-weight:700}.search-input{border:1px solid var(--line);border-radius:10px;padding:11px 13px;width:min(300px,100%);font-size:12px}.inline-forms{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.setting-group{padding:18px 0;border-bottom:1px solid var(--line)}.setting-group:last-child{border-bottom:0}.setting-group p{font-size:12px;color:#70877b;line-height:1.6}.setting-group h3{margin:0;font-size:15px}#toast{position:fixed;bottom:23px;right:23px;background:#193b30;color:white;padding:13px 20px;border-radius:12px;box-shadow:0 12px 38px #0003;z-index:200;opacity:0;transform:translateY(15px);transition:opacity .15s,transform .15s;pointer-events:none;font-size:12px}#toast.show{opacity:1;transform:translateY(0)}.row-secondary{font-size:11px;color:#85968c}.spaced{margin-top:24px}.right{text-align:right}.nowrap{white-space:nowrap}
@media(max-width:1300px){.grid-cards{grid-template-columns:repeat(2,1fr)}.content{padding:30px 25px}.kpi-grid{gap:10px}.kpi{padding:18px}.kpi-value{font-size:24px}}@media(max-width:1020px){.sidebar{width:220px}.site-main{margin-left:220px}.panel-grid{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,1fr)}.chart-housing{justify-content:center}}@media(max-width:690px){.sidebar{transform:translateX(-101%);transition:transform .2s;width:250px}.sidebar.open{transform:translateX(0)}.site-main{margin-left:0}.mobile-menu{display:block;background:transparent;border:0;font-size:21px;color:var(--pine)}.topbar{padding:0 16px;height:64px}.breadcrumb span:first-child,.breadcrumb .chevron,.top-indicator,.small-btn span{display:none}.content{padding:23px 15px}.page-head{flex-direction:column;align-items:stretch}.page-head h1{font-size:28px}.head-actions{justify-content:flex-start}.kpi-grid{gap:10px}.kpi{min-height:120px;padding:15px}.kpi-value{font-size:20px}.kpi-mark{display:none}.panel{padding:17px}.chart-housing{gap:13px}.donut{height:125px;width:125px;min-width:125px}.donut-inside{width:84px;height:84px}.donut-inside strong{font-size:16px}.grid-cards,.subgrid{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.footer-note{padding:20px 15px}.small-btn{padding:10px}.top-actions{gap:8px}}
