:root{--bg:#f7f8f7;--bg-page:#f4f5f4;--ink:#0a0a0b;--ink-soft:#1f1f22;--ink-muted:#5b5b62;--ink-faint:#8c8c92;--ink-faintest:#c7c7cc;--line:#0a0a0b0f;--line-strong:#0a0a0b1a;--bg-subtle:#0a0a0b08;--bg-subtle-hover:#0a0a0b0d;--surface-bg:#fff;--surface-bg-soft:#f4f5f4;--surface-bg-glass:#ffffffb3;--accent-color:#cf5;--accent-hover:#b8f048;--accent-bright:#d4ff66;--accent-fg:#0a0a0b;--accent-bg:#ccff551f;--accent-bg-strong:#ccff5538;--accent-ring:#ccff558c;--accent-readable:#4d7c0f;--accent-glow:#a0c82866;--accent-glow-strong:#a0c8288c;--cta-bg:var(--accent-color);--cta-fg:var(--accent-fg);--cta-shadow:0 1px 2px #0a0a0b0f, 0 6px 18px -6px var(--accent-glow), inset 0 1px 0 #fff6;--cta-shadow-hover:0 2px 4px #0a0a0b14, 0 14px 32px -8px var(--accent-glow-strong), inset 0 1px 0 #ffffff80;--success:#047857;--success-bg:#10b9811a;--warning:#92400e;--warning-bg:#f59e0b1f;--danger:#b91c1c;--danger-bg:#ef444414;--shadow-card:0 0 0 .5px #1418280a, 0 1px 2px #1418280a, 0 4px 8px -4px #1418280f, 0 24px 56px -16px #1418281a;--shadow-card-hover:0 0 0 .5px #1418280f, 0 2px 4px #1418280f, 0 8px 16px -6px #1418281a, 0 36px 80px -20px #14182833;--shadow-soft:0 1px 2px #1418280a, 0 8px 18px -8px #1418281a;--ease-out-expo:cubic-bezier(.16, 1, .3, 1);--ease-spring:cubic-bezier(.34, 1.56, .64, 1);--radius:1.25rem}html[data-accent=lime]{--accent-color:#cf5;--accent-hover:#b8f048;--accent-bright:#d4ff66;--accent-bg:#ccff551f;--accent-bg-strong:#ccff5538;--accent-ring:#ccff558c;--accent-readable:#4d7c0f;--accent-glow:#a0c82866;--accent-glow-strong:#a0c8288c}html[data-accent=violet]{--accent-color:#a78bfa;--accent-hover:#9370f0;--accent-bright:#b9a3fb;--accent-bg:#a78bfa1f;--accent-bg-strong:#a78bfa38;--accent-ring:#a78bfa80;--accent-readable:#6d28d9;--accent-glow:#7c3aed66;--accent-glow-strong:#7c3aed8c}html[data-accent=blue]{--accent-color:#38bdf8;--accent-hover:#1ba3e8;--accent-bright:#5fcbfa;--accent-bg:#38bdf81f;--accent-bg-strong:#38bdf838;--accent-ring:#38bdf880;--accent-readable:#0369a1;--accent-glow:#0284c766;--accent-glow-strong:#0284c78c}html[data-accent=coral]{--accent-color:#fb7185;--accent-hover:#f85571;--accent-bright:#fc8a9a;--accent-bg:#fb71851f;--accent-bg-strong:#fb718538;--accent-ring:#fb718580;--accent-readable:#be123c;--accent-glow:#be123c61;--accent-glow-strong:#be123c85}html[data-accent=amber]{--accent-color:#fbbf24;--accent-hover:#f5ad00;--accent-bright:#fcca4d;--accent-bg:#fbbf2424;--accent-bg-strong:#fbbf243d;--accent-ring:#fbbf2480;--accent-readable:#b45309;--accent-glow:#d9770666;--accent-glow-strong:#d977068c}html.dark{--bg:#0a0a0b;--bg-page:#0e0f12;--ink:#f5f5f5;--ink-soft:#e5e7eb;--ink-muted:#9ca3af;--ink-faint:#6b7280;--ink-faintest:#4b5563;--line:#ffffff0f;--line-strong:#ffffff1a;--bg-subtle:#ffffff0a;--bg-subtle-hover:#ffffff12;--surface-bg:#16181d;--surface-bg-soft:#1c1f25;--surface-bg-glass:#1c1f25b3;--accent-readable:var(--accent-bright);--cta-bg:#fff;--cta-fg:#0a0a0b;--cta-shadow:0 1px 2px #0006, 0 12px 32px -8px #000000a6, inset 0 1px 0 #0000000a;--cta-shadow-hover:0 2px 4px #00000073, 0 18px 48px -10px #000c, inset 0 1px 0 #0000000a;--success:#34d399;--success-bg:#10b98124;--warning:#fbbf24;--warning-bg:#f59e0b24;--danger:#f87171;--danger-bg:#ef444424;--shadow-card:0 0 0 .5px #ffffff0a, 0 1px 2px #00000073, 0 8px 18px -8px #0000008c, 0 32px 72px -20px #000000bf;--shadow-card-hover:0 0 0 .5px #ffffff0f, 0 2px 4px #0000008c, 0 16px 32px -10px #000000a6, 0 48px 96px -24px #000000f2;--shadow-soft:0 1px 2px #0006, 0 8px 18px -8px #0000008c}*{box-sizing:border-box}html{scroll-behavior:smooth;touch-action:pan-y;overscroll-behavior:none;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;font-size:17px}body{background:var(--bg-page);min-height:100vh;color:var(--ink);overscroll-behavior:none;-webkit-tap-highlight-color:transparent;font-feature-settings:"ss01", "cv11", "calt" 1;letter-spacing:-.012em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:Geist,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif}body:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(115% 45% at 50% -6%, var(--accent-bg) 0%, transparent 55%);position:fixed;inset:0}::selection{background:var(--accent-bg-strong);color:var(--ink)}.num,.tabular{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.mono{font-family:Geist Mono,ui-monospace,SFMono-Regular,Menlo,monospace}h1,h2,h3{letter-spacing:-.028em;color:var(--ink);margin:0;font-weight:600}.label{text-transform:uppercase;letter-spacing:.14em;color:var(--ink-muted);font-size:10.5px;font-weight:600}.card{background:var(--surface-bg);box-shadow:var(--shadow-card);transition:box-shadow .55s var(--ease-out-expo), transform .55s var(--ease-out-expo);border-radius:28px}.card-hover:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px)}.pill{letter-spacing:-.012em;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:transform .25s var(--ease-out-expo), background-color .18s ease, box-shadow .25s ease, color .18s ease, border-color .18s ease, filter .18s ease;border:1px solid #0000;border-radius:9999px;justify-content:center;align-items:center;gap:8px;font-weight:600;display:inline-flex}.pill:active{transform:scale(.96)}.pill-cta{background:var(--cta-bg);color:var(--cta-fg);box-shadow:var(--cta-shadow);padding:11px 20px;font-size:14px}@media (hover:hover){.pill-cta:hover{box-shadow:var(--cta-shadow-hover);filter:brightness(1.02);transform:translateY(-1px)}}.pill-ghost{background:var(--bg-subtle);color:var(--ink-soft);border-color:var(--line);padding:11px 18px;font-size:14px}.pill-ghost:hover{background:var(--bg-subtle-hover);color:var(--ink)}.pill-sm{padding:8px 14px;font-size:13px}.icon-btn{border:1px solid var(--line-strong);width:38px;height:38px;color:var(--ink-muted);cursor:pointer;background:0 0;border-radius:9999px;place-items:center;transition:all .18s;display:grid}.icon-btn:hover{background:var(--bg-subtle);color:var(--ink);border-color:var(--ink-faint)}.icon-btn:active{transform:scale(.94)}.icon-btn.danger:hover{background:var(--danger-bg);color:var(--danger);border-color:#0000}.accent-picker{align-items:center;gap:6px;padding:0 6px;display:inline-flex}.swatch{cursor:pointer;background:var(--sw);width:18px;height:18px;transition:transform .22s var(--ease-spring), box-shadow .2s ease;border:none;border-radius:9999px;padding:0;box-shadow:0 0 0 1px #0a0a0b1f,inset 0 1px #ffffff59}.swatch:hover{transform:scale(1.18)}.swatch.on{box-shadow:0 0 0 2px var(--bg-page), 0 0 0 4px var(--sw), 0 2px 8px -1px var(--sw);transform:scale(1.12)}html.dark .swatch{box-shadow:0 0 0 1px #ffffff29,inset 0 1px #ffffff40}@media (width<=560px){.accent-picker{gap:5px;padding:0 2px}.swatch{width:16px;height:16px}}.field-label{color:var(--ink-muted);letter-spacing:-.006em;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.field{background:var(--surface-bg);border:1px solid var(--line-strong);color:var(--ink);border-radius:12px;outline:none;width:100%;padding:11px 14px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.field:focus{border-color:var(--accent-ring);box-shadow:0 0 0 3px var(--accent-bg)}.field::placeholder{color:var(--ink-faint)}.badge{letter-spacing:.01em;font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:9999px;align-items:center;gap:5px;padding:4px 10px;font-size:11px;font-weight:600;display:inline-flex}.badge-success{background:var(--success-bg);color:var(--success)}.badge-warning{background:var(--warning-bg);color:var(--warning)}.badge-accent{background:var(--accent-bg-strong);color:var(--accent-readable)}.badge-neutral{background:var(--bg-subtle);color:var(--ink-muted)}.progress-track{background:var(--bg-subtle);border-radius:9999px;height:7px;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--accent-color), var(--accent-bright));height:100%;transition:width .7s var(--ease-out-expo);border-radius:9999px}html.dark .progress-fill{box-shadow:0 0 12px -2px #ccff5580}.progress-fill.done{background:linear-gradient(90deg, var(--success), var(--success))}@keyframes riseIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes popIn{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.rise{animation:riseIn .5s var(--ease-out-expo) both}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-thumb{background:var(--ink-faintest);border:3px solid var(--bg-page);border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:var(--ink-faint)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.app{flex-direction:column;max-width:1180px;min-height:100vh;margin:0 auto;padding:28px 24px 64px;display:flex}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:32px;display:flex}.brand{font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:13px;margin:0;padding:0;transition:opacity .18s;display:flex}.brand:active{opacity:.6}.brand-mark{background:var(--ink);width:46px;height:46px;color:var(--accent-color);box-shadow:var(--shadow-soft);border-radius:15px;place-items:center;display:grid}html.dark .brand-mark{background:var(--surface-bg)}.brand-text h1{letter-spacing:-.045em;font-size:24px;font-weight:800;line-height:1.05}.brand-tm{letter-spacing:0;color:var(--ink-faint);margin-left:1px;font-size:.42em;font-weight:600;top:-.7em}.login-title .brand-tm{font-size:.4em;top:-.8em}.brand-sub{color:var(--ink-faint);letter-spacing:-.004em;font-size:12.5px}.topbar-actions{align-items:center;gap:9px;display:flex}.add-btn{padding-left:16px;padding-right:18px}.content{flex-direction:column;flex:1;gap:22px;display:flex}.foot{text-align:center;color:var(--ink-faint);flex-direction:column;align-items:center;gap:5px;margin-top:28px;font-size:12px;display:flex}.foot-user{color:var(--ink-muted);align-items:center;gap:10px;font-weight:500;display:inline-flex}.logout-link{color:var(--ink-faint);cursor:pointer;font:inherit;text-underline-offset:2px;background:0 0;border:none;padding:0;text-decoration:underline}.logout-link:hover{color:var(--danger)}.state-card{text-align:center;color:var(--ink-muted);padding:40px 28px;font-size:14px}.state-card.error{color:var(--danger)}.boot{place-items:center;min-height:100vh;display:grid}.boot-mark{background:var(--ink);width:56px;height:56px;color:var(--accent-color);box-shadow:var(--shadow-soft);animation:pulse-boot 1.1s var(--ease-out-expo) infinite;border-radius:18px;place-items:center;display:grid}@keyframes pulse-boot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.06)}}.login-wrap{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{text-align:center;flex-direction:column;align-items:center;width:100%;max-width:380px;padding:36px 32px 28px;display:flex}.login-mark{background:var(--ink);width:60px;height:60px;color:var(--accent-color);box-shadow:var(--shadow-soft);border-radius:20px;place-items:center;display:grid}html.dark .login-mark{background:var(--surface-bg-soft)}.login-title{letter-spacing:-.03em;margin-top:16px;font-size:26px}.login-sub{color:var(--ink-muted);margin:6px 0 22px;font-size:13.5px;line-height:1.5}.login-form{text-align:left;flex-direction:column;gap:14px;width:100%;display:flex}.login-submit{width:100%;margin-top:4px;padding-top:12px;padding-bottom:12px}.login-submit:disabled{opacity:.6;cursor:default}.login-switch{color:var(--ink-muted);cursor:pointer;font:inherit;text-underline-offset:2px;background:0 0;border:none;margin-top:18px;font-size:13px;text-decoration:underline}.login-switch:hover{color:var(--ink)}.login-msg{border-radius:10px;padding:9px 12px;font-size:12.5px;line-height:1.4}.login-msg.error{background:var(--danger-bg);color:var(--danger)}.login-msg.info{background:var(--accent-bg);color:var(--accent-readable)}.home{flex-direction:column;gap:26px;display:flex}.hero-center{text-align:center;animation:riseIn .5s var(--ease-out-expo) both;flex-direction:column;align-items:center;gap:14px;padding:16px 6px 30px;display:flex}.hero-label{letter-spacing:-.006em;color:var(--ink-muted);font-size:13.5px;font-weight:600}.hero-amount{letter-spacing:-.05em;color:var(--ink);font-size:clamp(64px,17vw,128px);font-weight:700;line-height:.84}.hero-center.is-neg .hero-amount{color:var(--danger)}.hero-pill{font-variant-numeric:tabular-nums;--pc:var(--success);color:var(--pc);background:color-mix(in srgb, var(--pc) 12%, transparent);border-radius:9999px;align-items:center;gap:8px;padding:7px 15px;font-size:12.5px;font-weight:600;display:inline-flex}.hero-pill.ok{--pc:var(--accent-readable)}.hero-pill.warn{--pc:#e08600}.hero-pill.bad{--pc:var(--danger)}.hero-pill-dot{background:var(--pc);border-radius:9999px;width:7px;height:7px}.home-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.home-box{text-align:left;cursor:pointer;font:inherit;background:var(--surface-bg);box-shadow:var(--shadow-card);color:var(--ink);transition:transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo);animation:popIn .45s var(--ease-out-expo) both;border:none;border-radius:24px;flex-direction:column;gap:6px;padding:20px;display:flex}@media (hover:hover){.home-box:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-4px)}}.home-box:active{transform:scale(.985)}.home-icon{background:var(--box-bg);width:42px;height:42px;color:var(--box);border-radius:13px;place-items:center;margin-bottom:6px;display:grid}.home-k{letter-spacing:-.006em;color:var(--ink-muted);font-size:12.5px;font-weight:600}.home-v{letter-spacing:-.03em;color:var(--ink);font-size:26px;font-weight:700;line-height:1}.home-sub{color:var(--ink-faint);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.tone-indigo{--box:#6366f1;--box-bg:#6366f121}.tone-sky{--box:#0ea5e9;--box-bg:#0ea5e921}.tone-emerald{--box:#10b981;--box-bg:#10b98121}.tone-amber{--box:#f59e0b;--box-bg:#f59e0b26}.tone-pink{--box:#ec4899;--box-bg:#ec489921}.tone-violet{--box:#8b5cf6;--box-bg:#8b5cf621}.tone-rose{--box:#f43f5e;--box-bg:#f43f5e1f}html.dark .tone-violet{--box:#c4b5fd}html.dark .tone-rose{--box:#fda4af}html.dark .tone-indigo{--box:#a5b4fc}html.dark .tone-sky{--box:#7dd3fc}html.dark .tone-emerald{--box:#6ee7b7}html.dark .tone-amber{--box:#fcd34d}html.dark .tone-pink{--box:#f9a8d4}.home-section{flex-direction:column;gap:12px;display:flex}.home-section-head{justify-content:space-between;align-items:center;padding:0 4px;display:flex}.home-section-title{letter-spacing:-.02em;font-size:16px;font-weight:600}.hp-all{cursor:pointer;font:inherit;color:var(--accent-readable);background:0 0;border:none;padding:4px 6px;font-size:13px;font-weight:600}.hp-card{animation:riseIn .5s var(--ease-out-expo) both;padding:6px}.hp-row{border:none;border-top:1px solid var(--line);cursor:pointer;width:100%;font:inherit;color:inherit;text-align:left;background:0 0;border-radius:14px;align-items:center;gap:13px;padding:13px 14px 13px 12px;transition:background-color .15s,transform .15s;display:flex}.hp-row:first-child{border-top:none}.hp-row:hover{background:var(--bg-subtle)}.hp-row:active{transform:scale(.99)}.hp-bar{border-radius:9999px;flex-shrink:0;align-self:stretch;width:4px;min-height:36px}.hp-bar.badge-warning{background:var(--warning)}.hp-bar.badge-accent{background:var(--accent-color)}.hp-bar.badge-success{background:var(--success)}.hp-main{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.hp-name{color:var(--ink);letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.hp-meta{color:var(--ink-faint);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:inline-flex}.hp-client{color:var(--ink-muted)}.hp-month{text-transform:capitalize}.hp-value{letter-spacing:-.01em;color:var(--accent-readable);flex-shrink:0;font-size:16px;font-weight:600}.trend-delta{font-variant-numeric:tabular-nums;font-size:13px;font-weight:600}.trend-delta.up{color:var(--success)}.trend-delta.down{color:var(--danger)}.trend-card{animation:riseIn .5s var(--ease-out-expo) both;padding:20px 18px 14px}.trend-bars{align-items:flex-end;gap:8px;display:flex}.trend-col{flex-direction:column;flex:1;align-items:center;gap:7px;min-width:0;display:flex}.trend-plot{width:100%;max-width:38px;position:relative}.trend-bar{transition:height .6s var(--ease-out-expo), top .6s var(--ease-out-expo);border-radius:6px;position:absolute;left:0;right:0}.trend-bar.pos{background:linear-gradient(180deg, var(--accent-color), var(--accent-bright))}html.dark .trend-bar.pos{box-shadow:0 0 16px -3px var(--accent-glow-strong)}.trend-bar.neg{background:var(--danger);opacity:.7}.trend-m{color:var(--ink-faint);text-transform:capitalize;font-size:11px}.trend-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;margin-top:14px;padding-top:12px;display:flex}.trend-foot-k{color:var(--ink-faint);font-size:12px}.trend-foot-v{letter-spacing:-.02em;color:var(--success);font-size:18px;font-weight:700}.trend-foot-v.neg{color:var(--danger)}@media (width<=860px){.home-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=420px){.home-grid{grid-template-columns:1fr}}.total-bar{background:var(--ink);color:#fff;animation:riseIn .5s var(--ease-out-expo) both;border-radius:26px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;padding:22px 26px;display:flex}.total-main{flex-direction:column;gap:6px;display:flex}.total-bar .label{color:#ffffff8c}.total-val{letter-spacing:-.03em;color:var(--accent-color);font-size:34px;font-weight:600;line-height:1}.total-val.neg{color:#ff7a7a}.total-split{flex-wrap:wrap;gap:28px;display:flex}.total-split>div{flex-direction:column;gap:4px;display:flex}.total-split-k{text-transform:uppercase;letter-spacing:.1em;color:#ffffff73;font-size:11px;font-weight:600}.total-split-v{color:#fff;letter-spacing:-.01em;font-size:17px;font-weight:600}.savings-bar{background:var(--accent-bg);box-shadow:inset 0 0 0 1px var(--accent-ring);animation:riseIn .45s var(--ease-out-expo) both;border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;padding:16px 22px;display:flex}.savings-text{flex-direction:column;gap:2px;display:flex}.savings-label{letter-spacing:.04em;text-transform:uppercase;color:var(--accent-readable);font-size:12px;font-weight:700}.savings-hint{color:var(--ink-muted);font-size:12px}.savings-amounts{flex-direction:column;align-items:flex-end;line-height:1.2;display:flex}.savings-val{letter-spacing:-.02em;color:var(--accent-readable);font-size:22px;font-weight:600}.savings-per{color:var(--ink-muted);font-size:13px;font-weight:500}.savings-year{color:var(--ink-faint);font-size:12.5px}.section{flex-direction:column;gap:14px;display:flex}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;padding:0 4px;display:flex}.section-title{letter-spacing:-.02em;font-size:19px}.section-sub{color:var(--ink-faint);font-size:12.5px}.section-head-right{align-items:center;gap:16px;display:flex}.section-total{flex-direction:column;align-items:flex-end;line-height:1.2;display:flex}.section-total-val{color:var(--ink);letter-spacing:-.01em;font-size:16px;font-weight:600}.section-total-k{color:var(--ink-faint);font-size:11.5px}.mini-empty{text-align:center;color:var(--ink-faint);padding:26px 24px;font-size:13.5px}.seg{background:var(--bg-subtle);border:1px solid var(--line);border-radius:12px;gap:3px;width:100%;padding:3px;display:inline-flex}.seg-btn{color:var(--ink-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1;padding:8px 12px;font-size:13px;font-weight:600;transition:all .18s}.seg-btn.on{background:var(--cta-bg);color:var(--cta-fg);box-shadow:var(--shadow-soft)}.summary-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.summary-card{animation:riseIn .55s var(--ease-out-expo) both;border-radius:24px;flex-direction:column;gap:9px;padding:22px 22px 20px;display:flex}.summary-card.accent{background:var(--ink);color:#fff;box-shadow:var(--shadow-card)}.summary-card.accent .label{color:#fff9}.summary-card.accent .summary-value{color:var(--accent-color)}.summary-card.accent .summary-sub{color:#ffffff8c}.summary-value{letter-spacing:-.03em;font-size:27px;font-weight:600;line-height:1}.summary-sub{color:var(--ink-faint);font-size:12.5px}.summary-progress{flex-direction:column;gap:7px;display:flex}.table-card{animation:riseIn .55s .1s var(--ease-out-expo) both;padding:6px;overflow:hidden}.table-wrap{width:100%}.loan-table{border-collapse:collapse;width:100%;font-size:14px}.loan-table thead th{text-align:left;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-faint);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;padding:14px 16px;font-size:11px;font-weight:600;transition:color .15s}.loan-table thead th:hover{color:var(--ink-muted)}.th-inner{align-items:center;gap:5px;display:inline-flex}.sort-ind{opacity:.35;font-size:11px}.sort-ind.on{opacity:1;color:var(--accent-readable)}.ta-right{text-align:right!important}.ta-right .th-inner{flex-direction:row-reverse}.col-actions{width:1%}.loan-table tbody tr{border-top:1px solid var(--line);transition:background-color .15s}.loan-table tbody tr:hover{background:var(--bg-subtle)}.loan-table td{vertical-align:middle;padding:15px 16px}.loan-table tbody tr.paid-off{opacity:.62}.loan-table tbody tr.item-off,.mobile-row.item-off{opacity:.45}.item-off .cell-name{text-decoration:line-through;-webkit-text-decoration-color:var(--ink-faintest);text-decoration-color:var(--ink-faintest)}.icon-btn.is-off{color:var(--ink-faintest);background:var(--bg-subtle)}.icon-btn.is-off:hover{color:var(--accent-readable);background:var(--accent-bg);border-color:#0000}.cell-name{color:var(--ink);letter-spacing:-.01em;font-weight:600}.cell-sub{color:var(--ink-faint);margin-top:2px;font-size:12px}.cell-bank{color:var(--ink-soft)}.cell-strong{color:var(--ink);font-weight:600}.cell-dates{color:var(--ink-soft);white-space:nowrap;align-items:center;gap:7px;font-size:13px;display:inline-flex}.cell-dates .arrow{color:var(--ink-faintest)}.cell-pay{flex-direction:column;gap:2px;line-height:1.25;display:flex}.cell-paybank{color:var(--ink-soft);font-size:13px;font-weight:500}.cell-payday{color:var(--ink-faint);font-size:12px}.cell-muted{color:var(--ink-faintest)}.progress-cell{flex-direction:column;gap:6px;min-width:168px;display:flex}.progress-label{color:var(--ink-muted);font-size:12px;font-weight:500}.progress-left{color:var(--ink-faint)}.row-actions{justify-content:flex-end;gap:6px;display:inline-flex}.icon-btn svg{display:block}.mobile-list{flex-direction:column;display:none}.mobile-row{border-top:1px solid var(--line);flex-direction:column;gap:14px;padding:18px 16px;display:flex}.mobile-row:first-child{border-top:none}.mobile-row.paid-off{opacity:.62}.mobile-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mobile-actions{gap:6px;display:flex}.mobile-meta{grid-template-columns:1fr 1fr;gap:14px 12px;display:grid}.mobile-meta>div{flex-direction:column;gap:3px;display:flex}.mobile-meta>div:last-child{grid-column:span 2}.mobile-k{text-transform:uppercase;letter-spacing:.08em;color:var(--ink-faint);font-size:11px;font-weight:600}.empty{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:56px 32px;display:flex}.empty-mark{background:var(--accent-bg);width:72px;height:72px;color:var(--accent-readable);border-radius:24px;place-items:center;margin-bottom:4px;display:grid}.empty h2{font-size:22px}.empty p{max-width:440px;color:var(--ink-muted);margin:0;font-size:14.5px;line-height:1.55}.empty-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:10px;display:flex}.overlay{-webkit-backdrop-filter:blur(6px);z-index:50;background:#0a0a0b6b;justify-content:center;align-items:flex-start;padding:40px 20px;animation:.2s both fadeIn;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{width:100%;max-width:560px;margin:auto;padding:0}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:22px 24px 16px;display:flex}.modal-head h2{font-size:19px}.modal-body{flex-direction:column;gap:20px;padding:22px 24px 24px;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.span-2{grid-column:span 2}.opt{color:var(--ink-faintest);text-transform:none;letter-spacing:0;font-weight:500}.modal-foot{justify-content:flex-end;gap:10px;display:flex}.pill-danger{background:var(--danger);color:#fff;padding:11px 18px;font-size:14px}.pill-danger:hover{filter:brightness(1.06)}.preview{background:var(--bg-subtle);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:12px;padding:16px 18px;display:flex}.preview-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.preview-grid>div{flex-direction:column;gap:3px;display:flex}.preview-k{color:var(--ink-faint);font-size:12px}.preview-v{color:var(--ink);letter-spacing:-.01em;font-size:15px;font-weight:600}.confirm{flex-direction:column;gap:12px;max-width:420px;padding:26px;display:flex}.confirm h2{font-size:19px}.confirm-text{color:var(--ink-muted);margin:0 0 8px;font-size:14px;line-height:1.5}.sec-on{flex-direction:column;gap:6px;margin-bottom:4px;display:flex}.sec-badge{background:var(--success-bg);color:var(--success);border-radius:9999px;align-self:flex-start;align-items:center;gap:6px;padding:5px 12px;font-size:13px;font-weight:600;display:inline-flex}.sec-qr{background:#fff;border-radius:14px;justify-content:center;margin:10px 0;padding:14px;display:flex}.sec-qr svg,.sec-qr img{width:180px;height:180px;display:block}.sec-secret{flex-direction:column;gap:5px;display:flex}.sec-secret code{background:var(--bg-subtle);word-break:break-all;color:var(--ink);letter-spacing:.04em;border-radius:10px;padding:9px 12px;font-size:13px}@media (width<=880px){.summary-grid{grid-template-columns:1fr 1fr}.table-wrap{display:none}.mobile-list{display:flex}.table-card{padding:4px 6px}}@media (width<=560px){.app{padding:20px max(16px, env(safe-area-inset-left)) calc(48px + env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-right))}.add-label{display:none}.add-btn{padding-left:14px;padding-right:14px}.summary-grid,.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.preview-grid{grid-template-columns:1fr}.menu-btn{height:40px;padding:0 16px}.brand-text h1{font-size:22px}}.pill-cta,.progress-fill,.swatch,.badge-accent,.savings-bar,.total-val,.sort-ind.on{transition-property:background-color,color,box-shadow,border-color,fill,transform,filter;transition-duration:.35s;transition-timing-function:var(--ease-out-expo)}.topbar{z-index:30;padding:calc(20px + env(safe-area-inset-top,0px)) 24px 20px;background:var(--surface-bg-glass);-webkit-backdrop-filter:saturate(180%)blur(20px);backdrop-filter:saturate(180%)blur(20px);box-shadow:0 1px 0 var(--line);margin:-28px -24px 32px;position:sticky;top:0}@media (width<=560px){.topbar{padding:calc(14px + env(safe-area-inset-top,0px)) 16px 14px;margin:-20px -16px 22px}}.brand-mark{transition:transform .4s var(--ease-spring), box-shadow .4s var(--ease-out-expo)}.brand:hover .brand-mark{box-shadow:0 8px 22px -6px var(--accent-glow-strong);transform:translateY(-2px)rotate(-3deg)}.summary-card,.table-card,.savings-bar{transition:transform .45s var(--ease-out-expo), box-shadow .45s var(--ease-out-expo);will-change:transform}@media (hover:hover){.summary-card:hover,.table-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px)}}.total-bar,.summary-card.accent{position:relative;overflow:hidden}.total-bar:after,.summary-card.accent:after{content:"";pointer-events:none;background:linear-gradient(115deg,#0000 30%,#ffffff14 48%,#ffffff24 50%,#ffffff14 52%,#0000 70%);position:absolute;inset:0;transform:translate(-120%)}@media (hover:hover){.total-bar:hover:after,.summary-card.accent:hover:after{transition:transform .9s var(--ease-out-expo);transform:translate(120%)}}html.dark .total-val:not(.neg),html.dark .summary-card.accent .summary-value{text-shadow:0 0 24px var(--accent-glow-strong)}html.dark .savings-val,html.dark .savings-label{text-shadow:0 0 18px var(--accent-glow)}.content>section{animation:riseIn .55s var(--ease-out-expo) both}.content>section:first-of-type{animation-delay:40ms}.content>section:nth-of-type(2){animation-delay:.1s}.content>section:nth-of-type(3){animation-delay:.16s}.content>section:nth-of-type(4){animation-delay:.22s}.content>section:nth-of-type(5){animation-delay:.28s}.pill:focus-visible,.icon-btn:focus-visible,.swatch:focus-visible,.tab-pill:focus-visible,.seg-btn:focus-visible,.logout-link:focus-visible,.login-switch:focus-visible{box-shadow:0 0 0 3px var(--bg-page), 0 0 0 5px var(--accent-ring);outline:none}.loan-table thead th:focus-visible{outline:2px solid var(--accent-ring);outline-offset:-2px;border-radius:6px}.pill-cta{position:relative;overflow:hidden}.pill-cta:before{content:"";width:100%;height:100%;transition:left .7s var(--ease-out-expo);pointer-events:none;background:linear-gradient(120deg,#0000 0%,#ffffff59 50%,#0000 100%);position:absolute;top:0;left:-120%}@media (hover:hover){.pill-cta:hover:before{left:120%}}.cal-card{animation:riseIn .5s var(--ease-out-expo) both;padding:6px}.pcal-month{flex-direction:column;gap:9px;display:flex}.pcal-month+.pcal-month{margin-top:8px}.pcal-head{justify-content:space-between;align-items:baseline;gap:12px;padding:0 6px;display:flex}.pcal-label{letter-spacing:-.01em;text-transform:capitalize;color:var(--ink);font-size:14px;font-weight:600}.pcal-total{letter-spacing:-.02em;color:var(--accent-readable);font-size:16px;font-weight:700}.cal-row{border-top:1px solid var(--line);align-items:center;gap:14px;padding:12px 14px;display:flex}.cal-row:first-child{border-top:none}.cal-row.soon{background:var(--accent-bg);border-top-color:#0000;border-radius:14px}.cal-day{flex-direction:column;flex-shrink:0;align-items:center;width:46px;line-height:1.1;display:flex}.cal-day-num{letter-spacing:-.02em;color:var(--ink);font-size:20px;font-weight:600}.cal-day-dow{color:var(--ink-faint);font-size:10.5px}.cal-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.cal-name{color:var(--ink);letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.cal-meta{color:var(--ink-faint);align-items:center;gap:5px;font-size:12px;display:inline-flex}.dot{border-radius:9999px;flex-shrink:0;width:7px;height:7px;display:inline-block}.cal-right{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.cal-amount{color:var(--ink);font-weight:600}.cal-days{color:var(--ink-faint);font-size:12px}.cal-days.soon{color:var(--accent-readable);font-weight:600}.timeline-card{animation:riseIn .5s var(--ease-out-expo) both;padding:8px 6px}.tl-row{align-items:center;gap:14px;padding:13px 16px;display:flex;position:relative}.tl-row:before{content:"";background:var(--line);width:2px;position:absolute;top:0;bottom:0;left:21px}.tl-row:first-child:before{top:50%}.tl-row:last-child:before{bottom:50%}.tl-dot{background:var(--accent-color);width:11px;height:11px;box-shadow:0 0 0 3px var(--surface-bg), 0 0 0 4px var(--accent-ring);z-index:1;border-radius:9999px;flex-shrink:0}.tl-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.tl-name{color:var(--ink);letter-spacing:-.01em;font-weight:600}.tl-sub{color:var(--ink-faint);font-size:12px}.tl-right{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.tl-plus{color:var(--success);font-weight:600}.tl-from{color:var(--ink-faint);font-size:11.5px}.menu-wrap{display:inline-flex;position:relative}.menu-btn{background:var(--ink);height:42px;color:var(--bg-page);cursor:pointer;box-shadow:var(--shadow-soft);transition:transform .2s var(--ease-spring), box-shadow .25s ease, filter .18s ease;border:none;border-radius:9999px;justify-content:center;align-items:center;padding:0 20px;display:inline-flex}html.dark .menu-btn{background:var(--surface-bg-soft);color:var(--ink);box-shadow:var(--shadow-soft)}.menu-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.menu-btn:active{transform:scale(.96)}.menu-btn.is-open{filter:brightness(1.12)}.menu-btn svg{display:block}.menu-sep{background:var(--line);height:1px;margin:5px 6px}.menu-section{flex-direction:column;gap:8px;padding:8px 14px 10px;display:flex}.menu-label{text-transform:uppercase;letter-spacing:.12em;color:var(--ink-faint);font-size:10.5px;font-weight:600}.menu-accents{gap:10px;display:flex}.menu-backdrop{z-index:40;position:fixed;inset:0}.menu-dropdown{z-index:41;background:var(--surface-bg);border:1px solid var(--line);min-width:230px;max-width:calc(100vw - 32px);box-shadow:var(--shadow-card-hover);transform-origin:100% 0;animation:menuPop .28s var(--ease-spring) both;border-radius:18px;flex-direction:column;gap:2px;padding:7px;display:flex;position:absolute;top:calc(100% + 10px);right:0}@keyframes menuPop{0%{opacity:0;transform:scale(.9)translateY(-6px)}to{opacity:1;transform:scale(1)translateY(0)}}.menu-accents .swatch{width:24px;height:24px}.menu-item{color:var(--ink-soft);font:inherit;letter-spacing:-.012em;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;font-size:14px;font-weight:500;transition:background-color .15s,color .15s;display:flex}.menu-item:hover{background:var(--bg-subtle);color:var(--ink)}.menu-item:active{transform:scale(.98)}.menu-item.is-active{background:var(--accent-bg);color:var(--accent-readable);font-weight:600}.tabs{flex-wrap:wrap;gap:8px;margin:0 4px 22px;display:flex}.tab-pill{letter-spacing:-.012em;border:1px solid var(--line-strong);color:var(--ink-muted);cursor:pointer;transition:color .2s ease, border-color .2s ease, background-color .25s ease, box-shadow .25s ease, transform .2s var(--ease-spring);background:0 0;border-radius:9999px;padding:10px 18px;font-size:14px;font-weight:600}.tab-pill:hover{color:var(--ink);border-color:var(--ink-faint)}.tab-pill:active{transform:scale(.97)}.tab-pill.is-active{background:var(--cta-bg);color:var(--cta-fg);border-color:var(--cta-bg);box-shadow:var(--cta-shadow)}.idea-filters{flex-wrap:wrap;gap:7px;margin:0 4px 4px;display:flex}.filter-count{background:var(--bg-subtle);font-variant-numeric:tabular-nums;color:var(--ink-faint);border-radius:9999px;margin-left:6px;padding:1px 7px;font-size:11px}.tab-pill.is-active .filter-count{color:inherit;background:#0a0a0b24}.ideas-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;display:grid}.idea-card{animation:popIn .45s var(--ease-out-expo) both;transition:transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo);border-radius:22px;flex-direction:column;gap:10px;padding:20px 20px 18px;display:flex}@media (hover:hover){.idea-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px)}}.idea-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.idea-actions{opacity:0;gap:6px;transition:opacity .2s;display:flex}.idea-card:hover .idea-actions,.idea-card:focus-within .idea-actions{opacity:1}@media (hover:none){.idea-actions{opacity:1}}.idea-title{letter-spacing:-.02em;font-size:17px;font-weight:600;line-height:1.25}.idea-desc{color:var(--ink-muted);white-space:pre-wrap;margin:0;font-size:13.5px;line-height:1.55}.idea-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;margin-top:auto;padding-top:12px;display:flex}.idea-pot-k{color:var(--ink-faint);font-size:12px}.idea-pot-v{letter-spacing:-.01em;color:var(--accent-readable);font-size:17px;font-weight:600}.proj-bar{margin-bottom:4px}.proj-client{color:var(--ink-faint);margin-top:-4px;font-size:13px}.proj-badges{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.proj-month{text-transform:capitalize}.proj-items{flex-direction:column;gap:6px;margin:2px 0;display:flex}.proj-item{align-items:center;gap:9px;font-size:13.5px;display:flex}.proj-item-label{min-width:0;color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.proj-item-amount{color:var(--ink-muted);font-weight:500}.proj-item.done .proj-item-label,.proj-item.done .proj-item-amount{color:var(--ink-faint);text-decoration:line-through}.proj-tax{color:var(--ink-faint);justify-content:space-between;gap:10px;margin-top:-4px;font-size:12px;display:flex}.proj-tax-net{color:var(--accent-readable);font-weight:600}.qi-tax{color:var(--ink-muted);border-top:1px dashed var(--line-strong);flex-direction:column;gap:3px;padding-top:8px;font-size:12.5px;display:flex}.qi-tax b{color:var(--ink)}.inflow-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;display:grid}.inflow-card{animation:popIn .45s var(--ease-out-expo) both;flex-direction:column;gap:12px;padding:18px 20px;display:flex}.inflow-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:10px;padding-bottom:12px;display:flex}.inflow-month{letter-spacing:-.01em;text-transform:capitalize;color:var(--ink);font-size:14px;font-weight:600}.inflow-sum{letter-spacing:-.02em;color:var(--accent-readable);font-size:19px;font-weight:600}.inflow-list{flex-direction:column;gap:7px;display:flex}.inflow-row{justify-content:space-between;align-items:center;gap:10px;font-size:13px;display:flex}.inflow-name{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inflow-amount{color:var(--ink-muted);flex-shrink:0;font-weight:500}.qi-check{border:1.5px solid var(--line-strong);background:var(--surface-bg);cursor:pointer;width:20px;height:20px;color:var(--cta-fg);transition:all .18s var(--ease-out-expo);border-radius:7px;flex-shrink:0;place-items:center;padding:0;display:grid}.qi-check:hover{border-color:var(--accent-ring)}.qi-check.on{background:var(--accent-color);border-color:var(--accent-color)}.qi-block{border:1px solid var(--line);background:var(--bg-subtle);border-radius:16px;flex-direction:column;gap:10px;padding:14px;display:flex}.qi-head{justify-content:space-between;align-items:center;display:flex}.qi-total{color:var(--accent-readable);font-weight:600}.qi-list{flex-direction:column;gap:8px;display:flex}.qi-row{align-items:center;gap:8px;display:flex}.qi-label{flex:1;min-width:0}.qi-amount{text-align:right;flex-shrink:0;width:92px}.qi-del{flex-shrink:0;width:34px;height:34px}.qi-add{align-self:flex-start}
