@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#172033;background:#f6f7fb;font-synthesis:none;--muted:#8791a5;--line:#edf0f5;--purple:#6558e8;--green:#159b72;--red:#e45e69}*{box-sizing:border-box}body{margin:0;background:#f6f7fb}.app-shell{max-width:520px;min-height:100dvh;margin:auto;background:#f8f9fc;position:relative;padding-bottom:92px;box-shadow:0 0 50px #1b24400b}.topbar{height:76px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:38px;height:38px;border-radius:13px;background:#6659e9;color:#fff;display:grid;place-items:center;font:800 20px Manrope;box-shadow:0 6px 15px #6558e833}.brand-name{font:800 14px Manrope;letter-spacing:1.3px}.brand-tag{font-size:8px;color:#929bad;letter-spacing:1.25px;margin-top:3px}.icon-btn,.round-add,.close-btn{border:0;cursor:pointer}.icon-btn{width:39px;height:39px;border-radius:12px;background:#f2f3fb;color:#5d58cf;font-size:22px}main{padding:22px 20px 26px}.page{display:none}.page.active{display:block}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin:2px 0 20px}.eyebrow{font-size:9px;letter-spacing:1.35px;color:#9aa3b4;font-weight:800;margin:0 0 7px}h1,h2,p{margin-top:0}h1{font:800 27px Manrope;letter-spacing:-.8px;margin-bottom:0}h2{font:800 17px Manrope;margin:0}.month-pill{font-size:11px;font-weight:700;color:#6558e8;background:#efedff;padding:8px 11px;border-radius:20px}.balance-card{background:linear-gradient(125deg,#6258df,#8276f2);border-radius:22px;padding:21px;color:#fff;box-shadow:0 13px 26px #665be32b}.balance-head{display:flex;justify-content:space-between;color:#e2e0ff;font-size:12px}.live-dot{font-size:9px;letter-spacing:1px;color:#d5ffed}.balance-amount{font:800 35px Manrope;letter-spacing:-1.5px;margin:12px 0 18px}.balance-foot{display:flex;gap:32px;border-top:1px solid #ffffff35;padding-top:13px;color:#e4e2ff;font-size:11px}.balance-foot b{display:block;color:#fff;font-size:13px;margin-top:4px}.quick-actions{display:flex;gap:11px;margin:15px 0 27px}.action{flex:1;border:0;border-radius:13px;padding:13px 9px;font:700 12px DM Sans;cursor:pointer}.action span{font-size:17px;margin-right:5px}.action.primary{background:#6558e8;color:#fff;box-shadow:0 7px 15px #6558e82c}.action.secondary{background:#fff;color:#6558e8;border:1px solid #e9e7ff}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:25px 0 13px}.section-heading h2{font-size:16px}.text-btn{border:0;background:none;color:#6558e8;font:700 11px DM Sans;cursor:pointer;padding:4px 0}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.stat-card,.panel{background:#fff;border:1px solid #eef0f5;border-radius:17px;padding:15px}.stat-icon{width:29px;height:29px;border-radius:10px;display:grid;place-items:center;font-size:16px;margin-bottom:12px}.purple{background:#f0eeff;color:#6558e8}.green{background:#e6f8f1;color:#159b72}.stat-card span{display:block;color:#8993a6;font-size:10px}.stat-card strong{display:block;font:800 19px Manrope;margin:5px 0}.stat-card small{font-size:9px;color:#a0a8b6}.transaction-list{display:flex;flex-direction:column}.transaction{display:flex;align-items:center;gap:11px;padding:13px 2px;border-bottom:1px solid #edf0f5}.transaction:last-child{border-bottom:0}.tx-icon{width:39px;height:39px;border-radius:13px;background:#f1f0ff;display:grid;place-items:center;font-size:17px;flex-shrink:0}.tx-info{flex:1;min-width:0}.tx-title{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-meta{font-size:10px;color:#9aa3b2;margin-top:4px}.tx-amount{font-size:12px;font-weight:800;white-space:nowrap}.tx-amount.expense{color:#e45e69}.tx-amount.income{color:#159b72}.empty-state{text-align:center;padding:35px 18px;color:#8791a5;display:none}.empty-state.show{display:block}.empty-icon{width:48px;height:48px;margin:0 auto 12px;background:#efedff;border-radius:16px;display:grid;place-items:center;color:#6558e8;font-size:23px}.empty-state b{display:block;color:#273047;font-size:13px}.empty-state p{font-size:11px;line-height:1.6;margin:7px 0 12px}.round-add{width:39px;height:39px;border-radius:13px;background:#6558e8;color:#fff;font-size:22px}.search{width:100%;padding:13px 15px;border:1px solid #eaedf3;border-radius:13px;background:#fff;font:12px DM Sans;outline:none;margin-bottom:13px}.search:focus,input:focus,select:focus{border-color:#9b94f5!important;box-shadow:0 0 0 3px #6558e814}.filter-row{display:flex;gap:8px;margin-bottom:13px}.filter{border:1px solid #e9ebf2;border-radius:18px;background:#fff;color:#8c95a6;padding:7px 14px;font-size:10px;font-weight:700}.filter.active{background:#efedff;border-color:#efedff;color:#6558e8}.full-list{background:#fff;border:1px solid #edf0f5;border-radius:16px;padding:0 13px}.insight-summary{background:linear-gradient(130deg,#1d2945,#35466c);border-radius:19px;padding:20px;color:#fff;margin-bottom:15px}.insight-summary strong{font:800 30px Manrope}.insight-summary p:last-child{font-size:11px;color:#c4cce0;margin:8px 0 0}.panel{margin-bottom:13px}.compact{margin:0 0 16px;align-items:center}.muted{font-size:10px;color:#9aa3b2}.breakdown-row{margin:14px 0}.breakdown-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:7px}.breakdown-label b{font-weight:700}.bar{height:7px;background:#f0f1f6;border-radius:10px;overflow:hidden}.bar-fill{height:100%;border-radius:10px;background:#796dec}.empty-inline{font-size:11px;color:#9aa3b2;padding:12px 0}.smart-item{display:flex;gap:10px;padding:11px 0;border-top:1px solid #f0f1f5;font-size:11px;line-height:1.5;color:#697488}.smart-bullet{width:25px;height:25px;border-radius:9px;background:#f0eeff;color:#6558e8;display:grid;place-items:center;flex-shrink:0}.budget-intro{background:#f0efff;border-color:#e9e6ff}.budget-intro h2{font-size:19px;margin:4px 0 7px}.budget-intro p:last-child,.goal-banner p:last-child{font-size:11px;line-height:1.5;color:#7f88a0;margin:0}.budget-card,.goal-card{background:#fff;border:1px solid #edf0f5;border-radius:16px;padding:15px;margin-bottom:11px}.budget-top,.goal-top{display:flex;align-items:center;gap:10px}.budget-name,.goal-name{flex:1;font-size:12px;font-weight:800}.budget-amount{font-size:11px;color:#7e8798}.budget-progress{height:8px;border-radius:10px;background:#f0f1f5;margin:13px 0 8px;overflow:hidden}.budget-progress div{height:100%;background:#6558e8;border-radius:10px}.budget-progress div.over{background:#e45e69}.budget-foot{display:flex;justify-content:space-between;color:#9aa3b2;font-size:9px}.goal-banner{display:flex;justify-content:space-between;align-items:center;background:#eaf8f2;border-radius:18px;padding:18px;margin-bottom:16px}.goal-banner h2{font-size:17px;margin-bottom:6px}.goal-emoji{font-size:38px}.goal-progress{height:8px;background:#eff1f5;border-radius:10px;overflow:hidden;margin:13px 0 8px}.goal-progress div{height:100%;background:#19a77c;border-radius:10px}.goal-actions{display:flex;gap:13px;margin-top:10px}.goal-actions button{border:0;background:none;color:#6558e8;font-size:10px;font-weight:700;padding:0}.primary-btn{background:#6558e8;color:#fff;border:0;border-radius:12px;padding:13px 16px;font:700 12px DM Sans;cursor:pointer}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1a213c66;z-index:10;display:none;align-items:flex-end;justify-content:center}.modal-backdrop.show{display:flex}.modal{width:min(520px,100%);max-height:92dvh;overflow:auto;background:#fff;border-radius:24px 24px 0 0;padding:23px 22px calc(25px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:9px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.modal-head h2{font-size:21px}.close-btn{width:32px;height:32px;border-radius:50%;background:#f2f3f7;font-size:22px;color:#667085}.type-switch{display:flex;background:#f2f3f8;border-radius:12px;padding:4px;margin-bottom:7px}.type-option{flex:1;border:0;background:none;padding:9px;border-radius:9px;color:#929bad;font-size:11px;font-weight:700}.type-option.active{background:#fff;color:#6558e8;box-shadow:0 2px 6px #1b24400d}.modal label{font-size:10px;font-weight:700;color:#687287;margin-top:5px}.optional{color:#aab1bd;font-weight:400}.modal input,.modal select{width:100%;padding:12px;border:1px solid #e9ecf2;border-radius:11px;font:12px DM Sans;outline:none;background:#fff;color:#273047}.submit-btn{margin-top:12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(520px,100%);height:76px;padding:8px 7px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #edf0f5;display:flex;justify-content:space-around;z-index:6}.nav-item{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:54px;color:#a0a8b7;font-size:9px;font-weight:700}.nav-item span{font-size:20px;line-height:22px}.nav-item.active{color:#6558e8}.toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#202943;color:#fff;padding:11px 16px;border-radius:12px;font-size:11px;z-index:20;transition:.2s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%)}@media(min-width:600px){body{padding:20px 0}.app-shell{border-radius:25px;overflow:hidden;min-height:calc(100dvh - 40px)}.topbar{position:relative}.bottom-nav{bottom:20px;border-radius:0 0 25px 25px}.modal-backdrop{align-items:center}.modal{border-radius:24px;max-width:440px;margin:20px}}
