:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1c3028;background:#f7f8f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5}.frame{max-width:580px;margin:auto;min-height:100dvh;padding:0 20px calc(105px + env(safe-area-inset-bottom))}.top{height:78px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;letter-spacing:.02em}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:white;background:#254f41;font-size:17px}.sync-status{font-size:11px;color:#7b8b82}.eyebrow{margin-top:18px;color:#769185;letter-spacing:.16em;font-size:12px;font-weight:800}h1{font-size:27px;line-height:1.28;letter-spacing:-.04em;margin:10px 0 25px}h2{font-size:17px;margin:0}.hero{background:#254f41;color:white;border-radius:28px;padding:27px 26px;box-shadow:0 16px 32px #254f4125}.hero small,.stat-total small{display:block;font-size:13px;opacity:.7}.hero-number{font-size:38px;font-weight:800;letter-spacing:-.05em;margin:12px 0 24px}.hero-foot{display:flex;gap:28px;border-top:1px solid #ffffff3b;padding-top:18px;font-size:12px}.hero-foot b{display:block;margin-top:5px;font-size:16px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:31px 0 14px}.section-head button{border:0;background:none;color:#648071;font-size:13px}.entry-list,.card{background:white;border:1px solid #e5ebe4;border-radius:20px;overflow:hidden}.entry{display:flex;width:100%;align-items:center;text-align:left;gap:13px;padding:15px;border:0;border-bottom:1px solid #eef1ec;background:white;color:#1c3028}.entry:last-child{border-bottom:0}.entry-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:13px;background:#e9f1ea;color:#315e48;font-weight:800}.entry-main{min-width:0;flex:1}.entry-main strong,.entry-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-main strong{font-size:14px}.entry-main small{font-size:11px;color:#8a978e;margin-top:5px}.entry b{font-size:14px;white-space:nowrap}.entry .positive{color:#408b67}.bottom{position:fixed;left:0;right:0;bottom:0;z-index:10;display:flex;justify-content:space-around;max-width:580px;margin:auto;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:#fffffff0;backdrop-filter:blur(18px);border-top:1px solid #e8ede7}.bottom button{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:54px;color:#88988c;background:none;border:0;padding:5px}.bottom button span{font-size:23px;line-height:26px}.bottom button small{font-size:10px}.bottom button.active{color:#254f41;font-weight:800}.bottom .add-tab span{display:grid;place-items:center;background:#254f41;color:white;border-radius:16px;width:43px;height:43px;font-size:28px;margin-top:-18px;box-shadow:0 8px 14px #254f4138}.filter-bar{display:flex;gap:10px;margin:13px 0}.filter-bar label{flex:1;min-width:0;font-size:12px;color:#788b80}.filter-bar input,.filter-bar select{margin-top:6px;min-width:0;width:100%;background:white;border:1px solid #dce5da;border-radius:11px;padding:10px;color:#263c30}.summary-line{display:flex;justify-content:space-between;font-size:12px;color:#6f8275;margin:20px 1px 13px}.empty{padding:35px 16px;text-align:center;color:#9aa99f;background:white;border:1px solid #e5ebe4;border-radius:20px;font-size:13px}.card{padding:20px;overflow:visible}.card label{display:block;font-size:12px;font-weight:700;color:#63786b;margin:16px 0}.card input,.card select{display:block;width:100%;height:44px;margin-top:7px;padding:0 12px;border:1px solid #dce5da;border-radius:11px;background:#fff;color:#1c3028;outline-color:#55876f}.segmented{display:flex;padding:4px;background:#eef3ec;border-radius:13px;gap:3px}.segmented button{flex:1;background:none;border:0;border-radius:10px;padding:10px 8px;color:#6f8376;font-weight:700}.segmented button.selected{background:white;color:#254f41;box-shadow:0 2px 5px #244a3f17}.amount-wrap{display:flex;align-items:center;border-bottom:1px solid #d6e1d6}.amount-wrap span{font-size:26px;color:#254f41}.amount-wrap input{border:0;font-size:34px;height:65px;font-weight:750;min-width:0}.primary,.secondary,.danger{width:100%;border-radius:12px;padding:13px;border:0;font-weight:800;margin-top:10px}.primary{color:white;background:#254f41}.secondary{color:#254f41;background:#edf3ec}.danger{color:#aa4b44;background:#fff2f0}.period{margin-bottom:17px}.period button{font-size:13px}.stat-total{display:flex;flex-direction:column;gap:8px;background:#e9f1e7;padding:21px;border-radius:20px;margin-top:18px}.stat-total strong{font-size:31px}.stat-total span{font-size:12px;color:#728b79}.composition{padding:6px 16px}.composition button,.trend-row{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;padding:12px 0;border-bottom:1px solid #eef1ec;color:#2d4435;text-align:left;font-size:12px}.composition button:last-child,.trend-row:last-child{border-bottom:0}.composition span,.trend-row span{width:40px;flex:none}.composition b,.trend-row b{min-width:76px;text-align:right;font-size:12px}.bar-track{height:8px;border-radius:20px;background:#edf2ed;overflow:hidden;flex:1}.bar-track i{display:block;height:100%;background:#79a68a;border-radius:20px}.trend{padding:5px 16px;max-height:360px;overflow:auto}.trend-row span{width:48px}.settings .setting-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf1ec;font-size:13px;gap:10px}.settings .setting-row b{overflow-wrap:anywhere;text-align:right}.hint{font-size:12px;line-height:1.6;color:#86958a;margin:16px 4px}.conflict{margin-top:16px}.conflict p{font-size:13px;color:#6b7f70}.auth-page{min-height:100dvh;display:grid;place-items:center;padding:22px}.auth-inner{max-width:440px;width:100%}.auth-inner .eyebrow{margin-top:55px}.auth-inner h1{font-size:36px;margin-bottom:28px}.auth-inner .card h2{margin-bottom:17px}.auth-inner .card p{line-height:1.6}.message{color:#ae4b42;font-size:13px;line-height:1.5}@media(max-width:380px){.frame{padding-left:14px;padding-right:14px}.hero-number{font-size:32px}.entry{gap:8px;padding:13px 10px}.entry b{font-size:12px}}
.text-button{display:block;margin:15px auto 3px;padding:8px;border:0;background:none;color:#315e48;font-size:13px;text-decoration:underline}
