@import "https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap";:root{font-variant-numeric:tabular-nums;color:#1b2430;--accent:#1f5e57;--muted:#4a5563;--line:#eef0f2;background:#f6f5f1;font:16px/1.45 Rubik,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button,select,input{background:#fff;border:1px solid #d5d9de;border-radius:10px;min-height:44px;padding:8px 12px}button,select,summary{cursor:pointer}button:hover{border-color:var(--accent)}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.primary,.chips [aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}button.primary{font-weight:600}header{background:#fff;border-bottom:1px solid #e3e6ea}.header-inner,main{max-width:1240px;margin:auto;padding:12px 24px}.header-inner,nav,.months,.pair,.line,.heading,.actions,.chips,.strip,footer,.toast,.entry{align-items:center;gap:8px;display:flex}.brand{color:var(--accent);font-size:20px;font-weight:700}.header-inner{gap:24px}.months{margin-left:auto}.months strong{text-align:center;padding:0 8px}.months small{display:none}nav button,.heading button,footer button{color:var(--accent);background:0 0;border:0}nav button{align-items:center;gap:7px;display:flex}nav svg{display:none}nav [aria-current=page]{background:#e7f0ee;font-weight:600}main{gap:16px;padding:24px;display:grid}h1,h2,h3,p{margin:0}h1{font-size:28px}h2{font-size:18px}h3{font-size:15px}small,label{color:var(--muted);font-size:13px}small{display:block}label{gap:4px;display:grid}input,select{min-width:0;max-width:100%}.card{background:#fff;border-radius:18px;padding:16px}.quick{flex-wrap:wrap;align-items:end;gap:12px;display:flex;box-shadow:0 1px 2px #141e280f,0 4px 16px #141e280f}.quick h2{display:none}.amount{flex:0 140px}.amount span{border:2px solid var(--accent);border-radius:12px;align-items:center;gap:5px;padding:0 12px;font-size:21px;display:flex}.amount input{border:0;outline:none;width:100%;min-height:48px;padding:0;font-size:24px;font-weight:600}.desc{flex:210px}.desc input,.actions button{min-height:52px}.choices{flex:3 410px}.chips,.actions{flex-wrap:wrap}.chips button,.chips select{border-radius:22px;font-size:14px}.choices small{margin:4px 0}.actions{margin-left:auto}.extra{flex-wrap:wrap;align-items:end;gap:12px;width:100%;display:flex}.extra label:has([type=checkbox]){align-items:center;display:flex}.extra details{flex-basis:100%}.extra details label{margin:4px;display:inline-grid}.home-grid{grid-template-columns:minmax(260px,1fr) minmax(0,2fr);align-items:start;gap:20px;display:grid}.leftcol{gap:16px;display:grid}.balance{border-radius:18px;padding:24px}.balance>strong{letter-spacing:-2px;font-size:56px;line-height:1.2}.balance p{margin:8px 0}.ok{--bar:#3c8c5a;color:#1d5b33;background:#e6f3e9}.near{--bar:#c98a12;color:#7a4b00;background:#fcefcf}.over{--bar:#c2372b;color:#9b1c14;background:#fadfdb}.unset,.bill-toggle{--bar:#8a929c;color:#1b2430;background:#eceff3}.track{background:#0001;border-radius:9px;height:7px;margin:10px 0;overflow:hidden}.track i{background:var(--bar);border-radius:inherit;height:100%;display:block}.balance footer{border-top:1px solid #0002;justify-content:space-between;margin-top:12px;font-size:14px}.pair,.heading,.strip,.entry,.line{justify-content:space-between}.heading{margin:16px 0 8px}.home-grid>div>.heading:first-child{margin-top:0}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.tile{border-radius:14px;padding:14px}.tile small{color:inherit}.tile .pair{align-items:baseline}.bill-toggle{border:0;justify-content:space-between;width:100%;margin-top:10px;padding:14px;display:flex}.line,.entry{border:0;border-bottom:1px solid var(--line);min-height:55px}.line{padding:4px 0}.line:last-child,.entry:last-child{border-bottom:0}.grow,.entry span{flex:1;min-width:0}.list{padding:0 14px}.entry{text-align:left;background:#fff;border-radius:0;width:100%}.entry span>b,.entry small{overflow-wrap:anywhere;display:block}.entry span>b{width:fit-content}.dot{border-radius:50%;width:9px;height:9px}.narrow,.inline-amount input{text-align:right;background:#fbfbfa;width:100px}.strip,.alert{border-radius:12px;padding:10px}.fab,.toast{position:fixed;bottom:24px;right:24px}.fab{border-radius:50%;width:54px;height:54px;font-size:24px}.toast{color:#fff;z-index:4;background:#1b2430;border-radius:14px;padding:8px 16px;box-shadow:0 6px 22px #0002}.toast button{color:#fff;background:0 0;border:0;text-decoration:underline}.search{width:100%}.editor{background:#f4f7f6;border-radius:12px;padding:12px}.welcome{background:#fff;border-radius:20px;max-width:500px;margin:12vh auto;padding:32px}.line .inline-amount{margin-left:auto}main>section>h2{margin-bottom:10px}@media (width<=740px){header{background:0 0;border:0}.header-inner{justify-content:center;padding:8px 12px}.header-inner>.brand{display:none}.months{justify-content:space-between;width:100%;margin:0}.months small{display:block}.months button{background:0 0;border:0;font-size:25px}.header-inner nav{z-index:3;padding:4px 8px max(4px, env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d5d9de;justify-content:space-around;position:fixed;bottom:0;left:0;right:0}nav svg{display:block}nav button{flex-direction:column;flex:1;gap:2px;font-size:12px}main{gap:12px;padding:4px 12px 90px}.quick{border-radius:20px;gap:12px;display:grid}.quick h2{color:var(--muted);font-size:15px;display:block}.amount{font-size:0}.amount span{border:0;border-bottom:2px solid #e3e6ea;border-radius:0;padding:0;font-size:36px}.amount input{font-size:44px}.desc{font-size:0}.desc input{font-size:16px}.actions{flex-wrap:nowrap;width:100%;margin:0}.actions .primary{flex:1}.home-grid,.tiles{grid-template-columns:1fr}.balance{border-radius:20px;padding:18px}.balance>strong{font-size:52px}.desktop{display:none!important}.fab,.toast{bottom:78px;right:14px}.toast{justify-content:space-between;left:12px}.line .inline-amount input{width:80px}.tile{padding:12px 14px}.extra label{max-width:100%}.heading{flex-wrap:wrap}.filters{gap:5px}}.plan-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);align-items:start;gap:16px 24px;display:grid}.plan-income,.plan-groups{grid-column:1}.plan-receipt{border-radius:20px;grid-area:1/2/span 2;padding:20px;scroll-margin-top:16px;position:sticky;top:24px}.plan-receipt h2{margin-bottom:12px}.plan-receipt .pair{margin:6px 0}.plan-receipt .result{border-top:1px solid;margin-top:10px;padding-top:8px;font-size:20px}.plan-receipt button{width:100%;color:inherit;border-color:currentColor;margin-top:12px}.under{color:#23446e;background:#e8eef7}.allocation{border-radius:6px;height:14px;margin:14px 0;display:flex;overflow:hidden}.allocation .regular,.reg-key:before{background:#5b7083}.allocation .flexible,.flex-key:before{background:#1f5e57}.allocation .gap{border:2px dashed}.allocation .excess{background:repeating-linear-gradient(45deg,#c2372b 0 6px,#9b1c14 6px 12px)}.reg-key:before,.flex-key:before{content:"";border-radius:3px;width:12px;height:12px;margin-right:8px;display:inline-block}.plan-field{min-width:0;margin-left:auto}.plan-field>span{background:#fbfbfa;border:1px solid #d5d9de;border-radius:10px;align-items:center;gap:4px;padding:0 8px;display:flex}.plan-field i{color:#5b6572;font-style:normal}.plan-field input{text-align:right;background:0 0;border:0;width:90px;min-width:0;padding:6px 2px}.plan-sticky{display:none}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.plan-groups .heading>span{color:#4a5563;font-size:14px}@media (width<=740px){.plan-layout{flex-direction:column;align-items:stretch;display:flex}.plan-receipt{padding:16px;position:static}.plan-sticky{z-index:2;border:0;justify-content:space-between;align-items:center;min-height:48px;padding:10px 16px;display:flex;position:sticky;bottom:72px;box-shadow:0 4px 14px #0002}.plan-field input{width:66px}.plan-groups .heading{align-items:baseline}.plan-groups .heading>span{font-size:12px}.plan-groups .line{gap:4px}}
