:root{--green:#153b2f;--green-soft:#e7f0eb;--gold:#d8b565;--ink:#1b2e28;--muted:#68766f;--line:#e1e8e3;--bg:#f4f6f2;--red:#b13d35;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}input,select{width:100%;min-width:0;border:1px solid #d5dfd8;border-radius:10px;background:#fff;padding:11px 12px;min-height:46px;color:var(--ink)}input:focus,select:focus{outline:3px solid #bfd9c8;outline-offset:1px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #8eb69e;outline-offset:3px}label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}label small{font-weight:400;color:var(--muted);font-size:12px;line-height:1.5}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(25px,3vw,34px);letter-spacing:-1px;line-height:1.2;margin:5px 0 0}h2{font-size:19px;letter-spacing:-.35px;margin-bottom:15px}h3{font-size:15px;margin-bottom:4px}small{font-size:12px}.muted{color:var(--muted)}.positive{color:#26784c}.negative{color:var(--red)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:650;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:#245942}.secondary{background:white;border-color:var(--line)}.secondary:hover{background:#f1f5f1}.text-link{color:#296545;font-size:13px;font-weight:650}.link-button{border:0;background:none;color:inherit;padding:6px 0;font-size:13px}.danger{color:var(--red)}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:var(--green);color:#ebf2eb;padding:32px 22px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:650;letter-spacing:-.5px}.brand small{display:block;font-size:8px;letter-spacing:1px;color:#a8c3b4;margin-top:3px}.brand-mark{display:flex;align-items:center;justify-content:center;background:#e8c783;color:var(--green);width:42px;height:42px;border-radius:12px;font-size:24px;font-weight:800}.nav-label{font-size:9px;letter-spacing:1.4px;color:#8dad9b;margin:43px 10px 16px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:10px;font-size:13px;color:#c3d6ca}.sidebar nav a:hover,.sidebar nav a.active{color:white;background:#ffffff13}.nav-dot{width:7px;height:7px;border:1px solid #7c9f8d;border-radius:50%}.active .nav-dot{background:var(--gold);border-color:var(--gold)}.sidebar-bottom{margin-top:auto;padding:22px 12px 0;border-top:1px solid #ffffff18;display:grid;gap:4px}.sidebar-bottom small{font-size:11px;color:#9cbaa9;overflow-wrap:anywhere}.sidebar-bottom .link-button{color:#e8c783}.main{margin-left:242px;max-width:1700px;padding:34px 38px 48px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.topbar>.button{box-shadow:0 3px 7px #153b2f12}.section-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px}.section-intro p{margin-bottom:3px}.inline-form{display:flex;align-items:end;gap:9px}.inline-form input{max-width:185px}.inline-form select{min-width:150px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:21px 20px}.stat>span{display:block;font-size:12px;color:var(--muted);margin-bottom:12px}.stat>strong{display:block;font-size:clamp(19px,1.9vw,25px);letter-spacing:-.7px;line-height:1.3;margin-bottom:12px;overflow-wrap:anywhere}.stat>small{display:block;color:var(--muted);font-size:11px}.two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:23px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.panel-heading h2{margin-bottom:0}.panel-heading .eyebrow{display:block;margin-bottom:4px}.legend{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);white-space:nowrap}.legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.income-dot{background:#458867}.expense-dot{background:var(--gold)}.bar-chart{display:flex;gap:8px;height:205px;padding-top:20px;overflow-x:auto}.bar-group{flex:1;min-width:21px;display:flex;flex-direction:column;align-items:center;gap:10px}.bar-pair{display:flex;gap:4px;height:160px;width:100%;max-width:32px;align-items:flex-end;border-bottom:1px solid #e0e7e1}.bar{flex:1;border-radius:4px 4px 0 0;min-width:5px}.bar.income{background:#458867}.bar.expense{background:var(--gold)}.bar-group small{color:#7e8a82;font-size:10px}.panel-footer{border-top:1px solid var(--line);margin-top:22px;padding-top:16px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}.panel-footer strong{font-size:17px;white-space:nowrap}.goal-panel{background:#fafbf7}.goal{margin:25px 0}.goal>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.goal strong{font-size:13px}.goal small{color:var(--muted);font-size:11px}progress{width:100%;height:7px;display:block;border:0;border-radius:10px;background:#e4e9e1;margin:10px 0 5px;overflow:hidden}progress::-webkit-progress-bar{background:#e4e9e1}progress::-webkit-progress-value{background:#458867;border-radius:10px}progress::-moz-progress-bar{background:#458867}.allocation{background:#edf2e8;border-radius:12px;padding:17px;margin:24px 0 17px}.allocation>span{display:block;font-size:12px}.allocation strong{font-size:25px;display:block;margin:4px 0}.allocation small{color:var(--muted);display:block;font-size:11px}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;color:var(--muted);font-weight:600;border-bottom:1px solid var(--line);padding:10px 11px}td{padding:13px 11px;border-bottom:1px solid #eef1ed}th:first-child,td:first-child{padding-left:0}th:not(:first-child),td:not(:first-child){text-align:right}tbody tr:last-child td{border-bottom:none}td:first-child{white-space:normal;min-width:140px}tfoot th{color:var(--ink);border-top:1px solid var(--line)}.recent-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf1ed}.recent-row:last-child{border:0}.txn-symbol{width:37px;height:37px;flex-shrink:0;border-radius:11px;display:grid;place-items:center;font-size:18px}.income{background:#e9f3eb;color:#26784c}.expense{background:#faf0e2;color:#9b6e22}.transfer{background:#ebeff4;color:#546a8c}.recent-details{flex:1;min-width:0}.recent-details strong{display:block;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recent-details small{color:var(--muted);font-size:10px}.recent-row .amount{font-size:12px;white-space:nowrap}.footnote{font-size:11px;color:var(--muted);margin-top:21px}.notice{border-radius:12px;padding:13px 16px;margin:0 0 20px;font-size:13px;border:1px solid var(--line)}.notice.success{color:#1c633d;background:#e6f2e9;border-color:#cce3d3}.notice.info{background:#eef3ef;color:#456150}.notice.error{background:#fbebe8;color:#95372f;border-color:#edc9c1}.notice a{text-decoration:underline}.empty-state{text-align:center;padding:34px 15px}.empty-state h3{font-size:16px;margin-top:10px}.empty-state p{font-size:12px;color:var(--muted);max-width:300px;margin:8px auto 20px}.empty-icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--green-soft);font-size:23px;color:#438562}.empty-copy{padding:30px 0;text-align:center;font-size:13px}.form-stack{display:grid;gap:17px;margin-top:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.full{grid-column:1/-1}.form-hint{padding:12px;background:#f1f5ef;color:#52705a;border-radius:8px;font-size:12px;margin:0}.form-actions{display:flex;gap:10px;margin-top:5px}.transaction-form{margin-bottom:25px}.filter-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1.5fr auto;gap:12px;align-items:end}.filter-grid input,.filter-grid select{font-size:12px}.filter-button{height:46px}.ledger-summary{display:flex;gap:25px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.ledger-summary strong{color:var(--ink);margin-left:7px;font-size:13px}.ledger-summary a{margin-left:auto}.ledger-row{display:flex;align-items:center;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}.ledger-row:last-child{border:0}.ledger-date{width:53px;text-align:center;flex-shrink:0}.ledger-date strong{display:block;font-size:21px;line-height:1.2}.ledger-date small{font-size:10px;color:var(--muted)}.ledger-detail{flex:1;min-width:0}.badge{display:inline-block;border-radius:5px;font-size:9px;font-weight:700;padding:3px 7px;letter-spacing:.3px}.ledger-detail h3{margin:6px 0 3px;overflow-wrap:anywhere}.ledger-detail p{font-size:11px;margin:0;color:var(--muted)}.ledger-detail small{color:var(--muted);font-size:10px;overflow-wrap:anywhere}.ledger-amount{text-align:right;white-space:nowrap}.ledger-amount>strong{font-size:15px}.row-actions{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:5px;font-size:11px}.row-actions button{font-size:11px}.pagination{padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.pagination>div{display:flex;gap:8px}.pagination .button{min-height:38px;font-size:11px}.fund-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.fund-title{display:flex;align-items:center;gap:10px;margin-bottom:20px}.fund-title h2{margin:0;font-size:17px}.fund-icon{background:var(--green-soft);color:#39714e;display:grid;place-items:center;width:35px;height:35px;border-radius:10px;font-weight:750}.fund-balance{display:block;font-size:26px;letter-spacing:-.8px;margin:4px 0 18px}.fund-card>.muted{font-size:11px}.fund-movements{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin-bottom:22px}.fund-movements span{display:grid;font-size:10px;color:var(--muted)}.fund-movements b{font-size:13px;color:var(--ink);font-weight:600}details{border-top:1px solid var(--line);padding-top:12px}summary{font-size:12px;font-weight:600;color:#346345;cursor:pointer}.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.reconcile{font-size:11px}.budget-panel{margin-bottom:22px}.budget-edit{display:flex;justify-content:flex-end;gap:8px}.budget-edit input{max-width:145px;text-align:right;font-size:12px;padding:7px 9px;min-height:38px;background:#fff9ea}.small-button{min-height:38px;padding:7px 10px;font-size:11px}.settings-note{margin-top:30px;padding-top:25px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.guide{max-width:1000px}.guide p{color:#53665a;font-size:14px;margin-bottom:28px}.guide h2{margin-top:25px}.guide table{margin-bottom:28px}.guide td,.guide th{text-align:left!important}.auth-main{max-width:580px;padding:45px 24px;margin:0 auto}.auth-main .topbar{margin-bottom:30px}.auth-card{background:white;border:1px solid var(--line);border-radius:22px;padding:35px;box-shadow:0 12px 50px #153b2f07}.auth-card .brand-mark{margin-bottom:24px}.auth-card h2{font-size:23px}.auth-card p{font-size:13px;color:var(--muted)}.auth-card>.muted{margin:24px 0 0;text-align:center;font-size:11px}.auth-card form .button{width:100%;margin-top:5px}.mobile-nav{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.chart-data{margin-top:15px}.chart-data table{margin-top:12px}
@media(min-width:1600px){.main{padding:40px 55px}}
@media(max-width:1250px){.main{padding:28px 24px}.sidebar{width:220px;padding:28px 17px}.main{margin-left:220px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr 1fr}.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fund-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:20px}.panel-heading{flex-wrap:wrap}}
@media(max-width:900px){.sidebar{display:none}.main{margin-left:0;padding:26px 24px 110px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;align-items:center;justify-content:space-around;background:#fff;border-top:1px solid var(--line);padding:8px 5px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px #1b2e2805}.mobile-nav a{display:grid;justify-items:center;gap:3px;color:#7b8b7f;font-size:10px;min-width:53px;padding:2px 5px}.mobile-nav a>span{font-size:22px;line-height:1.2}.mobile-nav a.active{color:var(--green);font-weight:700}.two-col{grid-template-columns:1fr}.fund-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bar-chart{height:215px}.bar-pair{max-width:40px;height:170px}}
@media(max-width:560px){.main{padding:23px 16px 105px}.topbar{margin-bottom:22px;align-items:center;gap:10px}.topbar .button{font-size:11px;padding:9px 11px}.eyebrow{font-size:8px;letter-spacing:1.1px}h1{font-size:25px;letter-spacing:-.7px}.section-intro{flex-direction:column;align-items:flex-start;gap:13px;margin-bottom:20px}.section-intro .inline-form{width:100%}.section-intro .inline-form input{max-width:none;flex:1}.section-intro p{font-size:13px}.section-intro small{font-size:11px}.stats-grid{gap:11px;margin-bottom:19px}.stat{padding:16px 13px;border-radius:14px}.stat>span{font-size:10px;margin-bottom:10px}.stat>strong{font-size:18px;letter-spacing:-.6px;margin-bottom:8px}.stat>small{font-size:9px;line-height:1.5}.panel{padding:18px;border-radius:15px}.two-col{gap:18px;margin-bottom:18px}.panel-heading{gap:8px}.panel-heading h2{font-size:17px}.goal-panel h2{font-size:18px}.goal{margin:21px 0}.panel-footer{align-items:flex-start}.panel-footer span{max-width:60%;font-size:10px}.panel-footer strong{font-size:14px}.bar-chart{gap:5px}.bar-group{min-width:15px}.bar-pair{gap:3px}.bar-group small{font-size:8px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.filter-grid{grid-template-columns:1fr 1fr;gap:10px}.filter-grid label:last-of-type{grid-column:1/-1}.ledger-summary{gap:10px 18px}.ledger-summary a{margin-left:0;width:100%}.ledger-row{gap:12px;align-items:flex-start;flex-wrap:wrap;padding:18px 0}.ledger-date{width:39px;padding-top:8px}.ledger-detail{flex:1;width:calc(100% - 51px)}.ledger-detail h3{font-size:13px}.ledger-amount{width:100%;padding-left:51px;display:flex;justify-content:space-between;align-items:center;gap:8px}.ledger-amount>strong{font-size:13px}.row-actions{margin:0}.pagination{align-items:flex-start;flex-direction:column}.fund-grid{grid-template-columns:1fr;gap:16px}.fund-balance{font-size:28px}.compact{grid-template-columns:1fr}.budget-table{min-width:620px}.budget-table td{padding:13px 10px}.budget-panel .panel-heading>span{font-size:11px}.notice{font-size:12px;padding:12px}.auth-main{padding:30px 17px}.auth-card{padding:25px 21px}.auth-main h1{font-size:29px}.inline-form{flex-wrap:wrap}.guide p{font-size:13px}.footnote{font-size:10px}}
@media print{body{background:#fff}.sidebar,.mobile-nav,.topbar>.button,form,.row-actions,.pagination,.text-link{display:none!important}.main{margin:0;padding:0}.stats-grid{grid-template-columns:repeat(4,1fr)}.two-col{grid-template-columns:1fr}.panel{break-inside:avoid;box-shadow:none}.table-wrap{overflow:visible}}

.h-0{height:0%}.h-1{height:1%}.h-2{height:2%}.h-3{height:3%}.h-4{height:4%}.h-5{height:5%}.h-6{height:6%}.h-7{height:7%}.h-8{height:8%}.h-9{height:9%}.h-10{height:10%}.h-11{height:11%}.h-12{height:12%}.h-13{height:13%}.h-14{height:14%}.h-15{height:15%}.h-16{height:16%}.h-17{height:17%}.h-18{height:18%}.h-19{height:19%}.h-20{height:20%}.h-21{height:21%}.h-22{height:22%}.h-23{height:23%}.h-24{height:24%}.h-25{height:25%}.h-26{height:26%}.h-27{height:27%}.h-28{height:28%}.h-29{height:29%}.h-30{height:30%}.h-31{height:31%}.h-32{height:32%}.h-33{height:33%}.h-34{height:34%}.h-35{height:35%}.h-36{height:36%}.h-37{height:37%}.h-38{height:38%}.h-39{height:39%}.h-40{height:40%}.h-41{height:41%}.h-42{height:42%}.h-43{height:43%}.h-44{height:44%}.h-45{height:45%}.h-46{height:46%}.h-47{height:47%}.h-48{height:48%}.h-49{height:49%}.h-50{height:50%}.h-51{height:51%}.h-52{height:52%}.h-53{height:53%}.h-54{height:54%}.h-55{height:55%}.h-56{height:56%}.h-57{height:57%}.h-58{height:58%}.h-59{height:59%}.h-60{height:60%}.h-61{height:61%}.h-62{height:62%}.h-63{height:63%}.h-64{height:64%}.h-65{height:65%}.h-66{height:66%}.h-67{height:67%}.h-68{height:68%}.h-69{height:69%}.h-70{height:70%}.h-71{height:71%}.h-72{height:72%}.h-73{height:73%}.h-74{height:74%}.h-75{height:75%}.h-76{height:76%}.h-77{height:77%}.h-78{height:78%}.h-79{height:79%}.h-80{height:80%}.h-81{height:81%}.h-82{height:82%}.h-83{height:83%}.h-84{height:84%}.h-85{height:85%}.h-86{height:86%}.h-87{height:87%}.h-88{height:88%}.h-89{height:89%}.h-90{height:90%}.h-91{height:91%}.h-92{height:92%}.h-93{height:93%}.h-94{height:94%}.h-95{height:95%}.h-96{height:96%}.h-97{height:97%}.h-98{height:98%}.h-99{height:99%}.h-100{height:100%}
