:root{--bg:#f6f7f3;--panel:#fff;--ink:#28332b;--muted:#92968e;--line:#e9ece4;--green:#77985c;--green-dark:#3c5932;--mint:#e7efd9;--orange:#dcaa74;--purple:#a49cbd;--shadow:0 16px 60px #293c2710;--radius:20px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #90af77;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #abc593;outline-offset:1px}h1,h2,h3,p{margin:0}svg{display:block}i{display:inline-flex;font-style:normal}i svg{width:20px;height:20px;stroke-width:1.65}button>i{flex-shrink:0}.muted{color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fafbf7;border-right:1px solid var(--line);padding:39px 25px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;letter-spacing:3px;padding-left:8px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:#c4e3a8;border-radius:13px;font:700 40px/1 sans-serif;transform:rotate(-10deg);padding-bottom:6px;letter-spacing:0;color:#36542b}.brand-en{display:block;font-size:8px;letter-spacing:4px;font-weight:500;color:#838d79;margin-top:1px}.workspace-label{font-size:11px;color:#8e9587;display:flex;align-items:center;gap:9px;margin:56px 0 18px 14px;letter-spacing:1px}.workspace-label span{font-size:8px;letter-spacing:1.5px;color:#b5b9ad}.side-nav{display:flex;flex-direction:column;gap:9px}.side-nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:15px 16px;border-radius:12px;color:#8a9185;font-size:13px;transition:.2s}.side-nav button.active{background:#eaf0df;color:#425b34;font-weight:600}.side-nav button:hover{background:#edf1e7}.side-nav .nav-arrow{margin-left:auto;display:none}.side-nav .active .nav-arrow{display:flex}.nav-arrow svg{width:15px}.sidebar-bottom{margin-top:auto;padding:28px 10px 0}.sidebar-bottom p{font-size:12px;color:#6e7967;margin:12px 0 7px}.sidebar-bottom>.muted{font-size:10px;letter-spacing:.4px}.little-plant{height:50px;position:relative;margin-left:10px;border-left:1px solid #b3c79f;transform:rotate(-8deg)}.little-plant span{position:absolute;width:20px;height:12px;border-radius:80% 15% 80% 15%;background:#d5e4c7;left:0;top:8px;transform:rotate(-20deg)}.little-plant span:nth-child(2){left:-20px;top:21px;transform:rotate(50deg);background:#e0e9d5}.little-plant span:nth-child(3){top:34px;left:0;transform:rotate(-14deg);width:14px;height:9px}.local-indicator{margin-top:32px;display:flex;gap:7px;align-items:center;font-size:10px;color:#8c9784}.local-indicator>span,.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#88a56e}.side-version{border-top:1px solid var(--line);padding-top:17px;margin-top:18px;color:#adb4a6;font-size:9px;line-height:1.8}.side-version span{float:right}.app-shell{margin-left:236px}.topbar{height:91px;padding:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fafbf7a0}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px;color:#a2a69b}.breadcrumb strong{color:#606b59;font-weight:500}.breadcrumb svg{width:12px;height:12px}.topbar-right{display:flex;align-items:center;gap:23px}.date-badge{font-size:10px;color:#999f91;letter-spacing:.5px}.avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#ebefdf;color:#7e9066;font:500 13px Georgia,serif}main{padding:36px 44px 20px;max-width:1510px;margin:auto;min-height:calc(100vh - 148px)}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:27px}.eyebrow{font-size:9px;color:#9aa68e;letter-spacing:2.5px;font-weight:500;display:block;margin-bottom:11px}h1{font-size:29px;font-weight:600;letter-spacing:1px;line-height:1.55}h1 .leaf-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#bad99d;margin:0 0 5px 8px}.page-heading p{font-size:11px;color:#939b8d;margin-top:8px;line-height:1.8;letter-spacing:.3px}.heading-actions{display:flex;align-items:center;gap:13px;margin-bottom:3px}.button{min-height:42px;border-radius:10px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:500;transition:background .2s,transform .2s;white-space:nowrap}.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(0)}.button.primary{background:#36532f;color:#fff;box-shadow:0 3px 6px #33502e12}.button.primary:hover{background:#284424}.button.secondary{background:white;border:1px solid #e4e9dd;color:#6b795f}.button.soft{background:#ebf1e2;color:#60764e}.button.danger{background:#ad5146;color:white}.button i svg{width:16px;height:16px}.month-select{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #e6eadd;border-radius:10px;min-height:42px;padding:0 10px;color:#6c7a60}.month-select i svg{width:16px;height:16px}.month-select input{border:0;background:transparent;color:#617053;font-size:11px;width:118px;min-width:0;padding:4px}.demo-banner{display:flex;align-items:center;gap:10px;background:#fff5df;border:1px solid #ebddbd;color:#927e4a;border-radius:10px;padding:11px 16px;font-size:11px;margin-bottom:18px}.demo-banner button{margin-left:auto;text-decoration:underline;text-underline-offset:3px}.stats-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:17px;margin-bottom:22px}.stat{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:24px 25px;position:relative;overflow:hidden;min-height:178px;display:flex;flex-direction:column}.stat.featured{background:#e4edd6;border-color:#e0e8d1}.stat-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8a9482}.stat.featured .stat-label{color:#70845f}.stat-label>i{padding:7px;background:#f3f5ed;border-radius:9px;color:#9aa98c}.stat-label>i svg{width:17px;height:17px}.stat.featured .stat-label>i{background:#d6e4c5;color:#71925a}.money{font-variant-numeric:tabular-nums;font-feature-settings:"tnum";letter-spacing:-1.5px}.stat .money{font-size:32px;font-weight:500;margin:14px 0 16px;position:relative;z-index:1;line-height:1.15}.stat.featured .money{font-size:43px;letter-spacing:-2px;color:#354e2e;margin:10px 0 15px}.currency{font-size:.52em;letter-spacing:0;margin-right:7px;font-weight:400;vertical-align:12%}.decimal{font-size:.61em;color:#9aa292;letter-spacing:-.5px}.featured .decimal{color:#7d9269}.stat-foot{font-size:10px;color:#a0a795;display:flex;align-items:center;gap:6px;margin-top:auto}.stat.featured .stat-foot{color:#849577}.stat-foot b{color:#718562;font-weight:500}.stat .ghost-decoration{position:absolute;width:143px;height:143px;border:1px solid #b6cb9f66;border-radius:50%;right:-30px;bottom:-44px}.stat .ghost-decoration:before{content:"";position:absolute;inset:16px;border:1px solid #b6cb9f55;border-radius:50%}.stat .ghost-decoration:after{content:"+";font:300 58px sans-serif;color:#b4ca9d70;position:absolute;left:37px;top:24px;transform:rotate(-12deg)}.analytics-grid{display:grid;grid-template-columns:1.9fr 1fr;gap:21px;margin-bottom:23px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 25px 0}.panel h2{font-size:13px;letter-spacing:.3px;font-weight:600;display:flex;align-items:center;gap:8px}.panel-head .sub{font-size:9px;color:#a5ab9c;letter-spacing:.4px}.legend-dot{width:6px;height:6px;background:#91ae72;border-radius:50%;display:inline-block;margin-right:5px}.chart-wrap{padding:12px 24px 18px;position:relative;height:230px}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-wrap text{fill:#b0b7a6;font-size:9px;font-family:inherit}.chart-empty{position:absolute;inset:40px 30px 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#b0b9a3;font-size:10px}.chart-empty i{background:#f4f7ee;border-radius:12px;padding:13px;color:#b1c19c}.chart-empty i svg{width:23px;height:23px}.category-body{padding:18px 24px 20px;display:flex;align-items:center;gap:22px;min-height:229px;justify-content:center;flex-wrap:wrap}.donut{width:119px;height:119px;border-radius:50%;position:relative;display:grid;place-items:center;background:#f0f3e9;flex-shrink:0}.donut:before{content:"";position:absolute;inset:13px;background:white;border-radius:50%}.donut-center{z-index:1;text-align:center}.donut-center b{display:block;font-size:25px;font-weight:500;letter-spacing:-1px}.donut-center small{font-size:9px;color:#a8af9e;display:block;margin-top:3px}.category-legend{display:flex;flex-direction:column;gap:12px;width:100%}.category-line{display:flex;align-items:center;gap:8px;font-size:10px;color:#858e7a}.category-line .color-dot{width:6px;height:6px;border-radius:2px;flex-shrink:0}.category-line span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-line b{font-size:10px;color:#626f55;font-weight:500}.records-panel{overflow:hidden}.records-panel .panel-head{padding-bottom:19px}.text-button{color:#8a9c77;font-size:10px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:5px 0}.text-button:hover{color:#3d6030}.text-button i svg{width:13px;height:13px}.record-tools{display:flex;gap:10px;padding:0 25px 17px;border-bottom:1px solid #eef0e8}.search-field{display:flex;align-items:center;gap:8px;background:#f8f9f5;border:1px solid #eef0e7;padding:8px 11px;border-radius:8px;max-width:260px;flex:1}.search-field i svg{width:14px;height:14px;color:#aab39f}.search-field input{width:100%;border:0;background:none;font-size:10px;outline:none;color:#6c785f}.search-field input::placeholder{color:#acb39f}.filter-select{border:1px solid #e9ede2;background:white;border-radius:8px;font-size:10px;color:#89957b;padding:6px 9px;max-width:140px}.record-table{width:100%;border-collapse:collapse;table-layout:fixed}.record-table th{font-size:9px;font-weight:400;color:#a5ad9b;background:#fbfcf8;text-align:left;padding:13px 25px}.record-table td{padding:16px 25px;font-size:11px;border-top:1px solid #f0f2ea;color:#89927f}.record-table th:nth-child(1){width:22%}.record-table th:nth-child(2){width:25%}.record-table th:nth-child(3){width:23%}.record-table th:nth-child(4){width:19%}.record-table th:nth-child(5){width:11%}.type-cell{display:flex;align-items:center;gap:10px}.type-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;flex-shrink:0;background:#edf3e4;color:#78995a}.type-icon svg{width:16px;height:16px}.type-icon.dark{background:#ebede8;color:#627058}.type-icon.orange{background:#fbf1e6;color:#c69a6c}.type-icon.purple{background:#f0edf5;color:#a094b3}.type-name{color:#67745b;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-table .income-amount{color:#6d8d52;font-size:13px;font-weight:500;letter-spacing:-.3px;white-space:nowrap}.record-table .note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a4ab9c;font-size:10px}.row-actions{display:flex;align-items:center;gap:6px}.icon-button{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:8px;color:#9ca790;flex-shrink:0}.icon-button:hover{background:#f0f4e9;color:#60794b}.icon-button svg{width:14px;height:14px}.delete-button:hover{background:#fff0ed;color:#b97665}.empty-state{text-align:center;padding:40px 20px 37px}.empty-icon{width:51px;height:51px;display:grid;place-items:center;background:#f0f5e8;border:1px dashed #d9e3cd;color:#a0b989;border-radius:15px;margin:0 auto 15px;transform:rotate(-7deg)}.empty-icon i{transform:rotate(7deg)}.empty-state h3{font-weight:500;font-size:12px;color:#7c8c6f;margin-bottom:8px}.empty-state p{font-size:10px;line-height:1.8;color:#a3ae98}.empty-state .text-button{margin-top:13px}.panel-bottom{padding:13px 25px;background:#fcfdf9;border-top:1px solid #eef1e7;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:9px;color:#a7ae9b}.backup-reminder{display:flex;align-items:center;gap:13px;margin-top:20px;border:1px dashed #dce4d1;border-radius:12px;padding:16px 20px;background:#f1f5e9}.backup-reminder>i{color:#a2b78b}.backup-reminder p{font-size:10px;color:#8b9e78;line-height:1.7}.backup-reminder p strong{font-weight:500;color:#6e8658}.backup-reminder .text-button{margin-left:auto}.main-footer{max-width:1510px;display:flex;justify-content:space-between;font-size:9px;color:#b1b7a8;margin:auto;padding:10px 44px 24px;letter-spacing:.2px}.main-footer>span:last-child{display:flex;align-items:center;gap:6px}.mobile-nav{display:none}.intro-line{margin-top:9px;color:#959e8c;font-size:11px;line-height:1.9}.backup-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.backup-card{padding:30px}.card-icon{width:45px;height:45px;display:grid;place-items:center;background:#ecf3e1;color:#7d9b61;border-radius:14px;margin-bottom:20px}.backup-card h2{font-size:17px;margin-bottom:10px}.backup-card>p{font-size:11px;line-height:2;color:#939e86;max-width:420px}.backup-card .button{margin-top:23px}.backup-card .button+.button{margin-left:8px}.backup-meta{margin-top:23px;border-top:1px solid #edf0e6;padding-top:18px;font-size:10px;color:#a3ac97;line-height:2}.backup-meta strong{color:#758565;font-weight:500}.backup-tips{padding:27px;background:#eaf0e1;border:1px solid #e0e8d5;border-radius:20px;grid-column:1/-1}.backup-tips h3{font-size:12px;display:flex;gap:8px;align-items:center;color:#71865e;margin-bottom:13px}.backup-tips p{font-size:11px;line-height:2.1;color:#8b9b79}.types-card{margin-top:22px;padding:25px}.types-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.types-list{display:flex;gap:10px;flex-wrap:wrap}.type-chip{display:flex;gap:7px;align-items:center;border:1px solid #e5eadc;background:#fafcf7;color:#8a987c;padding:9px 12px;border-radius:9px;font-size:11px}.type-chip i svg{width:13px;height:13px}.type-chip .icon-button{height:18px;width:18px;margin-left:3px}.pagination{display:flex;align-items:center;gap:9px}.pagination button:disabled{opacity:.3;cursor:default}.modal{border:1px solid #e3e9d9;border-radius:22px;box-shadow:0 30px 100px #1f361a30;background:#fff;color:var(--ink);padding:29px;width:min(490px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto}.modal::backdrop{background:#23331f55;backdrop-filter:blur(5px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.modal-header h2{font-size:21px;font-weight:600;letter-spacing:.4px}.modal-header .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:7px}.modal-header>.icon-button{align-self:flex-start}.amount-field{background:#f0f5e8;border:1px solid #e5ecd9;border-radius:14px;padding:19px;margin-bottom:22px}.amount-field label{font-size:11px;color:#8b9d79}.amount-field>div{display:flex;align-items:center;gap:10px;margin:7px 0 9px}.amount-field>div>span{font-size:25px;color:#7c916b}.amount-field input{font-size:39px;background:none;border:0;outline:none!important;width:100%;font-weight:500;color:#425b34;letter-spacing:-1px;border-radius:4px}.amount-field input::placeholder{color:#becdb0}.amount-field>span{font-size:9px;color:#a6b297}.field{margin-top:19px}.field label{font-size:11px;color:#758369;display:block;margin-bottom:9px}.field input,.field textarea{border:1px solid #e4e9db;background:#fcfdf9;border-radius:9px;padding:12px 13px;width:100%;font-size:12px;color:#718261;min-height:43px;resize:vertical}.field textarea::placeholder{color:#b1bba5;font-size:11px}.optional{font-size:10px;color:#b0b7a5;margin-left:5px}.field-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.field-title label{margin:0}.type-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.type-option{display:flex;align-items:center;gap:8px;background:#fafcf7;border:1px solid #e8edde;border-radius:10px;padding:12px;color:#8d9b7e;font-size:11px;text-align:left;min-width:0}.type-option>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.type-option.selected{background:#edf4e3;border-color:#a8c28d;color:#64824d;box-shadow:inset 0 0 0 1px #a8c28d33}.type-option i svg{width:16px;height:16px}.type-option.selected::after{content:"✓";margin-left:auto;color:#789c5b}.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px;border-top:1px solid #eef1e8;padding-top:20px}.modal-footer>span{font-size:9px;color:#a4b295;display:flex;align-items:center;gap:5px}.modal-footer>span i svg{width:12px;height:12px}.form-error{color:#b76858;font-size:11px;line-height:1.8;margin-top:12px}.form-error:empty{display:none}.compact{max-width:440px}.compact .modal-header h2{font-size:18px}.confirm-copy{color:#8b967f;font-size:12px;line-height:1.9}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.confirm-metric{background:#f1f6e9;border-radius:12px;margin:18px 0;padding:16px;color:#71875d;font-size:12px;line-height:2}.import-modes{display:flex;flex-direction:column;gap:12px;color:#7c8e6b;font-size:11px;margin-top:17px}.import-modes label{display:flex;gap:9px;align-items:center}.import-modes input{accent-color:#759f56}.replace-check{display:flex;align-items:flex-start;gap:8px;line-height:1.8;color:#ad7c65;font-size:10px;margin-top:14px}.toast{position:fixed;bottom:32px;left:calc(50% + 118px);transform:translate(-50%,15px);padding:13px 20px;background:#35482feF;color:#f3f8ed;font-size:12px;line-height:1.7;border:1px solid #506446;border-radius:12px;box-shadow:0 10px 30px #24351b20;z-index:200;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 40px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.view{animation:fade-in .28s ease-out}@keyframes fade-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1400px){.category-body{flex-wrap:nowrap}.category-legend{width:110px}.stat.featured .money{font-size:47px}.chart-wrap{height:245px}.category-body{min-height:244px}}@media(max-width:1120px){.sidebar{width:200px;padding-left:18px;padding-right:18px}.app-shell{margin-left:200px}.topbar{padding:0 28px}main{padding:30px 28px 20px}.main-footer{padding-left:28px;padding-right:28px}.stat{padding:20px;min-height:164px}.stat.featured .money{font-size:35px}.stat .money{font-size:28px}.stats-grid{gap:12px}.analytics-grid{grid-template-columns:1.65fr 1fr;gap:16px}.category-body{gap:12px}.donut{width:92px;height:92px}.donut:before{inset:10px}.category-legend{gap:9px}.panel-head{padding:20px 20px 0}.record-table td,.record-table th{padding-left:20px;padding-right:13px}.record-table th:nth-child(3){width:19%}.record-table th:nth-child(5){width:15%}.toast{left:calc(50% + 100px)}h1{font-size:25px}.heading-actions{gap:8px}.heading-actions .button{padding-left:13px;padding-right:13px}}@media(max-width:850px){.sidebar{width:172px;padding-left:12px;padding-right:12px}.brand{font-size:22px;gap:10px}.workspace-label{font-size:10px;margin-left:12px}.workspace-label span{display:none}.sidebar-bottom{padding-left:8px;padding-right:5px}.sidebar-bottom p{font-size:11px}.sidebar-bottom>.muted{font-size:9px}.side-version{font-size:8px}.side-version span{display:none}.side-nav button{font-size:12px;padding:14px 13px;gap:9px}.app-shell{margin-left:172px}main{padding:28px 22px 20px}.topbar{padding:0 22px;height:77px}.topbar-right{gap:15px}.date-badge{font-size:9px}.heading-actions{align-self:center}.heading-actions .month-select{display:none}h1{font-size:24px}.stats-grid{grid-template-columns:1.4fr 1fr 1fr;gap:10px}.stat{padding:17px 14px;min-height:155px}.stat-label{font-size:10px}.stat-label>i{padding:5px}.stat-label>i svg{width:14px;height:14px}.stat.featured .money{font-size:30px;margin-top:17px}.stat .money{font-size:25px;margin-top:20px}.stat-foot{font-size:8px}.analytics-grid{grid-template-columns:1fr}.category-body{flex-wrap:nowrap;min-height:150px;padding-top:15px;gap:35px;justify-content:flex-start}.category-legend{width:100%;max-width:290px}.category-legend{gap:14px}.donut{width:106px;height:106px}.category-line{font-size:11px}.chart-wrap{height:230px}.backup-layout{grid-template-columns:1fr}.backup-tips{grid-column:auto}.toast{left:calc(50% + 86px)}.record-table th:nth-child(3),.record-table td:nth-child(3){display:none}.record-table th:nth-child(1){width:25%}.record-table th:nth-child(2){width:32%}.record-table th:nth-child(4){width:25%}.record-table th:nth-child(5){width:18%}.record-table td,.record-table th{padding-left:18px;padding-right:9px}.record-tools{padding-left:18px;padding-right:18px}.panel-bottom{padding-left:18px;padding-right:18px}.main-footer{padding-left:22px;padding-right:22px}}
@media(max-width:620px){.sidebar{display:none}.app-shell{margin:0}.topbar{height:67px;border-bottom:0;background:transparent;padding:0 22px}.breadcrumb{font-size:0;gap:0}.breadcrumb>span{font-size:18px;font-weight:700;letter-spacing:2px;color:#405338}.breadcrumb>span::before{content:"≋";display:inline-grid;place-items:center;background:#c4e3a8;width:28px;height:28px;border-radius:9px;font:700 27px sans-serif;letter-spacing:0;margin-right:8px;vertical-align:middle;transform:rotate(-9deg);padding-bottom:4px}.breadcrumb>span{font-size:0}.breadcrumb>span::after{content:"青记";font-size:19px;vertical-align:middle}.breadcrumb>i,.breadcrumb>strong{display:none}.topbar-right{gap:12px}.date-badge{font-size:9px}.avatar{width:27px;height:27px;font-size:11px}main{padding:17px 20px 15px;min-height:calc(100vh - 200px)}.page-heading{align-items:flex-start;margin-bottom:24px;gap:8px}.eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:9px}h1{font-size:25px;letter-spacing:.3px;line-height:1.5}.page-heading p{font-size:10px;max-width:245px;line-height:1.8;margin-top:7px}.page-heading .heading-actions{display:none}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.stat.featured{grid-column:1/-1;min-height:178px;padding:22px 24px}.stat{min-height:141px;padding:17px 18px;border-radius:17px}.stat.featured .stat-label{font-size:11px}.stat.featured .money{font-size:47px;margin:13px 0 16px}.stat.featured .stat-label>i{padding:8px}.stat.featured .stat-label>i svg{width:19px;height:19px}.stat .money{font-size:29px;margin:15px 0 13px}.stat-label{font-size:10px}.stat-foot{font-size:9px;gap:4px}.stat .ghost-decoration{width:190px;height:190px;bottom:-65px;right:-30px}.stat .ghost-decoration:before{inset:22px}.stat .ghost-decoration:after{font-size:77px;left:49px;top:26px}.analytics-grid{gap:17px;margin-bottom:18px}.panel{border-radius:17px}.panel-head{padding:21px 19px 0}.panel h2{font-size:12px}.panel-head .sub{font-size:9px}.chart-wrap{height:218px;padding:15px 18px 13px}.category-body{min-height:165px;padding:18px 23px 23px;gap:32px}.donut{width:108px;height:108px}.category-legend{gap:14px;max-width:none}.category-line{font-size:10px}.category-line b{font-size:10px}.category-line .color-dot{height:6px;width:6px}.records-panel .panel-head{padding-bottom:18px}.record-tools{padding:0 18px 16px;gap:8px}.search-field{max-width:none;padding:8px 9px}.filter-select{font-size:9px;padding:7px 6px;max-width:120px}.record-table th{font-size:9px;padding:12px 17px}.record-table td{font-size:10px;padding:14px 17px}.record-table th:nth-child(1){width:26%}.record-table th:nth-child(2){width:39%}.record-table th:nth-child(4){width:35%;text-align:right}.record-table th:nth-child(5),.record-table td:nth-child(5){display:none}.record-table .income-amount{text-align:right;font-size:12px;white-space:nowrap}.type-icon{width:27px;height:27px;border-radius:8px}.type-icon svg{width:14px;height:14px}.type-cell{gap:7px}.type-name{font-size:10px}.record-table td:nth-child(1){font-size:9px;padding-right:4px}.record-table td:nth-child(2){padding-left:6px;padding-right:0}.record-table td[data-edit]{cursor:pointer}.record-table tbody tr:active{background:#f8faf3}.panel-bottom{font-size:9px;padding:12px 17px}.empty-state{padding:33px 15px}.backup-reminder{margin-top:18px;padding:14px;gap:10px}.backup-reminder>i svg{width:17px;height:17px}.backup-reminder p{font-size:9px}.backup-reminder .text-button{font-size:9px}.main-footer{padding:5px 20px 103px;font-size:8px}.mobile-nav{position:fixed;display:flex;align-items:center;justify-content:space-around;bottom:0;left:0;right:0;background:#fafcf7f5;border-top:1px solid #e6ebde;padding:9px 16px calc(11px + env(safe-area-inset-bottom));z-index:30;backdrop-filter:blur(15px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;color:#a1ad94;font-size:9px;min-width:55px;padding:4px 10px}.mobile-nav button i svg{width:20px;height:20px}.mobile-nav button.active{color:#4d6e3a}.mobile-nav .mobile-add{width:45px;height:45px;min-width:45px;display:grid;place-items:center;align-self:center;background:#416136;color:#fff;border-radius:14px;box-shadow:0 4px 12px #46623520;margin:0 5px}.mobile-nav .mobile-add i svg{width:24px;height:24px;stroke-width:1.7}.toast{bottom:99px;left:50%;font-size:11px;width:max-content;max-width:calc(100vw - 36px)}.backup-layout{gap:17px}.backup-card{padding:24px}.backup-card h2{font-size:16px}.backup-card>p{font-size:11px}.backup-card .button{font-size:11px;padding-left:13px;padding-right:13px}.backup-tips{padding:22px;border-radius:17px}.backup-tips p{font-size:10px}.types-card{padding:22px;margin-top:17px}.type-chip{font-size:10px;padding:8px 10px}.modal{padding:23px;max-height:calc(100dvh - 32px);border-radius:20px}.modal-header h2{font-size:20px}.modal-footer .button{font-size:11px;padding:12px 14px}.modal-footer>span{font-size:8px}.amount-field input{font-size:37px}.demo-banner{font-size:10px;line-height:1.7;padding:9px 12px;gap:6px}.demo-banner>i{display:none}.demo-banner button{font-size:10px;white-space:nowrap}.record-table.records-full th:nth-child(5),.record-table.records-full td:nth-child(5){display:table-cell}.record-table.records-full th:nth-child(1){width:24%}.record-table.records-full th:nth-child(2){width:31%}.record-table.records-full th:nth-child(4){width:27%}.record-table.records-full th:nth-child(5){width:18%;padding-left:3px;padding-right:9px}.record-table.records-full td{padding-left:12px;padding-right:10px}.record-table.records-full td:nth-child(2){padding-left:0}.record-table.records-full .type-icon{display:none}.record-table.records-full .row-actions{gap:1px}.record-table.records-full .icon-button{width:24px;height:28px}.record-table.records-full .income-amount{font-size:11px}.record-table.records-full th{padding-left:12px;padding-right:8px}.record-table.records-full th:nth-child(4){text-align:right}.records-month{margin-bottom:17px}.records-month .month-select{background:white}}
.money .compact-money{font-size:.58em}.money .tiny-money{font-size:.4em}.record-table .income-amount{color:#56733f}.record-table th{color:#737e68}.stat-label{color:#748267}.stat.featured .stat-label{color:#62784f}.stat .decimal{color:#718362}.stat.featured .decimal{color:#687f52}.type-name{color:#65745a}.field label{color:#667b55}.form-error{color:#9e4f3e}.overview-mobile-month{display:none}
@media(max-width:850px){.overview-mobile-month{display:flex;align-items:center;gap:14px;margin:0 0 18px}.overview-mobile-month>span{font-size:10px;color:#a5af9a}}
@media(max-width:620px){h1 .leaf-dot{display:none}.overview-mobile-month{justify-content:space-between;gap:8px;margin-top:-7px}.overview-mobile-month>span{font-size:9px}.overview-mobile-month .month-select{min-height:35px;border-radius:8px;padding:0 8px}.overview-mobile-month .month-select input{width:112px;font-size:10px}.stat-label,.stat.featured .stat-label{font-size:12px}.stat-foot{font-size:10px}.page-heading p{font-size:11px}.category-line{font-size:11px}.text-button{font-size:11px}.mobile-nav button{font-size:10px}.stat .money{font-size:clamp(21px,7.1vw,29px)}.stat.featured .money{font-size:clamp(30px,11.5vw,47px)}.record-table td.income-amount{overflow-wrap:anywhere;white-space:normal}.stat .money{overflow-wrap:anywhere}.category-line b{overflow-wrap:anywhere;min-width:0}.record-table.records-full .income-amount{font-size:10px}.field input,.field textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.legacy-type-note{grid-column:1/-1;color:#8b967e;font-size:10px;line-height:1.8;margin:3px 0 0}
