:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--space-3xs:2px;--space-2xs:4px;--space-xs:8px;--space-sm:12px;--space-md:16px;--space-lg:24px;--space-xl:40px;--space-2xl:64px;--space-3xl:96px;--space-4xl:144px;--text-xs:.75rem;--text-sm:.875rem;--text-md:1rem;--text-lg:1.2rem;--text-xl:1.44rem;--text-2xl:1.728rem;--text-3xl:2.074rem;--text-amount:3.5rem;--text-display-s:1.44rem;--text-display:1.728rem;--text-section:1.2rem;--text-title:1rem;--text-lead:1rem;--ease-out:cubic-bezier(.16, 1, .3, 1);--ease-in:cubic-bezier(.7, 0, .84, 0);--ease-in-out:cubic-bezier(.65, 0, .35, 1);--dur-micro:.12s;--dur-short:.22s;--dur-long:.42s;--container:1440px;--gutter:64px;--gap-columns:32px;--section-gap-s:120px;--section-gap:144px;--section-gap-l:176px;--z-base:1;--z-raised:10;--z-dropdown:100;--z-sticky:200;--z-sticky-nav:300;--z-modal:400;--z-toast:500;--z-tooltip:600;--color-paper:oklch(98.3% .009 250);--color-paper-2:oklch(99.7% .002 250);--color-paper-3:#dceeff;--color-ink:oklch(13% .012 252);--color-ink-2:oklch(30% .02 250);--color-muted:oklch(45% .03 250);--color-rule:oklch(87% .02 250);--color-outline:oklch(13% .012 252);--color-accent:#4da2ff;--color-accent-ink:oklch(13% .012 252);--color-focus:oklch(46% .19 258);--color-highlight:#ffd731;--color-highlight-shade:#dda013;--color-highlight-ink:oklch(13% .012 252);--color-mint:#55db9c;--color-lavender:#e9ccff;--color-positive:oklch(44% .12 155);--color-positive-wash:color-mix(in oklab, #55db9c 30%, var(--color-paper-2));--color-accent-wash:color-mix(in oklab, #4da2ff 22%, var(--color-paper-2));--color-error-on-wash:var(--color-error);--color-error:oklch(50% .19 27);--color-error-wash:oklch(95% .03 27);--color-toast:#55db9c;--color-qr-plate:oklch(99.7% .002 250);--shadow-press:0 4px 0 var(--color-outline);--shadow-press-sm:0 2px 0 var(--color-outline);--font-display:"Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;--display-weight:900;--font-body:Arial, Helvetica, sans-serif;--font-outlier:var(--font-body);--radius-card:24px;--radius-control:16px;--radius-pill:999px;--rule-hair:1px;--rule-outline:2px;--shadow-card:none;--tracking-display:-.01em;--tabbar-height:64px;--btn-target:44px;--btn-inline-h:32px;--color-rule-strong:color-mix(in oklab, var(--color-ink) 45%, var(--color-paper-2));--btn-edge:var(--rule-hair) solid var(--color-rule-strong);--btn-primary-pressed:color-mix(in oklab, var(--color-accent) 85%, var(--color-ink));--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305080c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E")}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}[data-mode=dark]{--color-paper:oklch(17% .025 252);--color-paper-2:oklch(22% .03 252);--color-paper-3:oklch(29% .05 252);--color-ink:oklch(96% .008 250);--color-ink-2:oklch(86% .015 250);--color-muted:oklch(76% .025 250);--color-rule:oklch(33% .035 252);--color-outline:oklch(56% .045 252);--color-accent:oklch(74% .13 252);--color-accent-ink:oklch(17% .025 252);--color-focus:oklch(84% .1 252);--color-highlight:oklch(87% .15 95);--color-highlight-shade:oklch(72% .14 80);--color-highlight-ink:oklch(17% .025 252);--color-positive:oklch(80% .13 155);--color-positive-wash:oklch(30% .05 160);--color-accent-wash:oklch(38% .09 252);--color-error-on-wash:oklch(84% .1 25);--color-error:oklch(76% .14 25);--color-error-wash:oklch(28% .06 25);--color-toast:oklch(30% .05 160);--shadow-press:0 4px 0 oklch(9% .02 252);--shadow-press-sm:0 2px 0 oklch(9% .02 252);--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef2f7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E")}[data-mode=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{overflow-x:clip}html{scrollbar-color:var(--color-muted) var(--color-paper);scroll-padding-top:var(--space-3xl)}body{background:var(--color-paper);color:var(--color-ink);font-family:var(--font-body);font-size:var(--text-md);-webkit-font-smoothing:antialiased;caret-color:var(--color-accent);margin:0;line-height:1.55}::selection{background:color-mix(in oklab, var(--color-accent) 22%, transparent);color:var(--color-ink)}:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}a{color:inherit;text-underline-offset:.16em;text-decoration-thickness:1px}h1,h2,h3{font-family:var(--font-display);font-weight:var(--display-weight,700);font-synthesis:none;letter-spacing:var(--tracking-display);overflow-wrap:break-word;text-wrap:balance;min-width:0;margin:0;line-height:1.05}h1{max-width:20ch;font-size:var(--text-display)}h2{max-width:30ch;font-size:var(--text-section)}h3{max-width:40ch;font-size:var(--text-title);line-height:1.2}.lead{font-size:var(--text-lead);max-width:52ch;line-height:1.45}p{text-wrap:pretty;margin:0}p:not([class]){max-width:65ch}img,video{max-width:100%;height:auto;display:block}svg{display:block}[hidden]{display:none!important}button,input,select,textarea{font:inherit}.container{width:100%;max-width:var(--container);padding-inline:var(--gutter);box-sizing:border-box;margin-inline:auto}.num,.figure,td.num{font-variant-numeric:tabular-nums}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}[data-slot]{background:linear-gradient(160deg, var(--color-paper-2,var(--color-paper)), var(--color-paper-3,var(--color-paper)));position:relative;overflow:hidden}[data-slot]>img{object-fit:cover;z-index:1;width:100%;height:100%;position:absolute;inset:0}[data-slot]:has(>img)>:not(img):not([data-keep]){display:none!important}@media (width<=60rem){:root{--gutter:24px;--section-gap-s:80px;--section-gap:96px;--section-gap-l:120px}}@media (width<=40rem){:root{--gutter:16px;--section-gap-s:56px;--section-gap:72px;--section-gap-l:96px;--gap-columns:16px}}@media (prefers-reduced-motion:reduce){:not(.keep-motion),:not(.keep-motion):before,:not(.keep-motion):after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}body{padding:max(var(--space-sm), env(safe-area-inset-top)) var(--space-md) max(var(--space-md), env(safe-area-inset-bottom))}main{max-width:430px;padding-bottom:calc(var(--tabbar-height) + var(--space-md) + env(safe-area-inset-bottom));margin:0 auto}p{margin:0}h1{font-size:var(--text-xl);line-height:1.1}.num,.row>span:last-of-type,.big strong,.amount{font-variant-numeric:tabular-nums}.topbar{justify-content:space-between;align-items:center;gap:var(--space-sm);min-height:56px;margin-bottom:var(--space-sm);display:flex}.topbar-logo{width:180px;height:auto}.topbar-actions{align-items:center;gap:var(--space-2xs);display:flex}.account-button{border:var(--btn-edge);border-radius:var(--radius-pill);background:var(--color-paper-2);width:44px;min-width:44px;min-height:44px;color:var(--color-ink);box-shadow:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.account-button[aria-current=page]{background:var(--color-accent);color:var(--color-accent-ink)}.mode-switch{border-radius:var(--radius-pill);min-width:44px;min-height:44px;color:var(--color-ink);cursor:pointer;box-shadow:none;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.mode-switch-track{border:var(--btn-edge);border-radius:var(--radius-pill);background:var(--color-paper-3);width:52px;height:30px;transition:background-color var(--dur-short) var(--ease-out);display:block;position:relative}.mode-switch-thumb{border-radius:var(--radius-pill);background:var(--color-highlight);width:22px;height:22px;color:var(--color-highlight-ink);transition:transform var(--dur-short) var(--ease-out);place-items:center;display:grid;position:absolute;top:2px;left:2px}.mode-switch[aria-checked=true] .mode-switch-track{background:var(--color-paper-2)}.mode-switch[aria-checked=true] .mode-switch-thumb{background:var(--color-accent);color:var(--color-accent-ink);transform:translate(22px)}.mode-switch:active .mode-switch-thumb{transform:scale(.92)}.mode-switch[aria-checked=true]:active .mode-switch-thumb{transform:translate(22px)scale(.92)}.mode-switch:focus-visible{outline:2px solid var(--color-focus);outline-offset:0}.intro{gap:var(--space-lg);flex-direction:column;display:flex}.intro .topbar{margin-bottom:0}.intro-logo{width:280px;height:auto;margin-block:var(--space-xs) var(--space-md);align-self:center}.card{gap:var(--space-md);background:var(--color-paper-2);color:var(--color-ink);border:var(--rule-outline) solid var(--color-outline);border-radius:var(--radius-card);padding:var(--space-lg);flex-direction:column;display:flex}.muted{color:var(--color-muted);font-size:var(--text-sm)}.error{color:var(--color-error);font-size:var(--text-sm)}.small{font-size:var(--text-xs)}.positive{color:var(--color-positive)}.negative{color:var(--color-error)}code{word-break:break-all;font-size:var(--text-sm)}.qr{background:var(--color-qr-plate);border:var(--rule-outline) solid var(--color-outline);border-radius:var(--radius-control);padding:var(--space-xs);align-self:center}button{min-height:48px;padding:0 var(--space-lg);border-radius:var(--radius-pill);background:var(--color-accent);color:var(--color-accent-ink);font-weight:700;font-size:var(--text-md);cursor:pointer;box-shadow:none;white-space:nowrap;transition:background-color var(--dur-short) var(--ease-out);border:0}button:active{background:var(--btn-primary-pressed)}button:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}button[aria-busy=true]{cursor:progress}button.secondary{min-height:var(--btn-target);border:var(--btn-edge);color:var(--color-ink);background:0 0}button.secondary:active{background:var(--color-paper-3)}button.inline{min-height:var(--btn-inline-h);padding:0 var(--space-sm);font-size:var(--text-sm);position:relative}button.inline:before{content:"";inset:calc((var(--btn-inline-h) - var(--btn-target)) / 2) -4px;position:absolute}button.destructive{min-height:var(--btn-target);border:var(--rule-hair) solid var(--color-error);color:var(--color-error);background:0 0}button.destructive:active{background:var(--color-error-wash)}button.link{min-height:44px;padding:0 var(--space-2xs);box-shadow:none;color:var(--color-ink-2);text-underline-offset:.18em;background:0 0;border:0;font-weight:400;text-decoration:underline}button.link:active{background:0 0}button.link.danger{color:var(--color-error)}button.add-link{align-items:center;gap:var(--space-2xs);color:var(--color-ink);align-self:flex-start;font-weight:700;text-decoration:none;display:inline-flex}label{gap:var(--space-xs);font-size:var(--text-sm);color:var(--color-ink);flex-direction:column;font-weight:700;display:flex}input,select{min-height:48px;padding:0 var(--space-md);border:var(--rule-outline) solid var(--color-outline);border-radius:var(--radius-control);background:var(--color-paper);color:var(--color-ink);font-size:var(--text-md);font-weight:400}input::placeholder{color:var(--color-muted)}select{appearance:none;padding-right:calc(var(--space-md) + 20px + var(--space-xs));background-image:var(--select-arrow);background-repeat:no-repeat;background-position:right var(--space-md) center;background-size:20px 20px}input:focus-visible,select:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}input:disabled,select:disabled{opacity:.55;cursor:not-allowed}.form-actions{gap:var(--space-xs);grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.inline-actions{align-items:center;gap:var(--space-xs);display:inline-flex}.log{gap:var(--space-sm);flex-direction:column;display:flex}.amount{justify-content:center;align-items:baseline;gap:var(--space-2xs);padding:var(--space-md) 0 var(--space-xs);font-weight:700;font-size:var(--text-amount);letter-spacing:-.02em;overflow-wrap:break-word;min-width:0;line-height:1;display:flex}.amount .currency{font-size:var(--text-xl);color:var(--color-muted)}.categories{gap:var(--space-xs);grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.cat{align-items:center;gap:var(--space-xs);min-height:48px;padding:var(--space-xs) var(--space-sm);border-radius:var(--radius-control);background:var(--color-paper-2);color:var(--color-ink);font-weight:400;font-size:var(--text-sm);text-align:left;white-space:normal;box-shadow:none;line-height:1.2;display:flex}.cat .icon{flex:none}.cat.selected{background:var(--color-highlight);color:var(--color-highlight-ink);box-shadow:none;font-weight:700}.note{width:100%}.segmented{background:var(--color-paper-2);border:var(--btn-edge);border-radius:var(--radius-pill);grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:2px;display:grid}.segmented button{min-height:40px;padding:var(--space-3xs) var(--space-2xs);white-space:normal;border-radius:var(--radius-pill);color:var(--color-ink);line-height:1.15;font-size:var(--text-sm);box-shadow:none;background:0 0;border:0;font-weight:400}.segmented button.on{background:var(--color-highlight);color:var(--color-highlight-ink);font-weight:700}.log-meta{align-items:center;gap:var(--space-xs);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.log-meta .amount{padding:var(--space-2xs) 0}.log-meta>:last-child{justify-self:end}.chip{min-height:44px;padding:0 var(--space-sm);border:var(--rule-hair) solid var(--color-rule);border-radius:var(--radius-pill);background:var(--color-paper-2);font-size:var(--text-sm);white-space:nowrap;flex-direction:row;justify-self:start;align-items:center;font-weight:400;display:inline-flex;position:relative}.chip.on{background:var(--color-highlight);color:var(--color-highlight-ink);font-weight:700}.date-chip input{opacity:0;cursor:pointer;width:100%;min-height:0;padding:0;position:absolute;inset:0}.chips{gap:var(--space-xs);scrollbar-width:none;margin:0 calc(-1 * var(--space-md));padding:2px var(--space-md);scroll-padding-inline:var(--space-md);display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chips[data-more=right]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),#0000)}.chips[data-more=left]{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 40px),#0000);mask-image:linear-gradient(270deg,#000 calc(100% - 40px),#0000)}.chips[data-more=both]{-webkit-mask-image:linear-gradient(90deg,#0000,#000 40px calc(100% - 40px),#0000);mask-image:linear-gradient(90deg,#0000,#000 40px calc(100% - 40px),#0000)}@media (width>=480px){.chips{padding:var(--space-2xs);border:var(--rule-hair) solid var(--color-rule);border-radius:var(--radius-control);scroll-padding-inline:var(--space-2xs);margin:0}}.chips .cat{white-space:nowrap;flex:none}.chips .muted,.chips-note{align-items:center;min-height:48px;margin:0;display:flex}.ask{gap:var(--space-xs);padding:var(--space-xs) var(--space-sm);background:var(--color-paper-2);border:var(--rule-outline) solid var(--color-outline);border-radius:var(--radius-card);flex-direction:column;display:flex}.ask p{font-size:var(--text-sm);margin:0}.ask button{min-height:44px;padding:0 var(--space-sm);font-size:var(--text-sm)}.numpad{gap:var(--space-xs);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.key{border-radius:var(--radius-control);background:var(--color-paper-2);min-height:56px;color:var(--color-ink);font-size:var(--text-xl);border:var(--btn-edge);box-shadow:none;place-items:center;padding:0;font-weight:400;display:grid}.add{min-height:60px;font-size:var(--text-lg)}@media (height<=700px){.key{min-height:48px}.has-note .key{min-height:41px}}.toast{left:50%;bottom:calc(var(--tabbar-height) + var(--space-md) + env(safe-area-inset-bottom));z-index:var(--z-toast);width:max-content;max-width:calc(100% - var(--space-xl));padding:var(--space-sm) var(--space-lg);border:var(--rule-outline) solid var(--color-outline);border-radius:var(--radius-pill);background:var(--color-toast);color:var(--color-ink);font-size:var(--text-sm);text-align:center;box-shadow:var(--shadow-press-sm);pointer-events:none;font-weight:700;position:fixed;transform:translate(-50%)}.queue,.today,.card-list{gap:var(--space-xs);flex-direction:column;display:flex}.queue h2,.today h2,.card-list h2{justify-content:space-between;align-items:baseline;gap:var(--space-sm);max-width:none;margin:var(--space-lg) 0 var(--space-2xs);font-size:var(--text-section);display:flex}.queue h2 .num,.today h2 .num,.card-list h2 .num{font-family:var(--font-body);font-size:var(--text-md);color:var(--color-ink-2);letter-spacing:0;font-weight:700}.fold>h2{display:block}.fold>div:not([hidden]){gap:var(--space-xs);flex-direction:column;display:flex}.fold-toggle{justify-content:space-between;align-items:center;gap:var(--space-sm);width:100%;min-height:44px;box-shadow:none;color:var(--color-ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;display:flex}.fold-toggle:active{background:0 0}.headline .howto-toggle{font-size:var(--text-sm);align-self:flex-start}.howto-panel p{margin:var(--space-2xs) 0;font-size:var(--text-sm);line-height:1.45}.fold-right{align-items:center;gap:var(--space-xs);display:inline-flex}.fold-toggle svg{transition:transform .15s var(--ease-in-out)}.fold-toggle[aria-expanded=true] svg{transform:rotate(90deg)}@media (prefers-reduced-motion:reduce){.fold-toggle svg{transition:none}}.row{align-items:center;gap:var(--space-2xs) var(--space-sm);padding:var(--space-sm) var(--space-md);background:var(--color-paper-2);border:var(--rule-hair) solid var(--color-rule);border-radius:var(--radius-control);grid-template-columns:minmax(0,1fr) auto;display:grid}.row>span:last-of-type{font-weight:700}.row-title{align-items:center;gap:var(--space-xs);overflow-wrap:anywhere;min-width:0;display:flex}.row-title .icon{color:var(--color-ink-2);flex:none}.row-title .muted{margin-left:var(--space-2xs)}.row small{justify-content:space-between;align-items:center;gap:var(--space-xs);color:var(--color-muted);font-size:var(--text-xs);grid-column:1/-1;display:flex}.meta{gap:var(--space-2xs) var(--space-sm);flex-wrap:wrap;display:flex}.row.pending{border-style:dashed;border-color:var(--color-outline);background:color-mix(in oklab, var(--color-lavender) 35%, var(--color-paper-2))}.row.failed{border-color:var(--color-error);background:var(--color-error-wash)}.row.failed small{color:var(--color-error)}button.row.entry{text-align:left;white-space:normal;min-height:0;color:var(--color-ink);background:var(--color-paper-2);box-shadow:none;width:100%;font-weight:400}button.row.entry:active{transform:translateY(1px)}.row.tick{cursor:pointer;font-size:var(--text-md);font-weight:400}.row.tick input{width:20px;height:20px;min-height:0;margin:0 var(--space-xs) 0 0;vertical-align:-4px;accent-color:var(--color-accent);padding:0}.row form,form.row{gap:var(--space-xs);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}form.row input{min-width:0}.add-line{padding:var(--space-md)}.row-actions{align-items:center;gap:var(--space-md);display:inline-flex}.budget-section>summary{cursor:pointer;list-style:none;display:block}.budget-section>summary::-webkit-details-marker{display:none}.budget-section>summary h2:before{content:"▾";width:1em;margin-right:var(--space-2xs);color:var(--color-ink-2);transition:transform var(--dur-short) var(--ease-out);font-size:.8em;display:inline-block}.budget-section:not([open])>summary h2:before{transform:rotate(-90deg)}.budget-section>summary h2{justify-content:flex-start}.budget-section>summary h2 .num{margin-left:auto}.budget-section>summary:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px;border-radius:var(--radius-control)}.budget-section[open]{display:flex}.toast.long{align-items:center;gap:var(--space-xs);width:min(calc(100% - var(--space-xl)), 398px);padding-right:var(--space-2xs);border-radius:var(--radius-card);text-align:left;pointer-events:auto;line-height:1.35;display:flex}.toast.long>span{flex:1}.toast-close{min-width:44px;min-height:44px;box-shadow:none;color:inherit;font-size:var(--text-md);background:0 0;border:0;flex:none;padding:0}.row.bill small{font-size:var(--text-sm)}.row .inline-form,.inline-form{align-items:stretch;gap:var(--space-xs);padding-top:var(--space-xs);flex-direction:column;grid-column:1/-1;display:flex}.inline-form .link{align-self:flex-start}.screen{gap:var(--space-sm);flex-direction:column;display:flex}.screen>h1{margin-top:var(--space-xs)}.month-picker{justify-content:space-between;align-items:center;gap:var(--space-xs);padding:var(--space-2xs);background:var(--color-paper-2);border:var(--rule-outline) solid var(--color-outline);border-radius:var(--radius-pill);display:flex}.month-picker span{font-family:var(--font-display);font-weight:var(--display-weight);font-size:var(--text-lg)}.month-picker button{width:44px;min-height:44px;color:var(--color-ink);box-shadow:none;background:0 0;border:0;place-items:center;padding:0;display:grid}.big-numbers{gap:var(--space-xs);grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.big{gap:var(--space-2xs);padding:var(--space-md);background:var(--color-paper-2);border:var(--rule-outline) solid var(--color-outline);border-radius:var(--radius-card);flex-direction:column;display:flex}.big .label{font-size:var(--text-sm);color:var(--color-ink-2)}.big strong{font-size:var(--text-xl);overflow-wrap:break-word;min-width:0;line-height:1.1}.lead-figure{background:var(--color-positive-wash)}.lead-figure>strong{font-size:var(--text-amount)}.headline .explain{font-size:var(--text-xs);color:var(--color-ink-2)}.headline .label.negative{color:var(--color-error-on-wash);font-weight:700}.headline .inline-strong{font-size:inherit;line-height:inherit;font-weight:700}.headline .positive-text{color:var(--color-positive);font-weight:700}.lead-lines{gap:var(--space-xs);margin-top:var(--space-xs);padding-top:var(--space-xs);border-top:var(--rule-hair) solid var(--color-rule);flex-direction:column;display:flex}.lead-line{gap:var(--space-3xs);border-radius:var(--radius-control);flex-direction:column;display:flex}.lead-line .line{justify-content:space-between;gap:var(--space-sm);display:flex}.lead-line .num{font-variant-numeric:tabular-nums;white-space:nowrap}.lead-line.moved-up,.lead-line.moved-down{animation:goal-pulse 1.6s var(--ease-in-out) 1}.over-box{gap:var(--space-2xs);margin-top:var(--space-xs);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-control);background:var(--color-error-wash);color:var(--color-ink);font-size:var(--text-sm);flex-direction:column;display:flex}.headline{gap:var(--space-2xs)}.figure-head{justify-content:space-between;align-items:center;gap:var(--space-xs);margin:calc(-1 * var(--space-xs)) calc(-1 * var(--space-xs)) 0 0;display:flex}.info-button{width:var(--btn-target);min-width:var(--btn-target);min-height:var(--btn-target);border-radius:var(--radius-pill);color:var(--color-ink-2);background:0 0;place-items:center;padding:0;display:grid}.info-button:active,.info-button[aria-expanded=true]{background:color-mix(in oklab, var(--color-ink) 8%, transparent);color:var(--color-ink)}.goal-figure{gap:var(--space-3xs);margin-top:var(--space-sm);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-control);background:var(--color-accent-wash);color:var(--color-ink);flex-direction:column;display:flex}.lead-figure .goal-figure .label,.lead-figure .goal-figure .small,.lead-figure .goal-figure>.change-note,.lead-figure .goal-figure strong{color:var(--color-ink)}.lead-figure .goal-figure strong{font-size:var(--text-xl)}.lead-figure .goal-figure.is-negative strong{color:var(--color-error-on-wash)}.workings-panel{margin-top:var(--space-sm);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-control);background:var(--color-paper-2)}.workings-panel .label{color:var(--color-ink);margin:0}.big .workings-panel strong{font-size:inherit;line-height:inherit}.workings-panel dl{gap:var(--space-2xs) var(--space-sm);margin:var(--space-xs) 0;grid-template-columns:minmax(0,1fr) auto;display:grid}.workings-panel dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.big .small{color:var(--color-ink-2)}.workings{padding:var(--space-xs) var(--space-md);background:var(--color-paper-2);border:var(--rule-hair) solid var(--color-rule);border-radius:var(--radius-control);font-size:var(--text-sm)}.workings summary{cursor:pointer;align-items:center;min-height:44px;font-weight:700;display:flex}.workings dl{gap:var(--space-2xs) var(--space-sm);margin:var(--space-xs) 0;grid-template-columns:minmax(0,1fr) auto;display:grid}.workings dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.lead-figure.is-negative,.big.is-negative{background:var(--color-error-wash)}.big.moved-up{--moved:var(--color-positive)}.big.moved-down{--moved:var(--color-error)}.big.moved-up,.big.moved-down{outline:3px solid var(--moved);outline-offset:2px;animation:moved-glow 1.6s var(--ease-in-out) 1}.goal-figure.moved-up,.goal-figure.moved-down{animation:goal-pulse 1.6s var(--ease-in-out) 1}@keyframes goal-pulse{0%,50%,to{background-color:var(--color-accent-wash)}25%,75%{background-color:color-mix(in oklab, var(--color-accent) 55%, var(--color-paper-2))}}@keyframes moved-glow{0%,50%,to{outline-color:var(--moved);outline-width:3px}25%,75%{outline-color:color-mix(in oklab, var(--moved) 35%, transparent);outline-width:6px}}.change-note{font-size:var(--text-sm);font-weight:700}.moved-up>.change-note{color:var(--color-positive)}.moved-down>.change-note{color:var(--color-error)}.toast.has-action{padding-bottom:var(--space-sm);flex-wrap:wrap}.toast.has-action>span{flex:calc(100% - 52px)}.toast-action{min-height:40px;padding:0 var(--space-md);font-size:var(--text-sm);white-space:nowrap;flex:none;order:3}.bar{background:var(--color-paper-3);border:var(--rule-hair) solid var(--color-rule);border-radius:var(--radius-pill);grid-column:1/-1;height:8px;overflow:hidden}.bar div{background:var(--color-accent);border-radius:var(--radius-pill);height:100%}.bar div.over{background:var(--color-error)}.filter{background-color:var(--color-paper-2);min-height:48px}.tabs{z-index:var(--z-sticky-nav);max-width:100%;padding:var(--space-2xs) var(--space-xs) env(safe-area-inset-bottom);background:var(--color-paper-2);border-top:var(--rule-outline) solid var(--color-outline);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.tabs button{align-items:center;gap:var(--space-3xs);min-height:56px;padding:var(--space-2xs) 0;border-radius:var(--radius-control);color:var(--color-ink-2);font-size:var(--text-xs);box-shadow:none;background:0 0;border:0;flex-direction:column;font-weight:700;display:flex}.tab-icon{border-radius:var(--radius-pill);width:56px;height:30px;transition:background-color var(--dur-short) var(--ease-out);place-items:center;display:grid}.tabs button[aria-current=page]{color:var(--color-ink)}.tabs button[aria-current=page] .tab-icon{background:var(--color-accent);color:var(--color-accent-ink)}.tabs button:focus-visible{outline-offset:-2px}@media (hover:hover){button:where(:hover:not(:disabled)){background:color-mix(in oklab, var(--color-accent) 86%, var(--color-ink))}button.secondary:hover:not(:disabled),.cat:not(.selected):hover:not(:disabled),.key:hover:not(:disabled),button.row.entry:hover,.row.tick:hover,.month-picker button:hover:not(:disabled){background:var(--color-paper-3)}button.link:hover:not(:disabled){color:var(--color-ink)}input:hover:not(:disabled),select:hover:not(:disabled){background-color:var(--color-paper-2)}.mode-switch:hover .mode-switch-track{background:color-mix(in oklab, var(--color-accent) 25%, var(--color-paper-2))}.tabs button:hover{color:var(--color-ink)}.tabs button:not([aria-current=page]):hover .tab-icon{background:var(--color-paper-3)}}@media (prefers-reduced-motion:reduce){button,.mode-switch-track,.mode-switch-thumb,.tab-icon{transition:background-color var(--dur-short) linear}button:active,.add:active,button.row.entry:active,.mode-switch:active .mode-switch-thumb{transform:none}.mode-switch[aria-checked=true]:active .mode-switch-thumb{transform:translate(22px)}.big.moved-up,.big.moved-down,.goal-figure.moved-up,.goal-figure.moved-down,.lead-line.moved-up,.lead-line.moved-down{animation:none}}.setup{gap:var(--space-md);flex-direction:column;display:flex}.setup-steps{gap:var(--space-2xs);margin:0;padding:0;list-style:none;display:flex}.setup-steps li{border-radius:var(--radius-pill);background:var(--color-paper-3);flex:1;height:6px}.setup-steps li.done{background:var(--color-ink-2)}.setup-steps li.on{background:var(--color-highlight)}.setup-page{gap:var(--space-sm);flex-direction:column;display:flex}.setup-page h1{margin:var(--space-xs) 0 0}.setup-intro{color:var(--color-ink-2);margin:0}.setup-list{padding-left:var(--space-lg);gap:var(--space-xs);flex-direction:column;margin:0;display:flex}.setup-item{gap:var(--space-xs);grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;align-items:center;display:grid}.setup-item input,.setup-item select{min-width:0}.setup-item.yearly,.setup-item.labelled{padding:var(--space-sm);background:var(--color-paper-2);border:var(--rule-hair) solid var(--color-rule);border-radius:var(--radius-control);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.setup-item.yearly>.wide,.setup-item.yearly>.check,.setup-item.labelled>.wide{grid-column:1/-1}.setup-item.labelled{align-items:end}.setup-item.labelled label,.own-category label{font-size:var(--text-sm)}.setup-item.labelled .link{justify-self:start}.own-category{gap:var(--space-xs);grid-template-columns:minmax(0,1fr) auto;align-items:end;display:grid}.setup-item.yearly label{font-size:var(--text-sm)}.setup-item.yearly .link{justify-self:start}.setup-hint{color:var(--color-ink-2);grid-column:1/-1;margin:0}.setup-item.cat-limit{grid-template-columns:minmax(0,1fr) 8.5rem auto}.quick-add{gap:var(--space-xs);flex-wrap:wrap;display:flex}.quick-add p{flex-basis:100%;margin:0}.quick-add .chip{cursor:pointer;color:var(--color-ink);box-shadow:none;min-height:40px}.setup-nav{gap:var(--space-xs);margin-top:var(--space-xs);grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);display:grid}.plan-sum{gap:var(--space-2xs) var(--space-sm);grid-template-columns:minmax(0,1fr) auto;margin:0;display:grid}.first-entry{align-items:center;gap:var(--space-2xs) var(--space-xs);padding:var(--space-sm) var(--space-md);margin-bottom:var(--space-sm);background:var(--color-positive-wash);flex-flow:wrap}.first-entry h1{font-size:var(--text-md);margin:0}.first-entry p{font-size:var(--text-sm)}.first-entry button{min-height:40px}.limit-head{justify-content:flex-end;margin:0;padding-right:2.75rem;display:flex}.first-entry p{margin:0}.check{align-items:center;gap:var(--space-xs);flex-direction:row;font-weight:400}.check input{width:20px;height:20px;min-height:0;accent-color:var(--color-accent);padding:0}.field-hint{font-size:var(--text-xs);color:var(--color-ink-2);font-weight:400}.keep{white-space:nowrap}.account{gap:var(--space-md);flex-direction:column;display:flex}.account-head{align-items:flex-start;gap:var(--space-2xs);flex-direction:column;display:flex}.account-head .back{align-items:center;gap:var(--space-3xs);margin-left:calc(-1 * var(--space-2xs));display:inline-flex}.account .card{gap:var(--space-sm)}.account h3{margin-top:var(--space-xs)}.factor-list{gap:var(--space-xs);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.factor-list .row>span:last-of-type{font-weight:400}.factor-name{gap:var(--space-3xs);flex-direction:column;min-width:0;display:flex}.backup-nudge{background:var(--color-highlight);color:var(--color-highlight-ink)}.ask-box{gap:var(--space-sm);padding:var(--space-md);border:var(--rule-outline) solid var(--color-outline);border-radius:var(--radius-control);background:var(--color-paper);flex-direction:column;display:flex}.ask-box p{margin:0}.danger-box{border-color:var(--color-error)}.privacy summary{cursor:pointer;align-items:center;min-height:44px;font-weight:700;display:flex}.privacy ul{margin:var(--space-2xs) 0 0;padding-left:var(--space-md);gap:var(--space-2xs);flex-direction:column;display:flex}.ask-box .form-actions{grid-template-columns:minmax(0,1fr)}.todo-card{gap:var(--space-sm)}.todo-head{justify-content:space-between;align-items:baseline;gap:var(--space-sm);display:flex}.todo-head h2{align-items:center;gap:var(--space-xs);font-size:var(--text-section);margin:0;display:inline-flex}.todo-head .muted{white-space:nowrap}.todo-list{gap:var(--space-xs);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.todo{align-items:center;gap:var(--space-xs) var(--space-sm);grid-template-columns:22px minmax(0,1fr) auto;min-height:44px;display:grid}.todo-box{border:2px solid var(--color-outline);border-radius:6px;place-items:center;width:22px;height:22px;display:grid}.todo.done .todo-box{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-ink)}.todo-text{gap:var(--space-3xs);overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.todo-text small{color:var(--color-muted);font-size:var(--text-xs)}.todo.done .todo-text>span{color:var(--color-muted);text-decoration:line-through}.todo-card.all-done{padding-block:var(--space-sm)}.trend-tag{font-size:var(--text-xs);white-space:nowrap;flex:none;font-weight:700}.trend-tag.down{color:var(--color-positive)}.trend-tag.up{color:var(--color-ink-2)}.compare-card{padding:var(--space-xs) var(--space-md);gap:var(--space-sm)}.compare{gap:var(--space-sm);padding-bottom:var(--space-sm);flex-direction:column;display:flex}.segmented.two{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-chart{touch-action:manipulation;width:100%;height:auto;overflow:visible}.compare-chart .grid{stroke:var(--color-rule);stroke-width:1px}.compare-chart .axis{stroke:var(--color-muted);stroke-width:1px}.compare-chart .tick{fill:var(--color-muted);font-variant-numeric:tabular-nums;font-size:10px}.compare-chart .tick.on{fill:var(--color-ink);font-weight:700}.compare-chart .hit{fill:#0000;cursor:pointer}.compare-chart .month:focus-visible{outline:none}.compare-chart .month:focus-visible .hit{fill:color-mix(in oklab, var(--color-focus) 12%, transparent)}.compare-chart .month.on .hit{fill:color-mix(in oklab, var(--color-accent) 10%, transparent)}.compare-chart .bar{fill:var(--color-accent);stroke:var(--color-outline);stroke-width:1px}.compare-chart .bar.so-far{fill:url(#so-far)}.compare-chart .hatch-bg{fill:var(--color-paper-2)}.compare-chart .hatch-line{stroke:var(--color-accent);stroke-width:3px}.compare-chart .goal{stroke:var(--color-ink);stroke-width:2px;stroke-linecap:round}.legend{align-items:center;gap:var(--space-2xs) var(--space-xs);color:var(--color-ink-2);flex-wrap:wrap;margin:0;display:flex}.legend span{width:14px;height:10px;margin-left:var(--space-xs);display:inline-block}.legend span:first-child{margin-left:0}.legend .key-bar{background:var(--color-accent);border:1px solid var(--color-outline);border-radius:2px}.legend .key-line{background:var(--color-ink);height:2px}.legend .key-hatch{background:repeating-linear-gradient(45deg, var(--color-accent) 0 2px, var(--color-paper-2) 2px 5px);border:1px solid var(--color-outline);border-radius:2px}.compare-detail{font-size:var(--text-sm);margin:0;font-weight:700}.compare-table{border-collapse:collapse;width:100%;font-size:var(--text-sm);font-variant-numeric:tabular-nums}.compare-table th,.compare-table td{padding:var(--space-2xs) var(--space-xs);text-align:right;border-bottom:var(--rule-hair) solid var(--color-rule)}.compare-table th[scope=row],.compare-table thead th:first-child{text-align:left;font-weight:400}.compare-card.review-glow{outline:3px solid var(--color-accent);outline-offset:2px;animation:review-glow 1.6s var(--ease-in-out) 1}@keyframes review-glow{0%,50%,to{outline-color:var(--color-accent);outline-width:3px}25%,75%{outline-color:color-mix(in oklab, var(--color-accent) 35%, transparent);outline-width:6px}}@media (prefers-reduced-motion:reduce){.compare-card.review-glow{animation:none}}.review{align-items:flex-start;gap:var(--space-2xs);padding:var(--space-sm);border-radius:var(--radius-control);background:var(--color-paper-3);flex-direction:column;display:flex}.review p{font-size:var(--text-sm);margin:0}.review button.link{min-height:40px;font-size:var(--text-sm);padding-left:0}.new-badge{margin-right:var(--space-2xs);padding:0 var(--space-xs);border-radius:var(--radius-pill);background:var(--color-highlight);color:var(--color-highlight-ink);font-size:var(--text-xs);vertical-align:1px;font-weight:700;display:inline-block}.check-row{align-items:flex-start;gap:var(--space-sm);cursor:pointer;flex-direction:row;min-height:44px;display:flex}.check-row input{width:22px;height:22px;min-height:0;accent-color:var(--color-accent);flex:none;margin:2px 0 0}.check-row>span{gap:var(--space-3xs);flex-direction:column;display:flex}.row.editing>form,.row.editing>.edit-remove,.row.editing>.inline-form,.row.editing>p{grid-column:1/-1}.row.editing>form.card{background:0 0;border:0;padding:0}.amount-form{gap:var(--space-xs);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.edit-remove{width:100%}:root{--seg-bills:#6250d6;--seg-spent:#eb6834;--seg-moved:#2a78d6;--seg-left:#1baf7a}[data-mode=dark]{--seg-bills:#9085e9;--seg-spent:#d95926;--seg-moved:#3987e5;--seg-left:#199e70}.takeaway{margin:0;font-weight:700}.where{gap:var(--space-xs);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-control);background:var(--color-paper);flex-direction:column;display:flex}.where h3,.where p{margin:0}.split-bar{border-radius:var(--radius-pill);gap:2px;height:12px;display:flex;overflow:hidden}.split-bar .seg{min-width:4px}.seg-bills{background:var(--seg-bills)}.seg-spent{background:var(--seg-spent)}.seg-moved{background:var(--seg-moved)}.seg-left{background:var(--seg-left)}.where-list{gap:var(--space-2xs);font-size:var(--text-sm);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.where-list li{align-items:center;gap:var(--space-xs);grid-template-columns:14px minmax(0,1fr) auto;display:grid}.where-list li.zero{color:var(--color-muted)}.swatch{border-radius:3px;width:12px;height:12px}.compare-chart .ln{fill:none;stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.compare-chart .kept-ln{stroke:var(--seg-moved)}.compare-chart .spent-ln{stroke:var(--seg-spent)}.compare-chart .goal-ln{stroke:var(--color-ink-2);stroke-width:1.5px;stroke-dasharray:5 4}.compare-chart .ln.so-far{stroke-dasharray:3 4}.compare-chart .dot{stroke:none}.compare-chart .month.on .dot{stroke:var(--color-paper-2);stroke-width:1.5px}.compare-chart .kept-dot{fill:var(--seg-moved)}.compare-chart .spent-dot{fill:var(--seg-spent)}.compare-chart .dot.so-far{fill:var(--color-paper-2);stroke-width:2px}.compare-chart .kept-dot.so-far{stroke:var(--seg-moved)}.compare-chart .spent-dot.so-far{stroke:var(--seg-spent)}.compare-chart .guide{stroke:var(--color-rule-strong);stroke-width:1px}.legend .key-kept,.legend .key-spent{border-radius:2px;height:3px}.legend .key-kept{background:var(--seg-moved)}.legend .key-spent{background:var(--seg-spent)}.legend .key-goal{border-top:2px dashed var(--color-ink-2);height:0}.legend .key-sofar{border:2px solid var(--color-ink-2);border-radius:50%;width:12px;height:12px}
