:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#193c37;background:#f3f5f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.6}.app{max-width:680px;min-height:100dvh;margin:auto;padding:calc(env(safe-area-inset-top) + 20px) 18px calc(110px + env(safe-area-inset-bottom))}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.eyebrow{font-size:11px;letter-spacing:.16em;color:#788b83;font-weight:700}.top h1{font-size:28px;margin:5px 0 0;letter-spacing:-.04em}.brand{background:#dce8e2;padding:12px;border-radius:16px}.month{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:14px;padding:7px 10px;margin-bottom:18px;text-transform:capitalize}.month button,.icon-btn,.modal-head button{background:none;border:0;color:#193c37;padding:8px;display:grid;place-items:center}.month strong{font-size:15px}.hero{background:#193c37;border-radius:22px;color:#fff;padding:24px;margin-bottom:26px;box-shadow:0 12px 30px #193c371c}.hero-label{color:#c0d8d0;font-size:14px}.hero-number{font-size:clamp(29px,8vw,42px);font-weight:750;letter-spacing:-.045em;margin:9px 0 24px;overflow-wrap:anywhere}.hero-stats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #4d6861;padding-top:18px;gap:12px}.hero-stats div{display:flex;flex-direction:column;gap:6px}.hero-stats span{color:#c0d8d0;font-size:12px}.hero-stats strong{font-size:16px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}h2{font-size:19px;letter-spacing:-.025em;margin:0}.cards{display:grid;gap:12px}.category{background:#fff;border-radius:18px;padding:17px;box-shadow:0 2px 10px #193c3708}.category-head{display:flex;align-items:center;gap:10px}.category-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#eaf0ed;color:#236b59;flex-shrink:0}.category-name{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.category-name strong{font-size:15px}.category-name span,.category-bottom span{font-size:12px;color:#7a8982}.category-head>strong{font-size:16px;white-space:nowrap}.negative{color:#c23d3d}.bar{height:8px;border-radius:20px;background:#e7ede9;overflow:hidden;margin:17px 0 12px}.bar>div{height:100%;border-radius:20px}.category-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.category-actions{display:flex;align-items:center;gap:7px}.add-small,.primary{border:0;background:#193c37;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:650}.add-small{border-radius:11px;padding:9px 11px;font-size:12px}.text-btn{border:0;background:transparent;color:#2b7665;font-size:12px;font-weight:650;padding:7px}.warning{font-size:12px;color:#b87922;margin:-4px 0 12px}.warning.danger{color:#c23d3d}.wide{width:100%;margin-top:16px;min-height:49px;border-radius:13px}.primary{font-size:15px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;max-width:680px;margin:auto;background:#fff;border-top:1px solid #e8eeeb;display:grid;grid-template-columns:repeat(3,1fr);padding:11px 10px calc(10px + env(safe-area-inset-bottom));z-index:5}.bottom-nav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:5px;color:#87958d;font-size:11px;font-weight:600}.bottom-nav button.active{color:#193c37}.filter{display:flex;flex-direction:column;gap:8px;margin-bottom:15px}.filter label,.modal label{font-size:13px;font-weight:650;color:#50665c}.filter select,.modal input,.modal select,.modal textarea{width:100%;padding:14px;border:1px solid #dce6df;border-radius:12px;background:#fff;color:#193c37;min-height:48px;font-size:16px}.history-total{display:flex;justify-content:space-between;background:#193c37;color:#fff;border-radius:15px;padding:17px;margin-bottom:14px;gap:10px}.operations{display:grid;gap:9px}.operation{width:100%;border:0;background:#fff;border-radius:15px;padding:13px 10px;display:flex;align-items:center;gap:10px;text-align:left;color:#193c37}.operation-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.operation-info span{font-size:12px;color:#819087;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.operation>strong{font-size:13px;white-space:nowrap}.empty{background:#fff;border-radius:15px;padding:32px;text-align:center;color:#809088}.settings-heading{margin:22px 0 8px}.hint{font-size:13px;color:#75877d;line-height:1.5}.settings-list{display:grid;gap:8px}.setting-category{display:flex;align-items:center;gap:8px;background:#fff;padding:10px;border-radius:13px}.setting-category .category-icon{width:36px;height:36px}.setting-name{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.setting-name strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}.setting-name span{font-size:12px;color:#7c8c84}.setting-category button{background:#f0f4f1;border:0;border-radius:8px;padding:9px;color:#234b41;font-size:12px}.secondary{border:1px solid #cfddd4;background:#fff;color:#193c37;display:flex;justify-content:center;align-items:center;gap:8px;font-weight:650}.upload{cursor:pointer}.upload input{display:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;background:#102c26a8;display:flex;align-items:flex-end;justify-content:center}.modal{background:#f6f8f6;width:100%;max-width:680px;border-radius:24px 24px 0 0;padding:22px 20px calc(22px + env(safe-area-inset-bottom));max-height:95dvh;overflow-y:auto}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal form{display:grid;gap:15px}.modal label{display:grid;gap:7px}.modal textarea{resize:vertical;min-height:76px}.modal .wide{margin-top:5px}.delete{border:0;background:#ffebeb;color:#ba3434;display:flex;align-items:center;justify-content:center;gap:8px}.error{background:#ffeded;color:#a22c2c;padding:12px;border-radius:12px;margin-bottom:12px;display:flex;justify-content:space-between;gap:12px}.error button{background:none;border:0;color:inherit}@media(min-width:700px){.app{border-left:1px solid #e5ebe7;border-right:1px solid #e5ebe7}.modal-backdrop{align-items:center}.modal{border-radius:24px;max-width:520px}}
