:root{--navy:#0f172a;--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--bg:#f1f5f9;--card:#fff;--green:#16a34a;--green-soft:#dcfce7;--red:#b91c1c;--red-soft:#fee2e2;--blue-soft:#e0f2fe;--radius:16px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Inter,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);overscroll-behavior-y:none}h1,h2,p{margin:0}button{font:inherit;color:inherit;cursor:pointer}button:disabled{opacity:.55;cursor:default}.splash{min-height:100dvh;color:var(--muted);place-items:center;display:grid}.login{min-height:100dvh;padding:calc(var(--safe-top) + 48px) 20px calc(var(--safe-bottom) + 24px);flex-direction:column;gap:20px;max-width:440px;margin:0 auto;display:flex}.login-brand{text-align:center;justify-items:center;gap:8px;display:grid}.login-brand h1{font-size:28px}.login-brand p{color:var(--muted)}.logo{background:var(--navy);color:#fff;border-radius:20px;place-items:center;width:72px;height:72px;font-size:40px;font-weight:900;display:grid;position:relative}.logo-dot{background:#22c55e;border-radius:50%;width:10px;height:10px;position:absolute;bottom:18px;right:14px}.segmented{background:#e2e8f0;border-radius:12px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:10px;font-weight:600}.segmented button.on{color:var(--ink);background:#fff;box-shadow:0 1px 3px #00000014}.form{gap:14px;display:grid}.form label{gap:6px;font-size:14px;font-weight:600;display:grid}.form input{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:12px;padding:14px;font-size:16px}.form input:focus{outline-offset:1px;outline:2px solid #94a3b8}.fineprint{text-align:center;color:var(--muted);font-size:13px}.card{background:var(--card);border-radius:var(--radius);gap:12px;padding:18px;display:grid;box-shadow:0 1px 2px #0f172a0d}.card h2{font-size:17px}.card-head{justify-content:space-between;align-items:baseline;display:flex}.muted{color:var(--muted);font-size:14px;line-height:1.4}.big{letter-spacing:-.5px;font-size:32px;font-weight:800}.btn{border:0;border-radius:12px;width:100%;padding:14px 16px;font-size:16px;font-weight:700}.btn.primary{background:var(--navy);color:#fff}.btn.secondary{color:var(--ink);background:#e2e8f0}.link{color:#2563eb;text-align:left;background:0 0;border:0;padding:4px 0;font-size:14px;font-weight:600}.msg{border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.4}.msg.error{background:var(--red-soft);color:var(--red)}.msg.info{background:var(--blue-soft);color:#075985}.banner{gap:4px;margin-bottom:12px;display:grid}.app{min-height:100dvh}.screen{padding:calc(var(--safe-top) + 16px) 16px calc(var(--safe-bottom) + 96px);max-width:560px;margin:0 auto}.home,.settings{gap:14px;display:grid}.hello{padding:4px 2px;font-size:26px;font-weight:800}.tabbar{-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px 8px calc(var(--safe-bottom) + 6px);background:#fffffff0;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar button{color:var(--muted);background:0 0;border:0;justify-items:center;gap:2px;padding:6px;font-size:12px;display:grid;position:relative}.tabbar button span[aria-hidden]{filter:grayscale();opacity:.7;font-size:22px}.tabbar button.on{color:var(--ink);font-weight:700}.tabbar button.on span[aria-hidden]{filter:none;opacity:1}.badge{color:#fff;background:#ef4444;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:grid;position:absolute;top:2px;left:calc(50% + 8px)}.install{background:#fef9c3}.install p{font-size:14px;line-height:1.4}.progress{background:#e2e8f0;border-radius:4px;height:8px;overflow:hidden}.progress div{background:var(--green);border-radius:4px;height:100%;transition:width .3s}.steps{gap:10px;margin:0;padding:0;list-style:none;display:grid}.steps li{grid-template-columns:24px 1fr auto;align-items:center;gap:10px;font-size:15px;display:grid}.steps .check{color:#fff;border:2px solid #cbd5e1;border-radius:50%;place-items:center;width:22px;height:22px;font-size:13px;display:grid}.steps li.done .check{background:var(--green);border-color:var(--green)}.steps li.done .step-title{color:var(--muted);text-decoration:line-through}.steps li.soon{color:var(--muted)}.step-detail{color:var(--muted);font-size:13px}.cats{gap:8px;margin:0;padding:0;list-style:none;display:grid}.cats li{justify-content:space-between;font-size:15px;display:flex}.status ul{gap:8px;margin:0;padding:0;font-size:15px;list-style:none;display:grid}.dot{border-radius:50%;width:10px;height:10px;margin-right:6px;display:inline-block}.dot.ok{background:#22c55e}.dot.bad{background:#ef4444}.dot.off{background:#cbd5e1}.chat{flex-direction:column;gap:10px;display:flex}.thread{flex-direction:column;gap:8px;display:flex}.bubble{border-radius:18px;gap:6px;max-width:86%;padding:12px 14px;font-size:15px;line-height:1.4;display:grid}.bubble.bot{background:#fff;border-bottom-left-radius:6px;align-self:flex-start;box-shadow:0 1px 2px #0f172a0d}.bubble.me{background:var(--navy);color:#fff;border-bottom-right-radius:6px;align-self:flex-end;font-weight:600}.bubble .meta{color:var(--muted);font-size:13px}.tag{text-transform:uppercase;letter-spacing:.4px;color:#92400e;background:#fef3c7;border-radius:6px;justify-self:start;padding:2px 6px;font-size:11px;font-weight:700}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;min-height:44px;padding:10px 14px;font-size:15px;font-weight:600}.chip:active:not(:disabled){background:var(--green-soft);border-color:var(--green)}.typing{color:var(--muted);font-size:14px}.chat-actions{gap:8px;margin-top:8px;display:grid}.password-field{position:relative}.password-field input{width:100%;padding-right:92px}.password-field .reveal{color:var(--ink);background:#e2e8f0;border:0;border-radius:9px;min-width:76px;padding:8px 12px;font-size:14px;font-weight:700;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.address-row{gap:8px;display:grid}.address{overflow-wrap:break-word;text-align:center;background:#f1f5f9;border-radius:10px;flex:1;min-width:0;padding:12px;font-size:15px;font-weight:600}.btn.small{padding:12px 14px;font-size:15px}.inbound h3{margin:4px 0 8px;font-size:15px}.inbound ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.inbound li{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.inbound-main{gap:2px;min-width:0;display:grid}.inbound-subject{overflow-wrap:anywhere;font-size:15px;font-weight:600}.muted.small,.small{font-size:13px}.pill{white-space:nowrap;background:#e2e8f0;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}.tag-mail{color:#1e40af;background:#dbeafe}.chip.suggested{border-color:var(--green);background:var(--green-soft)}.tabbar.four{grid-template-columns:repeat(4,1fr)}.tabbar button.add span[aria-hidden]{filter:none;opacity:1;background:var(--navy);border-radius:50%;place-items:center;width:40px;height:40px;margin-top:-14px;font-size:20px;display:grid;box-shadow:0 4px 10px #0f172a40}.tabbar button.add{color:var(--ink);font-weight:700}.sheet-backdrop{z-index:20;background:#0f172a73;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);width:100%;max-width:560px;padding:18px 16px calc(var(--safe-bottom) + 18px);border-radius:20px 20px 0 0;gap:12px;max-height:88dvh;display:grid;overflow-y:auto}.sheet-head{justify-content:space-between;align-items:center;display:flex}.sheet-head h2{font-size:20px}.quick-input{font:inherit;border:1px solid var(--line);color:var(--ink);resize:none;background:#fff;border-radius:14px;padding:14px;font-size:17px}.quick-input:focus{outline:2px solid #94a3b8}.quick-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.quick-list li{background:#fff;border-radius:14px;gap:8px;padding:12px;display:grid}.quick-row{align-items:center;gap:10px;font-size:16px;display:flex}.quick-desc{font-weight:600}.quick-amount{margin-left:auto;font-weight:800}.quick-remove{color:var(--muted);background:#f1f5f9;border:0;border-radius:50%;flex:none;width:28px;height:28px;font-size:13px}.chip.small{justify-self:start;min-height:36px;padding:6px 12px;font-size:14px}.chip.warn{background:#fef3c7;border-color:#f59e0b}.toast{left:50%;bottom:calc(var(--safe-bottom) + 84px);background:var(--navy);color:#fff;z-index:30;border-radius:12px;padding:12px 16px;font-weight:600;position:fixed;transform:translate(-50%);box-shadow:0 6px 16px #0f172a4d}.sheet.tall{max-height:94dvh}.card h3{font-size:16px}.choice{grid-template-columns:1fr 1fr;gap:8px;display:grid}.choice-btn{border:2px solid var(--line);background:#fff;border-radius:12px;padding:14px 10px;font-size:15px;font-weight:700}.choice-btn.on{border-color:var(--navy);background:#f8fafc}.bank-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.bank-list label{align-items:flex-start;gap:10px;display:flex}.bank-list input{width:22px;height:22px;accent-color:var(--navy);margin-top:2px}.bank-list span{gap:2px;display:grid}.bank-list small{color:var(--muted);font-size:13px}.guide{gap:14px;margin:0;padding:0;list-style:none;display:grid}.guide-step{grid-template-columns:28px 1fr;align-items:start;gap:10px;display:grid}.guide-n{background:var(--navy);color:#fff;border-radius:50%;place-items:center;width:26px;height:26px;font-size:13px;font-weight:700;display:grid}.guide-body{gap:6px;min-width:0;font-size:15px;line-height:1.35;display:grid}.guide-body .btn,.guide-body a.btn{text-align:center;justify-self:start;text-decoration:none}.copy-row{background:#f1f5f9;border-radius:10px;align-items:center;gap:8px;padding:8px 8px 8px 12px;display:flex}.copy-text{flex:1;min-width:0;display:grid}.copy-label{color:var(--muted);font-size:12px;font-weight:600}.copy-text code{overflow-wrap:anywhere;font-size:14px;font-weight:600}.btn.ok{background:var(--green);color:#fff}.msg.ok{background:var(--green-soft);color:#166534}.step-action{padding:0;font-size:14px}.btn.small{white-space:nowrap;flex:none;width:auto}.address-row .btn.small{width:100%}.copy-row .btn.small{padding:10px 12px;font-size:14px}.voice{justify-items:center;gap:8px;display:grid}.mic-btn{background:var(--navy);color:#fff;border:0;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;padding:18px;font-size:18px;font-weight:800;display:flex}.mic-btn.recording{background:#dc2626}.rec-dot{background:#fff;border-radius:50%;width:12px;height:12px;animation:1s infinite pulse}@keyframes pulse{50%{opacity:.3}}.or{margin:-4px 0 -6px}.quick-tags{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.kind-toggle{background:#e2e8f0;border-radius:999px;grid-template-columns:1fr 1fr;padding:3px;display:inline-grid}.kind-toggle button{color:var(--muted);background:0 0;border:0;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700}.kind-toggle button.on{color:var(--ink);background:#fff;box-shadow:0 1px 2px #0000001a}.quick-list li.income{box-shadow:inset 4px 0 0 var(--green)}.quick-list li.income .quick-amount{color:var(--green)}.screen-chat{padding-bottom:calc(var(--safe-bottom) + 170px)}.chat-bar{left:0;right:0;bottom:calc(var(--safe-bottom) + 64px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--line);z-index:5;background:#f1f5f9f5;gap:6px;padding:8px 12px;display:grid;position:fixed}.chat-bar-row{align-items:center;gap:8px;width:100%;max-width:560px;margin:0 auto;display:flex}.chat-bar input{border:1px solid var(--line);min-width:0;color:var(--ink);background:#fff;border-radius:999px;flex:1;padding:12px 14px;font-size:16px}.round{background:var(--navy);color:#fff;border:0;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;font-size:20px;display:grid}.round.send{background:#2563eb;font-size:18px}.round.stop{background:#dc2626;font-size:16px}.chat-bar-hint{text-align:center;color:var(--muted);justify-content:center;align-items:center;gap:6px;font-size:14px;display:flex}.rec-dot.red{background:#dc2626}.chat-end{scroll-margin-bottom:calc(var(--safe-bottom) + 170px)}.accounts{gap:12px;display:grid}.tabbar.five{grid-template-columns:repeat(5,1fr)}.tabbar.five button{padding:6px 2px;font-size:11px}.account-head{text-align:left;color:var(--ink);background:0 0;border:0;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;width:100%;padding:0;display:grid}.avatar{background:var(--green-soft);width:40px;height:40px;color:var(--ink);border-radius:50%;place-items:center;font-size:18px;font-weight:800;display:grid}.account-name{font-size:16px;font-weight:700;display:grid}.account-name small,.ledger small{color:var(--muted);font-size:13px;font-weight:500}.account-head strong{font-size:18px}.account-head strong.owed{color:#b45309}.row{flex-wrap:wrap;gap:8px;display:flex}.ledger{border-top:1px solid var(--line);gap:8px;margin:0;padding:10px 0 0;list-style:none;display:grid}.ledger li{justify-content:space-between;gap:10px;font-size:14px;display:flex}.ledger li span{display:grid}.ledger li.pay strong{color:var(--green)}.unassigned{border-top:1px solid var(--line);gap:6px;padding-top:10px;display:grid}.field{gap:6px;font-size:14px;font-weight:600;display:grid}.field input{border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px;font-size:16px}.inline-form{gap:8px;width:100%;display:flex}.inline-form input{border:1px solid var(--line);border-radius:12px;flex:1;min-width:0;padding:10px;font-size:16px}.bubble .tag.tag-split{color:#5b21b6;background:#ede9fe}.chat-filter{top:calc(var(--safe-top,0px) + 4px);z-index:5;background:#e2e8f0;border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid;position:sticky}.chat-filter button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:9px;font-size:14px;font-weight:700}.chat-filter button.on{color:var(--ink);background:#fff;box-shadow:0 1px 2px #0f172a1f}.chat-intro{color:var(--muted);margin:0;font-size:14px}.hint{color:var(--muted);margin:0;font-size:13px}.split-me{background:#fff;border-radius:14px;gap:8px;padding:12px;display:grid}.check{color:var(--muted);align-items:center;gap:8px;font-size:14px;display:flex}.split-title{margin:4px 0 0;font-size:16px}.split-row{background:#fff;border-radius:14px;gap:8px;padding:10px;display:grid}.split-line{align-items:center;gap:8px;display:flex}.split-line input{border:1px solid var(--line);border-radius:12px;flex:1;min-width:0;padding:10px;font-size:16px}.split-line input.amt{flex:0 0 96px}.seg{background:#e2e8f0;border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;padding:3px;display:grid}.seg button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:7px 4px;font-size:13px;font-weight:600}.seg button.on{color:var(--ink);background:#fff;box-shadow:0 1px 2px #0f172a1f}.split-left{justify-content:space-between;align-items:center;margin:0;font-weight:700;display:flex}.split-left.ok{color:var(--green)}.split-left.bad{color:#b45309}.sheet.split .field input:disabled{background:#f1f5f9}.explain{background:#fff;border-radius:12px;padding:10px 12px;font-size:14px}.explain summary{color:#1d4ed8;cursor:pointer;font-weight:700}.explain p{color:var(--ink);margin:8px 0 0}.two{grid-template-columns:1fr 1fr;gap:10px;display:grid}.field.small{font-size:13px}.cards-form{gap:12px;display:grid}.card-row{text-align:left;color:var(--ink);background:#fff;border:0;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:12px;font-size:15px;display:flex}.card-row span{display:grid}.card-row small{color:var(--muted);font-size:13px}.card-row.detected{border:1px dashed #94a3b8}.link.danger{color:#b91c1c}.row{justify-content:space-between}.cc{border-top:1px solid var(--line);gap:8px;padding-top:10px;display:grid}.cc:first-of-type{border-top:0;padding-top:0}.cc-name{margin:0}.cc-line{justify-content:space-between;align-items:center;gap:10px;display:flex}.cc-line span{font-size:14px;display:grid}.cc-line small{color:var(--muted);font-size:12px}.cc-line strong.warn{color:#b45309}.cc-alert{color:#92400e;background:#fef3c7;border-radius:12px;margin:0;padding:10px;font-size:14px}.meter{background:#e2e8f0;border-radius:99px;height:8px;overflow:hidden}.meter div{background:var(--green);border-radius:99px;height:100%}.meter div.hot{background:#f59e0b}.field input{box-sizing:border-box;width:100%;min-width:0}.two>*,.cards-sheet,.cards-form{min-width:0}.cc-line strong{white-space:nowrap}.chip.dashed{background:0 0;border-style:dashed;justify-self:start}.cats li.cat-group{display:block}.cat-row,.cat-group summary{justify-content:space-between;gap:8px;display:flex}.cat-group summary{cursor:pointer;list-style:none}.cat-group summary::-webkit-details-marker{display:none}.cat-group summary span:first-child:after{content:" ›";color:var(--muted)}.cat-group details[open] summary span:first-child:after{content:" ⌄"}.cats .subs{gap:4px;margin:6px 0 2px 28px;padding:0;list-style:none;display:grid}.cats .subs li{color:var(--muted);font-size:14px}.group-pick{gap:8px;display:grid}.group-title{margin:0;font-weight:700}.round.mic{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;transition:transform .15s}.round.mic.holding{transform:scale(1.25);box-shadow:0 0 0 8px #ef44442e}.chat-bar-hint.soft{color:var(--muted);opacity:.8}.rec-status{gap:4px;display:grid}.rec-left{font-variant-numeric:tabular-nums}.rec-bar{background:#e2e8f0;border-radius:99px;height:4px;overflow:hidden}.rec-bar div{background:#ef4444;height:100%;transition:width 1s linear}.rec-status.ending .rec-left{color:#dc2626}.step-title{display:grid}.step-sub{color:var(--muted);margin-top:2px;font-size:13px;font-weight:400;line-height:1.3}.mic-test{gap:8px;display:grid}.link-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.cats li.hormiga{border-top:1px dashed var(--line);padding-top:6px}.cats li.hormiga small{color:var(--muted);font-weight:400}
