:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;color:#f5f5f7;background:#0b0b0f;--card:#17171d;--muted:#9b9ba5;--accent:#7c5cff}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(#0b0b0f,#101016);min-height:100vh}
#app{max-width:600px;margin:auto;padding-bottom:95px}.top{padding:calc(env(safe-area-inset-top) + 18px) 20px 10px;display:flex;justify-content:space-between;align-items:center}
h1{margin:2px 0;font-size:30px}.eyebrow{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
main{padding:10px 16px}.card{background:var(--card);border-radius:22px;padding:18px;margin-bottom:14px;box-shadow:0 8px 25px #0002}
.big{font-size:42px;font-weight:800;margin:5px 0 18px}.muted{color:var(--muted)}.small{font-size:13px}.row{display:flex;justify-content:space-between;align-items:center;gap:10px}.stats>div{flex:1}.stats span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.stats b{font-size:15px}
.progress{height:9px;background:#2b2b34;border-radius:20px;margin:14px 0 7px;overflow:hidden}.progress i{display:block;height:100%;width:0;background:var(--accent);border-radius:20px}
h2{font-size:17px;margin:0 0 12px}.category{margin:11px 0}.categoryTop{display:flex;justify-content:space-between;font-size:14px}.line{height:6px;background:#2b2b34;border-radius:20px;margin-top:6px;overflow:hidden}.line i{display:block;height:100%;background:#8d78ff}
.bars{height:145px;display:flex;align-items:end;gap:5px;padding-top:15px}.barWrap{flex:1;height:100%;display:flex;align-items:end;justify-content:center}.bar{width:100%;max-width:18px;background:#7c5cff;border-radius:5px 5px 2px 2px;min-height:3px}.day{font-size:8px;color:var(--muted);margin-top:4px}
.section-title{margin:18px 3px 10px}.textBtn,.icon{border:0;background:transparent;color:#a994ff;font-weight:700}.icon{font-size:26px;color:#fff}.tx{background:var(--card);padding:13px;border-radius:16px;margin-bottom:8px;display:flex;align-items:center;gap:11px}.circle{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#292934}.txMain{flex:1}.txMain b{display:block}.txMain small{color:var(--muted)}.amount{font-weight:700}.expense{color:#ff6b78}.income{color:#55d68a}
.tabbar{position:fixed;bottom:0;left:0;right:0;height:calc(70px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#15151bdd;backdrop-filter:blur(20px);display:flex;justify-content:center;z-index:10}.tabbar button{flex:1;max-width:150px;background:transparent;border:0;color:#8f8f99;font-size:21px}.tabbar button span{display:block;font-size:10px;margin-top:3px}.tabbar button.active{color:#a994ff}
.sheet{position:fixed;inset:0;background:#0009;z-index:20;display:flex;align-items:end}.panel{background:#18181e;width:100%;max-width:600px;margin:auto;border-radius:25px 25px 0 0;padding:22px 18px calc(25px + env(safe-area-inset-bottom));max-height:90vh;overflow:auto}.hidden{display:none}
input,textarea,select{width:100%;background:#27272f;color:#fff;border:1px solid #383842;border-radius:12px;padding:13px;font-size:16px;margin:6px 0 12px}textarea{min-height:130px}.btn{width:100%;padding:14px;border:0;border-radius:14px;background:var(--accent);color:#fff;font-weight:800;font-size:16px;margin-top:5px}.btn.secondary{background:#2a2a33}.seg{display:flex;gap:7px;margin-bottom:12px}.seg button{flex:1;padding:11px;border:0;border-radius:10px;background:#292932;color:#aaa}.seg button.sel{background:#7c5cff;color:#fff}.danger{color:#ff6b78}
.listTitle{font-size:26px;font-weight:800;margin:10px 0 16px}.notice{padding:12px;background:#292932;border-radius:12px;color:#c8c8d0;font-size:13px;line-height:1.45}
