/* © 2026 Kapil Chawhan. All rights reserved. Unauthorised copying, modification, reverse engineering or redistribution is prohibited. */
:root{--m-nav-h: 68px;--m-safe-top: env(safe-area-inset-top, 0px);--m-safe-bottom: env(safe-area-inset-bottom, 0px);--m-radius: 16px}@media(min-width:769px){.m-only{display:none!important}}.m-install{background:var(--accent-fill);color:#1a1405;font-family:var(--body-font);font-size:13.5px;padding-top:var(--m-safe-top)}.m-install[hidden]{display:none}.m-install-row,.m-install-steps{max-width:760px;margin:0 auto;padding:8px 12px 8px 16px}.m-install-row{display:flex;align-items:center;gap:10px}.m-install-icon{flex:none;width:34px;height:34px;border-radius:8px;box-shadow:0 0 0 1px #00000026}.m-install-text{flex:1;min-width:0;line-height:1.35}.m-install-btn{flex:none;min-height:36px;padding:0 14px;border:0;border-radius:10px;cursor:pointer;background:#1a1405;color:var(--accent-fill);font:700 13px var(--body-font);white-space:nowrap}.m-install-btn:disabled{opacity:.7;cursor:progress}.m-install-close{flex:none;display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:0;background:none;color:inherit;opacity:.8;cursor:pointer}.m-install-close:hover{opacity:1}.m-install-btn:focus-visible,.m-install-close:focus-visible{outline:2px solid #1a1405;outline-offset:2px}.m-install-steps{list-style:none;display:grid;gap:8px;padding-top:0;padding-bottom:12px}.m-install-steps[hidden]{display:none}.m-install-steps li{display:flex;align-items:flex-start;gap:10px;line-height:1.45}.m-install-n{flex:none;display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#1a1405;color:var(--accent-fill);font-size:12px;font-weight:700}.m-install-share{vertical-align:-4px;margin:0 2px}.m-ic{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;color:var(--c, var(--accent));background:color-mix(in srgb,var(--c, var(--accent)) 16%,transparent)}.m-ic .ico{width:19px;height:19px;margin:0}.menu-item[hidden]{display:none}.m-sheet{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;background:#0009}.m-sheet[hidden]{display:none}.m-sheet-top{z-index:2100}.m-sheet-card{width:100%;max-width:560px;max-height:88vh;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--surface);border:1px solid var(--border);border-bottom:0;border-radius:22px 22px 0 0;padding:10px 16px calc(18px + var(--m-safe-bottom));display:grid;gap:12px;align-content:start;grid-auto-rows:max-content}.m-sheet-tall{max-height:96vh;max-height:96dvh;gap:10px}.m-sheet-grab{width:40px;height:4px;border-radius:4px;background:var(--border);justify-self:center}.m-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.m-sheet-head h2{font-family:var(--heading-font);font-weight:700;font-size:22px;color:var(--text)}.m-x,.m-x-spacer{width:36px;height:36px;flex:none}.m-x{border:0;border-radius:50%;background:var(--surface2);color:var(--text);font-size:15px;cursor:pointer}.m-card-label{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.m-block{width:100%;justify-content:center;min-height:50px;font-size:15px;border-radius:14px}.m-note{font-size:12.5px;line-height:1.5;color:var(--text);background:#f0943a1f;border:1px solid rgba(240,148,58,.35);border-radius:12px;padding:10px 12px}.m-note button{margin-top:6px}.m-list{display:grid;gap:6px}.m-list button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;background:var(--surface2);border:1px solid transparent;border-radius:14px;padding:10px 14px;color:var(--text);font:500 14px var(--body-font);text-align:left;cursor:pointer}.m-list button small{margin-left:auto;color:var(--muted);font-size:12px}.m-list button.on{border-color:var(--accent)}.m-amount{text-align:center}.m-amount-val{font-family:var(--heading-font);font-weight:700;font-size:38px;line-height:1.15;color:var(--text);font-variant-numeric:tabular-nums}.m-amount-val output{margin-left:4px}.m-amount-val span{font-family:var(--body-font);font-size:14px;color:var(--muted);margin-left:6px}.m-amount small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.m-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.m-cats button{display:grid;justify-items:center;gap:3px;padding:8px 2px 7px;background:var(--surface2);border:1px solid var(--border);border-radius:14px;color:var(--muted);font:500 11px var(--body-font);line-height:1.2;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.m-cats button.on{border-color:var(--accent);color:var(--text);background:#e8b84b1a}.m-chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.m-chips::-webkit-scrollbar{display:none}.m-chips button{flex:none;background:var(--surface2);border:1px solid var(--border);border-radius:99px;padding:8px 14px;color:var(--text);font:500 13px var(--body-font);cursor:pointer;white-space:nowrap}.m-chips button small{color:var(--muted);margin-left:4px;font-size:11px}.m-chips button.on{border-color:var(--accent);color:var(--accent)}.m-field{display:grid;gap:4px}.m-field[hidden],.m-note[hidden]{display:none}.m-field label{font-size:12px;color:var(--muted)}.m-field input{background:var(--surface2);border:1px solid var(--border);border-radius:12px;color:var(--text);font:16px var(--body-font);padding:11px 12px;width:100%}.m-field input:focus{outline:none;border-color:var(--accent)}.m-details{background:var(--surface2);border:1px solid var(--border);border-radius:var(--m-radius);padding:2px 14px}.m-drow{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;font-size:13px;color:var(--muted);border-top:1px solid var(--border)}.m-drow:first-child{border-top:0}.m-drow b{color:var(--text);font-weight:600;text-align:right}.m-tag{font-size:10px;font-weight:700;letter-spacing:.05em;padding:2px 7px;margin-left:6px;border-radius:99px;background:#4fc3c326;color:var(--accent2);vertical-align:1px}.m-seg{display:flex;gap:3px;background:var(--bg);border-radius:10px;padding:3px}.m-seg button{background:none;border:0;border-radius:8px;padding:6px 9px;color:var(--muted);font:600 12px var(--body-font);cursor:pointer}.m-seg button.on{background:var(--surface);color:var(--accent)}.m-switch{position:relative;flex:none;width:44px;height:26px;border:0;border-radius:99px;background:var(--success);cursor:pointer}.m-switch:after{content:"";position:absolute;top:3px;left:21px;width:20px;height:20px;border-radius:50%;background:#fff;transition:left .15s}.m-switch[aria-checked=false]{background:var(--border)}.m-switch[aria-checked=false]:after{left:3px}.m-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.m-keypad button{background:var(--surface2);border:0;border-radius:12px;min-height:46px;color:var(--text);font:500 20px var(--body-font);cursor:pointer;font-variant-numeric:tabular-nums}.m-keypad button:active{background:var(--border)}.m-sheet-sub{display:block;font-size:12px;color:var(--muted);margin-top:2px}.m-quick{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.m-quick button{background:var(--surface2);border:1px solid var(--border);border-radius:99px;padding:6px 12px;color:var(--text);font:600 12px var(--body-font);cursor:pointer}.m-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.m-facts div{background:var(--surface2);border-radius:10px;padding:7px 9px;min-width:0}.m-facts small{display:block;font-size:10.5px;color:var(--muted)}.m-facts b{display:block;font-size:12.5px;color:var(--text);overflow-wrap:anywhere}.m-amt-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.m-amt-actions .btn{justify-content:center;min-height:48px;border-radius:14px;font-size:14px}.m-amt-actions .btn[hidden]{display:none}.m-amt-actions:has(.btn[hidden]){grid-template-columns:1fr}.m-link-danger{color:var(--danger);justify-self:center}.m-link[hidden]{display:none}.btn:disabled{opacity:.45;cursor:not-allowed}.m-sheet button:focus-visible,.m-fab:focus-visible,.m-alert:focus-visible,.m-link:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}@media(max-width:768px){.m-fab{position:fixed;right:16px;bottom:calc(var(--m-nav-h) + var(--m-safe-bottom) + 14px);z-index:65;display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 20px;border:0;border-radius:26px;background:var(--accent-fill);color:#1a1405;font:700 14px var(--body-font);cursor:pointer;box-shadow:0 10px 24px -8px #e8b84bb3}.m-fab .ico{width:19px;height:19px;margin:0}.m-fab[hidden]{display:none}#expenseTab,#budgetTab{padding-bottom:96px}#dashboardTab .next-step{display:none}.fi-tip-box{left:16px!important;right:16px!important;top:auto!important;bottom:calc(var(--m-nav-h) + var(--m-safe-bottom) + 12px)!important;width:auto!important;max-height:50vh;overflow-y:auto}.fire-modal-overlay{align-items:flex-end}.fire-modal{width:100%;max-width:none;border-radius:22px 22px 0 0;padding:24px 18px calc(20px + var(--m-safe-bottom))}.fire-modal-actions{flex-direction:column-reverse}.fire-modal-actions .btn{width:100%;justify-content:center}.m-home{display:grid;gap:14px;margin-bottom:16px}.m-hero{display:flex;gap:16px;align-items:center;padding:16px;background:linear-gradient(160deg,rgba(232,184,75,.16) 0%,var(--surface) 60%);border:1px solid rgba(232,184,75,.35);border-radius:20px}.m-ring{position:relative;flex:none;width:104px;height:104px}.m-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.m-ring circle{fill:none;stroke-width:9}.m-ring-track{stroke:var(--border)}.m-ring-fill{stroke:var(--accent);stroke-linecap:round;transition:stroke-dasharray .5s}.m-ring-label{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.m-ring-label b{font-family:var(--heading-font);font-weight:700;font-size:26px;color:var(--text)}.m-ring-label small{font-size:10px;color:var(--muted)}.m-hero-text{display:grid;gap:3px;min-width:0}.m-hero-kicker{font-size:12px;color:var(--muted)}.m-hero-title{font-family:var(--heading-font);font-weight:700;font-size:20px;line-height:1.2;color:var(--accent)}.m-hero-sub{font-size:12.5px;color:var(--muted);line-height:1.45}.m-hero-btn{margin-top:6px;justify-self:start}.m-hero-btn[hidden]{display:none}.m-attention,.m-alerts{display:grid;gap:8px}.m-alert{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 14px;border-radius:14px;cursor:pointer;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--warning);color:var(--text);font-family:var(--body-font)}.m-alert.bad{border-left-color:var(--danger)}.m-alert.good{border-left-color:var(--success)}.m-alert div{flex:1;min-width:0}.m-alert b{display:block;font-size:14px}.m-alert span{display:block;font-size:12px;color:var(--muted);margin-top:2px}.m-alert .m-go{color:var(--muted);font-size:20px;flex:none}.db-greeting h2{font-size:22px}.db-disclaimer{font-size:11px}.expense-view-switcher,#singleViewContent,#macroMicroContainer{display:none!important}#expenseTab .total-banner{padding:14px 16px;gap:16px;border-radius:var(--m-radius)}#expenseTab .total-banner>div[style]{margin-left:0!important}#expenseTab .total-banner .val{font-size:24px}.m-exp{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.m-switch3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:16px}.m-switch3 button{display:grid;justify-items:center;gap:2px;padding:8px 2px 7px;min-width:0;background:none;border:0;border-radius:12px;color:var(--muted);font-family:var(--body-font);cursor:pointer}.m-switch3 svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.m-switch3 b{font-size:12.5px;font-weight:600;white-space:nowrap}.m-switch3 small{font-size:10.5px}.m-switch3 button[aria-selected=true]{background:var(--surface2);color:var(--accent);box-shadow:inset 0 0 0 1px #e8b84b66}.m-exp-hint{font-size:12.5px;color:var(--muted);line-height:1.45}.m-exp-body{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.m-exp-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:14px;display:grid;gap:12px}.m-exp-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.m-exp-muted{font-size:12px;color:var(--muted)}.m-exp-q{font-family:var(--heading-font);font-weight:700;font-size:19px;line-height:1.2;color:var(--text)}.m-exp-big{display:flex;align-items:baseline;gap:6px;border-bottom:2px solid var(--accent);padding:4px 0}.m-exp-big span{font-family:var(--heading-font);font-weight:700;font-size:24px;color:var(--muted)}.m-exp-big input{flex:1;min-width:0;width:100%;background:none!important;border:0!important;outline:none;padding:0!important;min-height:0!important;color:var(--text);font:700 32px var(--heading-font)!important;font-variant-numeric:tabular-nums}.m-exp-big em{font-style:normal;font-size:13px;color:var(--muted);white-space:nowrap}.m-exp-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.m-exp-tile{background:var(--surface2);border-radius:14px;padding:10px 12px;min-width:0}.m-exp-tile small{display:block;font-size:11px;color:var(--muted)}.m-exp-tile b{font-size:17px;color:var(--text);font-variant-numeric:tabular-nums}.m-exp-tile-hl{grid-column:1 / -1;background:#e8b84b1a;box-shadow:inset 0 0 0 1px #e8b84b59}.m-exp-tile-hl b{color:var(--accent)}.m-exp-upsell{display:flex;align-items:center;gap:10px;width:100%;text-align:left;cursor:pointer;background:var(--surface);border:1px dashed var(--border);border-radius:14px;padding:12px;color:var(--muted);font:12.5px/1.45 var(--body-font)}.m-exp-upsell>span:first-child{font-size:20px}.m-exp-upsell b{color:var(--accent2)}.m-note .btn{margin-top:8px;width:100%;justify-content:center}.m-exp-total{font-family:var(--heading-font);font-weight:700;font-size:28px;color:var(--text);font-variant-numeric:tabular-nums}.m-exp-stack{display:flex;gap:2px;height:10px;border-radius:99px;overflow:hidden;background:var(--surface2)}.m-exp-stack i{display:block;height:100%}.m-exp-stack .m-exp-rest{flex:1;background:var(--border)}.m-exp-legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11px;color:var(--muted)}.m-exp-legend span[style]:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c);margin-right:5px}.m-exp-cats{display:grid;gap:6px}.m-exp-cat{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:4px 10px;align-items:center;width:100%;padding:10px 12px;text-align:left;cursor:pointer;background:var(--surface);border:1px solid var(--border);border-radius:14px;color:var(--text);font-family:var(--body-font)}.m-exp-cat .m-exp-ic{grid-row:span 2;width:36px;height:36px}.m-exp-cat b{font-size:13.5px;font-weight:600}.m-exp-amt{font-size:14px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.m-exp-amt small,.m-exp-gtot small{color:var(--muted);font-weight:500;font-size:11px}.m-exp-add{color:var(--accent);font-size:13px;font-weight:600;text-align:right}.m-exp-meter{height:4px;border-radius:4px;background:var(--surface2);overflow:hidden}.m-exp-meter i{display:block;height:100%;border-radius:4px;background:var(--accent2)}.m-exp-pct{font-size:11px;color:var(--muted);text-align:right}.m-exp-search{display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;color:var(--muted)}.m-exp-search svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2}.m-exp-search input{flex:1;min-width:0;background:none!important;border:0!important;outline:none;color:var(--text);font:15px var(--body-font)!important}.m-exp-search:focus-within{border-color:var(--accent)}.m-exp-filters{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.m-exp-filters::-webkit-scrollbar{display:none}.m-exp-filters button{flex:none;min-height:34px;padding:0 12px;border-radius:99px;cursor:pointer;background:var(--surface);border:1px solid var(--border);color:var(--muted);font:600 12px var(--body-font)}.m-exp-filters button.on{color:var(--accent);border-color:var(--accent)}.m-exp-progress{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.m-exp-bar{flex:1;height:6px;border-radius:6px;background:var(--surface2);overflow:hidden}.m-exp-bar i{display:block;height:100%;background:var(--success);border-radius:6px}.m-exp-groups{display:grid;gap:8px}.m-exp-group{background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden}.m-exp-ghead{display:grid;grid-template-columns:34px minmax(0,1fr) auto 14px;gap:10px;align-items:center;width:100%;padding:11px 12px;background:none;border:0;text-align:left;cursor:pointer;color:var(--text);font-family:var(--body-font)}.m-exp-ghead .m-exp-ic{width:34px;height:34px}.m-exp-ghead b{display:block;font-size:14px}.m-exp-ghead small{font-size:11.5px;color:var(--muted)}.m-exp-gtot{font-size:13.5px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.m-exp-chev{color:var(--muted);font-size:18px;transition:transform .2s}.m-exp-group.open .m-exp-chev{transform:rotate(90deg)}.m-exp-items{display:none;border-top:1px solid var(--border)}.m-exp-group.open .m-exp-items{display:block}.m-exp-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;padding:10px 12px 10px 16px;border-top:1px solid var(--border)}.m-exp-item:first-child{border-top:0}.m-exp-item b{font-size:13.5px;font-weight:500;color:var(--text)}.m-exp-meta{display:flex;flex-wrap:wrap;gap:5px}.m-exp-chip{font-size:10.5px;padding:1px 7px;border-radius:99px;background:var(--surface2);color:var(--muted)}.m-exp-chip.need{background:#4fc3c324;color:var(--accent2)}.m-exp-chip.want{background:#f0943a24;color:var(--warning)}.m-exp-pill{grid-row:span 2;min-width:96px;min-height:40px;padding:6px 10px;text-align:right;cursor:pointer;background:var(--surface2);border:1px solid var(--border);border-radius:10px;color:var(--text);font:600 13.5px var(--body-font);font-variant-numeric:tabular-nums;white-space:nowrap}.m-exp-pill small{color:var(--muted);font-weight:500;font-size:10.5px;margin-left:2px}.m-exp-pill:not(.done){color:var(--accent);border-style:dashed}.m-exp-pill.done{border-color:#4ecb7a73}.m-exp-own{grid-template-columns:1fr}.m-exp-empty{text-align:center;font-size:13px;color:var(--muted);padding:16px}.m-wiz-head{display:grid;gap:8px;margin-bottom:14px}.m-wiz-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}.m-wiz-bar{height:5px;border-radius:5px;background:var(--surface2);overflow:hidden}.m-wiz-bar i{display:block;height:100%;width:0;background:var(--accent);border-radius:5px;transition:width .25s}.m-link{background:none;border:0;color:var(--accent2);font:600 13px var(--body-font);cursor:pointer;padding:6px 0}.m-wiz-foot{display:none}#masterTab:not(.m-wizard) .m-wiz-bar{display:none}#masterTab.m-wizard .m-step{display:none}#masterTab.m-wizard .m-step.m-step-on{display:block}#masterTab.m-wizard .m-step.m-step-on{height:var(--m-wiz-h, auto);margin-bottom:0;overflow-y:auto;overscroll-behavior:contain}body.m-wizard-on .app-footer{display:none}#masterTab.m-wizard .m-wiz-foot{position:fixed;left:16px;right:16px;bottom:calc(var(--m-nav-h) + var(--m-safe-bottom) + 10px);z-index:40;display:grid;grid-template-columns:1fr 2fr;gap:10px;padding:10px;border-radius:18px;background:var(--surface);border:1px solid var(--border);box-shadow:0 8px 24px #00000040}#masterTab.m-wizard .m-wiz-foot .btn{justify-content:center;min-height:48px;border-radius:12px}}@media(max-width:380px){.tab-content [style*=grid-template-columns]{grid-template-columns:1fr!important}.m-hero{flex-direction:column;align-items:flex-start}}@media(prefers-reduced-motion:no-preference){.m-sheet:not([hidden]) .m-sheet-card{animation:m-sheet-up .22s ease-out}@keyframes m-sheet-up{0%{transform:translateY(24%);opacity:.6}}}@media(prefers-reduced-motion:reduce){.m-ring-fill,.m-wiz-bar i,.m-switch:after,.m-exp-chev{transition:none}}@media print{.m-only,.m-sheet{display:none!important}}
