@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-latin-wght-normal-BgDaEnEv.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-latin-ext-wght-normal-DC-KSUi6.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Serif;font-style:normal;font-display:swap;font-weight:400;src:url(./instrument-serif-latin-400-normal-DnYpCC2O.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Serif;font-style:normal;font-display:swap;font-weight:400;src:url(./instrument-serif-latin-ext-400-normal-C2je3j2s.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Serif;font-style:italic;font-display:swap;font-weight:400;src:url(./instrument-serif-latin-400-italic-DKMiL14s.woff2)format("woff2");unicode-range:U+??,U+2000-206F}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3efe4;--surface:#fbf9f3;--surface-2:#ece6d6;--surface-3:#e4ddca;--ink:#14201a;--ink-2:#47534c;--muted:#78837c;--line:#e0d9c6;--line-2:#cfc6ae;--accent:#17573c;--accent-hover:#11472f;--accent-ink:#f6f2e6;--accent-soft:#dce8dc;--note:#123d2b;--note-2:#0c2f20;--note-ink:#efe8d3;--note-dim:#efe8d39e;--note-line:#efe8d329;--good:#1b7a44;--good-soft:#dcefe0;--warn:#9a6200;--warn-soft:#f6e8c8;--bad:#b23f2b;--bad-soft:#f6dfd7;--in:#1b7a44;--s-needs:#2a78d6;--s-wants:#eb6834;--s-future:#1baf7a;--grid:#e3dccb;--shadow:0 1px 0 #14201a0a, 0 8px 24px -12px #14201a2e;--shadow-lg:0 24px 60px -20px #14201a59;--r-sm:10px;--r:16px;--r-lg:22px;--font:"Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--display:"Instrument Serif", "Iowan Old Style", Georgia, serif;--mono:ui-monospace, "SF Mono", Menlo, monospace;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--tabbar-h:64px}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c120f;--surface:#131b17;--surface-2:#1a241f;--surface-3:#212d27;--ink:#e7ece6;--ink-2:#b3bdb5;--muted:#7f8b84;--line:#232f29;--line-2:#34433b;--accent:#72d4a0;--accent-hover:#8fe0b5;--accent-ink:#0c120f;--accent-soft:#1b3428;--note:#10281d;--note-2:#0b1f16;--good:#5fcf8f;--good-soft:#17301f;--warn:#e7b04a;--warn-soft:#33270f;--bad:#ef8a76;--bad-soft:#3a1d17;--in:#6fd39b;--s-needs:#3987e5;--s-wants:#d95926;--s-future:#199e70;--grid:#26322c;--shadow:0 1px 0 #0000004d, 0 10px 30px -14px #0009;--shadow-lg:0 24px 60px -20px #000000b3}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c120f;--surface:#131b17;--surface-2:#1a241f;--surface-3:#212d27;--ink:#e7ece6;--ink-2:#b3bdb5;--muted:#7f8b84;--line:#232f29;--line-2:#34433b;--accent:#72d4a0;--accent-hover:#8fe0b5;--accent-ink:#0c120f;--accent-soft:#1b3428;--note:#10281d;--note-2:#0b1f16;--good:#5fcf8f;--good-soft:#17301f;--warn:#e7b04a;--warn-soft:#33270f;--bad:#ef8a76;--bad-soft:#3a1d17;--in:#6fd39b;--s-needs:#3987e5;--s-wants:#d95926;--s-future:#199e70;--grid:#26322c;--shadow:0 1px 0 #0000004d, 0 10px 30px -14px #0009;--shadow-lg:0 24px 60px -20px #000000b3}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background:var(--bg)}body{background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;font-feature-settings:"ss01", "cv11";overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent;margin:0;font-size:16px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}a{color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.display{font-family:var(--display);letter-spacing:-.01em;font-weight:400}.muted{color:var(--muted)}.ink2{color:var(--ink-2)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.in{color:var(--in)}.bad{color:var(--bad)}.good{color:var(--good)}.warn{color:var(--warn)}.app{min-height:100dvh}.main{padding:calc(var(--safe-top) + 12px) 16px calc(var(--tabbar-h) + var(--safe-bottom) + 28px);max-width:600px;margin:0 auto}.page-head{justify-content:space-between;align-items:flex-end;gap:12px;margin:8px 0 18px;display:flex}.page-head h1{font-family:var(--display);letter-spacing:-.02em;margin:0;font-size:40px;font-weight:400;line-height:1}.page-head .sub{color:var(--muted);margin-top:6px;font-size:14px}.head-actions{align-items:center;gap:6px;display:flex}.stack{flex-direction:column;gap:14px;display:flex}.grid2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.row{align-items:center;gap:10px;display:flex}.between{justify-content:space-between;align-items:center;gap:10px;display:flex}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.section-title{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);justify-content:space-between;align-items:baseline;margin:22px 2px 10px;font-size:13px;font-weight:600;display:flex}.section-title a,.section-title button{text-transform:none;letter-spacing:0;color:var(--accent);font-size:14px;font-weight:500;text-decoration:none}.tabbar{z-index:30;padding:8px 10px calc(8px + var(--safe-bottom));background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(18px);border-top:1px solid var(--line);position:fixed;bottom:0;left:0;right:0}.tabbar-inner{grid-template-columns:repeat(5,1fr);align-items:center;max-width:600px;margin:0 auto;display:grid}.tab{color:var(--muted);flex-direction:column;align-items:center;gap:3px;min-height:44px;padding:4px 0;font-size:11px;font-weight:500;text-decoration:none;display:flex}.tab[aria-current=page]{color:var(--ink)}.tab[aria-current=page] svg{color:var(--accent)}.fab{background:var(--accent);width:56px;height:56px;color:var(--accent-ink);box-shadow:0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent);border-radius:20px;justify-self:center;place-items:center;transition:transform .15s,background .15s;display:grid;transform:translateY(-10px)}.fab:active{transform:translateY(-8px)scale(.96)}.side{display:none}@media (min-width:960px){.tabbar{display:none}.side{border-right:1px solid var(--line);flex-direction:column;gap:4px;width:232px;padding:28px 16px;display:flex;position:fixed;inset:0 auto 0 0}.side .brand{margin:0 10px 26px}.side-link{color:var(--ink-2);border-radius:12px;align-items:center;gap:12px;padding:10px 12px;font-weight:500;text-decoration:none;display:flex}.side-link:hover{background:var(--surface-2)}.side-link[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.side-link[aria-current=page] svg{color:var(--accent)}.side .btn.primary{margin-top:16px}.main{max-width:1120px;margin-left:232px;padding:36px 40px 60px}.desk-2{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.page-head h1{font-size:48px}}@media (min-width:960px) and (max-width:1180px){.main{padding:32px 28px 60px}}.brand{font-family:var(--display);letter-spacing:-.01em;align-items:center;gap:10px;font-size:26px;display:flex}.brand-mark{background:var(--note);width:32px;height:32px;color:var(--note-ink);font-family:var(--display);border-radius:10px;place-items:center;padding-top:2px;font-size:22px;line-height:1;display:grid}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:16px}.card.flat{box-shadow:none}.card.tight{padding:12px}.card h3{margin:0;font-size:15px;font-weight:600}.card .label{color:var(--muted);font-size:13px}.inset{background:var(--surface-2);border-radius:var(--r-sm);padding:12px}.divider{background:var(--line);height:1px;margin:12px 0}.note{border-radius:var(--r-lg);color:var(--note-ink);background:radial-gradient(120% 90% at 100% 0%, #ffffff12, transparent 55%), linear-gradient(160deg, var(--note) 0%, var(--note-2) 100%);box-shadow:var(--shadow-lg);isolation:isolate;padding:20px 20px 18px;position:relative;overflow:hidden}.note .guilloche{z-index:-1;opacity:.55;pointer-events:none;position:absolute;inset:0}.note .eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--note-dim);justify-content:space-between;font-size:12px;display:flex}.note .hero{font-family:var(--display);letter-spacing:-.02em;margin:10px 0 4px;font-size:58px;line-height:1}.note .hero .cur{vertical-align:.42em;opacity:.8;margin-right:2px;font-size:.6em}.note .caption{color:var(--note-dim);font-size:14px}.note-rows{border-top:1px dashed var(--note-line);margin-top:16px;padding-top:8px}.note-row{text-align:left;width:100%;color:inherit;justify-content:space-between;align-items:center;padding:7px 0;font-size:15px;display:flex}.note-row .k{color:var(--note-dim);align-items:center;gap:8px;display:flex}.note-row.minus .v{color:#f4b9a8}.note-row.plus .v{color:#b5e8c8}.note-row.set .v{color:var(--note-dim);font-style:italic}.note-serial{font-family:var(--mono);letter-spacing:.2em;color:var(--note-dim);font-size:10px;position:absolute;top:18px;right:18px}.btn{background:var(--surface);border:1px solid var(--line-2);min-height:44px;color:var(--ink);white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:15px;font-weight:550;text-decoration:none;transition:background .15s,border-color .15s,transform .1s;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:active{transform:scale(.98)}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:#0000}.btn.primary:hover{background:var(--accent-hover)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--surface-2)}.btn.danger{color:var(--bad)}.btn.block{width:100%}.btn.sm{border-radius:10px;min-height:36px;padding:0 12px;font-size:14px}.btn:disabled{opacity:.45;pointer-events:none}.icon-btn{width:44px;height:44px;color:var(--ink-2);border-radius:12px;place-items:center;display:grid;position:relative}.icon-btn:hover{background:var(--surface-2)}.dot{border:2px solid var(--bg);border-radius:50%;width:8px;height:8px;position:absolute;top:9px;right:9px}.field{flex-direction:column;gap:6px;display:flex}.field>span{color:var(--muted);font-size:13px;font-weight:500}.input,.select,textarea.input{border:1px solid var(--line-2);background:var(--surface);border-radius:12px;outline:none;width:100%;min-height:46px;padding:10px 12px;font-size:16px;transition:border-color .15s,box-shadow .15s}.input:focus,.select:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent)}.select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 18px),calc(100% - 13px);background-repeat:no-repeat;background-size:5px 5px;padding-right:34px}.search{position:relative}.search svg{color:var(--muted);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search .input{padding-left:38px}.seg{background:var(--surface-2);scrollbar-width:none;border-radius:12px;gap:2px;padding:3px;display:flex;overflow-x:auto}.seg::-webkit-scrollbar{display:none}.seg button{min-height:36px;color:var(--ink-2);white-space:nowrap;border-radius:9px;flex:1;padding:0 12px;font-size:14px;font-weight:500}.seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000001f}.chips{scrollbar-width:none;padding:2px 0;gap:8px;margin:0 -16px;padding-inline:16px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chip{border:1px solid var(--line-2);background:var(--surface);min-height:36px;color:var(--ink-2);white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:0 12px;font-size:14px;font-weight:500;display:inline-flex}.chip[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}.chip .count{background:var(--warn-soft);color:var(--warn);border-radius:999px;padding:1px 7px;font-size:12px}.chip[aria-pressed=true] .count{background:color-mix(in srgb, var(--bg) 20%, transparent);color:var(--bg)}.tag{letter-spacing:.03em;background:var(--surface-2);color:var(--ink-2);text-transform:uppercase;border-radius:6px;align-items:center;gap:4px;padding:2px 7px;font-size:11px;font-weight:600;display:inline-flex}.tag.warn{background:var(--warn-soft);color:var(--warn)}.tag.good{background:var(--good-soft);color:var(--good)}.toggle{background:var(--line-2);border-radius:999px;flex-shrink:0;width:46px;height:28px;transition:background .2s;position:relative}.toggle:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.toggle[aria-checked=true]{background:var(--accent)}.toggle[aria-checked=true]:after{transform:translate(18px)}.list{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}.list-row{text-align:left;border-bottom:1px solid var(--line);background:0 0;align-items:center;gap:12px;width:100%;min-height:60px;padding:11px 14px;transition:background .12s;display:flex}.list-row:last-child{border-bottom:0}button.list-row:hover,a.list-row:hover{background:var(--surface-2)}.list-row .title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:550;overflow:hidden}.list-row .meta{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;font-size:13px;display:flex;overflow:hidden}.list-row .amt{text-align:right;white-space:nowrap;font-size:15px;font-weight:600}.list-row .amt small{color:var(--muted);font-size:12px;font-weight:400;display:block}.list-row.excluded .title,.list-row.excluded .amt{color:var(--muted)}.list-row.excluded .amt{text-decoration:line-through;-webkit-text-decoration-color:color-mix(in srgb, var(--muted) 50%, transparent);text-decoration-color:color-mix(in srgb, var(--muted) 50%, transparent)}.day-head{color:var(--muted);background:var(--bg);z-index:2;justify-content:space-between;padding:18px 4px 8px;font-size:13px;font-weight:600;display:flex;position:sticky;top:0}.cat-icon{background:var(--surface-2);width:38px;height:38px;color:var(--ink-2);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.cat-icon.needs{background:color-mix(in srgb, var(--s-needs) 14%, var(--surface));color:color-mix(in srgb, var(--s-needs) 80%, var(--ink))}.cat-icon.wants{background:color-mix(in srgb, var(--s-wants) 14%, var(--surface));color:color-mix(in srgb, var(--s-wants) 75%, var(--ink))}.cat-icon.future{background:color-mix(in srgb, var(--s-future) 16%, var(--surface));color:color-mix(in srgb, var(--s-future) 70%, var(--ink))}.cat-icon.flow{background:var(--surface-2);color:var(--muted)}.check{border:2px solid var(--line-2);border-radius:7px;flex-shrink:0;place-items:center;width:24px;height:24px;display:grid}.check[aria-checked=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.stat{flex-direction:column;gap:2px;display:flex}.stat .k{color:var(--muted);font-size:13px}.stat .v{letter-spacing:-.01em;font-size:22px;font-weight:600}.stat .v.big{font-family:var(--display);font-size:40px;font-weight:400;line-height:1.05}.stat .s{color:var(--ink-2);font-size:13px}.bar{background:var(--surface-2);border-radius:999px;height:8px;position:relative;overflow:hidden}.bar>i{background:var(--accent);border-radius:999px;height:100%;transition:width .5s cubic-bezier(.2,.7,.2,1);display:block}.bar.over>i{background:var(--bad)}.bar.tight>i{background:var(--warn)}.bar .marker{background:var(--ink);opacity:.55;border-radius:2px;width:2px;position:absolute;top:-3px;bottom:-3px}.habit{text-align:left;flex-direction:column;gap:8px;min-height:132px;padding:14px;display:flex}.habit .top{justify-content:space-between;align-items:flex-start;display:flex}.habit .v{font-family:var(--display);font-size:32px;line-height:1}.habit .s{color:var(--muted);font-size:12.5px;line-height:1.35}.trend{border-radius:6px;align-items:center;gap:2px;padding:2px 6px;font-size:12px;font-weight:600;display:inline-flex}.trend.up{background:var(--bad-soft);color:var(--bad)}.trend.down{background:var(--good-soft);color:var(--good)}.insight{align-items:flex-start;gap:12px;display:flex}.insight .ico{background:var(--surface-2);width:32px;height:32px;color:var(--ink-2);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.insight.warn .ico{background:var(--warn-soft);color:var(--warn)}.insight.good .ico{background:var(--good-soft);color:var(--good)}.insight h4{margin:0 0 2px;font-size:15px;font-weight:600}.insight p{color:var(--ink-2);margin:0;font-size:14px}.table-wrap{margin:0 -16px;padding:0 16px;overflow-x:auto}table.t{border-collapse:collapse;width:100%;font-size:14px}table.t th,table.t td{text-align:right;white-space:nowrap;border-bottom:1px solid var(--line);padding:9px 8px}table.t th:first-child,table.t td:first-child{text-align:left;padding-left:0}table.t td:last-child,table.t th:last-child{padding-right:0}table.t th{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:12px;font-weight:600}table.t.wrap td{white-space:normal}table.t tr.total td{border-bottom:0;font-weight:650}table.t td.zero{color:var(--line-2)}table.t tbody tr:hover td{background:color-mix(in srgb, var(--surface-2) 50%, transparent)}table.t td.cat{align-items:center;gap:8px;display:flex}table.t td.cat .cat-icon{border-radius:8px;width:26px;height:26px}.chart{width:100%;position:relative}.chart svg{width:100%;height:auto;display:block;overflow:visible}.chart text{fill:var(--muted);font-size:11px;font-family:var(--font)}.chart .gridline{stroke:var(--grid);stroke-width:1px}.chart .baseline{stroke:var(--line-2);stroke-width:1px}.chart .refline{stroke:var(--ink);stroke-width:1.5px;stroke-dasharray:4 4;opacity:.6}.chart .hit{fill:#0000;cursor:pointer}.chart .hit:hover+.hl,.chart .hl.on{opacity:1}.chart .hl{fill:var(--ink);opacity:0;transition:opacity .12s}.tooltip{z-index:5;pointer-events:none;background:var(--ink);color:var(--bg);box-shadow:var(--shadow-lg);white-space:nowrap;border-radius:10px;padding:8px 10px;font-size:12.5px;line-height:1.4;position:absolute;transform:translate(-50%,calc(-100% - 10px))}.tooltip b{font-weight:650}.tooltip .sw{border-radius:2px;width:8px;height:8px;margin-right:6px;display:inline-block}.legend{color:var(--ink-2);flex-wrap:wrap;gap:14px;font-size:13px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.legend i{border-radius:3px;width:10px;height:10px;display:inline-block}.legend i.line{border-top:2px dashed var(--ink);opacity:.6;border-radius:0;width:14px;height:0}.hbar{border-bottom:1px solid var(--line);text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;width:100%;padding:8px 0;display:grid}.hbar:last-child{border-bottom:0}.hbar .name{align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:500;display:flex}.hbar .name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hbar .val{text-align:right;font-size:14px;font-weight:600}.hbar .val small{color:var(--muted);margin-left:6px;font-weight:400}.hbar .track{background:var(--surface-2);border-radius:999px;grid-column:1/-1;height:6px;position:relative;overflow:visible}.hbar .track>i{background:var(--ink-2);border-radius:999px;height:100%;display:block}.hbar .track>i.needs{background:var(--s-needs)}.hbar .track>i.wants{background:var(--s-wants)}.hbar .track>i.over{background:var(--bad)}.hbar .track .cap{background:var(--ink);opacity:.55;border-radius:2px;width:2px;margin-left:-1px;position:absolute;top:-3px;bottom:-3px}.scrim{z-index:50;-webkit-backdrop-filter:blur(2px);background:#0a100d73;animation:.18s fade;position:fixed;inset:0}.sheet{z-index:51;max-height:calc(100dvh - var(--safe-top) - 24px);background:var(--bg);box-shadow:var(--shadow-lg);border-radius:24px 24px 0 0;flex-direction:column;max-width:640px;margin:0 auto;animation:.26s cubic-bezier(.2,.8,.2,1) rise;display:flex;position:fixed;bottom:0;left:0;right:0}.sheet-grip{background:var(--line-2);border-radius:99px;flex-shrink:0;width:40px;height:5px;margin:8px auto 0}.sheet-head{flex-shrink:0;justify-content:space-between;align-items:center;padding:8px 12px 4px 20px;display:flex}.sheet-head h2{font-family:var(--display);margin:0;font-size:28px;font-weight:400}.sheet-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:8px 20px 20px;overflow-y:auto}.sheet-foot{padding:12px 20px calc(12px + var(--safe-bottom));border-top:1px solid var(--line);background:var(--bg);flex-shrink:0;gap:10px;display:flex}@media (min-width:720px){.sheet{border-radius:24px;width:min(600px,100vw - 48px);max-height:min(86dvh,860px);animation:.22s cubic-bezier(.2,.8,.2,1) pop;top:50%;bottom:auto;transform:translateY(-50%)}.sheet-grip{display:none}.sheet-foot{border-radius:0 0 24px 24px;padding-bottom:14px}}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{transform:translateY(100%)}}@keyframes pop{0%{opacity:0;transform:translateY(-48%)scale(.97)}}.cat-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}@media (min-width:420px){.cat-grid{grid-template-columns:repeat(5,1fr)}}.cat-tile{text-align:center;color:var(--ink-2);border:1.5px solid #0000;border-radius:14px;flex-direction:column;align-items:center;gap:6px;min-height:84px;padding:10px 4px 8px;font-size:11.5px;line-height:1.2;display:flex}.cat-tile:hover{background:var(--surface-2)}.cat-tile[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--ink)}.cat-group-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px;font-size:12px;font-weight:600}.amount-entry{font-family:var(--display);justify-content:center;align-items:baseline;gap:4px;padding:6px 0 2px;display:flex}.amount-entry .cur{color:var(--muted);font-size:34px}.amount-entry input{font-family:var(--display);text-align:left;width:100%;max-width:7ch;color:var(--ink);background:0 0;border:0;outline:none;padding:0;font-size:64px;line-height:1}.amount-entry input::placeholder{color:var(--line-2)}.smart{font-size:17px}.parse-hint{flex-wrap:wrap;gap:6px;min-height:28px;margin-top:8px;display:flex}.parse-hint .tag{text-transform:none;letter-spacing:0;padding:4px 8px;font-size:12.5px;font-weight:500}.toasts{left:0;right:0;bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 18px);z-index:60;pointer-events:none;flex-direction:column;align-items:center;gap:8px;padding:0 16px;display:flex;position:fixed}@media (min-width:960px){.toasts{bottom:28px;left:232px}}.toast{pointer-events:auto;background:var(--ink);color:var(--bg);box-shadow:var(--shadow-lg);border-radius:14px;align-items:center;gap:14px;max-width:520px;padding:10px 10px 10px 16px;font-size:14.5px;animation:.25s cubic-bezier(.2,.8,.2,1) rise-sm;display:flex}.toast button{color:var(--accent-soft);border-radius:8px;padding:6px 10px;font-weight:600}:root[data-theme=dark] .toast button{color:var(--accent-ink)}@keyframes rise-sm{0%{opacity:0;transform:translateY(12px)}}.empty{text-align:center;color:var(--muted);padding:40px 20px}.empty h3{color:var(--ink);font-family:var(--display);margin:0 0 6px;font-size:26px;font-weight:400}.banner{border-radius:var(--r);background:var(--warn-soft);color:var(--ink);border:1px solid color-mix(in srgb, var(--warn) 25%, transparent);text-align:left;align-items:center;gap:12px;width:100%;padding:12px 14px;text-decoration:none;display:flex}.banner.good{background:var(--good-soft);border-color:color-mix(in srgb, var(--good) 25%, transparent)}.banner.info{background:var(--surface-2);border-color:var(--line)}.banner .ico{color:var(--warn);flex-shrink:0}.banner.good .ico{color:var(--good)}.kbd{font-family:var(--mono);background:var(--surface-2);border-radius:6px;padding:1px 6px;font-size:13px}.code{font-family:var(--mono);color:var(--muted);word-break:break-all;font-size:12px}.qr{background:#fff;border-radius:16px;width:min(260px,100%);margin:0 auto;padding:12px}.qr svg{width:100%;height:auto;display:block}details.acc{border-bottom:1px solid var(--line)}details.acc:last-child{border-bottom:0}details.acc summary{cursor:pointer;align-items:center;gap:12px;padding:14px 0;font-weight:600;list-style:none;display:flex}details.acc summary::-webkit-details-marker{display:none}details.acc summary .chev{color:var(--muted);margin-left:auto;transition:transform .2s}details.acc[open] summary .chev{transform:rotate(180deg)}.acc-body{padding:0 0 14px}ol.rules{counter-reset:r;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}ol.rules li{counter-increment:r;grid-template-columns:34px 1fr;gap:4px 10px;display:grid}ol.rules li:before{content:counter(r);font-family:var(--display);color:var(--accent);grid-row:span 2;font-size:30px;line-height:1}ol.rules li b{font-weight:600}ol.rules li p{color:var(--ink-2);margin:0;font-size:14px}.split-bar{border-radius:999px;gap:2px;height:14px;display:flex;overflow:hidden}.split-bar>i{height:100%;display:block}.stepper{border:1px solid var(--line-2);border-radius:10px;align-items:center;display:inline-flex;overflow:hidden}.stepper button{width:36px;height:34px;color:var(--ink-2);place-items:center;display:grid}.stepper button:hover{background:var(--surface-2)}.stepper span{text-align:center;min-width:48px;font-size:14px;font-weight:600}.inline-edit{border:0;border-bottom:1px dashed var(--line-2);text-align:right;background:0 0;outline:none;width:7ch;padding:2px 0;font-size:14px;font-weight:600}.inline-edit:focus{border-bottom-color:var(--accent)}.welcome{max-width:520px;padding:calc(var(--safe-top) + 40px) 20px 40px;margin:0 auto}.welcome h1{font-family:var(--display);letter-spacing:-.02em;margin:28px 0 10px;font-size:56px;font-weight:400;line-height:1}.welcome .lede{color:var(--ink-2);margin:0 0 28px;font-size:17px}.option{text-align:left;align-items:flex-start;gap:14px;width:100%;display:flex}.option .ico{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.option h3{margin:0 0 2px}.option p{color:var(--ink-2);margin:0;font-size:14px}.fade-in{animation:.35s cubic-bezier(.2,.8,.2,1) both fadeup}@keyframes fadeup{0%{opacity:0;transform:translateY(6px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}
