:root{--ground:#f0ebe3;--surface:#fbf9f5;--surface-2:#e4dccf;--ink:#263133;--ink-2:#4a5759;--muted:#6f7b7c;--line:#ddd4c5;--accent:#576f72;--accent-ink:#46595c;--accent-soft:#dfe6e4;--on-accent:#fff;--danger:#a5321d;--danger-soft:#f6e2dc;--warn:#8a6210;--warn-soft:#f5ead2;--ok:#3d6b4c;--r:14px;--sans:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--mono:"IBM Plex Mono", ui-monospace, Menlo, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--ground:#1b2122;--surface:#232b2c;--surface-2:#2c3537;--ink:#f0ebe3;--ink-2:#c9c2b6;--muted:#949d9c;--line:#364042;--accent:#7d9d9c;--accent-ink:#9dbab9;--accent-soft:#2a393a;--on-accent:#142021;--danger:#e08268;--danger-soft:#3a231d;--warn:#d9a94e;--warn-soft:#33291a;--ok:#79b98c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--ground:#1b2122;--surface:#232b2c;--surface-2:#2c3537;--ink:#f0ebe3;--ink-2:#c9c2b6;--muted:#949d9c;--line:#364042;--accent:#7d9d9c;--accent-ink:#9dbab9;--accent-soft:#2a393a;--on-accent:#142021;--danger:#e08268;--danger-soft:#3a231d;--warn:#d9a94e;--warn-soft:#33291a;--ok:#79b98c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--ground);color:var(--ink);font:15px/1.5 var(--sans);-webkit-font-smoothing:antialiased;margin:0}button,input,select,textarea{font:inherit;color:inherit}.app{background:var(--surface);flex-direction:column;max-width:480px;min-height:100dvh;margin:0 auto;display:flex}.appbar{padding:calc(14px + env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:10px;display:flex}.appbar b{font-size:17px;font-weight:600}.appbar span{font-family:var(--mono);color:var(--muted);font-size:11px}.screen{flex-direction:column;flex:auto;gap:16px;padding:16px;display:flex}.tabs{border-top:1px solid var(--line);background:var(--surface-2);padding-bottom:env(safe-area-inset-bottom);grid-template-columns:repeat(5,1fr);display:grid;position:sticky;bottom:0}.tabs a{color:var(--muted);border-top:2px solid #0000;flex-direction:column;align-items:center;gap:4px;margin-top:-1px;padding:9px 2px 12px;font-size:11px;font-weight:500;text-decoration:none;display:flex}.tabs a[data-status=active]{color:var(--accent-ink);border-top-color:var(--accent)}.tabs a:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.tabs svg{stroke:currentColor;fill:none;stroke-width:1.7px;width:20px;height:20px}.tabs .add svg{stroke-width:1.6px;width:28px;height:28px}.lbl{font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:500}.cta{background:var(--accent);width:100%;min-height:48px;color:var(--on-accent);cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:12px 14px;font-weight:600;display:flex}.cta:disabled{opacity:.6;cursor:progress}.cta.ghost{color:var(--accent-ink);border:1px solid var(--line);background:0 0;font-weight:500}.cta:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.field{flex-direction:column;gap:4px;display:flex}.field input{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-height:46px;padding:10px 12px}.field input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.error{background:var(--danger-soft);color:var(--danger);border-radius:10px;padding:10px 12px;font-size:14px}.signin{flex-direction:column;justify-content:center;gap:18px;max-width:380px;min-height:100dvh;margin:0 auto;padding:24px 16px;display:flex}.signin h1{margin:0;font-size:26px;font-weight:600}.signin p{color:var(--ink-2);margin:0}.signin form{flex-direction:column;gap:14px;display:flex}.linkish{color:var(--accent-ink);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:4px 0;text-decoration:underline}.empty{color:var(--muted);text-align:center;padding:40px 0}.num{font-family:var(--mono);font-variant-numeric:tabular-nums;font-weight:500}.in{color:var(--ok)}.hint{color:var(--ink-2);margin:0;font-size:13.5px}.chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chip-gap{flex:0 0 8px}.chip{font-family:var(--mono);letter-spacing:.04em;border:1px solid var(--line);background:var(--surface);min-height:32px;color:var(--ink-2);cursor:pointer;border-radius:999px;padding:5px 11px;font-size:11px}.chip[aria-pressed=true]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.panel{border:1px solid var(--line);border-radius:var(--r);background:var(--ground);flex-direction:column;gap:12px;padding:13px 14px;display:flex}.field select,.field input[type=date]{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-height:46px;padding:10px 12px}.chk{align-items:center;gap:9px;min-height:44px;font-size:14px;display:flex}.chk input{width:18px;height:18px;accent-color:var(--accent)}.kv{justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;display:flex}.kv>span:first-child{color:var(--ink-2)}.sect{flex-direction:column;gap:8px;display:flex}.sect>header{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.sect>header .num{font-size:13px}.row{border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;border-radius:11px;align-items:center;gap:11px;width:100%;min-height:56px;padding:10px 12px;display:flex}.row:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.row .body{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.row .t{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.row .s{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.row .v{white-space:nowrap;font-size:14px}.stripe{background:var(--line);border-radius:2px;flex:none;align-self:stretch;width:3px}.row.income .stripe{background:var(--ok)}.row.bad{background:var(--danger-soft);border-color:#0000}.row.bad .stripe{background:var(--danger)}.row.bad .s{color:var(--danger)}.row.soon{background:var(--warn-soft);border-color:#0000}.row.soon .stripe{background:var(--warn)}.row.soon .s{color:var(--warn)}.pill{font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;background:var(--accent-soft);color:var(--accent-ink);vertical-align:1px;border-radius:999px;margin-left:6px;padding:2px 6px;font-size:9.5px}.pill.boleto{background:var(--danger-soft);color:var(--danger)}.period{justify-content:space-between;align-items:center;gap:8px;display:flex}.period b{text-transform:capitalize;font-weight:600}.icon{min-width:44px;min-height:44px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:10px;font-size:22px}.icon:focus-visible{outline:2px solid var(--accent)}.sheet{width:min(480px,100%);max-height:92dvh;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:var(--surface);color:var(--ink);border:0;border-radius:18px 18px 0 0;flex-direction:column;gap:14px;margin:auto auto 0;display:flex}.sheet:not([open]){display:none}.sheet::backdrop{background:#141c1d73}.sheet-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.sheet-head div{flex-direction:column;min-width:0;display:flex}.sheet-head b{font-size:17px;font-weight:600}.sheet-head span{color:var(--muted);font-size:13px}.sheet-actions{flex-direction:column;gap:8px;display:flex}.cta.danger{color:var(--danger)}.toast{left:50%;bottom:calc(76px + env(safe-area-inset-bottom));background:var(--ink);width:min(448px,100% - 32px);color:var(--ground);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 10px 10px 14px;font-size:14px;display:flex;position:fixed;transform:translate(-50%)}.toast span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.toast button{background:var(--accent);min-height:40px;color:var(--on-accent);cursor:pointer;border:0;border-radius:8px;padding:0 12px;font-weight:600}.pill.person{background:var(--surface-2);color:var(--ink-2);text-transform:none;letter-spacing:.02em}.kv.total{font-size:15px;font-weight:600}.row.static{cursor:default}.row.static .icon{min-width:40px;min-height:40px;margin-right:-6px}.parcela{grid-template-columns:22px 1fr 1fr;align-items:center;gap:8px;display:grid}.parcela .num{color:var(--muted);text-align:right;font-size:12px}.parcela input{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-width:0;min-height:44px;padding:8px 10px}.hero{background:var(--accent);color:var(--on-accent);border-radius:var(--r);flex-direction:column;gap:3px;padding:14px 16px;display:flex}.hero .lbl{color:currentColor;opacity:.78}.hero .big{letter-spacing:-.02em;font-size:30px;font-weight:600;line-height:1.12}.hero .sub{opacity:.88;font-size:13px}.hero .fine{opacity:.78;border-top:1px solid;margin-top:6px;padding-top:7px;font-size:11.5px}.twoline{gap:9px;display:flex}.twoline>*{border:1px solid var(--line);background:var(--surface-2);text-align:left;min-width:0;font:inherit;color:inherit;border-radius:11px;flex-direction:column;flex:1 1 0;gap:2px;padding:10px 11px;display:flex}.twoline>button{cursor:pointer}.twoline>button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.twoline .v{white-space:nowrap;font-size:17px;font-weight:600}.twoline .s{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.twoline .s.stale{color:var(--warn)}.bars{flex-direction:column;gap:11px;display:flex}.bar{flex-direction:column;gap:5px;display:flex}.bar .cap{justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;display:flex}.bar .cap b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}.track{background:var(--surface-2);border-radius:4px;height:7px;overflow:hidden}.fill{background:var(--accent);border-radius:4px;height:100%;display:block}.trend{gap:5px;height:96px;display:flex}.trend button{cursor:pointer;font-family:var(--mono);color:var(--muted);background:0 0;border:0;flex-direction:column;flex:1 1 0;justify-content:flex-end;align-items:stretch;gap:4px;padding:0;font-size:10px;display:flex}.trend button span{background:var(--accent-soft);border-radius:3px 3px 0 0}.trend button[aria-pressed=true] span{background:var(--accent)}.trend button[aria-pressed=true] small{color:var(--ink)}.trend button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.trend small{font-size:inherit;text-align:center}.appbar{align-items:center}.appbar .icon svg{stroke:currentColor;fill:none;stroke-width:1.7px;width:20px;height:20px}.row.sub{margin-left:18px}.row.static .chip{flex:none}.appbar .icon{margin:-12px -10px -12px 0}
