:root{font-family:system-ui,-apple-system,Noto Sans TC,Microsoft JhengHei,sans-serif;color:#263e33;background:#f7f7f0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8fbaa0;outline-offset:2px}.app{max-width:560px;margin:auto;min-height:100dvh;background:#fbfaf5;padding-bottom:94px}.top{height:77px;display:flex;align-items:center;justify-content:space-between;padding:15px 23px;border-bottom:1px solid #e9e9e1}.brand{display:flex;align-items:center;gap:10px}.brand strong{font-size:18px;display:block;letter-spacing:2px}.brand small{font-size:10px;color:#809083;letter-spacing:1px}.logo{background:#dcebdc;color:#477d5d;border-radius:13px;width:41px;height:41px;display:grid;place-items:center}.date{font-size:12px;color:#819084}main{padding:22px 20px}.greeting p,.section-title p{font-size:10px;letter-spacing:2px;color:#85a18b;font-weight:700;margin:0 0 8px}.greeting h1,.section-title h1{font-size:25px;letter-spacing:1px;margin:0 0 8px}.greeting>span{font-size:13px;color:#829085}.summary{display:grid;grid-template-columns:1.3fr 1fr;gap:11px;margin:26px 0}.summary-card{border-radius:19px;padding:17px 13px;min-height:151px;display:flex;flex-direction:column;gap:13px}.green{background:#e0eee2}.peach{background:#fff0dd}.summary-label{font-size:12px;display:flex;align-items:center;gap:6px;color:#4d795e;font-weight:600}.peach .summary-label{color:#ab8148}.summary-card strong{font-size:clamp(18px,5vw,26px);white-space:nowrap;letter-spacing:-.7px}.summary-card small{font-size:10px;color:#708778}.peach small{margin-top:auto;color:#aa916c}.bar{height:6px;background:#c6dcc9;border-radius:10px;overflow:hidden}.bar i{display:block;height:100%;background:#639d79;border-radius:10px}h2{font-size:16px;margin:24px 0 13px}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick button{border:1px solid #ebece5;background:#fff;border-radius:17px;padding:16px 4px 14px;display:flex;align-items:center;flex-direction:column;gap:9px;font-size:12px;color:#4b5c50;font-weight:600}.quick button span{background:#eef4ec;border-radius:13px;color:#618c6c;padding:9px}.quick button svg{width:20px;height:20px}.tip{display:flex;align-items:flex-start;gap:12px;background:#f1f4e9;border-radius:17px;padding:19px 16px;margin:26px 0;color:#65896e}.tip strong{font-size:13px;color:#46694e}.tip p{font-size:12px;line-height:1.8;color:#7b8e7c;margin:6px 0 0}.text-btn{float:right;background:none;border:0;color:#7e9a83;display:inline-flex;align-items:center;font-size:12px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.section-title h1{margin:0}.round-btn{border:0;border-radius:50%;width:45px;height:45px;display:grid;place-items:center;background:#5e9570;color:#fff}.total{background:#e0eee2;border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.total span,.total small{font-size:12px;color:#5b8064}.total strong{font-size:30px}.entries{background:#fff;border-radius:17px;overflow:hidden;border:1px solid #efefe9}.entry{display:flex;align-items:center;gap:10px;padding:14px 11px;border-bottom:1px solid #f0f0e9}.entry:last-child{border:0}.entry-icon{background:#eef4ec;border-radius:11px;padding:10px;color:#659174}.entry-body{border:0;background:none;text-align:left;flex:1;min-width:0;padding:0}.entry-body strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-body small{font-size:11px;color:#929c92}.entry-price{font-size:13px;white-space:nowrap}.delete{border:0;background:transparent;color:#a7a9a3;padding:7px}.empty{border:1px dashed #d8dfd4;border-radius:17px;padding:34px 10px;display:flex;flex-direction:column;align-items:center;gap:10px;color:#9aa99b;text-align:center}.empty strong{color:#577663;font-size:14px}.empty span{font-size:12px}.back{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#728c78;margin-bottom:20px;padding:0;font-size:13px}.panel{background:#fff;border:1px solid #ebeee6;border-radius:18px;padding:21px 18px;margin-bottom:18px}.panel h2{margin:0 0 10px}.hint{color:#849187;font-size:12px;line-height:1.8}.panel form,.form{display:flex;flex-direction:column;gap:19px}.panel label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.panel input,.panel select{width:100%;height:48px;border:1px solid #dce4db;border-radius:11px;background:#fbfcf8;padding:0 12px;color:#304b39}.panel .amount-input{font-size:24px;font-weight:700;height:60px}.primary{display:flex;align-items:center;justify-content:center;gap:8px;background:#5d9370;color:#fff;border:0;border-radius:12px;padding:15px;font-weight:700}.save{margin-top:9px}.outline{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;background:#fff;border:1px solid #cbdccc;color:#537d60;border-radius:12px;padding:13px;margin-top:10px;font-weight:600}.bottom{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(100%,560px);height:calc(70px + env(safe-area-inset-bottom));padding:7px 7px env(safe-area-inset-bottom);display:flex;justify-content:space-around;background:#fff;border-top:1px solid #ecefe7;z-index:5}.bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:1;background:none;border:0;color:#a2aca2;font-size:10px}.bottom button.active{color:#4f8863;font-weight:700}.toast{position:fixed;bottom:calc(88px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);background:#2c6541;color:#fff;padding:11px 16px;border-radius:12px;z-index:10;display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap;box-shadow:0 6px 18px #0002}@media(min-width:600px){body{background:#e9eee6}.app{box-shadow:0 0 30px #304e3115}}@media(max-width:350px){main{padding:17px 12px}.summary-card{padding:12px 9px}.summary-card strong{font-size:18px}.summary-label{font-size:10px}}
