:root{color:#293b35;font-synthesis:none;background:#f5f6f3;font-family:Noto Sans SC,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:#365348;background:#fff;border:1px solid #dce3dc;border-radius:8px;padding:9px 14px;transition:all .15s}button:hover{background:#edf2eb}button:disabled{opacity:.45;cursor:not-allowed}.primary{color:#fff;background:#204f40;border-color:#204f40}.primary:hover{background:#163c30}.soft{color:#31664c;background:#eaf2e7;border-color:#eaf2e7}.link{background:0 0;border:0}.muted,small{color:#879189}p{line-height:1.7}h1,h2,h3,p{margin-top:0}h2{font-size:18px}h3{font-size:16px}input,select{color:#293b35;background:#fff;border:1px solid #dce3dc;border-radius:7px;min-width:0;padding:10px 12px}input:focus,select:focus{outline:2px solid #9ba}label{flex-direction:column;gap:8px;margin-bottom:18px;font-size:13px;display:flex}.app{min-height:100vh;display:flex}aside{background:#fcfcf9;border-right:1px solid #e3e8df;flex-direction:column;width:230px;padding:35px 23px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{color:#214c3e;letter-spacing:2px;font-size:28px;font-weight:700}.brand small{letter-spacing:2px;color:#879184;margin:8px 0 0 5px;font-size:9px;display:block}nav{gap:8px;margin-top:48px;display:grid}nav button{text-align:left;color:#7b857e;background:0 0;border:0;align-items:center;gap:15px;padding:13px 16px;display:flex}nav button span{font-size:21px}nav .selected{color:#284e3b;background:#eaf0e5;font-weight:600}nav b{background:#d9e5cd;border-radius:5px;margin-left:auto;padding:1px 6px;font-size:11px}.aside-note{color:#a5ad9c;margin-top:auto;padding:40px 15px;font-size:15px;line-height:1.8}.aside-note small{letter-spacing:1px;margin-top:12px;font-size:8px;display:block}.account{border-top:1px solid #e5e9df;align-items:center;gap:11px;padding-top:20px;display:flex}.account>span{background:#e4eadc;border-radius:50%;padding:9px 12px}.account small{margin-top:4px;font-size:10px;display:block}.account button{border:0;margin-left:auto;padding:4px}.workspace{width:calc(100% - 230px);max-width:1680px;margin-left:230px;padding:32px 42px}header{border-bottom:1px solid #e0e6dc;justify-content:space-between;align-items:center;padding-bottom:25px;display:flex}header small{letter-spacing:1px;font-size:11px}header h1{margin:7px 0 0;font-size:24px}.header-actions,.actions{align-items:center;gap:10px;display:flex}.sync{color:#80937e;margin-right:14px;font-size:10px}.page-intro{justify-content:space-between;align-items:center;margin:30px 0 22px;display:flex}.page-intro h2{margin-bottom:7px;font-size:21px}.page-intro p,.section-title p{color:#929a90;margin-bottom:0;font-size:12px}.metrics{grid-template-columns:1.2fr 1fr 1fr;gap:18px;margin-bottom:25px;display:grid}.metric{background:#fff;border:1px solid #e1e6db;border-radius:12px;padding:24px}.metric h2{letter-spacing:-.6px;overflow-wrap:anywhere;margin:18px 0 14px;font-size:27px}.metric p{color:#929b90;margin:0;font-size:11px}.metric small{color:#7d887c;align-items:center;gap:10px;font-size:12px;display:flex}.asset{color:#f7faed;background:#254f40;border-color:#254f40;position:relative;overflow:hidden}.asset:after{content:"";opacity:.4;pointer-events:none;border:1px solid #5a7764;border-radius:50%;width:230px;height:230px;position:absolute;bottom:-90px;right:-30px}.asset small,.asset p{color:#c2d2bc}.asset small span{background:#ffffff14;border-radius:5px;margin-left:auto;padding:4px 8px;font-size:10px}.round{color:#5f8c68;background:#eaf3e9;border-radius:50%;padding:7px;font-size:16px;display:inline-flex}.round.orange{color:#c18e5f;background:#faf0e8}.green{color:#388569}.red{color:#b47b61}.panel{background:#fff;border:1px solid #e2e7dd;border-radius:12px;margin-bottom:23px;padding:24px}.section-title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;display:flex}.section-title h2{margin:0;font-size:16px}.section-title p{margin:7px 0 0}.section-title button{font-size:11px}.section-title em{color:#849278;background:#f0f3eb;border-radius:5px;margin-left:7px;padding:3px 7px;font-size:10px;font-style:normal}.bill{border-top:1px solid #eff1eb;align-items:center;gap:17px;padding:17px 0;display:flex}.bill-icon{color:#ba8b66;background:#f8efe6;border-radius:10px;place-items:center;width:39px;height:39px;font-size:22px;display:grid}.bill-icon.income{color:#65915e;background:#edf3e7}.bill-name{flex:1}.bill strong{font-size:13px}.bill small{margin-top:7px;font-size:11px;display:block}.bill button{white-space:nowrap;font-size:11px}.wallet-grid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:15px;display:grid}.wallet{background:#f4f7f3;border:1px solid #e6ecdf;border-radius:10px;padding:20px}.wallet-1{background:#f3f6f9;border-color:#e5eaf0}.wallet-2{background:#f7f5fa;border-color:#eae5ef}.wallet-3{background:#faf7f1;border-color:#efe9dc}.wallet>div{align-items:center;gap:9px;display:flex}.wallet small{font-size:10px}.wallet>div>small{margin-left:auto}.wallet-logo{color:#5b7764;background:#fff;border-radius:6px;place-items:center;width:28px;height:28px;font-size:16px;display:grid}.wallet strong{font-size:13px}.wallet p{color:#8b9589;margin:22px 0 7px;font-size:10px}.wallet h3{overflow-wrap:anywhere;margin-bottom:9px;font-size:21px}.analysis-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.chart-row{margin-top:20px}.chart-row>div:first-child{justify-content:space-between;gap:10px;font-size:12px;display:flex}.chart-row i{border-radius:3px;width:8px;height:8px;margin-right:8px;display:inline-block}.track{background:#f2f4ee;border-radius:6px;height:6px;margin:10px 0 4px}.track span{background:#9fb895;border-radius:6px;height:6px;display:block}.chart-row small{text-align:right;font-size:9px;display:block}.table-wrap{overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;text-align:left;width:100%;font-size:12px}th{color:#9ba396;background:#fafbf7;padding:12px;font-size:10px;font-weight:400}td{border-bottom:1px solid #f0f2ec;padding:17px 12px}td small{margin-top:6px;font-size:10px;display:block}td button{color:#a6aca2;border:0;padding:4px;font-size:10px}td:first-child strong{font-weight:500}.empty{text-align:center;color:#929c8b;padding:30px 15px}.empty>span{color:#a5b69b;font-size:25px}.empty h3{margin:13px 0 6px;font-size:14px;font-weight:500}.empty p,.empty button{font-size:12px}footer{color:#a2aa9d;justify-content:space-between;align-items:center;gap:12px;margin-top:30px;font-size:10px;display:flex}footer button{color:#85957d;background:0 0;border:0;font-size:10px}.error{color:#a35a41;background:#fff0e9;border:1px solid #edd4c6;border-radius:8px;margin:15px 0;padding:12px 16px;font-size:12px}.notice{background:#edf1e5;border-radius:8px;margin:15px 0;padding:12px;font-size:12px}.notice button{margin-left:10px}.overlay{z-index:10;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#142e255c;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:15px;width:460px;max-height:92vh;padding:26px;overflow:auto;box-shadow:0 20px 90px #142e2529}.dialog-bottom{border-top:1px solid #e9ece5;justify-content:flex-end;gap:10px;padding-top:20px;display:flex}.dialog .muted{font-size:11px}.login{grid-template-columns:1.1fr 1fr;min-height:100vh;display:grid}.login-copy{background:#e9efdf;padding:70px 12%}.login-copy h1{color:#264d3d;margin-top:90px;font-size:50px;line-height:1.5}.login-copy p{color:#879379;font-size:15px;line-height:2}.login-art{color:#587449;border-top:1px solid #cdd9bf;gap:22px;margin-top:70px;padding-top:30px;display:grid}.login-art span{font-size:12px}.login-art b{font-size:24px}.login-form{align-self:center;width:80%;max-width:350px;margin:60px auto}.login-form h2{margin:12px 0 35px;font-size:25px}.login-form>button{width:100%;margin-bottom:12px}.login-form>.muted{text-align:center;margin-top:25px;font-size:10px}@media (width>=1500px){.workspace{padding:36px 60px}}@media (width<=1100px){aside{width:190px;padding:30px 15px}.workspace{width:calc(100% - 190px);margin-left:190px;padding:25px}.metrics{gap:12px}.metric{padding:18px}.metric h2{font-size:23px}.sync{display:none}.wallet-grid{grid-template-columns:repeat(2,1fr)}.analysis-grid{gap:14px}.panel{padding:20px}.actions{flex-wrap:wrap}.actions input{width:145px}}@media (width<=700px){aside{z-index:3;background:#fcfcf9;border-top:1px solid #e0e5dc;border-right:0;width:100%;height:66px;padding:4px 8px;top:auto;bottom:0}.brand,.aside-note,.account{display:none}nav{justify-content:space-around;gap:0;margin:0;display:flex}nav button{flex-direction:column;gap:3px;padding:6px 9px;font-size:10px;display:flex;position:relative}nav button span{font-size:19px}nav b{font-size:8px;position:absolute;top:0;right:0}.workspace{width:100%;margin:0;padding:22px 16px 90px}header{padding-bottom:19px}header h1{font-size:23px}.header-actions button{font-size:12px}.page-intro{margin-top:24px}.page-intro h2{font-size:16px}.page-intro p{max-width:180px;font-size:10px}.page-intro input{width:125px;padding:8px;font-size:11px}.metrics{grid-template-columns:1fr 1fr;gap:12px}.metric.asset{grid-column:1/-1}.metric h2{font-size:21px}.asset h2{font-size:31px}.metric small{font-size:11px}.metric p{font-size:10px}.round{padding:5px;font-size:12px}.panel{margin-bottom:16px;padding:17px}.section-title{flex-wrap:wrap;align-items:flex-start;gap:9px}.section-title h2{font-size:15px}.section-title p{font-size:10px}.section-title button{padding:7px 9px;font-size:10px}.bill{flex-wrap:wrap;gap:10px}.bill-icon{width:30px;height:30px}.bill-name{min-width:130px}.bill strong{font-size:11px}.bill small{font-size:9px}.bill button{padding:7px 9px;font-size:10px}.bill>strong{margin-left:40px}.wallet-grid{gap:10px}.wallet{padding:13px}.wallet strong{font-size:12px}.wallet h3{font-size:17px}.wallet-logo{width:23px;height:23px}.wallet>div{flex-wrap:wrap;gap:6px}.wallet>div>small{font-size:9px}.analysis-grid{grid-template-columns:1fr;gap:0}.empty{padding:22px 5px}.empty p{font-size:10px}footer{flex-wrap:wrap;font-size:9px}footer>span:last-child{width:100%}.dialog{padding:20px}.overlay{padding:12px}.login{display:block}.login-copy{padding:30px}.login-copy .brand{display:block}.login-copy h1{margin:30px 0 15px;font-size:30px}.login-copy p{font-size:12px}.login-art{display:none}.login-form{margin:35px auto}.login-form h2{font-size:23px}}.mobile-logout{display:none}@media (width<=700px){.mobile-logout{justify-content:center;align-items:center;min-height:44px;padding:9px 11px;display:inline-flex}.header-actions .primary{min-height:44px}.header-actions{gap:8px}}.header-account{text-overflow:ellipsis;white-space:nowrap;max-width:220px;display:block;overflow:hidden}@media (width<=700px){:root{font-size:15px}button{touch-action:manipulation;min-height:44px}input,select{width:100%;min-height:48px;font-size:16px}label{gap:9px;font-size:14px}.workspace{padding:calc(18px + env(safe-area-inset-top)) 16px calc(165px + env(safe-area-inset-bottom))}aside{height:calc(70px + env(safe-area-inset-bottom));padding:5px 6px calc(5px + env(safe-area-inset-bottom))}nav button{flex:1;gap:5px;min-width:0;min-height:58px;padding:7px 2px;font-size:11px}nav button span{font-size:21px}header{align-items:center;gap:12px}.header-account{max-width:200px;font-size:12px}.header-actions .quick-add{right:20px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:4;border-radius:28px;min-height:52px;padding:13px 23px;font-size:16px;position:fixed;box-shadow:0 6px 20px #173e3633}.header-actions .quick-add:disabled{opacity:1;color:#fff;box-shadow:none;background:#869c8e;border-color:#869c8e}.page-intro{align-items:flex-start;gap:12px}.page-intro input{width:136px;min-height:44px;font-size:14px}.page-intro h2{font-size:17px;line-height:1.5}.page-intro p,.section-title p{font-size:12px;line-height:1.7}.metric small{font-size:12px}.metric p{font-size:11px}.section-title button,.bill button{min-height:44px;font-size:12px}.section-title .actions{gap:8px;width:100%;display:flex}.section-title .actions button{flex:1;padding:9px 6px}.section-title .actions input{flex:1;width:100%;min-width:0;font-size:16px}.section-title .actions input[placeholder]{flex-basis:100%}.bill{grid-template-columns:32px minmax(0,1fr) auto;gap:10px;display:grid}.bill-name{overflow-wrap:anywhere;min-width:0}.bill strong{font-size:14px}.bill small{font-size:12px;line-height:1.6}.bill>.bill-name:first-child,.bill>.bill-name:first-child+span{grid-column:1/3}.bill>.bill-name:first-child~button{grid-area:2/3}.bill>strong{overflow-wrap:anywhere;grid-column:2;margin-left:0}.bill>button{grid-area:2/3}.bill-name+strong{grid-row:2}.wallet h3{font-size:18px}.wallet strong{overflow-wrap:anywhere}.wallet small{font-size:11px}.wallet p{font-size:12px}.wallet>div>small{font-size:11px}.chart-row>div:first-child{font-size:14px}.chart-row small{font-size:11px}.table-wrap{overflow:visible}table,tbody{white-space:normal;width:100%;display:block}thead{display:none}tbody tr{border-bottom:1px solid #e9eee5;grid-template-columns:minmax(0,1fr) minmax(0,auto);gap:8px 12px;padding:18px 0;display:grid}td{overflow-wrap:anywhere;border:0;min-width:0;padding:0;font-size:13px}td strong{font-size:15px}td small{font-size:12px;line-height:1.6}.entry-description{grid-area:1/1}.entry-amount{text-align:right;grid-area:1/2;max-width:160px;font-size:15px;font-weight:600}.entry-date{color:#879189;grid-area:2/1;font-size:12px}.entry-wallet{grid-area:3/1/auto/-1;line-height:1.6}.entry-wallet:before{content:attr(data-label) " · ";color:#879189;font-size:12px}.entry-actions{text-align:right;grid-area:2/2}.entry-actions button{color:#996a57;min-height:44px;margin:-8px -8px -8px 0;padding:8px 10px;font-size:12px}.empty p{font-size:12px}.notice{font-size:13px;line-height:1.8}footer{gap:8px;font-size:11px}footer button{font-size:12px}.overlay{align-items:flex-end;padding:0}.dialog{overscroll-behavior:contain;border-radius:20px 20px 0 0;width:100%;max-width:560px;max-height:94dvh;padding:0 20px;scroll-padding:85px 0}.dialog>.section-title{z-index:1;background:#fff;border-bottom:1px solid #eef1e9;margin-bottom:18px;padding:18px 0 12px;position:sticky;top:0}.dialog>.section-title h2{font-size:18px}.dialog>.section-title button{min-width:44px;font-size:18px}.dialog-bottom{padding:14px 20px calc(14px + env(safe-area-inset-bottom));background:#fff;gap:12px;margin:20px -20px 0;position:sticky;bottom:0}.dialog-bottom button{min-height:48px;font-size:16px}.dialog-bottom .primary{flex:1}.dialog .muted{font-size:12px}.login-copy{padding:calc(25px + env(safe-area-inset-top)) 28px 20px}.login-form{padding-bottom:env(safe-area-inset-bottom)}}@media (width<=360px){.wallet-grid{grid-template-columns:1fr}.metric h2{font-size:18px}.entry-amount{max-width:135px;font-size:14px}.page-intro{flex-wrap:wrap}}.profile-page{max-width:720px;margin:28px auto 0}.profile-card{align-items:center;gap:18px;padding:28px;display:flex}.profile-avatar{color:#375d45;background:#e8efdf;border-radius:20px;flex-shrink:0;place-items:center;width:60px;height:60px;font-size:26px;display:grid}.profile-card h2{overflow-wrap:anywhere;margin:0 0 6px}.profile-card>div{min-width:0}.profile-card p{color:#879189;margin:0 0 8px;font-size:13px}.settings-list{padding:0 22px}.settings-list button{text-align:left;background:0 0;border:0;border-bottom:1px solid #edf1e8;border-radius:0;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:78px;padding:20px 0;display:flex}.settings-list button:last-child{border-bottom:0}.settings-list strong{font-size:15px;font-weight:500;display:block}.settings-list small{margin-top:7px;font-size:12px;display:block}.settings-list button>span:last-child{color:#9aa795;font-size:24px}.logout-button{color:#986c59;background:#fff;border-color:#e1e5dc;width:100%;min-height:50px;margin-top:12px;font-size:15px}@media (width<=700px){.profile-page{margin-top:24px}.profile-card{padding:24px 20px}.profile-card h2{font-size:18px}.profile-card small{font-size:12px}.settings-list{padding:0 20px}.logout-button{margin-top:20px}}.debt-shortcut{background:#f0f4e9;border:1px solid #e0e6da;border-radius:12px;margin:0 0 22px;padding:18px 20px}.debt-shortcut>button{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:36px;padding:0;display:flex}.debt-shortcut b{color:#7f9077;margin-left:8px;font-size:11px;font-weight:400}.debt-shortcut strong{font-size:18px}.debt-shortcut>small{margin-top:8px;font-size:12px;display:block}.bill-tabs,.debt-filters{gap:8px;margin:20px 0;display:flex}.bill-tabs button{flex:1;min-height:46px}.bill-tabs .selected,.debt-filters .selected{color:#32573e;background:#e7efde;border-color:#cbdcbe}.debt-filters button{min-height:40px;font-size:12px}.debt-card{border-top:1px solid #e9eee5;padding:22px 0}.debt-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.debt-heading h3{overflow-wrap:anywhere;margin:0 0 8px}.debt-heading p{color:#879189;overflow-wrap:anywhere;margin:0;font-size:13px}.debt-tag{color:#708163;white-space:nowrap;background:#edf2e7;border-radius:5px;padding:5px 8px;font-size:11px}.debt-tag.overdue{color:#a36b51;background:#fbefe7}.debt-amount{justify-content:space-between;align-items:center;gap:12px;margin:18px 0 12px;display:flex}.debt-amount strong{overflow-wrap:anywhere;font-size:22px}.debt-meta{color:#879189;margin-bottom:12px;font-size:12px;line-height:1.8}.debt-card summary{color:#688261;cursor:pointer;margin-bottom:12px;font-size:12px}.debt-card>.soft{min-height:44px;margin-top:10px}@media (width<=700px){.debt-shortcut{padding:15px}.debt-shortcut>button{flex-wrap:wrap}.debt-shortcut strong{font-size:18px}.debt-card>.soft{width:100%}.bill .to-receivable{color:#7e8f76;background:0 0;border-color:#e7ecdf;grid-area:3/2/auto/4}.debt-heading>div{min-width:0}.debt-meta{font-size:13px}.debt-card summary{min-height:36px}}.payable-shortcut{background:#faf3ea;border-color:#eee1d1}.payable-shortcut strong{color:#9d7256}.currency-summary summary{cursor:pointer;min-height:32px;font-size:15px;font-weight:500}.currency-summary>.muted{margin:12px 0;font-size:12px}.currency-row{border-top:1px solid #edf1e8;padding:16px 0}.currency-row>strong{font-size:13px}.currency-row>div{justify-content:space-between;gap:15px;margin-top:12px;font-size:12px;display:flex}.currency-row b{margin-top:6px;font-size:15px;font-weight:500;display:block}.currency-summary{margin-top:0}
