@charset "UTF-8";
:root{--ink:#213c36;--muted:#81908a;--green:#166052;--green-dark:#104a3f;--pale:#edf4ef;--line:#e7ece7;--paper:#f7f8f4;--orange:#c97b4a;--red:#b54a42;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:0;border-radius:10px;transition:background .15s,transform .15s}button:disabled{cursor:wait;opacity:.55}button:hover:not(:disabled){filter:brightness(.96)}button:active:not(:disabled){transform:translateY(1px)}:focus-visible{outline:3px solid #d09b60;outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,p{margin:0}h1{font-size:36px;letter-spacing:-1px;line-height:1.35}h2{font-size:19px;line-height:1.5;font-weight:600}input,select,textarea{border:1px solid #dce4dd;border-radius:10px;color:var(--ink);background:#fff;min-height:46px;padding:11px 13px;max-width:100%;font-size:16px}input::placeholder,textarea::placeholder{color:#a3afa8}label{display:block;font-size:13px;font-weight:500}label>input,label>textarea{display:block;width:100%;margin-top:9px}textarea{resize:vertical}.muted{color:var(--muted);font-size:13px;font-weight:400;line-height:1.7}.eyebrow{font-size:10px;letter-spacing:2px;color:#8a9b8c;font-weight:600}.brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:650;white-space:nowrap}.brand-mark{display:inline-grid;place-items:center;width:37px;height:39px;background:var(--green);color:#fff;border-radius:13px 13px 3px 13px;font-family:serif;font-size:21px}.brand small{font-size:9px;letter-spacing:1.7px;color:#97a19a;font-weight:500;margin:6px 0 0 7px}.primary,.danger,.secondary{padding:12px 23px;font-weight:550;font-size:14px;display:inline-flex;gap:16px;align-items:center;justify-content:center}.primary{background:var(--green);color:#fff;box-shadow:0 3px 6px #164f3810}.danger{background:var(--red);color:white}.secondary{background:#eef2ed;color:var(--ink)}.wide{width:100%}.plain{background:none;color:#61776d;padding:6px 10px;font-size:13px}.icon-button{background:none;font-size:25px;color:#678375;min-width:40px}.error{color:var(--red);font-size:13px;line-height:1.7;min-height:8px}.error:not(:empty){margin:12px 0}.notice{background:#fff2ef;border-radius:10px;padding:12px 18px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.login-story{background:#e5eee5;position:relative;padding:50px 10%;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:700px}.login-story .brand small{display:none}.story-copy{margin:90px 0;z-index:1}.story-copy h1{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:44px;letter-spacing:1px;font-weight:500;line-height:1.7;margin:20px 0;color:#315b45}.story-copy p{color:#738575;font-size:15px;line-height:2.1}.story-lines{position:absolute;width:370px;height:480px;right:-110px;bottom:-60px;transform:rotate(-20deg);pointer-events:none;opacity:.4}.story-lines span{position:absolute;border:1px solid #adbd9c;border-radius:50% 50% 0 0;width:100%;height:100%}.story-lines span:nth-child(2){transform:translate(-40px,-20px)}.story-lines span:nth-child(3){transform:translate(-80px,-40px)}.story-foot{font-size:11px;letter-spacing:3px;color:#8d9e8d}.login-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 30px;background:#fbfcf8}.login-card{width:100%;max-width:355px}.login-card h2{font-size:26px;margin:14px 0 8px}.login-card>label{margin-top:26px}.login-card .primary{margin-top:18px;justify-content:space-between}.login-hint{font-size:12px;color:#99a49a;margin-top:23px;line-height:1.9}.login-bottom{font-size:11px;color:#a1aa9f;margin-top:75px}.topbar{height:83px;border-bottom:1px solid var(--line);background:#fcfdf9;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px)}.account-menu{display:flex;align-items:center;gap:8px}.divider{height:15px;border-left:1px solid var(--line)}.avatar{display:grid;place-items:center;background:#e8ece1;color:#839070;width:35px;height:35px;border-radius:50%;font-size:13px;margin-left:12px}.container{max-width:1260px;margin:0 auto;padding:43px 40px 0}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.page-title h1{margin:8px 0 9px;font-weight:550}.title-dot{color:#c89e62}.plus{font-size:21px;font-weight:300;line-height:1}.page-title .primary{min-width:122px}.month-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}.month-picker{display:flex;align-items:center;gap:6px}.month-picker input{border:none;padding:6px;background:transparent;width:157px;font-weight:600}.month-picker .plain{margin-left:4px;font-size:12px;background:#eaf0e8;border-radius:6px;min-height:28px;padding:5px 10px}.toolbar-right{display:flex;align-items:center;gap:8px}.summary-grid{display:grid;grid-template-columns:1.12fr 1fr 1fr;gap:20px;margin-bottom:30px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:25px 27px;position:relative;overflow:hidden}.summary-card>span{display:flex;align-items:center;gap:10px;font-size:13px;color:#7a8a81}.summary-card strong{display:block;font-size:33px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.8px;margin:19px 0 13px;overflow-wrap:anywhere}.summary-card p{font-size:11px;color:#96a197;line-height:1.7}.summary-card.balance{background:var(--green);color:#fff;border-color:var(--green)}.summary-card.balance>span{color:#d7e8dc}.summary-card small{font-size:9px;font-weight:400;margin-left:4px;color:#98c2ae}.summary-card.balance p{color:#9dc1b3;font-size:10px}.balance-decoration{position:absolute;right:8px;bottom:4px;font-size:110px;color:#ffffff08;line-height:1}.stat-icon{width:25px;height:25px;display:inline-grid;place-items:center;border-radius:50%;font-style:normal}.income{color:#347f66;background:#edf5ed}.expense{color:var(--orange);background:#fbf0e6}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.panel{border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 25px 18px;gap:8px}.panel-heading h2{font-size:17px}.panel-heading p{font-size:11px;margin-top:4px}.count{font-size:10px;color:#8b9c8c;background:#f1f4ed;border-radius:5px;padding:2px 6px;margin-left:5px;vertical-align:middle;font-weight:500}.filters{display:flex;gap:8px;padding:0 25px 17px;border-bottom:1px solid var(--line)}.filters select,.filters input{font-size:12px;min-height:37px;padding:8px 10px;background:#fafbf8;min-width:0}.filters select{max-width:140px}.filters input{flex:1;width:100px}.record{display:flex;align-items:center;gap:13px;padding:17px 25px;border-bottom:1px solid #f0f3ed}.record:last-child{border-bottom:none}.record-icon{width:38px;height:38px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;font-size:17px}.record-info{flex:1;min-width:0}.record-info strong{display:block;font-size:13px;font-weight:550;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.record-info p{color:#9aa59a;font-size:10px;line-height:1.6;margin-top:5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.record-right{text-align:right;flex-shrink:0}.record-amount{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.record-amount.is-income{color:#378268}.record-amount.is-expense{color:#465b50}.record-actions{display:flex;justify-content:flex-end;margin:3px -5px -10px 0}.record-actions button{min-height:30px;padding:3px 6px;font-size:10px;color:#8e9f91}.record-actions .delete-button{color:#b29485}.empty{padding:50px 20px;text-align:center;color:#9aa998;font-size:12px;line-height:2}.empty .empty-mark{display:block;font-size:32px;color:#c5d3c2;margin-bottom:10px}.categories-panel .panel-heading{padding-bottom:26px}.circle-symbol{font-size:30px;font-weight:300;color:#bac7b3}.category-item{padding:0 25px;margin-bottom:23px}.category-label{display:flex;justify-content:space-between;gap:8px;font-size:12px}.category-label>span:first-child{max-width:130px;overflow-wrap:anywhere}.category-label>span:last-child{color:#7e8e83;font-variant-numeric:tabular-nums;font-size:11px}.category-item progress{display:block;width:100%;height:5px;border:none;appearance:none;margin:10px 0 6px;border-radius:5px;overflow:hidden;background:#f1f4ee}.category-item progress::-webkit-progress-bar{background:#f1f4ee}.category-item progress::-webkit-progress-value{background:#779e7c;border-radius:5px}.category-item progress::-moz-progress-bar{background:#779e7c}.category-percent{font-size:10px;color:#a2ac9e}.small-note{border-top:1px solid #eef2e9;margin:26px 22px 0;padding:18px 0;color:#a8b1a1;font-size:10px;line-height:1.7}.small-note span{margin-right:5px;color:#bca478}#more{border-radius:0;background:#fafcf7;font-size:12px;border-top:1px solid var(--line)}footer{display:flex;justify-content:space-between;padding:30px 0;color:#adb5a7;font-size:10px;letter-spacing:.5px}dialog{border:1px solid var(--line);border-radius:19px;box-shadow:0 25px 100px #173d3928;padding:30px;width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 36px);color:var(--ink);background:#fcfdfb}dialog::backdrop{background:#123c345c;backdrop-filter:blur(3px)}dialog h2{margin:5px 0 14px;font-size:23px}dialog label{margin:20px 0}dialog .muted{font-size:12px}.dialog-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.type-toggle{display:flex;border:0;padding:4px;margin:12px 0 24px;border-radius:10px;background:#ecf1e9;gap:5px}.type-toggle label{flex:1;margin:0;position:relative}.type-toggle input{position:absolute;opacity:0;width:1px;height:1px}.type-toggle label span{display:block;padding:12px;text-align:center;border-radius:7px;color:#8fa18e;cursor:pointer}.type-toggle input:checked+span{background:#fff;color:var(--green);box-shadow:0 1px 5px #00000007}.type-toggle input:focus-visible+span{outline:3px solid #d09b60}.amount-input{display:flex;align-items:center;border-bottom:1px solid #dce6da;margin-top:8px}.amount-input span{font-size:23px;color:#7e9580}.amount-input input{font-size:35px;min-width:0;width:100%;border:none;background:transparent;padding:8px 10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{min-width:0}.form-grid input{padding:10px;width:100%}.form-grid+label{margin-top:2px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#284d40;color:#fff;border-radius:10px;padding:13px 22px;font-size:13px;box-shadow:0 8px 30px #173d3920;z-index:99;max-width:90vw;width:max-content}#delete-info{font-size:16px;margin:15px 0;overflow-wrap:anywhere}
@media(min-width:1500px){.container{padding-top:55px}.summary-card{padding:30px}.page-title{margin-bottom:40px}}@media(max-width:1050px){.content-grid{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.container{padding:34px 24px 0}.summary-grid{gap:12px}.summary-card{padding:22px}.summary-card strong{font-size:28px}.record{padding:16px 20px}.topbar .brand small{display:none}.login-story{padding:45px 12%}.story-copy h1{font-size:35px}}@media(max-width:760px){.topbar{height:68px;padding:0 20px}.brand{font-size:17px;gap:9px}.brand-mark{width:31px;height:34px;border-radius:10px 10px 3px 10px;font-size:19px}.account-menu{gap:0}.account-menu .plain{font-size:11px;padding:8px}.avatar{display:none}.container{padding:28px 18px 0}.page-title{margin-bottom:24px}.page-title h1{font-size:29px;margin-top:7px}.page-title .muted{font-size:11px}.page-title .eyebrow{font-size:8px;letter-spacing:1.3px}.page-title .primary{min-width:100px;padding:11px 16px;font-size:13px;gap:7px}.month-toolbar{align-items:flex-start;margin-bottom:15px}.month-picker{gap:0;flex-wrap:wrap}.month-picker input{width:138px;font-size:14px}.month-picker .icon-button{min-width:30px}.month-picker .plain{font-size:10px}.toolbar-right{flex-direction:column-reverse;gap:0;align-items:flex-end}.toolbar-right .plain{font-size:11px;min-height:35px}.toolbar-right .muted{font-size:9px}.summary-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.summary-card.balance{grid-column:1/-1;padding:22px 23px}.summary-card.balance strong{font-size:35px;margin:13px 0 8px}.summary-card{padding:19px}.summary-card>span{font-size:11px;gap:7px}.summary-card strong{font-size:25px;margin:14px 0 9px}.summary-card p{font-size:10px}.stat-icon{width:22px;height:22px}.content-grid{display:flex;flex-direction:column;gap:20px}.content-grid>.panel{width:100%}.panel-heading{padding:22px 18px 16px}.filters{padding:0 18px 16px;gap:6px;flex-wrap:wrap}.filters select{flex:1;max-width:none}.filters input{flex-basis:100%;width:100%;font-size:14px}.record{padding:16px 18px;gap:10px}.record-icon{width:35px;height:35px}.record-amount{font-size:14px}.record-info strong{font-size:12px}.record-info p{max-width:40vw}.record-actions button{min-height:35px;padding:4px 7px}.categories-panel .panel-heading{padding-bottom:23px}.category-item{padding:0 20px;margin-bottom:20px}.category-label>span:first-child{max-width:220px}footer{display:block;text-align:center;line-height:2;padding-bottom:30px}footer span{display:block}.login-layout{display:block}.login-story{padding:25px 25px 35px;min-height:auto}.story-copy{margin:30px 0 0}.story-copy h1{font-size:28px;line-height:1.55;margin:12px 0 0}.story-copy p,.story-foot{display:none}.story-lines{width:220px;height:300px;bottom:-160px;right:-80px}.login-panel{padding:35px 27px 25px}.login-card h2{font-size:23px}.login-card>label{margin-top:20px}.login-bottom{margin-top:30px}.login-story .eyebrow{font-size:9px}.login-hint{font-size:11px}.login-panel .eyebrow{font-size:9px}dialog{padding:24px 21px;max-height:calc(100dvh - 24px)}dialog h2{font-size:21px}.form-grid{gap:12px}dialog label{font-size:12px}.form-grid input{font-size:15px}#toast{bottom:20px;font-size:12px}.brand small{display:none}}
@media(max-width:760px){.summary-card:not(.balance) strong{font-size:clamp(17px,5.4vw,22px)}}
