@import "https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&display=swap";:root{--bg:#fffdf8;--bg-2:#fff8f2;--surface:#fff;--surface-2:#fff8f2;--fg:#1f2430;--muted:#5b6270;--border:#eee7dd;--accent:#59c54b;--accent-deep:#2f9e44;--on-accent:#123310;--grad-primary:var(--accent);--grad-hero:linear-gradient(140deg, #17954f 0%, #0d6d3a 100%);--grad-hero-over:linear-gradient(140deg, #e0574f 0%, #b83b3b 100%);--pos:#59c54b;--over:#ff5a6e;--c-green:#59c54b;--c-blue:#4ea9ff;--c-purple:#8b6bff;--c-orange:#ff9f43;--c-yellow:#ffd166;--c-pink:#ff6f91;--c-turquoise:#4fd1c5;--c-red:#ff5a6e;--c-sky:#56c6f5;--c-lightgreen:#6fcf97;--c-fuchsia:#e857b0;--grad-solvi:linear-gradient(135deg, #6a3fd1 0%, #2166cc 100%);--radius-xs:12px;--radius-sm:14px;--radius-card:24px;--radius-ctl:18px;--radius-btn:20px;--radius-sheet:32px;--shadow:0 12px 40px #0000000f;--shadow-sm:0 6px 20px #0000000d}*{box-sizing:border-box}body{color:var(--fg);background:var(--bg);-webkit-font-smoothing:antialiased;min-height:100dvh;margin:0;font-family:Inter,system-ui,sans-serif}h1{letter-spacing:-.02em;font-weight:700}.center,.login{flex-direction:column;justify-content:center;max-width:420px;min-height:100dvh;margin:0 auto;padding:2rem 1.25rem;display:flex}.login h1{text-align:center;margin-bottom:1.5rem}.login form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow);flex-direction:column;gap:1rem;padding:1.5rem;display:flex}label{color:var(--muted);flex-direction:column;gap:.35rem;font-size:.9rem;display:flex}input,select{font:inherit;border-radius:var(--radius-ctl);border:1px solid var(--border);background:var(--surface);color:var(--fg);padding:.7rem .85rem;font-size:1rem;transition:border-color .16s,box-shadow .16s}input::placeholder{color:var(--muted)}input:focus,select:focus,button:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);outline:none}button{font:inherit;cursor:pointer;border-radius:var(--radius-btn);background:var(--accent);color:var(--on-accent);box-shadow:var(--shadow-sm);border:1px solid #0000;padding:.75rem 1rem;font-weight:600;transition:filter .16s,transform .12s,box-shadow .16s}button:hover:not(:disabled){filter:brightness(1.05)}button:active:not(:disabled){transform:scale(.97)}button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.shell{flex-direction:column;min-height:100dvh;display:flex}header{-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);z-index:10;background:#fffdf8d9;justify-content:space-between;align-items:center;gap:.5rem;padding:.9rem 1rem;display:flex;position:sticky;top:0}header strong{letter-spacing:-.01em}header .who{background:var(--surface);border:1px solid var(--border);color:var(--fg);box-shadow:none;align-items:center;gap:.35rem;padding:.4rem .8rem;font-weight:500;display:inline-flex}.who-caret{color:var(--muted);font-size:.7rem}header .who:hover:not(:disabled){filter:none;background:var(--surface-2)}header .back{align-items:center;gap:.4rem;font-weight:600;display:inline-flex}header .back svg{width:18px;height:18px}.content{flex:1;width:100%;max-width:600px;margin:0 auto;padding:1rem 1rem 6rem}.content--home{padding-bottom:calc(1.5rem + env(safe-area-inset-bottom))}.homenav{background:var(--surface);border-top:1px solid var(--border);padding:.4rem .4rem calc(.4rem + env(safe-area-inset-bottom));z-index:40;justify-content:space-around;align-items:flex-end;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 30px #0000000d}.navitem{box-shadow:none;color:var(--muted);background:0 0;border:none;flex-direction:column;flex:1;align-items:center;gap:.15rem;padding:.4rem .2rem;font-size:.72rem;font-weight:600;display:flex}.navitem svg{width:22px;height:22px}.navitem:hover:not(:disabled){filter:none;color:var(--fg)}.navitem.active{color:var(--accent)}.navfab{background:var(--grad-primary);color:#fff;border-radius:999px;flex:none;justify-content:center;align-items:center;width:56px;height:56px;margin:0 .2rem;font-size:1.9rem;line-height:1;display:flex;transform:translateY(-10px);box-shadow:0 8px 20px #59c54b66}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow);flex-direction:column;gap:.6rem;margin-bottom:1.25rem;padding:1.1rem 1.2rem;display:flex}.card.row{flex-direction:row}.card--balance{background:var(--grad-hero);color:#fff;border-color:#0000;box-shadow:0 16px 40px -12px #0d6d3a73}.card--alt{color:#3a2a00;background:linear-gradient(140deg,#ffce54 0%,#f0a91e 100%);border-color:#0000;box-shadow:0 16px 40px -12px #f0a91e66}.card--alt .muted{color:#3a2a00c7}.card--alt .money{color:#3a2a00}.card--balance.over{background:var(--grad-hero-over);box-shadow:0 16px 40px -12px #b83b3b73}.card--balance .muted{color:#ffffffeb}.card--balance .money{color:#fff}.hero-amount{letter-spacing:-.02em;font-size:2.1rem;font-weight:700}.card--balance .progress{background:#ffffff4d}.card--balance .progress-fill{background:#fff}.row{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.progress{background:#1f243014;border-radius:999px;height:.55rem;overflow:hidden}.progress-fill{background:var(--grad-primary);transform-origin:0;border-radius:999px;width:100%;height:100%;transition:transform .32s}.progress-fill.over{background:var(--over)}.muted{color:var(--muted);font-size:.85rem}.money{font-variant-numeric:tabular-nums;font-weight:600}.pos{color:var(--pos)}.neg{color:var(--over)}.done{color:var(--muted);text-decoration:line-through}[role=alert]{color:var(--over);font-size:.9rem}.cc-grid{grid-template-columns:repeat(2,1fr);gap:.85rem;margin-bottom:1.25rem;display:grid}.tile{background:color-mix(in srgb, var(--tile-accent,var(--accent)) 80%, white);border:1px solid color-mix(in srgb, var(--tile-accent,var(--accent)) 90%, transparent);border-radius:var(--radius-card);min-height:92px;color:var(--fg);text-align:left;box-shadow:var(--shadow-sm);flex-direction:column;justify-content:center;align-items:flex-start;gap:.6rem;padding:.9rem 1rem;font-size:.95rem;font-weight:600;display:flex}.tile:hover:not(:disabled){filter:brightness(1.03)}.tile-icon{border-radius:var(--radius-sm);background:var(--surface);width:44px;height:44px;color:var(--fg);justify-content:center;align-items:center;display:flex}.tile-icon svg{width:24px;height:24px}.tile--primary .tile-icon{background:var(--accent);color:var(--on-accent)}.tile--scan{text-align:left;background:var(--grad-primary);color:#fff;border-color:#0000;flex-direction:row;grid-column:1/-1;justify-content:flex-start;align-items:center;gap:.9rem;padding:1rem 1.1rem;box-shadow:0 12px 28px -8px #59c54b80}.tile--scan:hover:not(:disabled){filter:brightness(1.03)}.tile--scan .tile-icon{color:#fff;background:#ffffff38;flex:none;width:48px;height:48px}.tile--scan .tile-icon svg{width:26px;height:26px}.tile--scan-text{flex-direction:column;gap:.1rem;display:flex}.tile--scan-text .muted{color:#ffffffd9}.scan-cta{background:var(--grad-primary);color:#fff;border-radius:var(--radius-ctl);cursor:pointer;flex-direction:row;align-items:center;gap:.7rem;padding:.75rem .9rem}.scan-cta .scan-cta-icon{display:flex}.scan-cta .scan-cta-icon svg{width:24px;height:24px}.scan-cta .muted{color:#ffffffd9}.scan-cta input[type=file]{display:none}.scan-status{background:color-mix(in srgb, var(--accent) 14%, var(--surface));border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);border-radius:var(--radius-ctl);color:var(--fg);align-items:center;gap:.6rem;padding:.7rem .9rem;font-weight:600;display:flex}.scan-spinner{border:2px solid color-mix(in srgb, var(--accent) 35%, transparent);border-top-color:var(--accent-deep);border-radius:999px;flex:none;width:18px;height:18px;animation:.7s linear infinite scan-spin}@keyframes scan-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.scan-spinner{animation:none}}.donut-row{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.donut{border-radius:999px;flex:none;justify-content:center;align-items:center;width:120px;height:120px;display:flex}.donut-hole{background:var(--surface);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;width:78px;height:78px;font-size:.85rem;font-weight:600;display:flex}.legend{flex-direction:column;gap:.4rem;margin:0;padding:0;font-size:.9rem;list-style:none;display:flex}.legend li{align-items:center;gap:.4rem;display:flex}.dot{border-radius:999px;flex:none;width:10px;height:10px}.dot--hogar{background:var(--c-turquoise)}.dot--personal{background:var(--c-blue)}.cat-list{flex-direction:column;gap:.6rem;margin-top:.4rem;display:flex}.cat-row{flex-direction:column;gap:.3rem;display:flex}.ghost{background:var(--surface-2);border:1px solid var(--border);color:var(--fg);box-shadow:none}.ghost:hover:not(:disabled){filter:none;background:var(--bg-2)}.disclosure{color:var(--accent);box-shadow:none;background:0 0;border:none;align-self:flex-start;padding:.3rem 0}.disclosure:hover:not(:disabled){filter:brightness(1.1);background:0 0}.sheet{width:100%;max-width:600px;color:var(--fg);background:0 0;border:none;margin:auto auto 0;padding:0}.sheet::backdrop{-webkit-backdrop-filter:blur(2px);background:#1f243066}.sheet-body{background:var(--surface);border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;padding:1rem 1.1rem;padding-bottom:calc(1.1rem + env(safe-area-inset-bottom));flex-direction:column;gap:.75rem;max-height:85dvh;animation:.24s cubic-bezier(.22,1,.36,1) sheet-up;display:flex;overflow-y:auto;box-shadow:0 -12px 40px #0000001f}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-grip{background:var(--border);border-radius:999px;align-self:center;width:40px;height:4px;margin-bottom:.2rem}.field-label{color:var(--muted);font-size:.9rem}.chips{flex-wrap:wrap;gap:.4rem;display:flex}.chip{background:var(--surface-2);border:1px solid var(--border);color:var(--fg);box-shadow:none;border-radius:999px;padding:.45rem .8rem;font-size:.9rem}.chip:hover:not(:disabled){filter:none;background:var(--bg-2)}.chip.active{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.seg{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-ctl);gap:.3rem;padding:.25rem;display:flex}.seg button{color:var(--muted);border-radius:var(--radius-xs);box-shadow:none;background:0 0;border:none;flex:1;padding:.5rem;font-weight:600}.seg button:hover:not(:disabled){filter:none;color:var(--fg)}.seg button.active{background:var(--accent);color:var(--on-accent)}.accordion{width:100%;color:var(--fg);font:inherit;box-shadow:none;background:0 0;border:none;justify-content:space-between;align-items:center;padding:0;display:flex}.accordion:hover:not(:disabled){filter:none}.accordion-right{font-variant-numeric:tabular-nums;align-items:center;gap:.5rem;display:flex}.chev{color:var(--muted);transition:transform .16s}.chev.up{transform:rotate(180deg)}.toast{left:50%;bottom:calc(6rem + env(safe-area-inset-bottom));background:var(--surface);border:1px solid var(--border);color:var(--fg);box-shadow:var(--shadow);z-index:60;border-radius:999px;padding:.7rem 1.2rem;animation:.2s ease-out toast-in;position:fixed;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.task-add{gap:.4rem;margin-bottom:.8rem;display:flex}.task-add input{flex:1;min-width:0}.task-add-who{flex:0 0 6rem}.task-add button{flex:none;width:48px;padding:0;font-size:1.4rem}.task-list{margin:0;padding:0;list-style:none}.task-row-wrap{border-bottom:1px solid var(--border)}.task-row{align-items:center;gap:.5rem;padding:.55rem .1rem;display:flex}.task-status{flex:none;display:inline-flex}.task-status svg{width:18px;height:18px}.task-status.pend{color:var(--muted)}.task-status.done{color:var(--accent)}.task-status.nope{color:var(--over)}.task-desc{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:.95rem;overflow:hidden}.task-desc.done{color:var(--muted);text-decoration:line-through}.task-meta{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);flex:0 auto;font-size:.72rem;overflow:hidden}.task-actions{flex:none;gap:.05rem;display:flex}.icon-btn{border-radius:var(--radius-xs);color:var(--muted);box-shadow:none;background:0 0;border:none;padding:.3rem;display:inline-flex}.icon-btn svg{width:18px;height:18px}.icon-btn:hover:not(:disabled){filter:none;background:var(--surface-2)}.icon-btn.active{color:var(--fg)}.icon-btn.active.done{color:var(--accent)}.icon-btn.active.nope{color:var(--over)}.task-note{width:calc(100% - 1.6rem);margin:0 0 .45rem 1.6rem;font-size:.9rem}.cmp-row{border-top:1px solid var(--border);flex-direction:column;gap:.2rem;padding:.55rem 0;display:flex}.cmp-offers{flex-wrap:wrap;gap:.5rem;margin:.2rem 0 0;padding:0;font-size:.8rem;list-style:none;display:flex}.account{position:relative}.menu-overlay{z-index:40;position:fixed;inset:0}.menu{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-ctl);min-width:180px;box-shadow:var(--shadow);z-index:50;margin-top:.4rem;padding:.3rem;position:absolute;top:100%;right:0}.menu-item{width:100%;color:var(--fg);border-radius:var(--radius-xs);box-shadow:none;background:0 0;border:none;align-items:center;gap:.5rem;padding:.6rem .7rem;font-weight:500;display:flex}.menu-item:hover:not(:disabled){filter:none;background:var(--surface-2)}.menu-item svg{width:18px;height:18px}.cat-group{margin-bottom:1.25rem}.cat-group-title{color:var(--muted);margin:.4rem 0;font-size:.8rem;font-weight:700}.bud-cat{color:var(--muted);align-items:center;gap:.45rem;display:flex}.bud-cat svg{flex:none;width:18px;height:18px}.cat-name{min-width:0;color:var(--fg);font:inherit;background:0 0;border:none;flex:auto;padding:.2rem 0;font-size:.95rem}.cat-name:focus{box-shadow:none;border-bottom:1px solid var(--accent);outline:none}.cat-name.inactive{color:var(--muted);text-decoration:line-through}.cc-group-title{color:var(--fg);margin:.6rem 0;font-size:.95rem;font-weight:700}.seg--lg{margin-bottom:1rem}.seg--lg button{justify-content:center;align-items:center;gap:.4rem;padding:.65rem;display:flex}.seg--lg button svg{width:18px;height:18px}.split-edit{flex-direction:column;gap:.5rem;padding:.6rem .1rem;display:flex}.icon-btn.nope{color:var(--over)}.contrib-list{flex-direction:column;margin:.2rem 0 0;padding:0;list-style:none;display:flex}.contrib-row{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;padding:.35rem 0;font-size:.85rem;display:flex}.contrib-del{margin-left:.4rem;padding:.15rem .35rem}.hf-greeting{letter-spacing:-.01em;font-size:1.15rem;font-weight:700}.home-section{margin-bottom:1.75rem}.home-section>.card{margin-bottom:0}.section-label{color:var(--muted);margin-bottom:.5rem;font-size:.78rem;font-weight:700;display:block}.period-bar{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.period-bar .section-label{margin-bottom:0}.period-controls{align-items:center;gap:.5rem;display:flex}.period-bar input[type=month]{width:auto}.mas-list{flex-direction:column;gap:.5rem;display:flex}.mas-item{background:color-mix(in srgb, var(--tile-accent,var(--accent)) 80%, white);border:1px solid color-mix(in srgb, var(--tile-accent,var(--accent)) 90%, transparent);border-radius:var(--radius-ctl);width:100%;color:var(--fg);text-align:left;box-shadow:var(--shadow-sm);align-items:center;gap:.75rem;padding:.75rem .9rem;font-weight:600;display:flex}.mas-item:hover:not(:disabled){filter:brightness(1.03)}.mas-item .tile-icon{width:38px;height:38px}.mas-item .tile-icon svg{width:20px;height:20px}.solvi-card{text-align:left;background:var(--grad-solvi);color:#fff;border-radius:var(--radius-card);border:none;align-items:center;gap:.85rem;width:100%;padding:1rem 1.1rem;display:flex;box-shadow:0 14px 34px -12px #6a3fd180}.solvi-card-icon{background:#fff3;border-radius:14px;flex:none;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.solvi-card-icon svg{width:26px;height:26px}.solvi-card-text{flex-direction:column;gap:.1rem;display:flex}.solvi-card-text strong{font-size:1rem}.solvi-card-text span{color:#ffffffe6;font-size:.82rem}.solvi-sheet .solvi-body-wrap{flex-direction:column;gap:.7rem;height:80dvh;display:flex}.solvi-head{align-items:center;gap:.5rem;display:flex}.solvi-head-icon{background:var(--grad-solvi);color:#fff;border-radius:9px;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.solvi-head-icon svg{width:18px;height:18px}.solvi-close{margin-left:auto;padding:.35rem .6rem}.solvi-msgs{flex-direction:column;flex:1;gap:.55rem;padding:.2rem;display:flex;overflow-y:auto}.solvi-msg{border-radius:16px;max-width:85%;padding:.6rem .85rem;font-size:.92rem;line-height:1.4}.solvi-intro{background:var(--surface-2);max-width:100%;color:var(--muted);border-radius:var(--radius-ctl);align-self:stretch}.solvi-user{background:var(--surface-2);color:var(--fg);border-bottom-right-radius:4px;align-self:flex-end}.solvi-solvi{background:color-mix(in srgb, #6a3fd1 12%, var(--surface));color:var(--fg);border:1px solid #6a3fd138;border-bottom-left-radius:4px;align-self:flex-start}.solvi-error{background:color-mix(in srgb, var(--over) 14%, var(--surface));color:var(--fg);align-self:flex-start}.solvi-thinking{color:var(--muted)}.solvi-chips{flex-wrap:wrap;gap:.4rem;display:flex}.solvi-chip{background:var(--surface-2);border:1px solid var(--border);color:var(--fg);box-shadow:none;border-radius:999px;padding:.35rem .7rem;font-size:.8rem}.solvi-inputbar{align-items:center;gap:.4rem;display:flex}.solvi-iconbtn{background:var(--surface-2);border:1px solid var(--border);width:42px;height:42px;color:var(--fg);box-shadow:none;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.solvi-iconbtn svg{width:20px;height:20px}.solvi-iconbtn.rec{background:var(--over);color:#fff;border-color:#0000;animation:1s ease-in-out infinite solvi-pulse}@keyframes solvi-pulse{50%{opacity:.6}}.solvi-text{flex:1;min-width:0}.solvi-send{background:var(--grad-solvi);color:#fff;border-radius:999px;flex:none;justify-content:center;align-items:center;width:46px;height:42px;padding:0;display:flex}.solvi-send svg{width:20px;height:20px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
