:root{--bg:#0a1018;--surface:#121b26;--surface-alt:#1a2533;--fg:#e8eef2;--muted:#8a98a8;--line:#223042;--accent:#19c39a;--accent-soft:#19c39a24;--negative:#ff6b5e;--brand:#19c39a;--radius:18px;--border:0 solid transparent;--shadow:none;--hero:#121b26;--hero-border:1px solid #223042;-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.35}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--fg);margin:0}body{-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none;min-height:100dvh}@media (display-mode:standalone){html{min-height:min(100lvh, calc(100% + env(safe-area-inset-top)))}}h1,h2,p{margin:0}button,input,select{font:inherit;color:inherit}a{color:inherit;text-decoration:none}.muted{color:var(--muted)}.small{font-size:12.5px}.center{text-align:center}.up{color:var(--accent)}.down{color:var(--negative)}.dim{opacity:.5}.spacer{flex:1}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.splash{min-height:100dvh}.top-bar{z-index:2;padding:calc(env(safe-area-inset-top) + 8px) max(12px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));background:var(--bg);align-items:center;gap:8px;display:flex;position:sticky;top:0}.top-bar h1{letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-size:22px;font-weight:800;overflow:hidden}.top-bar img{border-radius:8px}.icon-button{width:44px;height:44px;color:var(--fg);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.icon-button:active{background:var(--surface-alt)}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin{animation:none}}.page{max-width:720px;padding:4px max(14px, env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 28px) max(14px, env(safe-area-inset-left));margin:0 auto}.card,.hero{background:var(--surface);border:var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.hero{background:var(--hero);border:var(--hero-border);padding:16px 18px}.hero.compact{padding:14px 18px}.total{letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:2px;font-size:clamp(30px,9vw,40px);font-weight:800}.hero.compact .total{margin:0;font-size:clamp(26px,8vw,34px)}.hero-line{font-variant-numeric:tabular-nums;margin-top:6px;font-weight:600}.status{margin-top:8px}.pills{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.hero .pills{margin:8px 0 0}.hero .pills:empty{display:none}.pill{background:var(--surface-alt);color:var(--muted);border-radius:99px;align-items:center;padding:4px 10px;font-size:12.5px;font-weight:600;display:inline-flex}.pill-accent{background:var(--accent-soft);color:var(--accent)}.pill-negative{color:var(--negative)}.pill.select select{color:inherit;background:0 0;border:0;font-weight:600}.section-label{letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);margin:0;padding:18px 4px 8px;font-size:11px;font-weight:600}.section-label.inline{padding:0}.section-row{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.section-row>span{text-align:right;padding-right:4px}.notice{background:var(--surface-alt);border-radius:12px;margin:12px 0 0;padding:10px 14px;font-size:14px}.chart-card{margin-top:12px;padding:14px 14px 10px}.chart-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.chart-box{position:relative;overflow:hidden}.chart-box svg{display:block}.chart-empty{text-align:center;justify-content:center;align-items:center;height:100%;margin:0;font-size:14px;display:flex}.chart-foot{font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin-top:6px;font-size:11.5px;display:flex}.segmented{background:var(--surface-alt);border-radius:99px;padding:2px;display:inline-flex}.segmented button{min-width:44px;min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:99px;padding:0 10px;font-size:13px;font-weight:600}.segmented button.on{background:var(--surface);color:var(--fg)}.list{overflow:hidden}.row{border-top:1px solid var(--line);align-items:center;gap:12px;min-height:60px;padding:10px 12px 10px 14px;display:flex}.row:first-child{border-top:0}a.row:active{background:var(--surface-alt)}.row-main{flex-direction:column;flex:1;min-width:0;display:flex}.row-title{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.row-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.row-end{font-variant-numeric:tabular-nums;flex-direction:column;flex:none;align-items:flex-end;max-width:48%;display:flex}.amount{white-space:nowrap;font-weight:600}.change{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:500}.change.up{color:var(--accent)}.change.down{color:var(--negative)}.hero-line .change{font-size:inherit;font-weight:inherit}.chevron{color:var(--muted);flex:none;margin-left:-6px}.avatar{letter-spacing:-.02em;border-radius:12px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;font-size:12px;font-weight:700;display:inline-flex}.avatar-small{font-size:10px}.share-bar{background:var(--line);border-radius:99px;width:96px;max-width:100%;height:3px;margin-top:4px;display:block;overflow:hidden}.share-bar>span{border-radius:99px;height:100%;display:block}.empty{text-align:center;padding:22px 16px}.foot{margin-top:14px}.login{max-width:420px;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 40px) 20px calc(env(safe-area-inset-bottom) + 24px);flex-direction:column;align-items:center;gap:14px;margin:0 auto;display:flex}.login .logo{border-radius:18px}.login h1{font-size:28px;font-weight:800}.form{flex-direction:column;gap:14px;width:100%;padding:18px;display:flex}.form label{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.form input{border:1px solid var(--line);background:var(--bg);min-height:48px;color:var(--fg);border-radius:12px;padding:0 14px;font-size:16px}.form input:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.primary{background:var(--brand);min-height:48px;color:var(--bg);cursor:pointer;border:0;border-radius:12px;font-weight:700}.primary:disabled{opacity:.6;cursor:default}.link{min-height:44px;color:var(--brand);cursor:pointer;background:0 0;border:0;padding:0 12px;font-weight:600}.error{color:var(--negative);font-size:14px}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
