:root{--bg:#faf8f5;--surface:#fff;--surface-2:#f5f1ec;--border:#ece6df;--border-strong:#dcd3c9;--text:#2e2a28;--text-strong:#1c1416;--muted:#7d736d;--faint:#a89e96;--brand:#7b1e3a;--brand-hover:#631730;--brand-ink:#7b1e3a;--brand-soft:#f6e9ec;--brand-contrast:#fff;--gold:#b8892d;--gold-ink:#8a6516;--gold-soft:#f8f0dd;--accent:var(--brand);--accent-hover:var(--brand-hover);--accent-contrast:#fff;--focus:#b8892d8c;--income:#2f6b4f;--income-bg:#e9f2ec;--expense:#b3261e;--expense-bg:#fbeae8;--info:#1f6c9f;--info-bg:#e1f3fe;--warn:#8a6516;--warn-bg:#f8f0dd;--radius-sm:6px;--radius:8px;--radius-lg:12px;--shadow-lift:0 2px 10px #3c141e0f;--shadow-pop:0 14px 36px #280a1429;--font-sans:"SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans Lao", "Segoe UI", sans-serif;--font-serif:"Newsreader", "Noto Serif Lao", Georgia, serif;--font-mono:"Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;--nav-h:64px;--top-h:56px;--rail:76px;--drawer:252px;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#171213;--surface:#1f191a;--surface-2:#282022;--border:#33292b;--border-strong:#46393c;--text:#e6dedb;--text-strong:#f7f1ee;--muted:#a3958f;--faint:#75686a;--brand:#a8324f;--brand-hover:#bd3e5e;--brand-ink:#eb9db1;--brand-soft:#eb9db11f;--brand-contrast:#fff;--gold:#d9b45a;--gold-ink:#e6c77c;--gold-soft:#d9b45a24;--accent:var(--brand);--accent-hover:var(--brand-hover);--accent-contrast:#fff;--focus:#d9b45a99;--income:#7fc29b;--income-bg:#7fc29b1f;--expense:#f08a7e;--expense-bg:#f08a7e1f;--info:#79b8e3;--info-bg:#79b8e31f;--warn:#e6c77c;--warn-bg:#d9b45a24;--shadow-lift:0 2px 10px #0000004d;--shadow-pop:0 14px 36px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#171213;--surface:#1f191a;--surface-2:#282022;--border:#33292b;--border-strong:#46393c;--text:#e6dedb;--text-strong:#f7f1ee;--muted:#a3958f;--faint:#75686a;--brand:#a8324f;--brand-hover:#bd3e5e;--brand-ink:#eb9db1;--brand-soft:#eb9db11f;--brand-contrast:#fff;--gold:#d9b45a;--gold-ink:#e6c77c;--gold-soft:#d9b45a24;--accent:var(--brand);--accent-hover:var(--brand-hover);--accent-contrast:#fff;--focus:#d9b45a99;--income:#7fc29b;--income-bg:#7fc29b1f;--expense:#f08a7e;--expense-bg:#f08a7e1f;--info:#79b8e3;--info-bg:#79b8e31f;--warn:#e6c77c;--warn-bg:#d9b45a24;--shadow-lift:0 2px 10px #0000004d;--shadow-pop:0 14px 36px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{background:var(--bg);color:var(--text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;margin:0;font-size:15px;line-height:1.6}h1,h2,h3{color:var(--text-strong);margin:0;font-weight:600;line-height:1.2}h1.title{font-family:var(--font-serif);letter-spacing:-.02em;font-size:30px;font-weight:500;line-height:1.1}h2.section{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:13px;font-weight:600}a{color:inherit;text-decoration:none}::selection{background:var(--gold-soft);color:var(--text-strong)}:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.input:focus-visible,.select:focus-visible,.textarea:focus-visible{outline:none}p{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.num{font-variant-numeric:tabular-nums}.mono{font-family:var(--font-mono);font-size:12px}.income{color:var(--income)}.expense{color:var(--expense)}.page{width:100%;max-width:1080px;padding:20px 16px calc(var(--nav-h) + var(--safe-b) + 32px);flex-direction:column;gap:24px;margin:0 auto;display:flex}@media (width>=900px){.page{gap:32px;padding:40px 40px 64px}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.page-head .sub{color:var(--muted);margin-top:6px;font-size:14px}.row{align-items:center;gap:8px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}.grid-2{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.grid-2>*,.stack>*,.page>*{min-width:0}@media (width>=900px){.grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px}@media (width>=900px){.card{padding:24px}}.card-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.list-item{border-bottom:1px solid var(--border);text-align:left;width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border-top:0;border-left:0;border-right:0;align-items:center;gap:12px;padding:14px 16px;transition:background .15s;display:flex}.list-item:last-child{border-bottom:0}.list-item:hover{background:var(--surface-2)}.list-item .grow{flex:1;min-width:0}.list-item .title-line{color:var(--text-strong);white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.list-item .meta{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.empty{text-align:center;color:var(--muted);padding:40px 16px;font-size:14px}.btn{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);height:40px;color:var(--text-strong);font:inherit;cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:500;transition:background .15s,transform .1s;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.btn.primary:hover{background:var(--accent-hover)}.btn.danger{color:var(--expense)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--surface-2)}.btn.block{width:100%;height:46px}.btn.sm{height:32px;padding:0 10px;font-size:13px}.icon-btn{border-radius:var(--radius-sm);width:40px;height:40px;color:var(--text);cursor:pointer;background:0 0;border:0;place-items:center;display:inline-grid}.icon-btn:hover{background:var(--surface-2)}.field{flex-direction:column;gap:6px;display:flex}.field>span{color:var(--text);font-size:13px;font-weight:500}.field .hint{color:var(--muted);font-size:12px}.input,.select,.textarea{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;height:44px;color:var(--text-strong);font:inherit;outline:none;padding:0 12px;font-size:16px;transition:border-color .15s}.textarea{resize:vertical;height:auto;min-height:84px;padding:10px 12px}.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23787774' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}.input:focus,.select:focus,.textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--focus)}@media (width>=900px){.input,.select,.textarea{height:40px;font-size:14px}.textarea{height:auto}}.segmented{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);gap:2px;padding:3px;display:inline-flex}.segmented button{color:var(--muted);font:inherit;border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;background:0 0;border:0;flex:1;padding:6px 14px;font-size:14px;font-weight:500}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--brand-ink);box-shadow:0 0 0 1px var(--border), 0 1px 2px #0000000a}.segmented button:not([aria-pressed=true]):hover{color:var(--text-strong)}.badge{letter-spacing:.05em;text-transform:uppercase;background:var(--surface-2);height:20px;color:var(--muted);white-space:nowrap;border-radius:9999px;align-items:center;padding:0 8px;font-size:10.5px;font-weight:600;display:inline-flex}.badge.green{background:var(--income-bg);color:var(--income)}.badge.red{background:var(--expense-bg);color:var(--expense)}.badge.blue{background:var(--info-bg);color:var(--info)}.badge.yellow{background:var(--warn-bg);color:var(--warn)}.dot{border-radius:3px;flex:none;width:10px;height:10px}.alert{border-radius:var(--radius-sm);background:var(--expense-bg);color:var(--expense);padding:10px 12px;font-size:14px}.reveal{animation:.6s cubic-bezier(.16,1,.3,1) both reveal;animation-delay:calc(var(--i,0) * 60ms)}@keyframes reveal{0%{opacity:0;transform:translateY(12px)}}@media (prefers-reduced-motion:reduce){.reveal{animation:none}}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:root:lang(lo){--font-sans:"Noto Sans Lao", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif}:lang(lo) body{line-height:1.75}:lang(lo) h1.title{letter-spacing:0;font-size:28px;line-height:1.45}:lang(lo) h1,:lang(lo) h2,:lang(lo) h3{line-height:1.5}:lang(lo) h2.section{letter-spacing:0;font-size:14px}:lang(lo) .badge{letter-spacing:0;height:22px;font-size:12px}:lang(lo) .btn{line-height:1.4}.shell.svelte-12qhfyh{min-height:100dvh}main.svelte-12qhfyh{min-width:0}.drawer.svelte-12qhfyh{display:none}.topbar.svelte-12qhfyh{z-index:30;height:calc(var(--top-h) + var(--safe-t));padding:var(--safe-t) 16px 0;background:color-mix(in srgb, var(--bg) 86%, transparent);-webkit-backdrop-filter:saturate(180%)blur(12px);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.brand-sm.svelte-12qhfyh{font-family:var(--font-serif);letter-spacing:-.01em;color:var(--text-strong);align-items:center;gap:8px;font-size:19px;font-weight:500;display:flex}.brand-sm.svelte-12qhfyh img:where(.svelte-12qhfyh),.brand.svelte-12qhfyh img:where(.svelte-12qhfyh){border-radius:7px;display:block}.tabbar.svelte-12qhfyh{z-index:20;height:calc(var(--nav-h) + var(--safe-b));padding-bottom:var(--safe-b);background:color-mix(in srgb, var(--surface) 90%, transparent);-webkit-backdrop-filter:saturate(180%)blur(12px);border-top:1px solid var(--border);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar.svelte-12qhfyh a:where(.svelte-12qhfyh){color:var(--faint);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:500;transition:color .15s;display:flex;position:relative}.tabbar.svelte-12qhfyh a.active:where(.svelte-12qhfyh){color:var(--brand-ink)}.tabbar.svelte-12qhfyh a.active:where(.svelte-12qhfyh):before{content:"";background:var(--gold);border-radius:0 0 3px 3px;width:22px;height:3px;position:absolute;top:0}.tabbar.svelte-12qhfyh .plus:where(.svelte-12qhfyh){background:var(--brand);width:50px;height:42px;color:var(--brand-contrast);box-shadow:0 4px 14px color-mix(in srgb, var(--brand) 35%, transparent);border-radius:12px;place-items:center;transition:transform .12s;display:grid}.tabbar.svelte-12qhfyh .add:where(.svelte-12qhfyh):active .plus:where(.svelte-12qhfyh){transform:scale(.94)}@media (width>=900px){.shell.svelte-12qhfyh{grid-template-columns:var(--drawer) minmax(0, 1fr);transition:grid-template-columns .22s cubic-bezier(.16,1,.3,1);display:grid}.shell.rail.svelte-12qhfyh{grid-template-columns:var(--rail) minmax(0, 1fr)}.topbar.svelte-12qhfyh,.tabbar.svelte-12qhfyh{display:none}.drawer.svelte-12qhfyh{background:var(--surface);border-right:1px solid var(--border);z-index:10;flex-direction:column;gap:18px;height:100dvh;padding:20px 14px 14px;display:flex;position:sticky;top:0;overflow:visible}.brand.svelte-12qhfyh{font-family:var(--font-serif);letter-spacing:-.02em;color:var(--text-strong);white-space:nowrap;align-items:center;gap:10px;padding:2px 6px;font-size:21px;font-weight:500;display:flex}.new.svelte-12qhfyh{border-radius:var(--radius);background:var(--brand);height:42px;color:var(--brand-contrast);white-space:nowrap;box-shadow:0 4px 14px color-mix(in srgb, var(--brand) 25%, transparent);justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;transition:background .15s,transform .1s;display:flex}.new.svelte-12qhfyh:hover{background:var(--brand-hover)}.new.svelte-12qhfyh:active{transform:scale(.98)}nav.svelte-12qhfyh{flex-direction:column;flex:1;gap:2px;min-height:0;display:flex}nav.svelte-12qhfyh a:where(.svelte-12qhfyh),.who.svelte-12qhfyh,.collapse.svelte-12qhfyh{border-radius:var(--radius-sm);height:40px;color:var(--muted);white-space:nowrap;align-items:center;gap:12px;padding:0 12px;font-size:14px;font-weight:500;transition:background .15s,color .15s;display:flex;position:relative}nav.svelte-12qhfyh a:where(.svelte-12qhfyh):hover,.who.svelte-12qhfyh:hover,.collapse.svelte-12qhfyh:hover{background:var(--surface-2);color:var(--text-strong)}nav.svelte-12qhfyh a.active:where(.svelte-12qhfyh),.who.active.svelte-12qhfyh{background:var(--brand-soft);color:var(--brand-ink)}nav.svelte-12qhfyh a.active:where(.svelte-12qhfyh):before{content:"";background:var(--gold);border-radius:0 3px 3px 0;width:3px;position:absolute;top:8px;bottom:8px;left:-14px}.group.svelte-12qhfyh{text-transform:uppercase;letter-spacing:.06em;color:var(--faint);white-space:nowrap;margin:14px 12px 4px;font-size:11px;font-weight:600}.foot.svelte-12qhfyh{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding-top:12px;display:flex}.me.svelte-12qhfyh{align-items:center;gap:4px;display:flex}.who.svelte-12qhfyh{flex:1;min-width:0;height:48px;padding:0 8px}.id.svelte-12qhfyh{flex-direction:column;min-width:0;line-height:1.3;display:flex}.nm.svelte-12qhfyh{color:var(--text-strong);text-overflow:ellipsis;overflow:hidden}.rl.svelte-12qhfyh{color:var(--muted);font-size:12px}.collapse.svelte-12qhfyh{width:100%;font:inherit;cursor:pointer;background:0 0;border:0;font-size:13px}.rail.svelte-12qhfyh .drawer:where(.svelte-12qhfyh){padding-left:12px;padding-right:12px}.rail.svelte-12qhfyh .label:where(.svelte-12qhfyh){display:none}.rail.svelte-12qhfyh .brand:where(.svelte-12qhfyh),.rail.svelte-12qhfyh nav:where(.svelte-12qhfyh) a:where(.svelte-12qhfyh),.rail.svelte-12qhfyh .who:where(.svelte-12qhfyh),.rail.svelte-12qhfyh .collapse:where(.svelte-12qhfyh),.rail.svelte-12qhfyh .new:where(.svelte-12qhfyh){justify-content:center;padding:0}.rail.svelte-12qhfyh nav:where(.svelte-12qhfyh) a.active:where(.svelte-12qhfyh):before{left:-12px}.rail.svelte-12qhfyh .group:where(.svelte-12qhfyh){background:var(--border);height:1px;margin:12px 8px 6px}.rail.svelte-12qhfyh .me:where(.svelte-12qhfyh){flex-direction:column}.rail.svelte-12qhfyh .who:where(.svelte-12qhfyh){flex:none;width:100%}.rail.svelte-12qhfyh .foot:where(.svelte-12qhfyh) .prefs{align-self:center}.rail.svelte-12qhfyh [data-tip]:where(.svelte-12qhfyh):hover:after,.rail.svelte-12qhfyh [data-tip]:where(.svelte-12qhfyh):focus-visible:after{content:attr(data-tip);border-radius:var(--radius-sm);background:var(--text-strong);color:var(--bg);font-family:var(--font-sans);letter-spacing:0;white-space:nowrap;pointer-events:none;z-index:70;padding:5px 10px;font-size:12px;font-weight:500;position:absolute;top:50%;left:calc(100% + 14px);transform:translateY(-50%)}.rail.svelte-12qhfyh .brand:where(.svelte-12qhfyh),.rail.svelte-12qhfyh .new:where(.svelte-12qhfyh),.rail.svelte-12qhfyh .out:where(.svelte-12qhfyh){position:relative}}.avatar.svelte-12qhfyh{border-radius:var(--radius-sm);background:var(--gold-soft);width:32px;height:32px;color:var(--gold-ink);flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.toasts.svelte-12qhfyh{left:16px;right:16px;bottom:calc(var(--nav-h) + var(--safe-b) + 12px);z-index:50;pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed}.toast.svelte-12qhfyh{pointer-events:auto;border-radius:var(--radius);background:var(--text-strong);max-width:420px;color:var(--bg);font:inherit;text-align:left;cursor:pointer;box-shadow:var(--shadow-pop);border:0;align-items:center;gap:8px;padding:10px 14px;font-size:14px;animation:.4s cubic-bezier(.16,1,.3,1) reveal;display:inline-flex}.toast.svelte-12qhfyh svg{color:var(--gold)}.toast.error.svelte-12qhfyh{background:var(--expense);color:#fff}@media (width>=900px){.toasts.svelte-12qhfyh{align-items:flex-end;bottom:24px;left:auto;right:24px}}
