:root{--bg:#0a0e13;--surface:#121820;--surface-2:#19212b;--border:#243040;--text:#e8eef5;--muted:#8a97a8;--accent:#34d399;--accent-ink:#04281c;--bad:#f87171;--warn:#fbbf24;--radius:18px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}body{font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}button,input,select{font:inherit;color:inherit}h1,h2,h3,p{margin:0}h1{letter-spacing:-.02em;font-size:28px;font-weight:700}h2{font-size:16px;font-weight:600}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.splash{min-height:100dvh}.shell,.page{max-width:520px;margin:0 auto}.page{padding:calc(20px + env(safe-area-inset-top)) 16px 24px;flex-direction:column;gap:16px;display:flex}.shell{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.top{padding-top:4px}.eyebrow{color:var(--muted);letter-spacing:.02em;margin-bottom:4px;font-size:13px}.lead{color:var(--muted);line-height:1.5}.muted{color:var(--muted)}.small{font-size:13px}.strong{font-weight:600}.pos{color:var(--accent)}.error{color:var(--bad);font-size:14px}.section-title{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:4px 0 8px;font-size:13px;font-weight:600}.between{justify-content:space-between;align-items:center;gap:8px;display:flex}.row{align-items:flex-end;gap:12px;display:flex}.grow{flex:1;min-width:0}hr{border:0;border-top:1px solid var(--border);width:100%;margin:8px 0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:12px;padding:16px;display:flex}.card.hero{background:linear-gradient(160deg, #14201d 0%, var(--surface) 60%);gap:6px}.card.danger{border-color:#4a2626}.hero-number{letter-spacing:-.03em;font-size:40px;font-weight:700;line-height:1.1}.small-hero{margin:0 0 12px;font-size:32px}.empty{align-items:flex-start}.stats{gap:24px;display:flex}.stat{font-size:22px;font-weight:650}.bar{background:var(--surface-2);border-radius:999px;height:8px;overflow:hidden}.bar-fill{background:var(--accent);border-radius:999px;height:100%;transition:width .6s cubic-bezier(.2,.8,.2,1)}.dot{background:var(--accent);vertical-align:middle;border-radius:50%;width:7px;height:7px;margin-left:4px;display:inline-block}.banner{text-align:left;cursor:pointer;background:#1b2a24;border:1px solid #285341;border-radius:14px;align-items:center;gap:12px;padding:12px 14px;line-height:1.4;display:flex}.list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.card.list{gap:0;padding:4px 16px}.list-row,.txn{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:12px 0;display:flex}.list>:last-child{border-bottom:0}.txn-icon{background:var(--surface-2);border-radius:12px;flex:none;place-items:center;width:36px;height:36px;font-size:18px;display:grid}.txn-main{flex:1;min-width:0}.txn-title{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.txn-sub{color:var(--muted);font-size:13px}.txn-amount{white-space:nowrap;font-weight:650}.txn-amount.muted{color:var(--muted)}.grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.account-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;flex-direction:column;align-items:flex-start;gap:2px;min-height:120px;padding:14px;transition:transform .12s,border-color .12s;display:flex}.account-card:active{transform:scale(.98)}.account-card:hover{border-color:#33465c}.account-icon{margin-bottom:8px;font-size:22px}.account-name{font-weight:600}.account-balance{margin-top:auto;padding-top:10px;font-size:18px;font-weight:700}.form-card{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:12px;padding:14px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field>span{color:var(--muted);font-size:13px}input,select{background:var(--bg);border:1px solid var(--border);border-radius:12px;width:100%;min-height:46px;padding:12px}input::placeholder{color:#5b6879}.inline-input{background:0 0;border:1px solid #0000;min-height:40px;padding:8px;font-weight:600}.inline-input:focus{background:var(--bg);border-color:var(--border)}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips.scroll{scrollbar-width:none;flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.chips.scroll::-webkit-scrollbar{display:none}.chip{background:var(--bg);border:1px solid var(--border);cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;padding:9px 14px}.chip.on{border-color:var(--accent);background:#34d39924}.pill{background:var(--surface-2);border:1px solid var(--border);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:13px}.pill.on{border-color:var(--accent);color:var(--accent);background:#34d39924}.btn{background:var(--accent);color:var(--accent-ink);cursor:pointer;border:0;border-radius:14px;min-height:50px;padding:14px 18px;font-size:16px;font-weight:700;transition:transform .1s,filter .1s}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.45;cursor:default}.btn.secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}.btn.danger-btn{color:var(--bad);background:0 0;border:1px solid #5a2d2d}.icon-btn{cursor:pointer;width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:none}.icon-btn:hover{background:var(--surface-2)}.icon-btn.subtle{opacity:.6}.tabbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--border);padding:6px 12px calc(6px + env(safe-area-inset-bottom));background:#0a0e13eb;justify-content:center;gap:0;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar button{max-width:160px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:center;gap:2px;padding:6px;font-size:12px;display:flex}.tabbar button span{font-size:20px;line-height:1}.tabbar button.on{color:var(--accent)}.fab{right:max(20px,50% - 240px);bottom:calc(84px + env(safe-area-inset-bottom));background:var(--accent);width:58px;height:58px;color:var(--accent-ink);cursor:pointer;border:0;border-radius:50%;font-size:32px;font-weight:500;line-height:1;transition:transform .12s;position:fixed;box-shadow:0 8px 24px #34d39947}.fab:active{transform:scale(.94)}.sheet-backdrop{z-index:20;background:#0000008c;justify-content:center;align-items:flex-end;animation:.18s fade;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border:1px solid var(--border);width:100%;max-width:520px;max-height:92dvh;padding:8px 16px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;flex-direction:column;gap:14px;animation:.24s cubic-bezier(.2,.8,.2,1) rise;display:flex;overflow-y:auto}.sheet-grip{background:var(--border);border-radius:4px;width:40px;height:4px;margin:4px auto 0}.sheet-head{justify-content:space-between;align-items:center;display:flex}.segmented{background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:4px;display:flex}.segmented button{cursor:pointer;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:1;padding:10px;font-weight:600}.segmented button.on{background:var(--surface-2);color:var(--text)}.amount-wrap{align-items:baseline;gap:8px;padding:8px 4px;display:flex}.amount-symbol{color:var(--muted);font-size:32px}.amount-input{letter-spacing:-.02em;background:0 0;border:0;min-height:56px;padding:0;font-size:44px;font-weight:700}.amount-input:focus{outline:none}.toast{left:50%;top:calc(14px + env(safe-area-inset-top));pointer-events:none;background:var(--text);color:var(--bg);z-index:30;border-radius:999px;padding:10px 16px;font-size:14px;font-weight:600;animation:.2s drop;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #0006}.setup{justify-content:center;min-height:100dvh}.setup .btn{margin-top:4px}.logo-ring{border:9px solid var(--surface-2);border-top-color:var(--accent);border-right-color:var(--accent);border-radius:50%;width:72px;height:72px;transform:rotate(-30deg)}.bullets{color:var(--muted);margin:0;padding-left:20px;line-height:1.6}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(24px)}}@keyframes drop{0%{opacity:0;transform:translate(-50%,-16px)}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.btn.compact{border-radius:12px;min-height:40px;padding:8px 14px;font-size:14px}.bill-row{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:0;display:flex}.bill-right{text-align:right;flex-direction:column;align-items:flex-end;gap:4px;display:flex}.status{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.status.soon{color:var(--warn);background:#fbbf2424}.status.overdue{color:var(--bad);background:#f8717129}.late-text{color:var(--bad);font-weight:600}.badge{background:var(--surface-2);color:var(--muted);vertical-align:middle;border-radius:999px;margin-left:8px;padding:2px 7px;font-size:11px;font-weight:600}.check{cursor:pointer;align-items:center;gap:10px;display:flex}.check input{width:20px;height:20px;min-height:0;accent-color:var(--accent);flex:none}.preview{background:var(--surface-2);border:1px dashed var(--border);border-radius:14px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.due-card{text-align:left;cursor:pointer;width:100%;color:inherit;font:inherit}.mini-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.mini-list li{align-items:center;gap:10px;display:flex}.hint{margin-top:-6px;line-height:1.4}.score-card{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.pillar{border-bottom:1px solid var(--border);gap:6px;padding:12px 14px;display:grid}.pillar:last-child{border-bottom:0}.insight{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.insight:last-child{border-bottom:0}.tone{background:var(--muted);border-radius:50%;flex:none;width:10px;height:10px;margin-top:6px}.tone.good{background:var(--accent)}.tone.warn{background:var(--warn)}.tone.bad{background:var(--bad)}.chip.tpl{align-items:center;gap:6px;padding:0;display:inline-flex}.tpl-use,.tpl-del{color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:8px 4px 8px 12px}.tpl-del{color:var(--muted);padding:8px 12px 8px 4px}.gauges{gap:14px;margin:0;padding:0;list-style:none;display:grid}.gauge{gap:6px;display:grid}.gauge-bar{background:var(--surface-2);border-radius:999px;height:8px;position:relative;overflow:visible}.gauge-fill{background:var(--accent);border-radius:999px;height:100%;transition:width .6s cubic-bezier(.2,.8,.2,1)}.gauge.watch .gauge-fill{background:var(--warn)}.gauge.danger .gauge-fill{background:var(--bad)}.gauge-pace{background:var(--text);opacity:.6;border-radius:2px;width:2px;height:14px;position:absolute;top:-3px}.status-pill{background:var(--surface-2);color:var(--accent);border-radius:999px;padding:2px 8px;font-size:12px}.status-pill.watch{color:var(--warn)}.status-pill.danger{color:var(--bad)}
