page{--brand:#ff6b35;--brand-dark:#e55a2b;--brand-light:#fff2ec;--success:#22c55e;--danger:#ef4444;--warning:#f59e0b;--text:#1f2937;--text-secondary:#6b7280;--text-muted:#9ca3af;--bg:#f8fafc;--surface:#fff;--surface-muted:#f1f5f9;--border:#e2e8f0;background:var(--bg);color:var(--text);font-family:-apple-system,PingFang SC,Microsoft YaHei,sans-serif;font-size:.7rem}body{--brand:#ff6b35;--brand-dark:#e55a2b;--brand-light:#fff2ec;--success:#22c55e;--danger:#ef4444;--warning:#f59e0b;--text:#1f2937;--text-secondary:#6b7280;--text-muted:#9ca3af;--bg:#f8fafc;--surface:#fff;--surface-muted:#f1f5f9;--border:#e2e8f0;background:var(--bg);color:var(--text);font-family:-apple-system,PingFang SC,Microsoft YaHei,sans-serif;font-size:.7rem;margin:0}.cal-sheet-tabbar{padding-bottom:calc(3.3rem + env(safe-area-inset-bottom))!important}@media (min-width:540px){html{background:#e2e8f0;font-size:.55rem!important}body{box-shadow:0 0 .8rem rgba(15,23,42,.08);margin:0 auto!important;max-width:10.75rem;min-height:100vh;position:relative}.kb-dock,.numpad,.taro-tabbar__tabbar,.txe-actions{left:50%!important;max-width:10.75rem;right:auto!important;transform:translateX(-50%);width:100%}.cal-sheet{max-width:10.75rem}.fab-record{right:calc(50% - 4.875rem)!important}}taro-view-core{box-sizing:border-box}.page-wrap{min-height:100vh;padding-bottom:3rem}.card{background:var(--surface);border-radius:.6rem;box-shadow:0 .05rem .2rem rgba(0,0,0,.04);margin:.6rem .8rem;padding:.6rem}.card-title{align-items:center;display:flex;font-size:.75rem;font-weight:600;justify-content:space-between;margin-bottom:.5rem}.card-more{color:var(--text-muted);font-size:.6rem}.hero-card{background:linear-gradient(135deg,#2d3561,#1a2040);border-radius:.8rem;color:#fff;margin:.6rem .8rem 0;padding:1rem}.hero-label{font-size:.6rem;opacity:.7}.hero-amount{font-size:1.4rem;font-weight:700;margin:.2rem 0 .7rem}.hero-row{display:flex;gap:1.2rem}.hero-col .label{font-size:.55rem;opacity:.6}.hero-col .amount{font-size:.8rem;font-weight:600;margin-top:.1rem}.hero-col.income .amount{color:#6ee7b7}.hero-col.expense .amount{color:#fca5a5}.tx-item{align-items:center;border-bottom:.025rem solid #f1f5f9;display:flex;gap:.6rem;padding:.5rem 0}.tx-item:last-child{border-bottom:none}.tx-icon-wrap{align-items:center;border-radius:50%;display:flex;flex-shrink:0;font-size:1rem;height:2rem;justify-content:center;width:2rem}.tx-main{flex:1;min-width:0}.tx-cat{font-size:.7rem;font-weight:500}.tx-note{color:var(--text-muted);font-size:.55rem;margin-top:.1rem}.tx-amount{font-size:.75rem;font-weight:600;white-space:nowrap}.tx-amount.income{color:var(--success)}.filter-bar{background:var(--bg);display:flex;gap:.4rem;overflow-x:auto;padding:.4rem .8rem;position:sticky;top:0;z-index:40}.filter-chip{background:var(--surface);border:.05rem solid var(--border);border-radius:1rem;color:var(--text-secondary);flex-shrink:0;font-size:.65rem;padding:.3rem .7rem}.filter-chip.active{background:var(--brand);border-color:var(--brand);color:#fff}.budget-bar{background:var(--surface-muted);border-radius:.2rem;height:.4rem;margin:.5rem 0 .4rem;overflow:hidden}.budget-fill{background:linear-gradient(90deg,var(--brand),var(--warning));border-radius:.2rem;height:100%;transition:width .3s}.budget-fill.over{background:var(--danger)}.budget-info{color:var(--text-secondary);display:flex;font-size:.6rem;justify-content:space-between}.calendar-wrap{background:var(--surface);border-radius:.6rem;margin:0 .8rem;padding:.6rem}.cal-head{align-items:center;display:flex;font-size:.7rem;font-weight:600;justify-content:space-between;padding:.2rem 0 .5rem}.cal-nav{color:var(--text-muted);font-size:.8rem;padding:.2rem .6rem}.cal-week{color:var(--text-muted);font-size:.55rem;padding-bottom:.3rem;text-align:center}.cal-grid{gap:.2rem}.cal-day{align-items:center;aspect-ratio:1;border-radius:.4rem;display:flex;flex-direction:column;font-size:.65rem;justify-content:center;position:relative}.cal-day.empty{visibility:hidden}.cal-day.selected{background:var(--brand);color:#fff}.cal-day.today:not(.selected){color:var(--brand);font-weight:600}.cal-day-dot{background:#ff6b35;border-radius:50%;height:.25rem;margin-top:.1rem;width:.25rem}.cal-day.selected .cal-day-dot{background:#fff}.record-tabs{background:var(--surface);border-bottom:.05rem solid var(--border);display:flex}.record-tab{color:var(--text-muted);flex:1;font-size:.75rem;font-weight:500;padding:.7rem 0;position:relative;text-align:center}.record-tab.active{color:var(--brand);font-weight:600}.record-tab.active::after{background:var(--brand);border-radius:.1rem;bottom:0;content:"";height:.15rem;left:50%;position:absolute;transform:translateX(-50%);width:1.4rem}.amount-display{background:var(--surface);border-bottom:.05rem solid var(--border);padding:1.2rem 1rem .8rem;text-align:right}.amount-prefix{color:var(--text-muted);font-size:.9rem}.amount-value{font-size:2rem;font-weight:700}.amount-formula{color:var(--text-muted);display:block;font-size:.65rem;margin-bottom:.2rem}.cat-grid{background:var(--surface);border-bottom:.05rem solid var(--border);display:grid;gap:.4rem;grid-template-columns:repeat(5,1fr);padding:.6rem}.cat-item{align-items:center;border-radius:.4rem;display:flex;flex-direction:column;gap:.3rem;padding:.4rem 0}.cat-item.selected{background:var(--brand-light)}.cat-icon{align-items:center;background:var(--surface-muted);border-radius:50%;display:flex;font-size:1rem;height:2.2rem;justify-content:center;width:2.2rem}.cat-item.selected .cat-icon{background:var(--brand);color:#fff}.cat-name{color:var(--text-secondary);font-size:.55rem}.cat-item.selected .cat-name{color:var(--brand);font-weight:600}.record-field-row{align-items:center;background:var(--surface);border-bottom:.05rem solid #f1f5f9;display:flex;gap:.6rem;padding:.7rem .8rem}.field-label{color:var(--text-muted);flex-shrink:0;font-size:.7rem;width:2.4rem}.field-value{flex:1;font-size:.75rem}.numpad{align-items:stretch;background:#fff;border-top:.05rem solid var(--border);bottom:0;display:flex;left:0;padding-bottom:env(safe-area-inset-bottom);position:fixed;right:0;z-index:100}.numpad-side{display:flex;flex-direction:column;flex-shrink:0;width:2.4rem}.side-btn{align-items:center;border-right:.05rem solid var(--border);color:var(--text-secondary);display:flex;flex:1;font-size:.65rem;justify-content:center;position:relative}.side-btn.active{color:var(--success);font-weight:600}.side-btn.active::before{background:var(--success);border-radius:0 .1rem .1rem 0;content:"";height:1rem;left:0;position:absolute;top:50%;transform:translateY(-50%);width:.15rem}.numpad-main{display:grid;flex:1;gap:.05rem;grid-auto-rows:2.4rem;grid-template-columns:repeat(4,1fr);padding:.05rem}.numpad-btn{align-items:center;background:var(--surface-muted);border-radius:.2rem;display:flex;font-size:1rem;font-weight:500;justify-content:center}.numpad-btn:active{background:#e2e8f0}.numpad-btn.op{font-size:1rem}.numpad-btn.op.active{background:var(--brand-light);color:var(--brand)}.numpad-btn.ok{background:var(--brand);color:#fff;font-size:.75rem;font-weight:600;grid-column:4;grid-row:span 2}.numpad-btn.ok:active{background:var(--brand-dark)}.cat-chips-bar{background:var(--surface);border-bottom:.05rem solid var(--border);width:100%}.cat-chips-inner{display:inline-flex;gap:.4rem;padding:.5rem .6rem}.cat-chip{background:var(--surface-muted);border-radius:1rem;color:var(--text-secondary);flex-shrink:0;font-size:.65rem;padding:.3rem .8rem}.cat-chip.active{background:var(--brand-light);color:var(--brand);font-weight:600}.settings-group{background:var(--surface);border-radius:.6rem;margin:.6rem .8rem;overflow:hidden}.settings-item{align-items:center;border-bottom:.05rem solid #f1f5f9;display:flex;gap:.6rem;padding:.7rem .8rem}.settings-item:last-child{border-bottom:none}.settings-item-icon{align-items:center;border-radius:.4rem;display:flex;flex-shrink:0;font-size:.8rem;height:1.6rem;justify-content:center;width:1.6rem}.settings-item-label{flex:1;font-size:.7rem}.settings-item-value{color:var(--text-muted);font-size:.65rem}.settings-item-arrow{color:var(--text-muted);font-size:.8rem}.profile-card{align-items:center;background:linear-gradient(135deg,var(--brand),var(--brand-dark));border-radius:.8rem;color:#fff;display:flex;gap:.7rem;margin:.6rem .8rem;padding:1rem}.avatar{align-items:center;background:hsla(0,0%,100%,.25);border-radius:50%;display:flex;flex-shrink:0;font-size:1rem;font-weight:600;height:2.4rem;justify-content:center;width:2.4rem}.profile-name{font-size:.8rem;font-weight:600}.profile-book{font-size:.6rem;margin-top:.1rem;opacity:.85}.budget-summary{background:linear-gradient(135deg,var(--brand),var(--brand-dark));border-radius:.8rem;color:#fff;margin:.6rem .8rem;padding:1rem}.budget-summary .label{font-size:.6rem;opacity:.8}.budget-summary .total{font-size:1.4rem;font-weight:700;margin:.2rem 0 .6rem}.budget-item{background:var(--surface);border-radius:.6rem;margin:0 .8rem .5rem;padding:.7rem .8rem}.budget-item-head{align-items:center;display:flex;justify-content:space-between;margin-bottom:.4rem}.budget-item-name{align-items:center;display:flex;font-size:.7rem;font-weight:500;gap:.4rem}.budget-item-amount{color:var(--text-secondary);font-size:.65rem}.budget-add{align-items:center;background:var(--surface);border:.05rem dashed var(--border,#cbd5e1);border-radius:.6rem;display:flex;gap:.5rem;margin:.2rem .8rem .6rem;padding:.55rem .7rem}.budget-add-plus{align-items:center;background:var(--brand-light,#fff2ec);border-radius:.4rem;color:var(--brand,#ff6b35);display:flex;flex-shrink:0;font-size:.85rem;font-weight:600;height:1.6rem;justify-content:center;width:1.6rem}.budget-add-main{flex:1}.budget-add-title{color:var(--text-primary,#1f2937);font-size:.65rem;font-weight:500}.budget-add-hint{color:var(--text-muted,#94a3b8);font-size:.5rem;margin-top:.1rem}.budget-add-arrow{color:var(--text-muted,#94a3b8);font-size:.8rem}.cal-mask{align-items:flex-end;background:rgba(0,0,0,.5);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1200}.cal-sheet{background:#fff;border-radius:.6rem .6rem 0 0;padding:.4rem .6rem calc(.8rem + env(safe-area-inset-bottom));width:100%}.cal-done{color:#f5a623;font-size:.75rem;padding:.2rem .2rem 0;text-align:right}.cal-nav{align-items:center;display:flex;justify-content:space-between;padding:.4rem .2rem .2rem}.cal-arrow{color:#374151;font-size:1rem;line-height:1;padding:0 .6rem}.cal-title{color:#1f2937;font-size:.8rem;font-weight:600}.cal-week{display:grid;grid-template-columns:repeat(7,1fr);padding:.3rem 0 .1rem}.cal-week taro-text-core{color:#9ca3af;font-size:.65rem;text-align:center}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr)}.cal-cell{display:flex;justify-content:center;padding:.2rem 0}.cal-day-circle{align-items:center;border-radius:50%;color:#374151;display:flex;font-size:.7rem;height:1.8rem;justify-content:center;width:1.8rem}.cal-day-circle.on{background:#f5b083;color:#fff}.period-switch{background:var(--surface);border-radius:.4rem;display:flex;gap:.1rem;margin:.6rem .8rem;padding:.2rem}.period-switch taro-view-core{border-radius:.3rem;color:var(--text-secondary);flex:1;font-size:.6rem;padding:.4rem 0;text-align:center;white-space:nowrap}.period-switch taro-view-core.active{background:var(--brand);color:#fff;font-weight:600}.settings-item.sub-item{padding-left:2.2rem}.fab-record{align-items:center;background:linear-gradient(135deg,#ff8a5c,#ff6b35);border-radius:50%;bottom:4.5rem;box-shadow:0 .2rem .6rem rgba(255,107,53,.4);display:flex;flex-direction:column;height:2.8rem;justify-content:center;position:fixed;right:1rem;width:2.8rem;z-index:50}.fab-record-plus{color:#fff;font-size:1rem;font-weight:600;line-height:1rem}.fab-record-text{color:#fff;font-size:.5rem;margin-top:.05rem}.acc-flows{align-items:flex-end;display:flex;flex-direction:column}.acc-flows-item{font-size:.6rem;line-height:.85rem}.pie-bar{border-radius:.3rem;display:flex;height:.6rem;margin-bottom:.6rem;overflow:hidden;width:100%}.pie-seg{height:100%}