:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#253e64;background:#f1f6ff;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;background:#eaf1ff;color:#3267c8;border-radius:13px;padding:12px;min-height:44px}button:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible{outline:3px solid #ffb34f;outline-offset:3px}.app{max-width:680px;margin:auto;min-height:100vh;background:#f7faff;padding-bottom:100px}header{display:flex;align-items:center;justify-content:space-between;padding:30px 24px 16px}header small{font-size:12px;color:#6e8bb4;letter-spacing:2px}h1{font-size:29px;margin:6px 0;font-weight:650;letter-spacing:1px}h2{font-size:21px;margin:5px 0 20px}h3{font-size:15px;font-weight:600;margin:25px 0 12px}.local{font-size:12px;margin:0 24px 18px;color:#8b672d;background:#fff2dc;padding:9px 12px;border-radius:10px}main{padding:0 24px}.hero{background:linear-gradient(120deg,#3979f7,#83bbff);color:white;padding:25px;border-radius:25px;box-shadow:0 12px 24px #4a89ff20;margin:12px 0 23px}.hero small{color:#f1f7ff}.big{font-size:clamp(28px,7vw,42px);font-weight:600;margin:12px 0 20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.hero .flex{border-top:1px solid #ffffff40;padding-top:15px}.flex{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.row,.panel{background:white;border:1px solid #e7effb;border-radius:18px;padding:17px;margin:10px 0}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;color:#293f63}.row>div{min-width:0;overflow-wrap:anywhere}.row strong{white-space:nowrap;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.row small{display:block;margin-top:6px;color:#7890b1;font-size:12px}.badge{background:#fff0d9;color:#98611d;padding:5px 9px;border-radius:8px;font-size:11px}.muted{color:#738aad;font-size:13px;line-height:1.8}.empty{text-align:center;padding:35px 18px;color:#748bad;line-height:1.8}.primary{background:#3979f7;color:white;width:100%;font-weight:600;box-shadow:0 5px 12px #3979f71a}.danger{color:#bd4545;background:#fff0ed}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.actions>*{flex:1}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);display:flex;align-items:center;gap:5px;padding:12px 14px max(15px,env(safe-area-inset-bottom));background:#ffffffef;backdrop-filter:blur(18px);border-top:1px solid #e4edfc;z-index:3}nav button{flex:1;background:transparent;color:#758fb5;padding:9px 3px;font-size:13px}nav button.active{background:#eaf2ff;color:#306bd9;font-weight:650}nav .add{flex:0 0 53px;font-size:28px;background:#3979f7;color:white;border-radius:18px;box-shadow:0 6px 14px #3979f733}input,select{width:100%;min-width:0;border:1px solid #dce8fc;border-radius:12px;padding:12px;background:#fff;color:#294565;font-size:16px;min-height:46px}label{display:block;font-size:13px;color:#617b9e;margin:14px 0 6px}input[type=checkbox]{width:20px;min-height:20px;vertical-align:middle;margin-right:8px}.filters{display:flex;gap:10px}.filters>*{flex:1;min-width:0}dialog{border:1px solid #e3ecfb;border-radius:24px;padding:22px;width:min(94%,500px);max-height:90dvh;color:#253e64;background:#f9fbff}dialog::backdrop{background:#18365b65;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0}.dialog-head button{background:transparent;font-size:25px}.error{color:#b13434;min-height:20px;font-size:13px;margin:10px 0}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);max-width:90%;border-radius:12px;background:#263e63;color:white;padding:12px 18px;display:none;z-index:10}.bar{height:9px;background:#ecf3ff;border-radius:8px;margin:10px 0 21px;overflow:hidden}.bar span{display:block;height:100%;background:linear-gradient(90deg,#4786fb,#92c5ff);border-radius:8px}.chart{display:flex;gap:8px;align-items:flex-end;height:205px;margin:20px 0 5px}.col{display:flex;flex:1;min-width:0;height:100%;align-items:center;justify-content:flex-end;flex-direction:column;gap:7px}.col .mark{background:#a7ccff;width:70%;border-radius:7px 7px 2px 2px;min-height:2px}.col.current .mark{background:#417ff6}.col small{font-size:11px;white-space:nowrap;color:#6682ab}.chart-scroll{overflow-x:auto}.chart-scroll .chart{min-width:300px}.plan{padding:10px 0;border-bottom:1px solid #e4edfb;font-size:13px}.money-hidden .amount{filter:blur(7px);user-select:none}.note{padding:12px;background:#edf4ff;color:#536f96;border-radius:12px;font-size:13px;line-height:1.7}a{color:#306bd9}details{margin:15px 0}summary{cursor:pointer;color:#57749e;font-size:14px;padding:8px 0}@media(max-width:380px){main{padding:0 16px}header{padding:24px 16px 12px}.local{margin-left:16px;margin-right:16px}.hero{padding:20px}.row{padding:14px}.row strong{font-size:15px}}
.account-logo{display:block;width:40px;height:40px;flex:0 0 40px;border-radius:11px}.account-row>div{flex:1}.account-row{gap:12px}.account-select{display:flex;align-items:center;gap:11px}.account-select>span{flex:0 0 40px}.account-select select{flex:1;min-width:0}@media(max-width:380px){.account-row{gap:9px}.account-row .account-logo{width:34px;height:34px;flex-basis:34px}.account-row strong{font-size:14px}}
.account-logo{object-fit:contain;background:white;border-radius:0}
.category-item{display:block;width:100%;padding:10px 0 0;background:transparent;color:#293f63;text-align:left;border-radius:12px}
.category-item:hover{background:#f6f9ff;filter:none}
.category-item:focus-visible{outline:3px solid #ffb34f;outline-offset:2px}
.category-item .flex{padding:0 4px}
.category-item strong{font-size:16px;font-weight:600}
.category-item .bar{margin:9px 0 17px}
.category-detail-list .row{margin:8px 0}

header h1{font-size:clamp(22px,5.5vw,29px)}
#install-panel:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 24px 18px;padding:12px;background:#eaf2ff;border-radius:14px;font-size:13px}
#install-app{background:#3979f7;color:white;white-space:nowrap}

#install-panel{flex-wrap:wrap}#install-panel .muted{flex-basis:100%;margin:0}#install-app:disabled{opacity:.7;cursor:wait}

[data-account-edit], [data-record]{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;}
