:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202220;background:#f7f7f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f7f7f4;overflow-x:hidden}button,input,select,textarea{font:inherit;font-size:16px}button{min-height:44px;border:0;cursor:pointer}main{width:min(100%,560px);margin:auto;padding:calc(24px + env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom))}h1{font-size:22px;margin:0 0 36px}h2{font-size:16px;margin:0 0 14px}.eyebrow,.muted{color:#818681}.hero{margin-bottom:42px}.hero .value{font-size:52px;line-height:1.1;font-weight:750;letter-spacing:-2px;margin:10px 0;color:#3d8d6a}.hero.secondary .value{font-size:42px}.today{font-size:18px;line-height:1.8}.warning{color:#c9644b!important}.primary{width:100%;background:#3d8d6a;color:white;border-radius:16px;font-size:18px;font-weight:700;margin-top:28px}.card{background:#fff;border:1px solid #e9eae7;border-radius:18px;padding:20px;margin:14px 0;box-shadow:0 5px 18px #2022200a}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.link{width:100%;background:#fff;text-align:left;border-bottom:1px solid #e9eae7;padding:14px 2px}.rank{display:grid;grid-template-columns:1fr auto;gap:14px;padding:12px 0;border-bottom:1px solid #e9eae7}.big{font-size:38px;font-weight:750;letter-spacing:-1px}.positive{color:#3d8d6a}.gain-negative{color:#c9644b}.tabbar{position:fixed;z-index:5;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:0;background:#ffffffee;border-top:1px solid #e9eae7;padding:7px max(14px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(18px)}.tabbar button{width:min(33.333%,186px);background:transparent;color:#818681}.tabbar .active{color:#3d8d6a;font-weight:700}dialog{width:min(calc(100% - 24px),540px);max-height:calc(100dvh - 24px);border:0;border-radius:22px;padding:0;background:#fff}dialog::backdrop{background:#20222066}#sheet-body{padding:22px;max-height:calc(100dvh - 24px);overflow:auto}form{display:grid;gap:15px}label{display:grid;gap:7px;color:#818681}input,select,textarea{width:100%;min-height:48px;border:1px solid #d9dcd7;border-radius:12px;padding:11px;background:#fff;color:#202220}textarea{min-height:82px;resize:vertical}.segmented{display:grid;grid-template-columns:repeat(3,1fr);background:#f0f1ee;padding:3px;border-radius:13px}.segmented button{background:transparent;border-radius:10px}.segmented .active{background:#fff;color:#3d8d6a;font-weight:700}.actions{display:flex;gap:10px}.actions>*{flex:1}.secondary-btn{background:#eaf4ef;color:#3d8d6a;border-radius:12px}.danger{background:#fff0ec;color:#c9644b;border-radius:12px}.bill-day{margin:26px 0 8px}.bill{width:100%;display:grid;grid-template-columns:1fr auto;text-align:left;background:#fff;padding:14px 0;border-bottom:1px solid #e9eae7}.filters{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-bottom:22px}.empty{color:#818681;text-align:center;padding:36px 0}.quick-date{display:flex;gap:8px}.quick-date button{min-height:36px;padding:0 13px;border-radius:10px;background:#eaf4ef;color:#3d8d6a}@media(max-width:360px){main{padding-left:16px;padding-right:16px}.hero .value{font-size:45px}.big{font-size:34px}}
