:root{--buncss-light:initial;--buncss-dark: ;color-scheme:light dark;--bg:#faf7f2;--surface:#fff;--surface-2:#f3efe7;--ink:#1f2430;--muted:#6b7280;--line:#e8e2d8;--green:#1f6f5c;--green-ink:#fff;--green-soft:#e3f1ec;--red:#c2413b;--red-soft:#fbe9e7;--amber:#a86a00;--amber-soft:#fdf1d8;--amber-ink:#6b4500;--green-note-ink:#14493c;--red-note-ink:#7d2420;--gold:#f6c56b;--grey-line:#9aa3af;--bar-bg:color-mix(in srgb,var(--bg)82%,transparent);--shadow:0 1px 2px #1f24300a,0 1px 0 #1f243008;--radius:14px;--tabbar-h:56px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--gutter:16px;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:ui-rounded,SF Pro Rounded,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media (prefers-color-scheme:dark){:root{--buncss-light: ;--buncss-dark:initial;--bg:#111513;--surface:#1b201e;--surface-2:#232927;--ink:#eef0ec;--muted:#9ba39f;--line:#2c3431;--green:#3fae8f;--green-ink:#0b1f19;--green-soft:#173229;--red:#ef7a72;--red-soft:#3a1f1d;--amber:#f0b44e;--amber-soft:#352a15;--amber-ink:#f3d39a;--green-note-ink:#b6e4d5;--red-note-ink:#f7c3be;--grey-line:#6b7570;--shadow:none}}*{box-sizing:border-box}html{overscroll-behavior-y:none;scroll-padding-top:calc(56px + var(--safe-top))}body{background:var(--bg);min-height:100dvh;margin:0}button,input,select{font:inherit;color:inherit}h1,h2,h3,p{margin:0}h2{font-size:1.05rem}h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.8rem;font-weight:600}a{color:var(--green)}:focus-visible{outline:2.5px solid var(--green);outline-offset:2px;border-radius:8px}.sr-only{position:absolute;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px}.app{padding-bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 24px);max-width:640px;min-height:100dvh;margin:0 auto}.screen{animation:fade-in .18s ease-out}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.splash{display:grid;text-align:center;place-content: center;justify-items:center;gap:12px;min-height:80dvh;padding:24px}.splash .wordmark{font-size:2.2rem}.navbar{position:sticky;z-index:10;display:grid;grid-template-columns:minmax(0,1fr)auto minmax(0,1fr);padding:var(--safe-top)8px 0;min-height:calc(48px + var(--safe-top));background:0 0;border-bottom:.5px solid #0000;align-items: center;gap:8px;transition:background-color .16s,border-color .16s;top:0}.navbar.compact{background:var(--bar-bg);-webkit-backdrop-filter:saturate(1.6)blur(18px);backdrop-filter:saturate(1.6)blur(18px);border-bottom-color:var(--line)}.nav-title{opacity:0;white-space:nowrap;transition:opacity .16s,transform .16s;font-size:1.02rem;font-weight:700;transform:translateY(4px)}.navbar.compact .nav-title{opacity:1;transform:none}.nav-side{display:flex;align-items: center;gap:2px;min-width:0}.nav-side.right{justify-content:flex-end}.nav-back{display:inline-flex;text-decoration:none;color:var(--green);align-items: center;gap:2px;min-height:44px;padding:0 8px 0 2px;font-size:1.02rem;font-weight:600}.icon-btn{display:inline-grid;color:var(--green);cursor:pointer;text-decoration:none;background:0 0;border:0;border-radius:12px;place-items: center;width:44px;height:44px}.icon-btn:active{background:var(--surface-2)}.icon{display:block;flex:none}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.large-head{padding:0 var(--gutter)6px;display:grid;justify-items:start;gap:8px}.large-title{letter-spacing:-.025em;font-size:2.05rem;font-weight:800;line-height:1.1}.large-title .wordmark{font-size:inherit}.large-head .seg.full{justify-self:stretch}.screen-body{display:grid;padding:12px var(--gutter)0;gap:22px;min-width:0}.wordmark{letter-spacing:-.03em;color:var(--green);text-decoration:none;font-size:1.5rem;font-weight:800}.wordmark span{color:var(--gold)}.badge{background:var(--amber-soft);color:var(--amber);white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:.72rem;font-weight:700}.badge.live{background:var(--green-soft);color:var(--green)}.ptr{position:fixed;top:var(--safe-top);z-index:20;display:grid;pointer-events:none;place-items: center;left:0;right:0}.ptr-dot{display:grid;background:var(--surface);color:var(--green);border-radius:50%;place-items: center;width:36px;height:36px;box-shadow:0 2px 10px #0000001f}.tabbar{position:fixed;z-index:15;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0 max(8px,calc((100vw - 640px)/2))var(--safe-bottom);background:var(--bar-bg);-webkit-backdrop-filter:saturate(1.6)blur(18px);backdrop-filter:saturate(1.6)blur(18px);border-top:.5px solid var(--line);bottom:0;left:0;right:0}.tabbar a{display:grid;min-height:var(--tabbar-h);text-decoration:none;color:var(--muted);letter-spacing:.01em;align-content: center;justify-items:center;gap:2px;font-size:.68rem;font-weight:600}.tabbar a.on{color:var(--green)}.tabbar a:active .icon{transform:scale(.92)}.group{display:grid;gap:7px;min-width:0}.group-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0 4px}.group-head h2{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.8rem;font-weight:700}.group-head a{text-decoration:none;display:inline-flex;align-items: center;min-height:32px;font-size:.9rem;font-weight:600}.group-foot{color:var(--muted);padding:0 4px;font-size:.78rem;line-height:1.4}.panel{background:var(--surface);border-radius:var(--radius);display:grid;box-shadow:var(--shadow);align-content: start;gap:12px;min-width:0;padding:16px}.panel.flat{border:1px dashed var(--line);box-shadow:none;background:0 0}.panel.list-panel{overflow:hidden;gap:0;padding:0}.panel.list-panel>.pad{padding:12px 16px}.grid2{display:grid;gap:22px}.rows>*+*{border-top:.5px solid var(--line)}.row-item{display:flex;text-align:left;text-decoration:none;color:inherit;font:inherit;background:0 0;border:0;align-items: center;gap:12px;width:100%;min-width:0;min-height:52px;padding:10px 14px 10px 16px}.row-item.tap{cursor:pointer}.row-item.tap:active{background:var(--surface-2)}.row-item:focus-visible{outline-offset:-3px;border-radius:0}.row-main{display:grid;flex:1 1 0;gap:2px;min-width:0}.row-title{font-size:.98rem}.row-sub{color:var(--muted);overflow-wrap:anywhere;font-size:.78rem;line-height:1.35}.row-value{display:grid;text-align:right;flex:none;justify-items:end;gap:3px;max-width:50%}.chev{color:var(--muted);opacity:.6;margin-right:-4px}.lead-bars{flex:none;width:56px}.row{display:flex;justify-content:space-between;align-items: center;gap:12px;min-width:0}.row>.grow{flex:1 1 0;min-width:0}.wrap{flex-wrap:wrap}.stack{display:grid;gap:4px;min-width:0}.inline{display:flex;align-items: center;gap:8px;min-width:0}.inline>input{flex:1 1 0}.muted{color:var(--muted)}.small{font-size:.86rem;line-height:1.45}.tiny{font-size:.76rem;line-height:1.4}.num{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.big{letter-spacing:-.035em;font-variant-numeric:tabular-nums;font-size:clamp(2.4rem,11vw,3.4rem);font-weight:800;line-height:1}.pos{color:var(--green)}.neg{color:var(--red)}.ellip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}hr{border:0;border-top:.5px solid var(--line);margin:0}.list>*+*{border-top:.5px solid var(--line)}.list>*{padding:10px 0}.list>:first-child{padding-top:0}.list>:last-child{padding-bottom:0}.hero{background:var(--surface);display:grid;box-shadow:var(--shadow);border-radius:20px;gap:12px;padding:20px}.figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fig{background:var(--surface-2);display:grid;border-radius:12px;align-content: start;gap:2px;min-width:0;padding:10px 12px}.fig b{font-variant-numeric:tabular-nums;font-size:1.12rem}.pill{display:inline-block;background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700}.pill.ok{background:var(--green-soft);color:var(--green)}.pill.no{background:var(--red-soft);color:var(--red)}.pill.warn{background:var(--amber-soft);color:var(--amber)}.pills{display:flex;flex-wrap:wrap;gap:6px}.btn{display:inline-flex;background:var(--surface-2);color:var(--ink);cursor:pointer;white-space:nowrap;text-decoration:none;border:0;border-radius:12px;justify-content:center;align-items: center;gap:6px;min-height:44px;padding:10px 14px;transition:transform 80ms,opacity .12s;font-size:.94rem;font-weight:650}.btn:active:not(:disabled){opacity:.85;transform:scale(.98)}.btn.primary{background:var(--green);color:var(--green-ink)}.btn.danger{color:var(--red)}.btn.ghost{color:var(--green);background:0 0;padding-inline-start:10px;padding-inline-end:10px}.btn.ghost.danger{color:var(--red)}.btn.block{width:100%}.btn:disabled{opacity:.45;cursor:default}.btns{display:flex;flex-wrap:wrap;gap:8px}.btns>input.money{flex:90px;max-width:140px}.seg{display:inline-flex;background:var(--surface-2);overflow-x:auto;scrollbar-width:none;border-radius:11px;gap:2px;max-width:100%;padding:2px}.seg::-webkit-scrollbar{display:none}.seg.full{display:flex;width:100%}.seg.full button{flex:1 1 0}.seg button{color:var(--ink);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:9px;flex:none;min-height:36px;padding:6px 12px;font-size:.84rem;font-weight:650}.seg button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000001f}@media (prefers-color-scheme:dark){.seg button.on{background:#3a423f}}.seg button:disabled{opacity:.5}.field{display:grid;gap:6px;min-width:0}.field>span{color:var(--muted);font-size:.8rem;font-weight:600}input[type=text],input[type=number],input[type=date],input[type=search],select{border:1px solid var(--line);background:var(--surface);appearance:none;-webkit-appearance:none;border-radius:12px;width:100%;min-width:0;min-height:44px;padding:10px 12px;font-size:16px}select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239aa3af' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}input:focus-visible{outline:2px solid var(--green);outline-offset:0;border-color:var(--green)}select:focus-visible{outline:2px solid var(--green);outline-offset:0;border-color:var(--green)}input.money{max-width:140px}.search{background:var(--surface-2);border-color:#0000!important}.form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-items: end;gap:12px}.form>.btn{grid-column:1/-1}label.check{display:flex;cursor:pointer;align-items: flex-start;gap:12px;min-height:44px;padding:4px 0;font-size:.95rem}label.check input{accent-color:var(--green);flex:none;width:22px;height:22px;margin-top:2px}.switch-row{display:flex;cursor:pointer;justify-content:space-between;align-items: flex-start;gap:12px;min-height:52px;padding:12px 16px}.switch-row input{appearance:none;-webkit-appearance:none;background:var(--line);position:relative;cursor:pointer;border-radius:999px;flex:none;width:51px;height:31px;margin:0;transition:background-color .16s}.switch-row input:after{content:"";position:absolute;background:#fff;border-radius:50%;width:27px;height:27px;transition:transform .16s;top:2px;left:2px;box-shadow:0 2px 4px #0003}.switch-row input:checked{background:var(--green)}.switch-row input:checked:after{transform:translate(20px)}.switch-row input:disabled{opacity:.45;cursor:default}.switch-row input:focus-visible{outline:2.5px solid var(--green);outline-offset:2px}.cell{display:grid;gap:10px;min-width:0;padding:12px 16px}.notice{background:var(--amber-soft);color:var(--amber-ink);border-radius:12px;padding:10px 12px;font-size:.88rem;line-height:1.45}.notice.green{background:var(--green-soft);color:var(--green-note-ink)}.notice.red{background:var(--red-soft);color:var(--red-note-ink)}.notice a{color:inherit;font-weight:700}.toast{position:fixed;left:50%;bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 14px);background:var(--ink);color:var(--bg);z-index:40;animation:toast-in .2s ease-out;border-radius:14px;width:max-content;max-width:calc(100vw - 32px);padding:11px 16px;font-size:.9rem;transform:translate(-50%);box-shadow:0 8px 24px #0000002e}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.sheet-wrap{position:fixed;z-index:30;display:flex;justify-content:center;align-items: flex-end;inset:0}.sheet-backdrop{position:absolute;animation:fade-in .22s ease-out;background:#0a0e0c6b;inset:0}.sheet{position:relative;max-height:calc(100dvh - var(--safe-top) - 24px);display:flex;background:var(--bg);animation:sheet-up .28s cubic-bezier(.2,.9,.25,1);outline:none;border-radius:18px 18px 0 0;flex-direction:column;width:100%;max-width:640px;transition:transform .2s ease-in;box-shadow:0 -8px 30px #0000002e}.sheet-wrap.closing .sheet{transform:translateY(105%)}.sheet-wrap.closing .sheet-backdrop{opacity:0;transition:opacity .2s}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-head{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr)44px;touch-action:none;align-items: center;padding:14px 8px 6px}.grabber{position:absolute;background:var(--line);border-radius:999px;width:36px;height:5px;top:6px;left:50%;transform:translate(-50%)}.sheet-title{grid-column:2;text-align:center;font-size:1.02rem;font-weight:700}.sheet-close{grid-column:3;color:var(--muted)}.sheet-body{overflow-y:auto;overscroll-behavior:contain;padding:8px var(--gutter)calc(20px + var(--safe-bottom));display:grid;align-content: start;gap:18px}.sheet-foot{padding:10px var(--gutter)calc(10px + var(--safe-bottom));border-top:.5px solid var(--line)}body.sheet-open{overflow:hidden}.sheet-amount{text-align:center;display:grid;justify-items:center;gap:6px;padding:4px 0 6px}.sheet-amount .big{font-size:2.4rem}.smidge-card{aspect-ratio:1.586;color:#fff;display:grid;position:relative;overflow:hidden;background:radial-gradient(120% 140% at 0 0,#2a8a72 0%,#1f6f5c 45%,#134a3d 100%);border-radius:20px;align-content:space-between;justify-self:center;width:100%;max-width:420px;padding:20px;box-shadow:0 14px 30px -14px #134a3db3}.smidge-card:after{content:"";position:absolute;background:#f6c56b40;border-radius:50%;width:160px;height:160px;bottom:-40px;right:-40px}.smidge-card .wordmark{color:#fff;font-size:1.3rem}.smidge-card .sim{letter-spacing:.14em;border:1px solid #ffffff80;border-radius:999px;padding:2px 8px;font-size:.65rem;font-weight:700}.smidge-card .bal{letter-spacing:-.02em;font-size:clamp(1.8rem,8vw,2.4rem);font-weight:800}.meter{background:var(--surface-2);overflow:hidden;border-radius:999px;height:8px}.meter>i{display:block;background:var(--green);border-radius:999px;height:100%}.meter>i.over{background:var(--red)}.bars{display:flex;align-items: flex-end;gap:3px;height:32px}.bars>i{background:var(--green);opacity:.85;border-radius:3px 3px 0 0;flex:1 1 0;min-height:2px}.bars>i.partial{opacity:.35}svg.chart{display:block;width:100%;height:auto}.legend{display:flex;color:var(--muted);flex-wrap:wrap;gap:14px;font-size:.78rem}.legend i{display:inline-block;vertical-align:middle;border-radius:2px;width:14px;height:3px;margin-right:5px}.chat{display:grid;gap:8px}.msg{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:18px;max-width:85%;padding:10px 14px;font-size:.97rem;line-height:1.45}.msg.user{background:var(--green);color:var(--green-ink);border-bottom-right-radius:5px;justify-self:end}.msg.smidge{background:var(--surface);box-shadow:var(--shadow);border-bottom-left-radius:5px;justify-self:start}.chips{display:flex;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1*var(--gutter));padding:0 var(--gutter)2px;gap:8px}.chips::-webkit-scrollbar{display:none}.chips button{background:var(--surface);box-shadow:var(--shadow);border:.5px solid var(--line);border-radius:999px;flex:none;font-size:.86rem;font-weight:600}.composer{position:fixed;left:0;right:0;bottom:calc(var(--tabbar-h) + var(--safe-bottom));z-index:14;display:flex;padding:8px max(var(--gutter),calc((100vw - 640px)/2 + var(--gutter)));background:var(--bar-bg);-webkit-backdrop-filter:saturate(1.6)blur(18px);backdrop-filter:saturate(1.6)blur(18px);border-top:.5px solid var(--line);gap:8px}.composer input{border-radius:999px;flex:1 1 0;padding-inline-start:16px;padding-inline-end:16px}.composer .btn{border-radius:999px}.screen-chat .app,.app.screen-chat{padding-bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 76px)}table{border-collapse:collapse;width:100%;font-size:.86rem}th,td{text-align:right;border-bottom:.5px solid var(--line);white-space:nowrap;font-variant-numeric:tabular-nums;padding:8px 6px}th:first-child,td:first-child{text-align:left}th{color:var(--muted);font-size:.75rem;font-weight:600}.scroll-x{overflow-x:auto;margin:0 -16px;padding:0 16px}details>summary{cursor:pointer;color:var(--green);display:flex;align-items: center;min-height:32px;font-size:.9rem;font-weight:600}details[open]>summary{margin-bottom:6px}@media (min-width:900px){.app{max-width:920px}.sheet{border-radius:18px;max-width:560px;margin-bottom:24px}.sheet-wrap{align-items: center}.tabbar{padding-inline-start:max(8px,50vw - 280px);padding-inline-end:max(8px,50vw - 280px)}.grid2{grid-template-columns:minmax(0,1fr)minmax(0,1fr);align-items: start}.figs.four{grid-template-columns:repeat(4,minmax(0,1fr))}.composer{padding-inline:max(var(--gutter),calc((100vw - 920px)/2 + var(--gutter)))}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important}.spin{animation:none!important}}.tx{display:grid;gap:8px}.group-head{flex-wrap:wrap}.panel.list>*+*{border-top:.5px solid var(--line)}.seg.full button{overflow:hidden;text-overflow:ellipsis;min-width:0;padding-inline-start:2px;padding-inline-end:2px;font-size:.8rem}input.search{background:var(--surface-2);border-color:#0000}details>summary{cursor:pointer;color:var(--muted);font-size:.88rem;font-weight:600}.signin{display:grid;place-items: center;min-height:100dvh;padding:24px 16px}.signin-card{display:grid;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);gap:14px;width:100%;max-width:360px;padding:24px 20px}.signin-mark{text-align:center;margin-bottom:6px;font-size:2rem}.auth-wait{min-height:100dvh}
