:root{--bg:#f4f7f5;--white:#fff;--ink:#17332e;--navy:#0d2227;--muted:#788a86;--line:#e3ebe7;--green:#11795b;--mint:#e6faf0;--lime:#c5f3d8;--rose:#b54156;--pink:#fff0f2;--shadow:0 12px 36px #0c352510;--radius:22px;--accent:#11795b}
*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Roboto,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;color-scheme:light}body{margin:0;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.5;cursor:not-allowed}.app{max-width:720px;min-height:100dvh;margin:0 auto;padding-bottom:105px;background:var(--bg)}.app-header{height:78px;background:var(--navy);display:flex;align-items:center;justify-content:space-between;padding:17px 21px;color:white}.wordmark{display:flex;gap:12px;align-items:center}.wordmark img{border-radius:13px;box-shadow:0 3px 15px #0003}.wordmark strong{display:block;letter-spacing:-.5px;font-size:19px}.wordmark small{display:block;color:#aad8c5;font-size:11px;margin-top:2px}.icon-button{height:38px;width:38px;border:1px solid #38574e;background:#263b3b;color:#e3f6ec;border-radius:12px;display:grid;place-items:center}.icon-button svg,.nav-item svg,.nav-add svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.main{padding:18px 17px 12px}.hero{background:linear-gradient(140deg,#1b8a68 0%,#12604f 57%,#063a37 100%);color:white;padding:23px 22px;border-radius:25px;position:relative;overflow:hidden;box-shadow:0 15px 30px #0c67502d}.hero:after{content:"";position:absolute;border:1px solid #ffffff17;border-radius:50%;width:260px;height:260px;right:-156px;top:-153px;box-shadow:0 0 0 34px #ffffff08,0 0 0 83px #ffffff05;pointer-events:none}.hero small{color:#d1f4df;font-size:12px}.hero .large{font-size:clamp(34px,10vw,48px);font-weight:830;letter-spacing:-2px;margin:5px 0 8px;font-variant-numeric:tabular-nums}.hero .subtle{font-size:12px;color:#d7f5e4}.hero-buttons{display:flex;gap:9px;margin-top:22px}.hero-buttons button{flex:1;border:0;border-radius:12px;padding:13px 10px;font-size:13px;font-weight:760}.hero-buttons button:first-child{background:#d7fce5;color:#13533e}.hero-buttons button:last-child{background:#ffffff28;color:white;border:1px solid #ffffff30}.quickstats{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:13px}.panel{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #e6ece8;padding:18px}.mini-stat{min-height:114px}.mini-stat .kicker{font-size:12px;color:var(--muted)}.mini-stat .value{font-size:23px;font-weight:820;letter-spacing:-.8px;margin-top:10px;overflow-wrap:anywhere}.mini-stat .foot{font-size:11px;color:var(--muted);margin-top:6px}.positive{color:#07835b}.negative{color:#be5065}.section-head{margin:27px 1px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.section-head h2{font-size:19px;font-weight:800;letter-spacing:-.6px;margin:0}.section-head small{font-size:11px;color:var(--muted)}.text-button{background:transparent;border:0;color:var(--green);font-weight:800;font-size:12px;padding:4px 0}.soft-button{border:1px solid #ddede4;background:#eafbF2;color:#0c6d4e;padding:9px 12px;border-radius:12px;font-size:12px;font-weight:750}.main-button{border:0;background:#087852;color:white;border-radius:14px;padding:13px 16px;font-weight:800;box-shadow:0 7px 17px #08785221}.outline-button{border:1px solid #d5e3dd;background:white;color:#176b54;border-radius:12px;padding:12px 13px;font-weight:750}.danger-button{border:1px solid #f6d8de;color:#b13c54;background:#fff2f4;border-radius:12px;padding:12px 13px;font-weight:750}.button-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.button-row>*{flex:1}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.flex{display:flex;gap:10px;align-items:center}.between{display:flex;justify-content:space-between;gap:12px;align-items:center}.strong{font-weight:800}.payday-head{display:flex;gap:13px;align-items:center}.round-icon{width:43px;height:43px;border-radius:14px;background:#e7f7ed;display:grid;place-items:center;font-size:20px;flex:0 0 auto}.soft-box{border-radius:15px;background:#f1f8f4;padding:13px 14px}.breakdown{display:grid;gap:11px;margin-top:16px}.breakdown>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.breakdown span{color:#768580}.breakdown strong{font-size:14px;font-variant-numeric:tabular-nums}.divider{height:1px;background:var(--line);margin:14px 0}.safe{display:flex;align-items:center;justify-content:space-between;gap:6px}.safe strong{font-size:25px;letter-spacing:-.9px}.budget-bar{width:100%;height:11px;background:#edf1ef;overflow:hidden;border-radius:99px;display:flex;margin-top:15px}.budget-bar span{height:100%;display:block}.key-row{margin-top:10px;display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}.key-row span{font-size:10px;color:var(--muted)}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:3px}.list-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf1ef}.list-row:first-child{padding-top:0}.list-row:last-child{padding-bottom:0;border-bottom:0}.list-icon{width:41px;height:41px;border-radius:14px;display:grid;place-items:center;font-size:19px;flex-shrink:0}.grow{flex:1;min-width:0}.row-title{font-size:13px;font-weight:780;overflow-wrap:anywhere}.row-sub{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.45}.right-amount{text-align:right;white-space:nowrap;font-size:13px;font-weight:820;font-variant-numeric:tabular-nums}.tag{border-radius:50px;padding:4px 8px;font-size:10px;font-weight:750;display:inline-block;background:#e9f5ee;color:#257856}.tag.due{background:#fff1e8;color:#af652a}.tag.late{background:#fff0f0;color:#bd4c5e}.progress{height:9px;border-radius:20px;background:#edf1ef;overflow:hidden;margin-top:11px}.progress span{height:100%;display:block;border-radius:20px;background:#17a67b}.big-number{font-size:26px;letter-spacing:-1px;font-weight:830}.page-title{margin:5px 0 20px}.page-title h1{font-size:28px;letter-spacing:-1px;margin:0 0 5px}.page-title p{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.empty{text-align:center;color:#849590;padding:27px 10px;line-height:1.6;font-size:12px}.empty .illustration{font-size:28px;display:block;margin-bottom:9px}.pill-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 5px}.pill{background:#fff;border:1px solid #e5ebe7;border-radius:99px;padding:9px 13px;color:#667c73;font-size:12px;font-weight:730;white-space:nowrap}.pill.active{background:#155f49;color:#fff;border-color:#155f49}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.category-card{padding:15px;min-height:156px}.category-card .round-icon{width:36px;height:36px;font-size:18px;border-radius:11px}.category-card strong{font-size:13px}.category-card .numbers{font-size:13px;font-weight:800;margin-top:12px}.category-card .numbers span{color:var(--muted);font-size:11px;font-weight:500}.category-card .progress{height:7px}.warn-text{color:var(--rose)}.text-input,.field input,.field select,.field textarea{width:100%;border:1px solid #dbe6e0;border-radius:12px;padding:12px 13px;background:#f9fbfa;color:#203d34;font-size:15px;min-width:0}.field label{font-size:12px;font-weight:750;color:#506b60;display:block;margin-bottom:6px}.field{margin-bottom:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.form-grid .span2{grid-column:1/-1}.note{font-size:11px;color:#738880;line-height:1.65}.bottom-nav{position:fixed;bottom:0;left:0;right:0;margin:auto;max-width:720px;background:#fff;border-top:1px solid #e6ece7;display:flex;align-items:center;justify-content:space-around;padding:8px 8px max(8px,env(safe-area-inset-bottom));box-shadow:0 -6px 30px #0927190b;z-index:15}.nav-item{border:0;background:transparent;padding:5px 4px;color:#85958d;font-size:10px;font-weight:690;display:flex;flex:1;align-items:center;flex-direction:column;gap:5px}.nav-item.active{color:#087552}.nav-add{border:0;background:#0c2830;color:#fff;width:49px;height:49px;border-radius:17px;margin:0 8px 10px;display:grid;place-items:center;box-shadow:0 8px 15px #0c28302c}.nav-add svg{width:26px;height:26px}.overlay[hidden]{display:none}.overlay{position:fixed;inset:0;background:#07191aba;z-index:50;display:flex;justify-content:center;align-items:flex-end}.sheet{background:#fff;width:100%;max-width:650px;max-height:94dvh;overflow-y:auto;border-radius:26px 26px 0 0;padding:0 19px max(25px,env(safe-area-inset-bottom));animation:rise .18s ease-out;box-shadow:0 -20px 70px #0003}@keyframes rise{from{transform:translateY(15px);opacity:.6}to{transform:translateY(0);opacity:1}}.sheet-grab{width:43px;height:4px;background:#dae3de;border-radius:10px;margin:11px auto 14px}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.sheet-head h2{margin:0;font-size:20px;letter-spacing:-.6px}.x-button{border:0;background:#eff3f0;border-radius:50%;width:34px;height:34px;color:#36564a;font-size:24px;line-height:1}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:95px;z-index:70;background:#122c26;color:#fff;border-radius:13px;padding:12px 17px;box-shadow:0 10px 30px #0003;font-size:12px;display:none;max-width:90vw}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.calendar-head button{border:1px solid var(--line);background:white;width:36px;height:36px;border-radius:11px;font-size:20px;color:var(--green)}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.weekday{text-align:center;color:#899a91;font-weight:700;font-size:10px;padding-bottom:9px}.date-btn{border:0;background:transparent;aspect-ratio:1/1.13;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--ink);font-size:12px;min-width:0}.date-btn small{font-size:8px;color:#b85264;letter-spacing:-.4px;white-space:nowrap}.date-btn.selected{color:#fff;background:#117e5e;box-shadow:0 5px 11px #117e5e28}.date-btn.selected small{color:#fff}.date-btn.today:not(.selected){outline:1px solid #a4d7c1}.date-btn.other{color:#bcc9c2}.date-btn .dot{margin:0;width:4px;height:4px}.chart-donut{border-radius:50%;height:180px;width:180px;background:conic-gradient(#dbe8e1 0 100%);display:grid;place-items:center;margin:10px auto;position:relative}.chart-donut>div{background:#fff;height:132px;width:132px;border-radius:50%;display:grid;align-content:center;justify-items:center;line-height:1.5}.chart-donut strong{font-size:20px}.legend{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:11px}.legend .dot{margin-right:6px;width:9px;height:9px}.bars{height:180px;display:flex;align-items:stretch;gap:10px;border-bottom:1px solid var(--line);padding:8px 0 0}.barcol{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.barcol .bar{min-height:3px;border-radius:7px 7px 0 0;width:min(45px,90%);background:linear-gradient(#21b78b,#b2efd3)}.barcol small{font-size:10px;color:var(--muted)}.entry-action{border:0;background:transparent;color:var(--green);font-size:12px;font-weight:800;padding:4px}.menu-item{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);cursor:pointer}.menu-item:last-child{border:0}.menu-item .iconbox{background:#eff6f1;border-radius:12px;width:40px;height:40px;display:grid;place-items:center;font-size:19px}.menu-item .arrow{font-size:20px;color:#91a19b}.inline-alert{background:#fff6e8;color:#855b23;padding:12px 14px;border-radius:13px;font-size:11px;line-height:1.5}.inline-note{background:#eff7f2;color:#4e7163;padding:12px 14px;border-radius:13px;font-size:11px;line-height:1.55}.report-number{font-size:30px;font-weight:850;letter-spacing:-1px}.month-choice{display:flex;align-items:center;gap:12px}.month-choice input{border:1px solid var(--line);border-radius:10px;padding:8px;background:white;color:var(--ink);max-width:150px}.balance-hidden .hero .large{filter:blur(8px)}.tabular{font-variant-numeric:tabular-nums}.toggle{display:flex;align-items:center;gap:10px;font-size:13px;color:#48635a}.toggle input{accent-color:#147c5e;width:18px;height:18px}.scroll-safe{padding-bottom:20px}@media(min-width:700px){.main{padding:25px 27px}.app-header{padding-left:27px;padding-right:27px}.overlay{align-items:center}.sheet{border-radius:22px;max-height:90vh}.sheet-grab{display:none}.sheet-head{padding-top:20px}}@media(max-width:370px){.main{padding-left:12px;padding-right:12px}.panel{padding:14px}.category-card{padding:12px}.hero{padding:20px}.hero .large{font-size:34px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
