:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f6ef;--surface:#fffef8;--surface-strong:#fff;--ink:#17211d;--muted:#667067;--line:#dce2d6;--teal:#0b8068;--teal-soft:#d8eee7;--coral:#e45d4f;--coral-soft:#f8dfd9;--indigo:#3d56a3;--gold:#c39122;--shadow:0 18px 45px #1d2b231f;--radius:8px;font-family:Microsoft YaHei,微软雅黑,sans-serif}*{box-sizing:border-box}html{background:#e8eee6;min-height:100%}body{background:var(--bg);min-height:100%;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0}html.sheet-lock,html.sheet-lock body{overscroll-behavior:none;height:100%;overflow:hidden}button,input{font:inherit}button{cursor:pointer;border:0}button:focus-visible,input:focus-visible,.quick-selected-item:focus-visible,.category-editor-item:focus-visible{outline-offset:2px;outline:3px solid #0b80683d}.sprite{width:0;height:0;position:absolute;overflow:hidden}.app-shell{background:var(--bg);width:min(100%,480px);min-height:100svh;padding-bottom:calc(92px + env(safe-area-inset-bottom));margin:0 auto;position:relative;overflow-x:hidden}.topbar{z-index:20;padding:calc(12px + env(safe-area-inset-top)) 18px 12px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f4f6efeb;border-bottom:1px solid #dce2d6b8;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;display:grid;position:sticky;top:0}.brand-mark,.icon-button,.fab,.category-icon{place-items:center;display:inline-grid}.brand-mark{width:44px;height:44px;color:var(--teal);background:var(--teal-soft);border-radius:var(--radius);border:1px solid #0b806829}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:22px;height:22px}.brand-copy{min-width:0}.brand-copy span,.section-title span,.sheet-header span,.amount-field span,.form-grid span,.category-section-head span,.category-name-field span,.icon-picker-head span,.search-box span{color:var(--muted);font-size:12px;line-height:1.2;display:block}.brand-copy strong{letter-spacing:0;margin-top:3px;font-size:18px;line-height:1.15;display:block}.month-stepper{gap:6px;display:flex}.icon-button{width:40px;height:40px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.view{display:none}.view.active{animation:.22s both rise;display:block}.balance-hero{color:#f8fbf4;border-radius:var(--radius);min-height:154px;box-shadow:var(--shadow);background:#17332c;border:1px solid #ffffff1f;justify-content:space-between;align-items:center;padding:22px;display:flex}.balance-hero p{color:#f8fbf4b8;margin:0 0 10px;font-size:13px}.balance-hero strong{overflow-wrap:anywhere;letter-spacing:0;max-width:260px;font-size:40px;line-height:1.04;display:block}.saving-ring{--ring:0deg;background:conic-gradient(#f5c85f var(--ring), #ffffff2e 0deg);border-radius:50%;flex:none;place-items:center;width:86px;height:86px;display:grid;position:relative}.saving-ring:before{content:"";background:#17332c;border-radius:50%;width:62px;height:62px;position:absolute}.saving-ring span{font-size:16px;font-weight:800;position:relative}.metric-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 18px;display:grid}.metric{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;padding:14px 12px}.metric span{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.metric strong{overflow-wrap:anywhere;font-size:18px;line-height:1.1;display:block}.metric.income strong{color:var(--teal)}.metric.expense strong{color:var(--coral)}.metric.budget strong{color:var(--indigo)}.budget-tool,.quick-categories,.ledger-tools,.chart-panel,.trend-panel,.category-breakdown,.list-section{margin-top:18px}.budget-tool{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}.section-title{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.section-title strong{color:var(--ink);margin-top:4px;font-size:18px;line-height:1.2;display:block}.section-title>span,#chartTotal{color:var(--muted);white-space:nowrap;font-size:13px}input[type=range]{width:100%;height:26px;accent-color:var(--teal);margin:0}.budget-line{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.budget-line span{color:var(--muted);font-size:13px}.budget-line input{width:118px;min-width:0;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);text-align:right;background:#f7f9f3;padding:9px 10px}.category-strip{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.category-pill{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;padding:12px}.category-pill .category-icon{border-radius:var(--radius);width:36px;height:36px;margin-bottom:10px}.category-pill span{color:var(--muted);font-size:12px;display:block}.category-pill strong{overflow-wrap:anywhere;margin-top:4px;font-size:15px;display:block}.text-action{color:var(--teal);background:0 0;padding:6px 0 6px 12px;font-weight:700}.transaction-list{gap:10px;display:grid}.transaction-list.compact{gap:8px}.transaction-card{background:var(--surface-strong);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:44px 1fr auto;align-items:center;gap:12px;min-width:0;padding:12px;display:grid}.transaction-main{min-width:0}.transaction-title{align-items:center;gap:8px;min-width:0;display:flex}.transaction-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.2;overflow:hidden}.transaction-title span{color:var(--muted);flex:none;font-size:12px}.transaction-note{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:12px;line-height:1.3;overflow:hidden}.transaction-amount{text-align:right}.transaction-amount strong{color:var(--coral);white-space:nowrap;font-size:16px;line-height:1.2;display:block}.transaction-amount strong.income{color:var(--teal)}.transaction-actions{justify-content:flex-end;gap:4px;margin-top:8px;display:flex}.mini-button{width:30px;height:30px;color:var(--muted);border:1px solid var(--line);border-radius:var(--radius);background:#f5f7f0;place-items:center;display:inline-grid}.mini-button svg{width:17px;height:17px}.empty-state{color:var(--muted);text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius);padding:28px 18px}.ledger-tools{gap:12px;display:grid}.segmented{border:1px solid var(--line);border-radius:var(--radius);background:#e9eee3;grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;padding:4px;display:grid}.segmented button{min-height:38px;color:var(--muted);background:0 0;border-radius:6px;padding:0 12px;font-weight:800}.segmented button.active{color:var(--ink);background:var(--surface-strong);box-shadow:0 6px 16px #1d2b2314}.search-box,.amount-field,.category-name-field,.form-grid label{gap:8px;display:grid}.search-box input,.amount-field input,.category-name-field input,.form-grid input{width:100%;min-width:0;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:13px 12px}.chart-panel,.trend-panel,.category-breakdown{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}#categoryChart{width:100%;height:220px;display:block}.trend-bars{grid-template-columns:repeat(7,1fr);align-items:end;gap:8px;height:174px;padding-top:8px;display:grid}.trend-bar{text-align:center;grid-template-rows:1fr auto;gap:8px;min-width:0;height:100%;display:grid}.bar-track{border-radius:var(--radius);background:#eef2e9;align-items:flex-end;min-height:0;display:flex;position:relative;overflow:hidden}.bar-fill{background:var(--indigo);border-radius:var(--radius) var(--radius) 0 0;width:100%;min-height:6px;transition:height .26s}.trend-bar span{color:var(--muted);font-size:11px}.breakdown-row{border-top:1px solid var(--line);grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:10px 0;display:grid}.breakdown-row:first-child{border-top:0}.breakdown-main{min-width:0}.breakdown-main strong{margin-bottom:6px;font-size:14px;display:block}.progress-track{background:#ecf0e9;border-radius:999px;height:7px;overflow:hidden}.progress-fill{background:var(--teal);border-radius:999px;height:100%}.breakdown-row>strong{white-space:nowrap;font-size:14px}.bottom-nav{z-index:30;width:min(100%,480px);padding:8px 86px calc(8px + env(safe-area-inset-bottom)) 14px;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffef8f0;grid-template-columns:repeat(3,1fr);margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{min-width:0;min-height:54px;color:var(--muted);border-radius:var(--radius);background:0 0;justify-items:center;gap:4px;padding:6px 4px;font-size:11px;font-weight:800;display:grid}.bottom-nav button.active{color:var(--teal);background:var(--teal-soft)}.bottom-nav svg{width:21px;height:21px}.fab{right:max(18px,50vw - 222px);bottom:calc(18px + env(safe-area-inset-bottom));z-index:36;color:#fffdf4;background:var(--teal);border-radius:var(--radius);width:62px;height:62px;position:fixed;box-shadow:0 16px 30px #0b806852}.fab svg{stroke-width:2.2px;width:30px;height:30px}.sheet{z-index:50;display:none;position:fixed;inset:0}.sheet.open{display:block}.sheet-backdrop{background:#0a14106b;position:absolute;inset:0}.sheet-panel{width:min(100%,480px);max-height:calc(100svh - 24px);padding:18px 16px calc(18px + env(safe-area-inset-bottom));background:var(--surface-strong);border:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0;border-bottom:0;gap:16px;margin:0 auto;animation:.22s both sheetIn;display:grid;position:absolute;bottom:0;left:0;right:0;overflow:auto}.sheet-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sheet-header strong{margin-top:3px;font-size:22px;line-height:1.1;display:block}.amount-field input{letter-spacing:0;height:66px;padding:8px 12px;font-size:30px;font-weight:900}.category-section{gap:10px;display:grid}.category-section-head,.icon-picker-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.icon-picker-head{padding:0 2px}.icon-picker-head strong{color:#8d8d8d;font-size:11px;font-weight:800}.category-picker{grid-template-columns:repeat(3,1fr);gap:8px;max-height:254px;padding-right:2px;display:grid;overflow:auto}.category-option{min-width:0;min-height:76px;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);background:#f7f9f3;justify-items:center;gap:7px;padding:10px 6px;display:grid}.category-option.active{background:var(--teal-soft);border-color:#0b806852}.category-icon{width:30px;height:30px;color:var(--category-color,var(--teal));background:var(--category-bg,var(--teal-soft));border-radius:var(--radius)}.category-icon svg{width:18px;height:18px}.category-option span{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.category-panel{max-height:calc(100svh - 18px);padding:16px 14px calc(16px + env(safe-area-inset-bottom));background:#f3f3f3;border-color:#ffffffd1;border-radius:24px 24px 0 0;gap:12px;box-shadow:0 -18px 48px #0000001f}.quick-manager-panel,.category-editor-panel{display:grid}.quick-manager-panel{gap:14px}.category-editor-panel{gap:12px}.quick-manager-panel,.category-editor-panel,.recent-category-list,.category-editor-list,.quick-selected-item,.category-editor-item{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.quick-manager-panel[hidden],.category-editor-panel[hidden]{display:none}.recent-manager{gap:8px;display:grid}.recent-manager-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.recent-manager-head span{color:var(--ink);font-size:16px;font-weight:950}.recent-manager-head strong{color:var(--muted);font-size:12px;font-weight:800}.recent-category-list{touch-action:manipulation;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding-bottom:2px;display:grid;overflow:visible}.recent-category-list.sorting{touch-action:none}.quick-selected-item,.quick-pool-item{min-width:0;color:var(--muted);background:#fff;border:3px solid #0000;border-radius:18px;justify-items:center;gap:10px;padding:12px 5px 10px;display:grid;box-shadow:0 8px 22px #181f2209}.quick-selected-item{cursor:grab;touch-action:manipulation;-webkit-user-drag:none;min-width:0;min-height:92px}.quick-selected-item.selected,.quick-pool-item.selected{color:var(--ink);box-shadow:none;background:#fff;border-color:#2387ff}.quick-selected-item .category-icon,.quick-pool-item .category-icon,.category-editor-item .category-icon{background:0 0;border-radius:8px;width:34px;height:34px}.quick-selected-item .category-icon{cursor:inherit}.quick-selected-item .category-icon svg,.quick-pool-item .category-icon svg,.category-editor-item .category-icon svg{stroke-width:2.4px;width:24px;height:24px}.recent-category-list.sorting .quick-selected-item,.category-editor-list.sorting .category-editor-item,.recent-category-list.sorting .quick-selected-item .category-icon,.category-editor-list.sorting .category-editor-item .category-icon,.quick-selected-item.sortable-chosen .category-icon,.quick-selected-item.sortable-drag .category-icon,.category-editor-item.sortable-chosen .category-icon,.category-editor-item.sortable-drag .category-icon{cursor:grabbing}.quick-selected-item.sortable-chosen,.quick-selected-item.sortable-drag,.category-editor-item.sortable-chosen,.category-editor-item.sortable-drag{transform:scale(1.03);box-shadow:inset 0 0 0 2px #2387ff,0 12px 26px #2483f22e}.quick-selected-item.sortable-ghost,.category-editor-item.sortable-ghost{opacity:.35}.sheet.quick-sorting .category-panel,.sheet.category-sorting .category-panel{overflow:hidden}html.gesture-lock,html.gesture-lock body{overscroll-behavior:none;overflow:hidden}.quick-selected-item>span:not(.category-icon),.quick-pool-item>span:not(.category-icon){text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;font-weight:900;overflow:hidden}.quick-pool-section{gap:8px;display:grid}.quick-category-pool{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;max-height:232px;padding:2px 2px 4px;display:grid;overflow:auto}.quick-pool-item{min-height:92px}.quick-pool-item.added{opacity:.58}.category-actions.quick-actions{grid-template-columns:.82fr .82fr 1.1fr}.quick-manager-panel .primary-button{background:#2387ff}.danger-button{color:var(--danger)}.category-editor-list{touch-action:pan-x;grid-auto-columns:minmax(88px,1fr);grid-auto-flow:column;gap:8px;padding:2px 2px 5px;display:grid;overflow-x:auto}.category-editor-list.sorting{touch-action:none}.category-editor-item{color:#a3a3a3;cursor:grab;touch-action:manipulation;-webkit-user-drag:none;background:#fff;border:2.5px solid #0000;border-radius:18px;justify-items:center;gap:8px;min-width:88px;min-height:88px;padding:11px 5px 9px;display:grid;box-shadow:0 8px 20px #181f220a}.category-editor-item.active{color:#050505;box-shadow:none;background:#fff;border-color:#4386f5}.category-editor-item .category-icon{color:inherit}.category-editor-item>span:not(.category-icon){max-width:100%;color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:900;overflow:hidden}.icon-grid{overscroll-behavior:contain;scrollbar-gutter:stable;background:#e9e9e9;border-radius:18px;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;height:clamp(238px,31svh,288px);padding:8px;display:grid;overflow-y:auto}.icon-option{aspect-ratio:1;min-width:0;color:var(--category-color,#a3a3a3);background:#fff;border:2.5px solid #0000;border-radius:16px;place-items:center;display:grid;box-shadow:0 7px 18px #181f2209}.icon-option.active{color:var(--category-color,#050505);box-shadow:none;background:#fff;border-color:#4386f5}.icon-option svg{stroke-width:2.4px;width:24px;height:24px}.form-grid{grid-template-columns:1fr 1.35fr;gap:10px;display:grid}.category-actions{grid-template-columns:.8fr 1.35fr}.sheet-actions{grid-template-columns:.75fr 1.25fr;gap:10px;display:grid}.primary-button,.secondary-button{border-radius:var(--radius);min-height:52px;font-weight:900}.primary-button{color:#fffdf4;background:var(--teal)}.secondary-button{color:var(--ink);background:#eef2e9}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.45}body{background:#f5f5f5}.app-shell{background:#fff}#categorySheet .sheet-backdrop{background:#0000005c}#categorySheet .sheet-header{align-items:center}#categorySheet .sheet-header>div>span{color:#777;font-size:11px;font-weight:800}#categorySheet .sheet-header strong{color:#050505;margin-top:2px;font-size:20px;font-weight:950}#categorySheet .sheet-header .icon-button{color:#050505;background:#fff;border:1px solid #dedede;border-radius:14px;width:40px;height:40px}#categorySheet .sheet-header .icon-button svg{stroke-width:2.4px;width:23px;height:23px}#categorySheet .entry-type{background:#e8e8e8;border:0;border-radius:16px;gap:4px;padding:4px}#categorySheet .entry-type button{color:#8d8d8d;border-radius:13px;min-height:42px;font-size:15px;font-weight:900}#categorySheet .entry-type button.active{color:#050505;background:#fff;box-shadow:0 5px 14px #0000000f}#categorySheet .category-name-field{gap:6px}#categorySheet .category-name-field>span,#categorySheet .icon-picker-head>span{color:#777;font-size:12px;font-weight:900}#categorySheet .category-name-field input{color:#050505;background:#fff;border:2px solid #4386f5;border-radius:16px;outline:0;height:54px;padding:0 14px;font-size:16px;font-weight:800;box-shadow:0 0 0 3px #4386f529,0 8px 20px #181f220a}#categorySheet .category-name-field input:focus-visible{outline-offset:2px;outline:3px solid #4386f557}#categorySheet button:focus-visible{outline-offset:2px;outline:3px solid #4386f547}#categorySheet .icon-picker-section{gap:7px;min-height:0;display:grid}#categorySheet .category-editor-panel .category-actions .primary-button,#categorySheet .category-editor-panel .category-actions .secondary-button{border-radius:16px;min-height:52px;font-size:15px;font-weight:950}#categorySheet .category-editor-panel .category-actions .secondary-button{color:#050505;background:#fff;border:1px solid #dedede}#categorySheet .category-editor-panel .category-actions .primary-button{color:#fff;background:#4386f5}@media (height<=700px){#categorySheet .category-panel{gap:10px}#categorySheet .icon-grid{height:220px}}.topbar{min-height:76px;padding:calc(14px + env(safe-area-inset-top)) 18px 12px;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffffff5;border-bottom:1px solid #d7d7d7;grid-template-columns:1fr auto 1fr;gap:8px}.topbar-left,.topbar-actions,.month-selector{align-items:center;display:flex}.topbar-left{justify-content:flex-start;gap:14px}.topbar-actions{justify-content:flex-end;gap:14px}.topbar .icon-button{color:#050505;background:0 0;border:0;border-radius:8px;width:38px;height:38px}.topbar .icon-button svg{stroke-width:3px;width:30px;height:30px}.menu-button svg{width:34px;height:34px}.period-pill{color:#fff;background:#000;border-radius:999px;min-width:68px;height:34px;padding:0 18px;font-size:20px;font-weight:900}.month-selector{color:#050505;justify-content:center;min-width:0}.month-title-button{min-width:0;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;justify-content:center;align-items:center;padding:4px 0;font-weight:900;display:inline-flex}.month-selector strong{text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:22px;line-height:1;overflow:hidden}.month-selector .month-caret{transform-origin:50% 42%;border-top:10px solid #050505;border-left:10px solid #0000;border-right:10px solid #0000;width:0;height:0;margin-left:8px;transition:transform .18s;display:inline-block}.month-title-button[aria-expanded=true] .month-caret{transform:rotate(180deg)}.month-picker-layer[hidden]{display:none}.month-picker-layer{inset:calc(68px + env(safe-area-inset-top)) 0 0;z-index:45;pointer-events:none;justify-content:center;align-items:flex-start;display:flex;position:fixed}.month-picker-scrim{pointer-events:auto;background:#00000057;border:0;padding:0;position:absolute;inset:0}.month-picker-card{pointer-events:auto;background:#fff;border-top:1px solid #d7d7d7;border-bottom:1px solid #d7d7d7;width:min(100%,480px);padding:28px 18px 34px;position:relative}.month-picker-year{grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin-bottom:24px;display:grid}.month-picker-year strong{color:#050505;text-align:center;font-size:24px;font-weight:950;line-height:1}.month-picker-year-button{color:#050505;background:0 0;border:0;place-items:center;width:44px;height:44px;display:grid}.month-picker-year-button svg{stroke-width:4px;width:30px;height:30px}.month-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px;display:grid}.month-picker-grid button{color:#050505;background:#fff;border:3px solid #050505;border-radius:999px;min-height:54px;font-size:16px;font-weight:950;line-height:1}.month-picker-grid button.active{background:#ffd15c}.content{padding:0 16px}.month-ledger{grid-template-columns:1fr 1fr;gap:18px;padding:30px 0 8px;display:grid}.month-total{color:#050505;text-align:left;background:0 0;min-width:0}.month-total.income-total{text-align:right}.month-total span{font-size:25px;font-weight:950;line-height:1;display:inline-block;position:relative}.month-total svg{stroke-width:4px;vertical-align:-3px;width:22px;height:22px;margin-left:2px}.month-total span:after{content:"";border-radius:999px;height:8px;position:absolute;bottom:-7px;left:-2px;right:-2px}.expense-total span:after{background:#ffd257}.income-total span:after{background:#77d8ff}.month-total strong{overflow-wrap:anywhere;margin-top:18px;font-size:34px;line-height:1;display:block}.spend-stage{justify-items:center;gap:18px;padding:20px 0 26px;display:grid}.spend-orbit{aspect-ratio:1;place-items:center;width:min(76vw,310px);display:grid;position:relative}.spend-stage .saving-ring{--ring:360deg;background:conic-gradient(#ffd257 var(--ring), #f0f0f0 0deg);width:100%;height:100%;box-shadow:none;border:3px solid #050505;border-radius:50%;position:relative}.spend-stage .saving-ring:before{display:none}.spend-core{color:#050505;text-align:center;background:#fff;border:3px solid #050505;border-radius:50%;align-content:center;place-items:center;gap:6px;display:grid;position:absolute;inset:20.5%}.spend-core .coin-icon{color:#ffc648;fill:#ffc648;stroke:#050505;stroke-width:2.2px;width:28px;height:28px}.spend-core div{justify-content:center;align-items:center;gap:8px;display:inline-flex}.spend-core div span{font-size:20px;font-weight:900;position:static}.spend-core div svg{stroke-width:2.4px;width:23px;height:23px}.spend-core strong{overflow-wrap:anywhere;max-width:130px;font-size:30px;line-height:.95;display:block}.spend-core small{color:#747474;font-size:11px;font-weight:800}.pager-dots{justify-content:center;gap:16px;display:flex}.pager-dots span{background:#dedede;border-radius:50%;width:14px;height:14px}.pager-dots span.active{background:#8f8f8f}.daily-ledger{margin-top:0}.day-card{background:#fff;border:3px solid #050505;border-radius:18px;overflow:hidden}.day-card+.day-card{margin-top:12px}.day-card-head{border-bottom:3px solid #050505;justify-content:space-between;align-items:center;gap:12px;padding:18px 16px;display:flex}.day-card-head strong{min-width:0;font-size:23px;line-height:1.2}.day-card-head span{color:#ffc648;white-space:nowrap;font-size:23px;font-weight:950}.day-card-head span.income{color:#38bdf8}.day-card-body{gap:0;display:grid}.day-entry{grid-template-columns:48px 1fr auto;align-items:center;gap:16px;min-width:0;padding:18px 16px;display:grid}.day-entry+.day-entry{border-top:1px solid #ececec}.day-entry .category-icon{border:2px solid #050505;border-radius:12px;width:48px;height:48px}.day-entry .category-icon svg{stroke-width:2.5px;width:26px;height:26px}.day-entry-main{min-width:0}.day-entry-main strong{color:#050505;text-overflow:ellipsis;white-space:nowrap;font-size:22px;line-height:1.2;display:block;overflow:hidden}.day-entry-main span{color:#7a7a7a;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;display:block;overflow:hidden}.day-entry-amount{color:#050505;white-space:nowrap;font-size:20px;font-weight:950}.day-entry-amount.income{color:#0b8068}.dashboard-empty{color:#050505;background:#fff;border:3px dashed #050505;font-weight:900}.hidden-tool{display:none}body:has(#view-overview.active) .bottom-nav{display:none}body:has(#view-overview.active) .fab{left:50%;right:auto;bottom:calc(28px + env(safe-area-inset-bottom));color:#fff;width:76px;height:76px;box-shadow:none;will-change:transform;background:#ff6b6f;border:3px solid #050505;border-radius:50%;transform:translate(-50%)}body:has(#view-insights.active){background:#f4f4f4}body:has(#view-insights.active) .app-shell{padding-bottom:calc(22px + env(safe-area-inset-bottom));background:#f4f4f4}:is(body:has(#view-insights.active) .topbar,body:has(#view-insights.active) .bottom-nav,body:has(#view-insights.active) .fab){display:none}body:has(#view-insights.active) .content{padding:calc(14px + env(safe-area-inset-top)) 18px 26px}.analysis-top{grid-template-columns:42px 1fr;align-items:center;gap:12px;padding:4px 0 14px;display:grid}.analysis-back{color:#050505;background:#fff;border:1px solid #ffffffe6;border-radius:50%;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 10px 24px #181f220f}.analysis-back svg{stroke-width:2.7px;width:22px;height:22px}.analysis-top div{gap:2px;min-width:0;display:grid}.analysis-top span{color:#8f8f8f;font-size:13px;font-weight:850}.analysis-top strong{color:#050505;letter-spacing:0;font-size:22px;font-weight:950}.analysis-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:2px;display:grid}.analysis-metric{background:#fff;border:1px solid #ffffffe6;border-radius:16px;min-width:0;padding:12px 10px;box-shadow:0 10px 26px #181f220d}.analysis-metric span{color:#8f8f8f;font-size:12px;font-weight:850;display:block}.analysis-metric strong{overflow-wrap:anywhere;color:#050505;margin-top:6px;font-size:16px;font-weight:950;line-height:1.1;display:block}.analysis-metric.expense strong,.analysis-metric.balance strong.negative{color:#ef4b4f}.analysis-metric.income strong{color:#31a847}:is(body:has(#view-insights.active) .chart-panel,body:has(#view-insights.active) .trend-panel,body:has(#view-insights.active) .category-breakdown){background:#fff;border:1px solid #ffffffe6;border-radius:18px;margin-top:14px;padding:14px;box-shadow:0 10px 26px #181f220d}body:has(#view-insights.active) .section-title{align-items:center;margin-bottom:10px}body:has(#view-insights.active) .section-title span{color:#8f8f8f;font-size:12px;font-weight:850}body:has(#view-insights.active) #chartTotal{color:#8f8f8f;font-size:12px;font-weight:850}body:has(#view-insights.active) .section-title strong{color:#050505;margin-top:2px;font-size:17px;font-weight:950}body:has(#view-insights.active) #categoryChart{width:100%;height:210px;display:block}body:has(#view-insights.active) .trend-bars{gap:9px;height:118px}body:has(#view-insights.active) .bar-track{background:#f0f1ef;border-radius:999px 999px 8px 8px}body:has(#view-insights.active) .bar-fill{background:#0b8068;border-radius:999px 999px 8px 8px}body:has(#view-insights.active) .breakdown-row{border-top-color:#eee;grid-template-columns:36px 1fr auto;padding:11px 0}body:has(#view-insights.active) .breakdown-row .category-icon{background:0 0;width:34px;height:34px}:is(body:has(#view-insights.active) .breakdown-main strong,body:has(#view-insights.active) .breakdown-row>strong){color:#050505;font-size:13.8px;font-weight:900}@media (width<=360px){.content{padding-left:10px;padding-right:10px}.topbar{padding-left:12px;padding-right:12px}.balance-hero{padding:18px}.balance-hero strong{font-size:34px}.saving-ring{width:74px;height:74px}.saving-ring:before{width:52px;height:52px}.metric-grid,.category-strip,.category-picker{grid-template-columns:repeat(2,1fr)}}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes sheetIn{0%{transform:translateY(22px)}to{transform:translateY(0)}}@media (width<=360px){.month-selector strong{max-width:132px;font-size:19px}.period-pill{min-width:56px;height:32px;font-size:18px}.topbar{padding-left:12px;padding-right:12px}.topbar-left,.topbar-actions{gap:8px}.month-total span{font-size:22px}.month-total strong{font-size:29px}.spend-stage .saving-ring{width:100%;height:100%}.spend-stage .saving-ring:before{display:none}.spend-core strong{font-size:25px}.day-card-head strong,.day-card-head span,.day-entry-main strong{font-size:19px}}body:has(#view-overview.active) .topbar{min-height:66px;padding:calc(10px + env(safe-area-inset-top)) 18px 9px;background:#f7f8f6f5;border-bottom:1px solid #e2e5df}body:has(#view-overview.active) .period-pill{border-radius:999px;min-width:58px;height:31px;padding:0 16px;font-size:17px}body:has(#view-overview.active) .month-selector strong{font-size:20px;font-weight:900}body:has(#view-overview.active) .month-total span{font-size:21px;font-weight:900}body:has(#view-overview.active) .month-total svg{stroke-width:3px;vertical-align:-2px;width:18px;height:18px}body:has(#view-overview.active) .month-total span:after{opacity:.85;height:6px;bottom:-6px}body:has(#view-overview.active) .month-total strong{margin-top:15px;font-size:30px;font-weight:950}body:has(#view-overview.active) .spend-stage .saving-ring{background:conic-gradient(#ffd15c var(--ring), #ecefeb 0deg);border:2px solid #161616}body:has(#view-overview.active) .spend-core{border:2px solid #161616;gap:4px;inset:23%}body:has(#view-overview.active) .spend-core div svg{stroke-width:2.1px;width:19px;height:19px}.compact-tool{display:block}body:has(#view-overview.active) .compact-budget{background:#fff;border:1px solid #e1e5df;border-radius:12px;margin-top:12px;padding:13px 14px;box-shadow:0 10px 28px #1418140d}body:has(#view-overview.active) .compact-budget .section-title{align-items:center;margin-bottom:9px}body:has(#view-overview.active) .compact-budget .budget-line input{background:#f7f8f6;width:108px;padding:7px 9px}body:has(#view-overview.active) .day-card{background:#fff;border:1.5px solid #151515;border-radius:14px;box-shadow:0 12px 32px #1418140f}body:has(#view-overview.active) .day-card-head{border-bottom:1.5px solid #151515;padding:15px 14px}body:has(#view-overview.active) .day-entry .category-icon{border:1.5px solid #151515;border-radius:11px;width:42px;height:42px}body:has(#view-overview.active) .day-entry .category-icon svg{stroke-width:2.2px;width:22px;height:22px}body:has(#view-overview.active) .day-entry-main strong{font-size:18px;font-weight:900}body:has(#view-overview.active) .category-strip{grid-template-columns:none;grid-auto-columns:minmax(118px,1fr);grid-auto-flow:column;gap:9px;padding-bottom:2px;display:grid;overflow-x:auto}body:has(#view-overview.active) .category-pill{background:#fff;border:1px solid #e1e5df;border-radius:12px;padding:10px;box-shadow:0 8px 24px #1418140a}body:has(#view-overview.active) .dashboard-empty{background:#fff;border:1.5px dashed #151515;border-radius:14px}body:has(#view-overview.active) .fab{background:#ff7477;border:2px solid #151515;width:68px;height:68px;box-shadow:0 14px 28px #ff747747}body:has(#view-overview.active) .fab svg{stroke-width:2.4px;width:36px;height:36px}@media (width<=360px){body:has(#view-overview.active) .content{padding-left:12px;padding-right:12px}body:has(#view-overview.active) .month-selector strong{max-width:128px;font-size:18px}:is(body:has(#view-overview.active) .topbar-left,body:has(#view-overview.active) .topbar-actions){gap:6px}body:has(#view-overview.active) .month-total span{font-size:19px}body:has(#view-overview.active) .month-total strong{font-size:26px}body:has(#view-overview.active) .spend-orbit{width:min(72vw,260px)}}:is(body:has(#view-overview.active) .topbar-left,body:has(#view-overview.active) .topbar-actions){gap:8px}body:has(#view-overview.active) .topbar .icon-button svg{width:22px;height:22px}body:has(#view-overview.active) .month-ledger{gap:12px;padding:17px 0 2px}body:has(#view-overview.active) .month-total svg{width:15px;height:15px}body:has(#view-overview.active) .spend-core{inset:24%}body:has(#view-overview.active) .compact-budget{border-radius:10px;margin-top:9px;padding:10px 12px}:is(body:has(#view-overview.active) .compact-budget .section-title span,body:has(#view-overview.active) .compact-budget .budget-line span){font-size:11px}body:has(#view-overview.active) .compact-budget .budget-line input{width:92px;padding:5px 8px;font-size:12px}body:has(#view-overview.active) .day-card{border-radius:12px}body:has(#view-overview.active) .day-card-head{padding:12px}body:has(#view-overview.active) .day-entry .category-icon{border-radius:9px;width:36px;height:36px}body:has(#view-overview.active) .compact-categories .section-title span{font-size:11px}body:has(#view-overview.active) .compact-categories .section-title strong{font-size:14px}body:has(#view-overview.active) .fab{bottom:calc(20px + env(safe-area-inset-bottom));width:58px;height:58px}html,body,button,input{font-family:Microsoft YaHei,微软雅黑,sans-serif!important}body:has(#view-overview.active) .topbar{min-height:68px;padding:calc(6px + env(safe-area-inset-top)) 12px 6px}body:has(#view-overview.active) .topbar .icon-button{width:28px;height:28px}body:has(#view-overview.active) .topbar .icon-button svg{stroke-width:2.1px;width:19px;height:19px}body:has(#view-overview.active) .menu-button svg{width:22px;height:22px}body:has(#view-overview.active) .period-pill{min-width:44px;height:25px;padding:0 11px;font-size:14px}body:has(#view-overview.active) .month-selector strong{max-width:142px;font-size:16px}body:has(#view-overview.active) .month-selector .month-caret{border-top-width:6px;border-left-width:6px;border-right-width:6px;margin-left:5px}body:has(#view-overview.active) .content{padding:0 14px}body:has(#view-overview.active) .month-ledger{padding:12px 0 0}body:has(#view-overview.active) .month-total span{font-size:15px}body:has(#view-overview.active) .month-total span:after{height:4px;bottom:-4px}body:has(#view-overview.active) .month-total strong{margin-top:9px;font-size:25px}body:has(#view-overview.active) .spend-stage{gap:8px;padding:8px 0 10px}body:has(#view-overview.active) .spend-orbit{width:196px}body:has(#view-overview.active) .spend-stage .saving-ring{border-width:1.5px}body:has(#view-overview.active) .spend-core{border-width:1.5px;gap:2px;width:106px;height:106px;inset:50% auto auto 50%;transform:translate(-50%,-50%)}body:has(#view-overview.active) .spend-core .coin-icon{width:15px;height:15px}body:has(#view-overview.active) .spend-core div{gap:4px}body:has(#view-overview.active) .spend-core div span{font-size:15px}body:has(#view-overview.active) .spend-core div svg{width:14px;height:14px}body:has(#view-overview.active) .spend-core strong{max-width:88px;font-size:23px}body:has(#view-overview.active) .spend-core small{font-size:9px}body:has(#view-overview.active) .pager-dots{gap:10px}body:has(#view-overview.active) .pager-dots span{width:6px;height:6px}body:has(#view-overview.active) .compact-budget{margin-top:7px;padding:10px 12px}body:has(#view-overview.active) .compact-budget .section-title{margin-bottom:4px}body:has(#view-overview.active) .compact-budget .section-title strong{font-size:13px}body:has(#view-overview.active) .compact-budget input[type=range]{height:13px}body:has(#view-overview.active) .compact-budget .budget-line{margin-top:4px}body:has(#view-overview.active) .day-card{border-width:1.25px;border-radius:17px}body:has(#view-overview.active) .day-card+.day-card{margin-top:8px}body:has(#view-overview.active) .day-card-head{border-bottom-width:1.25px;padding:9px 10px}:is(body:has(#view-overview.active) .day-card-head strong,body:has(#view-overview.active) .day-card-head span){font-size:16px}body:has(#view-overview.active) .day-entry{grid-template-columns:36px 1fr auto;gap:8px;padding:9px 10px}body:has(#view-overview.active) .day-entry .category-icon{border-width:1.25px;border-radius:8px;width:36px;height:36px}body:has(#view-overview.active) .day-entry .category-icon svg{width:19px;height:19px}body:has(#view-overview.active) .day-entry-main strong{font-size:14px}body:has(#view-overview.active) .day-entry-main span{font-size:10px}body:has(#view-overview.active) .day-entry-amount{font-size:13px}body:has(#view-overview.active) .compact-categories{margin-top:8px}body:has(#view-overview.active) .compact-categories .section-title{margin-bottom:6px}body:has(#view-overview.active) .category-strip{grid-auto-columns:minmax(92px,1fr);gap:7px}body:has(#view-overview.active) .category-pill{border-radius:9px;padding:7px}body:has(#view-overview.active) .category-pill .category-icon{width:24px;height:24px;margin-bottom:5px}body:has(#view-overview.active) .category-pill .category-icon svg{width:14px;height:14px}body:has(#view-overview.active) .category-pill span{font-size:10px}body:has(#view-overview.active) .category-pill strong{font-size:12px}body:has(#view-overview.active) .app-shell{padding-bottom:calc(86px + env(safe-area-inset-bottom))}body:has(#view-overview.active) .fab{bottom:calc(16px + env(safe-area-inset-bottom));border-width:1.5px;width:49px;height:49px}body:has(#view-overview.active) .fab svg{width:27px;height:27px}body:has(#view-overview.active){background:#f4f4f4}body:has(#view-overview.active) .app-shell{background:#f4f4f4}body:has(#view-overview.active) .daily-ledger{margin-top:10px}body:has(#view-overview.active) .transaction-list.compact{--ledger-main-font-size:13.8px;gap:18px;display:grid}.expense-day-group{gap:10px;display:grid}.expense-day-head{grid-template-columns:1fr auto;align-items:center;gap:12px;min-height:34px;padding:0 8px 0 3px;display:grid}.expense-day-head strong{color:#050505;font-size:var(--ledger-main-font-size);letter-spacing:0;font-weight:950}.expense-day-head span{color:#8f8f8f;font-size:var(--ledger-main-font-size);white-space:nowrap;font-weight:950}.expense-day-head span.expense{color:#ef4b4f}.expense-day-head span.income{color:#31a847}.expense-day-body{gap:10px;display:grid}.expense-swipe{contain:layout paint;touch-action:pan-y;-webkit-tap-highlight-color:transparent;background:0 0;border-radius:16px;position:relative;overflow:hidden}.expense-swipe.dragging .expense-swipe-card{transition:none}.expense-delete-action{z-index:0;color:#fff;background:#ef4b4f;border:0;border-radius:18px;place-items:center;width:72px;height:54px;font-family:inherit;font-size:14px;font-weight:900;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%);box-shadow:0 10px 22px #ef4b4f33}.expense-card{background:#fff;border:1px solid #ffffffe6;border-radius:16px;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;min-height:74px;padding:11px 18px;display:grid;box-shadow:0 10px 26px #181f220d}.expense-swipe-card{z-index:1;backface-visibility:hidden;transform:translate3d(var(--swipe-offset,0), 0, 0);will-change:transform;transition:transform .24s cubic-bezier(.22,1,.36,1);position:relative}.expense-card .category-icon{background:0 0;border-radius:8px;width:34px;height:34px}.expense-card .category-icon svg{stroke-width:2.4px;width:24px;height:24px}.expense-card-main{gap:5px;min-width:0;display:grid}.expense-card-main strong{color:#050505;font-size:var(--ledger-main-font-size);text-overflow:ellipsis;white-space:nowrap;font-weight:900;line-height:1.12;overflow:hidden}.expense-card-main span{color:#9b9b9b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.expense-card-amount{color:#050505;font-size:var(--ledger-main-font-size);white-space:nowrap;font-weight:950}.expense-card-amount.income{color:#31a847}.composer-panel{max-height:calc(96svh - env(safe-area-inset-top));padding:14px 14px calc(14px + env(safe-area-inset-bottom));background:#f3f3f3;border-color:#fffc;border-radius:24px 24px 0 0;gap:12px}.composer-panel .sheet-header{align-items:center}.composer-panel .sheet-header strong{font-size:20px}.composer-panel .entry-type{background:#e8e8e8;border-radius:999px;max-width:220px;margin:0 auto;padding:3px}.composer-panel .entry-type button{border-radius:999px;min-height:34px}.composer-amount{background:#fff;border:0;border-radius:18px;gap:6px;padding:10px 12px;display:grid;box-shadow:0 8px 22px #181f220a}.composer-amount input{color:#050505;text-align:right;background:0 0;border:0;border-radius:0;height:44px;padding:0;font-size:30px}.composer-category-tabs{grid-template-columns:repeat(auto-fit,minmax(54px,1fr));align-items:end;gap:4px;min-height:38px;display:grid}.composer-category-tabs button{color:#a9a9a9;background:0 0;border-radius:0;min-width:0;min-height:34px;font-size:15px;font-weight:950;position:relative}.composer-category-tabs button.active{color:#050505}.composer-category-tabs button.active:after{content:"";background:#050505;border-radius:999px;height:4px;position:absolute;bottom:0;left:22%;right:22%}.composer-panel .category-section{gap:8px}.composer-panel .category-section-head{min-height:28px}.composer-panel .category-section-head>span{color:#777;font-size:12px;font-weight:900}.composer-panel .category-manage-button{color:#1f84ff;background:0 0;border:0;width:32px;height:32px}.composer-panel .category-manage-button svg{stroke-width:3px;width:25px;height:25px}.composer-panel .category-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:310px;padding:2px 2px 4px}.composer-panel .category-option{background:#fff;border:3px solid #0000;border-radius:18px;gap:10px;min-height:92px;padding:12px 5px 10px;box-shadow:0 8px 22px #181f2209}.composer-panel .category-option.active{box-shadow:none;background:#fff;border-color:#2387ff}.composer-panel .category-option .category-icon{background:0 0;width:35px;height:35px}.composer-panel .category-option .category-icon svg{stroke-width:2.35px;width:26px;height:26px}.composer-panel .category-option span{color:#a5a5a5;font-size:12px;font-weight:950}.composer-panel .category-option.active span{color:#050505}.composer-meta{grid-template-columns:1fr 1.35fr;gap:8px}.composer-meta label{border:0;border-radius:16px;box-shadow:0 8px 22px #181f2209}.composer-meta input{background:#fff;border:0;border-radius:16px;padding:10px 11px;font-size:13px}.composer-keypad{grid-template-columns:repeat(4,1fr);gap:8px;padding-top:2px;display:grid}.composer-keypad button{color:#050505;background:#fff;border:0;border-radius:15px;place-items:center;min-width:0;min-height:48px;font-size:20px;font-weight:950;display:grid;box-shadow:0 8px 20px #181f220a}.composer-keypad button:active{transform:scale(.98)}.composer-keypad svg{stroke-width:2.4px;width:23px;height:23px}.composer-keypad .key-save{color:#fff;background:#2387ff}.composer-keypad [data-key=clear],.composer-keypad [data-key=today]{color:#6f6f6f;font-size:14px}.composer-panel{grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px;height:min(82svh,760px);max-height:calc(100svh - 48px);overflow:hidden}.composer-scroll-layer{overscroll-behavior:contain;min-height:0;padding:2px 2px 10px;overflow-y:auto}.composer-scroll-layer .category-section{min-height:min-content}.composer-scroll-layer .category-picker{max-height:none;overflow:visible}.composer-fixed-layer{z-index:2;background:linear-gradient(#f3f3f3d1,#f3f3f3 18px);gap:8px;padding-top:10px;display:grid;position:relative;box-shadow:0 -18px 24px #f3f3f3eb}.composer-fixed-layer .composer-meta{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}.composer-fixed-layer .composer-meta label{background:#fff;border-radius:16px;gap:4px;min-width:0;padding:8px 10px;display:grid}.composer-fixed-layer .composer-meta span{color:#777;font-size:11px;font-weight:900}.composer-fixed-layer .composer-amount{box-shadow:0 8px 22px #181f2209}.composer-fixed-layer .composer-meta input{color:#050505;background:0 0;border:0;width:100%;min-width:0;height:28px;padding:0;font-size:14px;font-weight:850}.composer-fixed-layer .note-trigger{color:#9b9b9b;width:100%;min-width:0;height:28px;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;justify-content:flex-start;align-items:center;padding:0;font-size:14px;font-weight:850;display:flex}.composer-fixed-layer .note-trigger span{max-width:100%;color:inherit;font-size:inherit;font-weight:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.composer-fixed-layer .note-trigger .has-note{color:#050505}.composer-fixed-layer .composer-amount input{text-align:right;font-size:19px;font-weight:950}.composer-fixed-layer .composer-keypad button{border-radius:16px;height:clamp(42px,5.75svh,50px);min-height:0}@media (height<=740px){.composer-panel{height:calc(100svh - 34px)}.composer-panel .sheet-header strong{font-size:18px}.composer-panel .category-option{min-height:82px}.composer-fixed-layer .composer-keypad{gap:6px}.composer-fixed-layer .composer-keypad button{height:40px}}.composer-panel{gap:8px}.composer-scroll-layer{padding-top:0}.composer-panel .entry-type{margin-bottom:0}.composer-category-tabs{margin-top:-2px}#composerSheet{overscroll-behavior:contain}#composerSheet .sheet-backdrop{background:#f3f3f3}#composerSheet .composer-panel{height:100svh;max-height:none;padding:calc(12px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:0;animation:none;top:0;bottom:0}.modal-layer{z-index:70;display:none;position:fixed;inset:0}.modal-layer.open{display:block}.modal-backdrop{background:#0000007a;position:absolute;inset:0}.note-dialog,.note-history-dialog{background:#fff;border-radius:22px;width:min(92vw,430px);margin:0 auto;position:absolute;left:0;right:0;box-shadow:0 22px 60px #0000002e}.note-dialog{gap:16px;padding:18px;display:grid;top:24svh}.note-dialog-head{grid-template-columns:64px 1fr 64px;align-items:center;gap:8px;display:grid}.note-dialog-head strong{color:#050505;text-align:center;font-size:18px;font-weight:950}.note-dialog-head button{color:#2e82f0;background:0 0;border:0;min-height:32px;padding:0;font-size:15px;font-weight:900}.note-dialog textarea{box-sizing:border-box;color:#050505;resize:none;width:100%;height:min(30svh,220px);min-height:160px;font:inherit;background:#f7f7f7;border:3px solid #8ec4ff;border-radius:16px;outline:0;padding:14px;font-size:17px;font-weight:800;line-height:1.45}.note-dialog textarea:focus{border-color:#8ec4ff;outline:0}.note-dialog textarea::placeholder{color:#b0b0b0}.note-confirm{color:#fff;background:#2f83f6;border-radius:16px;height:56px;font-size:17px;font-weight:950}.note-history-dialog{min-height:48svh;max-height:72svh;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;grid-template-rows:auto 1fr;display:grid;bottom:0}.note-history-dialog .danger-text{color:#f05c5c}.note-history-list{align-content:start;gap:10px;min-height:0;margin-top:16px;display:grid;overflow-y:auto}.note-history-list button{color:#050505;text-align:left;background:#f7f7f7;border-radius:14px;min-height:46px;padding:12px 14px;font-size:15px;font-weight:850}.note-history-empty{color:#999;place-items:center;min-height:160px;display:grid}.date-dialog{width:min(100%,430px);padding:18px 16px calc(18px + env(safe-area-inset-bottom));background:#fff;border-radius:22px 22px 0 0;gap:14px;margin:0 auto;display:grid;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -20px 60px #0000002e}.date-dialog-head{grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;display:grid}.date-dialog-head strong{color:#050505;text-align:center;font-size:18px;font-weight:950}.date-dialog-head .icon-button{color:#050505;background:#f4f4f4;border:0;border-radius:50%;width:38px;height:38px}.date-weekdays,.date-grid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.date-weekdays span{color:#9b9b9b;text-align:center;font-size:12px;font-weight:900}.date-grid button,.date-grid .date-blank{aspect-ratio:1;color:#050505;background:#f7f7f7;border-radius:13px;place-items:center;min-width:0;font-size:15px;font-weight:900;display:grid}.date-grid .date-blank{background:0 0}.date-grid button.today{color:#2387ff}.date-grid button.active{color:#fff;background:#2387ff}.date-dialog-actions{grid-template-columns:.8fr 1.2fr;gap:10px;display:grid}.date-dialog-actions button{border-radius:15px;height:50px;font-size:16px;font-weight:950}.date-dialog-actions button:first-child{color:#2387ff;background:#eef5ff}.date-dialog-actions button:last-child{color:#fff;background:#2387ff}body:has(#view-data.active){background:#f3f4f2}body:has(#view-data.active) .app-shell{background:#f3f4f2;min-height:100svh;padding-bottom:0}:is(body:has(#view-data.active) .topbar,body:has(#view-data.active) .fab,body:has(#view-data.active) .month-picker-layer){display:none}body:has(#view-data.active) .content{padding:0}.data-management-view{color:#050505;background:#f3f4f2;min-height:100svh}.data-page-header{z-index:20;min-height:calc(68px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 14px 8px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;border-bottom:1px solid #dedfdd;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:10px;display:grid;position:sticky;top:0}.data-page-header>div:nth-child(2){text-align:center;min-width:0}.data-page-header span{color:#747774;font-size:10px;font-weight:700;line-height:1.15;display:block}.data-page-header h1{margin:2px 0 0;font-size:18px;font-weight:900;line-height:1.15}.data-back-button,.data-local-mark{color:#050505;background:0 0;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.data-back-button svg{stroke-width:3px;width:26px;height:26px}.data-local-mark{color:#087a64;background:#dff1eb;border:1px solid #c9e2d9}.data-local-mark svg{stroke-width:2.2px;width:21px;height:21px}.data-page-body{padding:16px 14px calc(28px + env(safe-area-inset-bottom));gap:12px;display:grid}.data-overview-card,.data-action-card{background:#fff;border:1.5px solid #dfe2de;border-radius:18px;padding:16px;box-shadow:0 8px 24px #131b170d}.data-overview-card{position:relative;overflow:hidden}.data-overview-card:before{content:"";background:linear-gradient(90deg,#ffd15c 0 58%,#78d8ff 58% 100%);height:5px;position:absolute;top:0;left:0;right:0}.data-overview-copy,.data-action-heading{align-items:center;gap:12px;display:flex}.data-overview-copy span,.data-action-heading span{color:#777b77;margin-bottom:3px;font-size:11px;font-weight:700;display:block}.data-overview-copy h2,.data-action-heading h2{margin:0;font-size:17px;font-weight:900;line-height:1.2}.data-card-icon{border:1.5px solid #050505;border-radius:13px;flex:none;place-items:center;width:44px;height:44px;display:grid}.data-card-icon svg{stroke-width:2.1px;width:23px;height:23px}.data-card-icon-gold{background:#ffd15c}.data-card-icon-blue{background:#8bdfff}.data-card-icon-coral{background:#ff8587}.data-overview-card>p,.data-action-card>p{color:#676b67;margin:13px 0 0;font-size:12px;line-height:1.65}.data-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px;display:grid}.data-stat-grid>div{text-align:center;background:#f5f6f4;border:1px solid #e3e5e2;border-radius:12px;min-width:0;padding:11px 8px 10px}.data-stat-grid strong,.data-stat-grid span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.data-stat-grid strong{font-size:16px;font-weight:900;line-height:1.25}.data-stat-grid span{color:#7b7e7b;margin-top:3px;font-size:10px}.data-action-button{-webkit-tap-highlight-color:transparent;border:1.5px solid #050505;border-radius:13px;justify-content:space-between;align-items:center;width:100%;min-height:48px;margin-top:14px;padding:0 15px;font-size:14px;font-weight:900;transition:transform .12s,opacity .12s;display:flex}.data-action-button:active,.data-preview-actions button:active,.data-back-button:active{transform:scale(.98)}.data-action-button:disabled{cursor:wait;opacity:.55}.data-action-button svg{stroke-width:2.4px;width:21px;height:21px}.data-export-button{color:#fff;background:#050505}.data-import-button{color:#050505;background:#fff}.data-import-status{background:#f4f5f3;border-radius:10px;padding:10px 11px;margin:12px 0 0!important;font-size:11px!important;line-height:1.5!important}.data-import-status[data-tone=success]{color:#116e5c;background:#e5f3ee}.data-import-status[data-tone=error]{color:#a92f32;background:#fde7e7}.data-import-status[hidden],.data-import-preview[hidden]{display:none}.data-import-preview{border-top:1px solid #e2e3e1;margin-top:12px;padding-top:14px}.data-preview-file{align-items:center;gap:10px;min-width:0;display:flex}.data-preview-check{color:#fff;background:#0b8068;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid}.data-preview-check svg{stroke-width:3px;width:20px;height:20px}.data-preview-file>div:last-child{min-width:0}.data-preview-file strong,.data-preview-file span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.data-preview-file strong{font-size:13px}.data-preview-file span{color:#777b77;margin-top:3px;font-size:10px}.data-preview-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px;display:grid}.data-preview-stats>div{background:#f5f6f4;border-radius:9px;min-width:0;padding:9px 7px}.data-preview-stats span,.data-preview-stats strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.data-preview-stats span{color:#7a7e7a;font-size:9px}.data-preview-stats strong{margin-top:3px;font-size:12px}.data-import-warning{color:#6f5310;background:#fff6d9;border-radius:9px;align-items:flex-start;gap:7px;margin-top:10px;padding:9px 10px;font-size:10px;line-height:1.5;display:flex}.data-import-warning svg{flex:none;width:15px;height:15px;margin-top:1px}.data-preview-actions{grid-template-columns:.8fr 1.45fr;gap:8px;margin-top:10px;display:grid}.data-preview-actions button{border-radius:11px;min-height:43px;padding:0 10px;font-size:12px;font-weight:900;transition:transform .12s}.data-preview-actions button:first-child{color:#050505;background:#eceeeb}.data-preview-actions button:last-child{color:#fff;background:#ef4b4f}.data-privacy-note{color:#747874;justify-content:center;align-items:center;gap:8px;padding:6px 4px 2px;display:flex}.data-privacy-note svg{color:#0b8068;width:19px;height:19px}.data-privacy-note p,.data-privacy-note strong,.data-privacy-note span{margin:0;display:block}.data-privacy-note strong{color:#3f433f;font-size:10px}.data-privacy-note span{margin-top:1px;font-size:9px}@media (width>=430px){.data-page-body{gap:14px;padding-left:18px;padding-right:18px}.data-overview-card,.data-action-card{padding:18px}}@media (prefers-reduced-motion:reduce){.data-action-button,.data-preview-actions button,.data-back-button{transition:none}}.toast{--toast-accent:var(--indigo);--toast-accent-soft:#3d56a31f;z-index:120;width:max-content;max-width:min(320px,100% - 48px);min-height:56px;color:var(--ink);opacity:0;visibility:hidden;pointer-events:none;-webkit-backdrop-filter:blur(18px);background:#fffef8f0;border:1px solid #dce2d6eb;border-radius:18px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px 16px 10px 10px;transition:opacity .18s,transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s linear .22s;display:grid;position:fixed;top:75%;left:50%;transform:translate(-50%,calc(8px - 50%))scale(.96);box-shadow:0 18px 48px #1d2b2329,0 2px 8px #1d2b2314}.toast[data-tone=success]{--toast-accent:var(--teal);--toast-accent-soft:var(--teal-soft)}.toast[data-tone=warning]{--toast-accent:#a56f08;--toast-accent-soft:#c3912229}.toast[data-tone=error]{--toast-accent:var(--coral);--toast-accent-soft:var(--coral-soft)}.toast.show{opacity:1;visibility:visible;transition-delay:0s;transform:translate(-50%,-50%)scale(1)}.toast-icon{width:36px;height:36px;color:var(--toast-accent);background:var(--toast-accent-soft);border-radius:50%;place-items:center;display:inline-grid}.toast-icon svg{stroke-width:2.3px;width:20px;height:20px}.toast-message{overflow-wrap:anywhere;text-align:left;font-size:15px;font-weight:800;line-height:1.35}.confirmation-dialog{width:min(352px,100% - 36px);max-width:none;color:var(--ink);background:0 0;border:0;margin:auto;padding:0;overflow:visible}.confirmation-dialog::backdrop{-webkit-backdrop-filter:blur(3px);background:#0505056b}.confirmation-card{background:#fff;border:1px solid #05050514;border-radius:20px;gap:0;display:grid;overflow:hidden;box-shadow:0 28px 72px #05050533,0 4px 14px #05050514}.confirmation-dialog[open] .confirmation-card{animation:.22s cubic-bezier(.2,.8,.2,1) confirmation-enter}.confirmation-heading{text-align:center;padding:24px 20px 22px}.confirmation-copy{min-width:0}.confirmation-copy strong{font-size:20px;font-weight:900;line-height:1.25;display:block}.confirmation-copy p{color:var(--muted);overflow-wrap:anywhere;margin:12px 0 0;font-size:14px;font-weight:650;line-height:1.45}.confirmation-actions{grid-template-columns:1fr 1fr;gap:8px;padding:0 20px 20px;display:grid}.confirmation-actions button{-webkit-tap-highlight-color:transparent;border-radius:14px;min-height:48px;font-size:15px;font-weight:900;transition:transform .12s,filter .12s}.confirmation-cancel,.confirmation-submit{color:var(--ink);box-shadow:none;background:#f1f2f0;border:0}.confirmation-actions button:active{filter:brightness(.97);transform:scale(.98)}.confirmation-cancel:focus-visible,.confirmation-submit:focus-visible{outline:0;box-shadow:inset 0 0 0 2px #05050524}@keyframes confirmation-enter{0%{opacity:0;transform:translateY(10px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.toast{transition:opacity .1s linear,visibility 0s linear .1s;transform:translate(-50%,-50%)}.toast.show{transition-delay:0s}.confirmation-dialog[open] .confirmation-card{animation:none}.confirmation-actions button{transition:none}}.auth-screen{min-height:100svh;padding:max(22px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));background:radial-gradient(circle at 16% 12%,#ffd15c59,#0000 30%),radial-gradient(circle at 88% 88%,#0b806833,#0000 34%),#eef2ea}.auth-screen[hidden],.app-shell[hidden]{display:none}.auth-layout{background:#fffef8ed;border:1px solid #17211d1a;border-radius:30px;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);width:min(100%,980px);min-height:calc(100svh - 44px);margin:0 auto;display:grid;overflow:hidden;box-shadow:0 32px 90px #1d2b2329}.auth-intro{color:#f9fbf7;isolation:isolate;background:linear-gradient(145deg,#ffffff14,#0000 45%),#17332c;flex-direction:column;justify-content:space-between;gap:44px;min-width:0;padding:42px;display:flex;position:relative}.auth-intro:after{z-index:-1;content:"";background:#f5c85f26;border:1px solid #f5c85f2e;border-radius:50%;width:330px;height:330px;position:absolute;bottom:-110px;right:-90px}.auth-brand,.auth-mobile-brand{align-items:center;gap:13px;display:flex}.auth-brand img,.auth-mobile-brand img{border-radius:14px;width:48px;height:48px;box-shadow:0 10px 24px #00000029}.auth-brand span,.auth-brand strong{display:block}.auth-brand span{color:#f9fbf7ad;margin-bottom:4px;font-size:13px;font-weight:700}.auth-brand strong{max-width:290px;font-size:19px;line-height:1.35}.auth-preview-card{color:#17211d;background:#fffef8;border:1px solid #ffffff7a;border-radius:24px;width:min(100%,390px);margin:0 auto;padding:24px;transform:rotate(-1.5deg);box-shadow:0 26px 58px #0003}.auth-preview-head,.auth-preview-summary{justify-content:space-between;align-items:center;gap:14px;display:flex}.auth-preview-head>span:first-child,.auth-preview-caption,.auth-preview-summary span{color:#6b746d;font-size:12px;font-weight:700}.auth-preview-chip{color:#08715d;background:#dff1eb;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.auth-preview-balance{letter-spacing:-1.5px;margin-top:24px;font-size:clamp(34px,5vw,46px);line-height:1;display:block}.auth-preview-caption{margin-top:8px;display:block}.auth-preview-bars{background:#f4f6ef;border-radius:16px;grid-template-columns:repeat(7,1fr);align-items:end;gap:8px;height:94px;margin:26px 0 20px;padding:12px 12px 0;display:grid}.auth-preview-bars span{height:var(--bar-height);background:#0b8068;border-radius:7px 7px 3px 3px;min-height:12px}.auth-preview-bars span:nth-child(2n){background:#f5c85f}.auth-preview-summary{border-top:1px solid #e2e6dd;padding-top:18px}.auth-preview-summary div:last-child{text-align:right}.auth-preview-summary strong,.auth-preview-summary span{display:block}.auth-preview-summary strong{margin-top:5px;font-size:17px}.auth-card{align-self:center;padding:48px clamp(30px,7vw,70px)}.auth-mobile-brand{display:none}.auth-eyebrow{color:#08715d;background:#dff1eb;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.auth-card h1{color:#17211d;letter-spacing:-1.5px;margin:20px 0 0;font-size:clamp(34px,5vw,48px);line-height:1.08}.auth-description{color:#68716a;margin:14px 0 30px;font-size:15px;line-height:1.7}.google-sign-in-button,.auth-retry-button{border-radius:14px;width:100%;min-height:54px;font-size:15px;font-weight:800;transition:transform .14s,box-shadow .14s,opacity .14s}.google-sign-in-button{color:#17211d;background:#fff;border:1.5px solid #cfd5cd;grid-template-columns:24px 1fr 24px;align-items:center;gap:12px;padding:0 16px;display:grid;position:relative;box-shadow:0 8px 20px #1d2b2314}.google-sign-in-button[hidden],.auth-retry-button[hidden]{display:none}.google-sign-in-button:hover{border-color:#aeb8b0;box-shadow:0 12px 28px #1d2b231f}.google-sign-in-button:active,.auth-retry-button:active{transform:scale(.985)}.google-sign-in-button:disabled{cursor:wait;opacity:.68}.google-sign-in-button svg{stroke:none;width:22px;height:22px}.auth-button-spinner{opacity:0;border:2px solid #0b806833;border-top-color:#0b8068;border-radius:50%;width:18px;height:18px}.google-sign-in-button[data-pending=true] .auth-button-spinner{opacity:1;animation:.7s linear infinite auth-spin}.auth-retry-button{color:#fff;background:#17332c}.auth-status{color:#68716a;text-align:center;min-height:20px;margin:14px 0 0;font-size:12px;line-height:1.55}.auth-status[data-tone=error]{color:#b43d3f}.auth-assurance{border-top:1px solid #e0e5dc;grid-template-columns:24px 1fr;align-items:start;gap:10px;margin-top:26px;padding-top:20px;display:grid}.auth-assurance>span{color:#08715d;background:#dff1eb;border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;font-weight:900;display:grid}.auth-assurance p{color:#788078;margin:2px 0 0;font-size:11px;line-height:1.55}.data-account-card{background:#17332c;border-radius:18px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid;box-shadow:0 10px 24px #13332c24}.data-account-card[hidden]{display:none}.data-account-avatar{object-fit:cover;background:#fff;border:2px solid #ffffff42;border-radius:50%;width:48px;height:48px}.data-account-copy{min-width:0}.data-account-copy span,.data-account-copy strong,.data-account-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.data-account-copy span{color:#ffffff94;font-size:10px;font-weight:700}.data-account-copy strong{color:#fff;margin-top:2px;font-size:15px}.data-account-copy small{color:#ffffffb3;margin-top:3px;font-size:10px}.data-account-copy .data-sync-status{color:#9fe5d4;margin-top:5px;font-weight:800}.data-account-copy .data-sync-status[data-state=offline],.data-account-copy .data-sync-status[data-state=pending]{color:#f5d887}.data-account-copy .data-sync-status[data-state=error]{color:#ffaaa8}.data-logout-button{color:#17332c;background:#f5c85f;border-radius:11px;min-height:36px;padding:0 13px;font-size:12px;font-weight:900}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (width<=760px){.auth-screen{padding:max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));place-items:center;display:grid}.auth-layout{border-radius:24px;width:min(100%,430px);min-height:auto;display:block}.auth-intro{display:none}.auth-card{padding:30px 24px 26px}.auth-mobile-brand{margin-bottom:38px;display:flex}.auth-mobile-brand img{border-radius:13px;width:44px;height:44px}.auth-mobile-brand span{color:#17332c;font-size:18px;font-weight:900}.auth-card h1{font-size:38px}}@media (prefers-reduced-motion:reduce){.google-sign-in-button,.auth-retry-button{transition:none}}
