:root{--green:#1a7f5a;--green-soft:#eef6f2;--orange:#e8a35c;--red:#c0392b;--bg:#f6f6f8;--card:#fff;--text:#111;--muted:#888;--line:#e4e4e8;--track:#ececf0;--tab-h:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:-apple-system,BlinkMacSystemFont,system-ui,sans-serif}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}body{overscroll-behavior-y:none}button,input,select,textarea{font:inherit;color:inherit}input,select,textarea{font-size:16px}.app{max-width:520px;min-height:100dvh;margin:0 auto}.screen{padding:calc(env(safe-area-inset-top) + 16px) 16px calc(var(--tab-h) + env(safe-area-inset-bottom) + 24px)}.screen h1{margin:4px 0 12px;font-size:22px}.topline{justify-content:space-between;align-items:center;min-height:44px;display:flex}.muted{color:var(--muted);font-size:13px}.green{color:var(--green)}.red{color:var(--red)}.orange{color:#d35400}.card{background:var(--card);border-radius:14px;margin:12px 0;padding:12px 14px;box-shadow:0 1px 2px #0000000d}.card-h{color:#555;justify-content:space-between;align-items:center;min-height:24px;margin-bottom:8px;font-size:14px;font-weight:600;display:flex}.row{justify-content:space-between;align-items:center;gap:8px;min-height:32px;display:flex}.row>:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.list-item{border-bottom:1px solid var(--line);text-align:left;background:0 0;border-top:0;border-left:0;border-right:0;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:52px;padding:6px 0;display:flex}.list-item:last-child{border-bottom:0}.sub{color:var(--muted);font-size:12px}.bar{background:var(--track);border-radius:3px;height:6px;margin:4px 0 10px;overflow:hidden}.bar.big{height:8px}.bar>i{background:var(--green);border-radius:3px;height:100%;display:block}.btn{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:12px;min-height:44px;padding:0 16px;font-weight:600}.btn:disabled{opacity:.5}.btn.secondary{background:var(--green-soft);color:var(--green)}.btn.danger{color:var(--red);background:#fdecea}.btn.block{width:100%}.link{color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;min-height:44px;padding:0;font-weight:500;text-decoration:none;display:inline-flex}.icon-btn{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;font-size:20px;text-decoration:none;display:inline-flex}.field{color:#555;flex-direction:column;gap:4px;margin:10px 0;font-size:13px;display:flex}.field input,.field select{border:1px solid var(--line);width:100%;min-width:0;min-height:44px;color:var(--text);background:#fff;border-radius:10px;padding:0 12px}.fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px;display:grid}.check{align-items:center;gap:10px;min-height:44px;display:flex}.check input{width:22px;height:22px;accent-color:var(--green)}.chips{flex-wrap:wrap;gap:8px;margin:6px 0;display:flex}.chip{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:20px;min-height:40px;padding:0 12px}.chip[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}.tag{background:var(--green-soft);color:var(--green);border-radius:10px;padding:1px 8px;font-size:12px}.tabbar{z-index:10;padding:6px 4px calc(env(safe-area-inset-bottom) + 6px);background:#fff;border-top:1px solid #ddd;justify-content:space-around;align-items:center;max-width:520px;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar a{color:#666;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:48px;font-size:11px;text-decoration:none;display:flex}.tabbar a b{font-size:20px;line-height:1.2}.tabbar a.active{color:var(--green)}.tabbar a.plus{flex:none}.tabbar a.plus span{background:var(--green);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin-top:-24px;font-size:30px;display:flex;box-shadow:0 3px 8px #00000040}.toast{z-index:30;max-width:496px;left:12px;right:12px;bottom:calc(var(--tab-h) + env(safe-area-inset-bottom) + 12px);color:#fff;background:#1c1c1e;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;min-height:48px;margin:0 auto;padding:6px 6px 6px 14px;display:flex;position:fixed}.toast button{color:#7fe0b6;cursor:pointer;background:0 0;border:0;min-height:44px;padding:0 12px;font-weight:700}.sheet-backdrop{z-index:40;background:#00000059;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:520px;padding:16px 16px calc(env(safe-area-inset-bottom) + 16px);background:#fff;border-radius:18px 18px 0 0;max-height:90dvh;overflow:auto}.sheet h2{margin:0 0 10px;font-size:18px}.sheet .actions{gap:10px;margin-top:16px;display:flex}.sheet .actions>*{flex:1}.big-money{font-size:30px;font-weight:700}.notice{background:#fff7e6;border-radius:12px;margin:8px 0;padding:10px 12px;font-size:14px}.empty{text-align:center;color:var(--muted);padding:24px 0}
