@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,Inter,system-ui,sans-serif;color:#192334;background:#f4f6fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}.app-shell{max-width:1120px;margin:auto;min-height:100vh;padding-bottom:90px}.hero{background:linear-gradient(135deg,#2864f6,#397cff);color:#fff;padding:24px 28px 78px;border-radius:0 0 28px 28px}.topline{display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800}.brand small{display:block;font-size:9px;letter-spacing:1.4px;color:#d7e3ff;font-weight:600}.brand-icon{width:38px;height:38px;border-radius:12px;background:#ffffff25;display:grid;place-items:center;font-size:21px}.avatar{width:40px;height:40px;border-radius:50%;border:1px solid #ffffff70;background:#ffffff24;color:#fff;font-weight:800}.greeting{margin-top:28px;color:#e1eaff;font-size:14px}.balance-label{font-size:12px;color:#d9e5ff;margin-top:7px}.balance{font-size:36px;font-weight:800;letter-spacing:-1px;margin:0 0 17px}.summary{display:flex;gap:12px}.summary>div{background:#ffffff20;border:1px solid #ffffff30;border-radius:14px;padding:12px 14px;min-width:160px;display:grid;grid-template-columns:20px 1fr;gap:3px 8px;align-items:center}.summary svg{grid-row:span 2;width:18px}.summary span{font-size:11px;color:#e0eaff}.summary b{font-size:16px}.content{padding:0 22px;margin-top:-48px}.panel{background:#fff;border-radius:18px;padding:20px;margin-bottom:16px;box-shadow:0 8px 28px #1c31500a}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-title h2,.panel h2{font-size:16px;margin:0;font-weight:800}.section-title>span{font-size:11px;color:#8994a5}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-actions button{border:0;background:none;display:flex;align-items:center;gap:9px;flex-direction:column;color:#526075;font-size:12px;font-weight:700}.quick-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center}.quick-icon.red{background:#fff0ed;color:#fa6b55}.quick-icon.green{background:#e8faf2;color:#1eb77a}.quick-icon.purple{background:#f4edff;color:#9b5be8}.quick-icon.blue{background:#edf3ff;color:#2864f6}.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.text-btn{border:0;background:none;color:#2864f6;font-weight:700;font-size:12px}.transaction{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f2f6;min-width:0}.transaction:last-child{border-bottom:0}.tx-icon{width:39px;height:39px;flex:none;border-radius:12px;display:grid;place-items:center}.tx-icon.expense{background:#fff0ed;color:#fa6b55}.tx-icon.income{background:#e8faf2;color:#1eb77a}.tx-info{flex:1;min-width:0}.tx-info b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-info small{display:block;color:#8994a5;font-size:10px;margin-top:3px}.transaction strong{font-size:12px;white-space:nowrap}.positive{color:#20ad75}.negative{color:#f26955}.mini-icon{border:0;background:none;color:#9aa4b2;padding:5px}.budget-values{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.budget-values strong{font-size:17px}.budget-values small{font-size:11px;color:#8792a3;font-weight:500}.budget-values span{font-size:11px;color:#20ad75}.progress{height:9px;background:#eef1f6;border-radius:20px;margin:13px 0 7px;overflow:hidden}.progress>div{height:100%;background:#2864f6;border-radius:20px}.progress>div.warning{background:#ff765e}.budget-foot{display:flex;justify-content:space-between;color:#9aa4b2;font-size:10px}.category-row{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #f0f2f6;font-size:12px}.category-row:last-child{border:0}.category-row>div{display:flex;align-items:center;gap:9px}.category-row b{font-size:12px}.dot{width:9px;height:9px;border-radius:50%}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid #edf0f5;display:flex;justify-content:center;z-index:5;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav button{border:0;background:none;color:#929cac;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 22px;font-size:10px;min-width:72px}.bottom-nav button svg{width:20px;height:20px}.bottom-nav button.active{color:#2864f6;font-weight:800}.bottom-nav .nav-add{color:#fff;background:#2864f6;border-radius:50%;width:58px;height:58px;min-width:58px;padding:0;justify-content:center;margin:-24px 10px 4px;border:4px solid #f4f6fa;box-shadow:0 6px 18px #2864f666}.bottom-nav .nav-add span{display:none}.filters{display:flex;gap:8px;margin-bottom:10px}.filters button{border:1px solid #edf0f5;border-radius:20px;background:#fff;color:#7b8798;padding:7px 14px;font-size:12px}.filters button.chosen{background:#edf3ff;border-color:#d6e3ff;color:#2864f6;font-weight:800}.primary{border:0;border-radius:11px;background:#2864f6;color:#fff;padding:12px 16px;font-weight:800}.primary:disabled{opacity:.6}.primary.small{padding:9px 12px;font-size:12px}.full{width:100%;margin-top:8px}.secondary{display:inline-flex;align-items:center;gap:8px;border:1px solid #e6eaf0;border-radius:10px;background:#fff;padding:10px 13px;margin:8px 8px 0 0}.danger-btn{color:#e45d50}.notice{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;background:#edf3ff;color:#2854b6;border-radius:12px;margin-bottom:14px;font-size:12px}.notice button{border:0;background:none;color:inherit}.notice.error{background:#fff0ed;color:#b83e32}.muted,.hint{color:#8792a3;font-size:12px;line-height:1.5}.empty{text-align:center;color:#9aa4b2;padding:24px 8px;font-size:12px}.budget-form{display:flex;align-items:end;gap:12px;margin-top:22px;flex-wrap:wrap}.budget-form label,.modal label,.auth-card label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#596579}.budget-form input,.modal input,.modal select,.auth-card input{border:1px solid #dfe4ed;border-radius:10px;padding:11px;background:#fff;min-width:0}.profile-card{text-align:center}.profile-avatar,.logo-mark{width:56px;height:56px;border-radius:18px;background:#edf3ff;color:#2864f6;display:grid;place-items:center;font-size:24px;font-weight:800;margin:0 auto 10px}.tag{display:inline-block;background:#e8faf2;color:#20a875;padding:5px 10px;border-radius:20px;font-size:10px}.group-row{padding:12px 0;border-bottom:1px solid #edf0f5}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#10182788;z-index:10;display:flex;align-items:center;justify-content:center;padding:14px}.modal{background:#fff;width:min(100%,460px);max-height:92vh;overflow:auto;border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:13px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}.modal-head h2{font-size:18px;margin:0}.icon-btn{border:0;background:#f1f3f7;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.hint{font-size:10px;margin:2px 0}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(140deg,#eaf0ff,#f7f8fb)}.auth-card{background:#fff;border-radius:22px;padding:30px;width:min(100%,410px);box-shadow:0 15px 50px #1b315014}.auth-card h1{text-align:center;font-size:22px;margin:10px 0 5px}.auth-card>.muted{text-align:center;margin:0 0 24px}.auth-card form{display:flex;flex-direction:column;gap:15px}.auth-card input{width:100%;margin-top:5px}.auth-card .hint{text-align:center;margin-top:12px}.error-text{color:#d44c40;font-size:12px;margin:0}.loading{padding:60px;text-align:center;color:#6c7890}@media(min-width:760px){.app-shell{padding-bottom:30px}.hero{padding:26px 34px 82px}.content{padding:0 30px}.bottom-nav{position:static;background:transparent;border:0;padding:0}.bottom-nav button{background:#fff;border:1px solid #edf0f5;border-radius:13px;margin:0 5px;flex-direction:row;justify-content:center;min-width:125px;padding:12px}.bottom-nav .nav-add{border-radius:13px;width:auto;height:auto;min-width:125px;margin:0 5px;padding:12px;border:0;box-shadow:none}.bottom-nav .nav-add span{display:block}.two-col{grid-template-columns:1.2fr .8fr}}@media(max-width:560px){.hero{padding:20px 17px 72px}.content{padding:0 12px}.panel{padding:16px}.summary{gap:8px}.summary>div{min-width:0;flex:1;padding:10px}.summary b{font-size:14px}.balance{font-size:32px}.quick-actions{gap:4px}.quick-actions button{font-size:10px}.quick-icon{width:40px;height:40px}.two-col{grid-template-columns:1fr}.bottom-nav button{padding:10px 12px;min-width:58px}.bottom-nav .nav-add{margin-left:6px;margin-right:6px}}.report{display:grid;grid-template-columns:230px 1fr;gap:24px;align-items:center}.donut{width:100%;max-width:230px;margin:auto}.donut-label{font-size:11px;fill:#8994a5}.donut-total{font-size:19px;font-weight:800;fill:#192334}.report-row{padding:9px 0}.report-head{display:flex;justify-content:space-between;font-size:13px;font-weight:700}.report-head span{display:flex;align-items:center;gap:9px}.report-sub small{color:#8994a5;font-size:11px}.report-row .progress{margin:7px 0 0}.report-row .progress>div{background:#2864f6}@media(max-width:700px){.report{grid-template-columns:1fr}}.inline-form{display:flex;gap:10px;margin-top:14px}.inline-form input{flex:1;min-width:0;border:1px solid #dfe4ed;border-radius:10px;padding:11px;background:#fff}.inline-form .primary{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.member-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #f0f2f6}.member-avatar{width:38px;height:38px;flex:none;border-radius:50%;background:#edf3ff;color:#2864f6;display:grid;place-items:center;font-weight:800}.member-info{flex:1;min-width:0}.member-info b{display:block;font-size:13px}.member-info small{display:block;color:#8994a5;font-size:11px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-btn.danger{color:#e45d50}.group-tabs{flex-wrap:wrap}.notice span{flex:1;min-width:0}.notice>button{flex:none}.name-prompt{display:flex;align-items:center;justify-content:space-between;gap:12px}.name-prompt p{margin:3px 0 0}
