:root{color-scheme:dark;--bg:#090a12;--panel:#161827;--panel2:#202239;--line:#292b45;--muted:#999bb7;--purple:#9568ff;--text:#f6f4ff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#201638 0,#090a12 45%);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app{max-width:520px;min-height:100dvh;margin:auto;padding:22px 18px 105px}header,.brand,.sheethead,.line,.row{display:flex;align-items:center;justify-content:space-between}.brand{justify-content:start;gap:11px;font-weight:800;font-size:18px;letter-spacing:-.5px}.brand small{display:block;color:var(--muted);font-weight:400;font-size:11px;letter-spacing:0;margin-top:4px}.logo{display:grid;place-items:center;width:43px;height:43px;border-radius:15px;background:linear-gradient(135deg,#a68aff,#6948e6);font-size:28px}.avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#30264c;color:#d7c5ff}.summary-label{color:#bbb6d0;font-size:13px;margin-top:35px}.summary-label span{float:right;color:#aa91ff}.hero{font-size:clamp(35px,10vw,53px);font-weight:800;letter-spacing:-2px;margin:10px 0}.rate{font-size:12px;color:var(--muted);margin:8px 0 18px}.balancegrid,.actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tile,.card{background:linear-gradient(145deg,#1c1d32,#121420);border:1px solid var(--line);border-radius:20px;padding:18px}.tile span,.hint,.sub{display:block;color:var(--muted);font-size:12px}.tile strong{display:block;margin-top:10px;font-size:19px;overflow-wrap:anywhere}.actions{margin:16px 0 25px}button{font:inherit;cursor:pointer;border:0}button.primary{background:linear-gradient(110deg,#a581ff,#8258f5);color:white;font-weight:700}button.secondary{background:#262842;color:#f0eaff;font-weight:700}.actions button{padding:17px 6px;border-radius:15px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(520px,100%);background:#111322f5;backdrop-filter:blur(20px);display:grid;grid-template-columns:repeat(5,1fr);padding:11px 6px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #292841;z-index:3}nav button{background:transparent;color:#999bb7;font-size:10px;display:grid;gap:5px;justify-items:center}nav button b{font-size:22px;font-weight:400}nav button.active{color:#aa88ff}h2{font-size:18px;margin:0 0 14px}.card{margin-bottom:12px}.line{gap:10px;margin-bottom:14px}.line h2{margin:0}.row{gap:12px;padding:14px 0;border-bottom:1px solid #292b42}.row:last-child{border:0}.row strong{font-size:14px}.row .sub{margin-top:5px}.plus{color:#77dfad}.minus{color:#ff7f9a}.pill{background:#302747;color:#b79bff;border-radius:10px;padding:7px 10px;font-size:12px}.progress{height:9px;border-radius:9px;background:#34334c;overflow:hidden;margin:16px 0 8px}.progress>div{height:100%;background:linear-gradient(90deg,#8b6aff,#75d6a4);border-radius:9px}.smallbtn{border-radius:12px;background:#2c2743;color:#d5c1ff;padding:10px 13px}.overlay{position:fixed;inset:0;background:#000b;display:flex;align-items:flex-end;justify-content:center;z-index:5}.overlay[hidden],[hidden]{display:none!important}.sheet{width:100%;max-width:520px;max-height:94dvh;overflow:auto;background:#141625;border:1px solid #29283f;border-radius:28px 28px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom))}.sheethead h2{margin:0}.close{background:#292a43;color:#c9b7ff;border-radius:50%;width:36px;height:36px}.sheet form{margin-top:15px}label{display:block;color:#d0cce2;font-size:13px;margin:16px 0 8px}input,select{width:100%;background:#202238;border:1px solid #343450;color:white;border-radius:15px;padding:16px;font:inherit;outline:none}input:focus,select:focus{border-color:#9977ff}.submit{width:100%;padding:18px;border-radius:16px;margin-top:22px}.notice{background:#40243c;border:1px solid #824c75;border-radius:14px;padding:14px;margin-top:18px}.empty{color:var(--muted);text-align:center;padding:25px 8px}.icon{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#30294d;margin-right:10px}.rowleft{display:flex;align-items:center;min-width:0}.rowleft strong{display:block}.rowleft .sub{display:block}.catrow{display:flex;align-items:center;justify-content:space-between;padding:12px;border-bottom:1px solid #292b42}.catrow button{background:transparent;color:#c1a9ff;padding:8px}.catrow.selected{background:#28223d;border-radius:13px}.picker{border:1px solid #35324f;background:#202238;padding:15px;border-radius:15px;width:100%;color:#d8c7ff;text-align:left}.pickerpanel{background:#181a2b;border:1px solid #35324f;border-radius:16px;margin-top:9px;padding:10px;max-height:280px;overflow:auto}.pickerpanel input{padding:11px;margin-bottom:6px}.colors,.icons{display:flex;flex-wrap:wrap;gap:9px}.swatch{height:34px;width:34px;border-radius:50%;border:3px solid transparent}.swatch.selected{border-color:white}.iconpick{background:#252742;color:white;border-radius:12px;width:48px;height:48px;font-size:23px}.iconpick.selected{outline:2px solid #a781ff}.muted{color:var(--muted)}.danger{color:#ff8da1!important}.spaced{margin-top:14px}.compact{font-size:12px}.secondarybtn{width:100%;background:#292640;color:#cdb5ff;border-radius:14px;padding:13px;margin-top:8px}.formhint{color:#aaa6c0;font-size:11px;margin-top:7px}

/* Money Tracker 2.1 refresh */
:root{--bg:#080915;--panel:#141629;--line:#30304d;--purple:#9568ff}
body{background:radial-gradient(ellipse at 50% -10%,#24143f 0,#080915 48%)}
.logo{background:linear-gradient(145deg,#ae77ff,#592cdd);box-shadow:0 0 26px #8544e044}
#summary{background:linear-gradient(155deg,#26184caa,#101426 58%);border:1px solid #523a91;border-radius:23px;padding:20px 16px 10px;margin-top:18px;box-shadow:0 12px 50px #371e6933}
.summary-label{margin-top:2px}.hero{font-size:clamp(35px,10vw,48px)}
.currswitch{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#1c1d36;padding:5px;border-radius:15px;margin:13px 0}
.currswitch button{border-radius:11px;background:transparent;color:#bdb4d7;padding:12px 6px;font-weight:700}
.currswitch button.selected{background:linear-gradient(110deg,#a77aff,#7348e9);color:white}
.entryrow{cursor:pointer;border-radius:12px;padding-left:8px;padding-right:8px}.entryrow:active{background:#28203e}
.profilecard{display:flex;align-items:center;gap:12px}.profilecard>div:nth-child(2){flex:1}.profilecard .smallbtn{padding:9px}
.profileavatar,.avatar{overflow:hidden}.profileavatar{width:55px;height:55px;border-radius:50%;background:#392452;display:grid;place-items:center;flex-shrink:0}
.profileavatar img,.avatar img{width:100%;height:100%;object-fit:cover}
.card{box-shadow:0 5px 20px #0002}.rate{line-height:1.5}
