@font-face{font-family:Inter Variable;src:url(/assets/inter-latin-wght-Dx4kXJAl.woff2)format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}:root{--bg:#fff;--surface:#f8f8fa;--surface-2:#eeeef2;--text:#111114;--text-2:#6b6b76;--text-3:#a3a3ad;--accent:#7b6cf6;--income:#2e9e6b;--over:#d64545;--radius:20px;--font:"Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji"}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{touch-action:manipulation;background:var(--bg);color:var(--text);font-family:var(--font);margin:0;font-size:16px;line-height:1.35}body{-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}input,textarea{font:inherit;color:inherit}h1,h2,h3,p{margin:0}.app{max-width:480px;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 20px) 20px 140px;margin:0 auto}.label{color:var(--text-2);font-size:13px;font-weight:500}.title{letter-spacing:-.02em;font-size:28px;font-weight:650}.hero{align-items:baseline;gap:6px;margin-top:4px;display:flex}.hero .rp{color:var(--text-2);font-size:23px;font-weight:500}.hero .num{letter-spacing:-.03em;font-size:46px;font-weight:600;line-height:1.05}.muted{color:var(--text-2)}.income{color:var(--income)}.over{color:var(--over)}.top{justify-content:space-between;align-items:center;gap:8px;min-height:36px;display:flex}.pill-note{background:var(--surface);color:var(--text-2);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600}.pill-note.warn{color:var(--over);background:#fdecec}.greeting{letter-spacing:-.02em;margin:14px 0 2px;font-size:28px;font-weight:620}.card{background:var(--surface);border-radius:var(--radius);padding:6px 16px}.card.pad{padding:16px}.section{margin-top:28px}.section-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.row{text-align:left;align-items:center;gap:12px;width:100%;padding:12px 0;display:flex}.row+.row{border-top:1px solid #ececf0}.row .grow{flex:1;min-width:0}.row .name{white-space:nowrap;text-overflow:ellipsis;font-weight:570;overflow:hidden}.row .sub{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.row .amt{white-space:nowrap;text-align:right;font-weight:570}.row .end{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.icon{border-radius:50%;flex:none;place-items:center;width:44px;height:44px;font-size:21px;display:grid}.icon.lg{width:64px;height:64px;font-size:30px}.icon.sm{width:36px;height:36px;font-size:17px}.chip{background:var(--surface);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:14px;font-weight:500;display:inline-flex}.chip.on{background:var(--text);color:#fff}.chip.small{background:var(--surface-2);padding:5px 10px;font-size:12px;font-weight:600}.chips{scrollbar-width:none;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chips.wrap{flex-wrap:wrap;overflow:visible}.more{text-align:left;width:100%;color:var(--text-2);padding:6px 0 12px;font-size:13px;font-weight:500;display:block}.empty{text-align:center;color:var(--text-2);padding:22px 4px;font-size:14px}.btn{background:var(--surface);border-radius:999px;justify-content:center;align-items:center;gap:8px;height:52px;padding:0 22px;font-weight:600;display:inline-flex}.btn.dark{background:var(--text);color:#fff}.btn.dark[disabled]{background:var(--surface-2);color:var(--text-3);cursor:default}.btn.block{width:100%}.btn.danger{color:var(--over);background:#fdf1f1}.bar{background:var(--surface-2);border-radius:3px;height:5px;margin:6px 0 4px;overflow:hidden}.bar>i{background:var(--accent);border-radius:3px;height:100%;display:block}.bar.thick{background:var(--surface-2);height:6px}.bar.thick>i{background:var(--text)}.cat-row{padding:10px 0}.cat-row .line{align-items:center;gap:12px;display:flex}.cat-row .meta{flex:1;min-width:0}.cat-row .top2{justify-content:space-between;font-weight:600;display:flex}.daily{width:100%;height:150px;display:block}.daily text{fill:var(--text-3);text-anchor:middle;font-size:11px;font-family:var(--font)}.tabbar-wrap{left:0;right:0;bottom:calc(env(safe-area-inset-bottom) + 14px);pointer-events:none;z-index:20;justify-content:center;display:flex;position:fixed}.tabbar{pointer-events:auto;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;border-radius:999px;align-items:center;gap:4px;padding:6px;display:flex;box-shadow:0 8px 30px #11111424,0 0 0 1px #1111140d}.tab{width:84px;height:56px;color:var(--text-2);border-radius:999px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:600;display:flex}.tab.on{background:var(--surface);color:var(--text)}.tab svg{width:22px;height:22px}.add-btn{background:var(--text);color:#fff;border-radius:50%;place-items:center;width:56px;height:56px;margin-left:4px;display:grid}.add-btn svg{width:24px;height:24px}.overlay{z-index:40;background:#11111466;justify-content:center;align-items:flex-end;animation:.2s fade;display:flex;position:fixed;inset:0}.sheet{background:#fff;border-radius:28px 28px 0 0;flex-direction:column;width:100%;max-width:480px;max-height:92dvh;animation:.26s cubic-bezier(.2,.8,.2,1) rise;display:flex}.sheet .grab{background:var(--surface-2);border-radius:3px;flex:none;width:40px;height:5px;margin:10px auto 0}.sheet-head{flex:none;justify-content:space-between;align-items:center;min-height:56px;padding:12px 20px 4px;display:flex}.sheet-head h2{font-size:20px;font-weight:650}.x{background:var(--surface);border-radius:50%;place-items:center;width:40px;height:40px;font-size:18px;display:grid}.sheet-body{overscroll-behavior:contain;flex:1;padding:8px 20px 20px;overflow-y:auto}.sheet-foot{padding:12px 20px calc(env(safe-area-inset-bottom) + 16px);flex:none}@keyframes rise{0%{transform:translateY(100%)}to{transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}.opt{text-align:left;align-items:center;gap:14px;width:100%;padding:16px 4px;font-weight:500;display:flex}.opt+.opt{border-top:1px solid var(--surface-2)}.radio{border:2px solid var(--text-3);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:grid}.opt.on .radio{border-color:var(--text)}.opt.on .radio:after{content:"";background:var(--text);border-radius:50%;width:10px;height:10px}.seg{background:var(--surface);border-radius:999px;gap:2px;padding:4px;display:flex}.seg button{height:40px;color:var(--text-2);border-radius:999px;flex:1;font-size:14px;font-weight:600}.seg button.on{color:var(--text);background:#fff;box-shadow:0 1px 4px #1111141f}.amount{justify-content:center;align-items:baseline;gap:8px;padding:22px 0 14px;display:flex}.amount .rp{color:var(--text-2);font-size:22px;font-weight:500}.amount input{letter-spacing:-.03em;text-align:left;background:0 0;border:0;outline:none;width:100%;max-width:260px;padding:0;font-size:44px;font-weight:600}.amount input::placeholder{color:var(--text-3)}.field{background:var(--surface);border:0;border-radius:16px;outline:none;width:100%;margin-top:10px;padding:14px 16px;display:block}.field::placeholder{color:var(--text-3)}.group-label{color:var(--text-2);margin:18px 0 8px;font-size:13px;font-weight:600}.cat-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.cat-tile{background:var(--surface);text-align:center;border-radius:16px;flex-direction:column;align-items:center;gap:4px;min-height:74px;padding:10px 4px;font-size:11.5px;font-weight:500;line-height:1.2;display:flex}.cat-tile .e{font-size:24px;line-height:1}.cat-tile.on{background:var(--text);color:#fff}.wallet-chip{border-radius:16px;flex-direction:column;align-items:flex-start;gap:0;padding:9px 14px}.wallet-chip small{opacity:.65;font-size:11.5px;font-weight:500}.detail-top{text-align:center;padding:8px 0 4px}.detail-top .amt{letter-spacing:-.03em;margin-top:8px;font-size:40px;font-weight:600}.detail-top .amt small{color:var(--text-2);margin-right:2px;font-size:20px;font-weight:500}.detail-actions{gap:10px;margin:18px 0;display:flex}.detail-actions .btn{flex:1;height:48px}.kv{justify-content:space-between;gap:16px;padding:13px 0;display:flex}.kv+.kv{border-top:1px solid var(--surface-2)}.kv .k{color:var(--text-2)}.kv .v{text-align:right;font-weight:600}.toast{left:50%;bottom:calc(env(safe-area-inset-bottom) + 92px);background:var(--text);color:#fff;z-index:60;white-space:nowrap;border-radius:999px;align-items:center;gap:16px;padding:12px 18px;font-size:14px;font-weight:500;animation:.2s rise;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #11111440}.toast button{color:#b9aefc;font-weight:700}.center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100dvh;padding:24px;display:flex}.logo{background:var(--text);border-radius:22px;place-items:center;width:72px;height:72px;display:grid}.logo svg{width:38px;height:38px}.search{background:var(--surface);border-radius:999px;align-items:center;gap:10px;height:48px;margin:14px 0 12px;padding:0 16px;display:flex}.search input{background:0 0;border:0;outline:none;flex:1;min-width:0}.day-head{color:var(--text-2);justify-content:space-between;align-items:baseline;margin:22px 0 8px;font-size:13px;font-weight:600;display:flex}.detail-top .icon{margin:0 auto}.sky{margin:calc(-1 * (env(safe-area-inset-top) + 20px)) -20px 0;padding:calc(env(safe-area-inset-top) + 20px) 20px 0;background:linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 78%, #fff 100%)}.top .eye{width:30px;height:30px;color:var(--text-2);border-radius:50%;place-items:center;margin-left:4px;display:grid}.top .eye svg{width:18px;height:18px}.top .grow-sp{flex:1}.oink-row{justify-content:space-between;align-items:flex-end;gap:10px;margin-top:14px;display:flex;position:relative}.bubble{background:#ffffffd9;border-radius:16px;max-width:210px;margin-bottom:26px;padding:9px 13px;font-size:13px;font-weight:500;line-height:1.3;position:relative;box-shadow:0 1px #1111140a}.bubble:after{content:"";background:#ffffffd9;border-radius:2px;width:10px;height:10px;position:absolute;bottom:12px;right:-5px;transform:rotate(45deg)}.piggy{z-index:0;transform-origin:50% 90%;width:92px;height:auto;margin-bottom:-16px;margin-right:10px;animation:3.6s ease-in-out infinite bob;position:relative}.sky+.section{z-index:1;position:relative}@keyframes bob{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-2px)rotate(-1.5deg)}}@media (prefers-reduced-motion:reduce){.piggy{animation:none}}.month .month-top{justify-content:space-between;display:flex}.month-num{letter-spacing:-.02em;align-items:baseline;gap:5px;margin-top:2px;font-size:26px;font-weight:600;display:flex}.month-num .rp{color:var(--text-2);letter-spacing:0;font-size:15px;font-weight:500}.month .bar.thick{margin:8px 0}*{touch-action:manipulation;-webkit-tap-highlight-color:transparent}input,textarea,select{font-size:16px}.amount input{font-size:44px}.keypad{-webkit-user-select:none;user-select:none;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px;display:grid}.key{background:var(--surface);border-radius:14px;place-items:center;height:46px;font-size:20px;font-weight:560;display:grid}.key:active{background:var(--surface-2)}.key.alt{color:var(--text-2)}
