@font-face{font-family:Onest;font-weight:100 900;font-display:swap;src:url(/fonts/onest-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}@font-face{font-family:Onest;font-weight:100 900;font-display:swap;src:url(/fonts/onest-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}:root{--bg: #fff;--ink: #0b0b0c;--muted: #6b6b70;--surface: #f0f0f3;--surface-2: #e4e4e9;--card: #fff;--accent: #72d45f;--accent-ink: #0b0b0c;--deep: #17452c;--deep-2: #2f6f3f;--black: #0b0b0c;--ok: #14803a;--warn: #9a6b00;--danger: #d62f26;--radius: 20px;--radius-lg: 24px;--gap: 16px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:var(--bg);color:var(--ink)}body{font-family:Onest,system-ui,-apple-system,Segoe UI,sans-serif;font-size:16px;line-height:1.4;-webkit-font-smoothing:antialiased;overscroll-behavior:none}button,input,textarea{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer;padding:0}h1,h2,h3,p{margin:0}.app{max-width:560px;margin:0 auto;min-height:100dvh;padding:calc(var(--gap) + env(safe-area-inset-top)) var(--gap) calc(104px + env(safe-area-inset-bottom))}.app.chat-mode{padding-bottom:0;display:flex;flex-direction:column;height:100dvh}.app:has(.home){padding-left:0;padding-right:0;padding-bottom:0}.title{font-size:28px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;line-height:1.05}.eyebrow{font-size:13px;color:var(--muted);font-weight:500}.muted{color:var(--muted)}.stack{display:flex;flex-direction:column;gap:var(--gap)}.stack-sm{display:flex;flex-direction:column;gap:8px}.row{display:flex;align-items:center;gap:8px}.between{justify-content:space-between}.grow{flex:1;min-width:0}.center{text-align:center}.who{color:var(--muted);font-size:14px}.hero{position:relative;overflow:hidden;background:var(--deep);color:#fff;border-radius:var(--radius-lg);padding:24px}.hero:before,.hero:after{content:"";position:absolute;background:var(--deep-2);border-radius:16px}.hero:before{width:72px;height:96px;right:40px;top:-16px}.hero:after{width:96px;height:120px;right:-24px;top:32px}.hero>*{position:relative;z-index:1}.hero .eyebrow{color:#fff;opacity:.75}.hero .big{font-size:40px;font-weight:800;letter-spacing:-.01em;line-height:1.05;margin:8px 0 16px;word-break:break-word}.hero .big small{font-size:18px;font-weight:600;opacity:.75;margin-left:4px}.tile{background:var(--surface);border-radius:var(--radius);padding:16px;text-align:left;width:100%;display:block}.tile.press:active,.btn:active,.chip:active{transform:scale(.98)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:16px;background:var(--black);color:#fff;font-weight:700;transition:transform .12s}.btn.accent{background:var(--accent);color:var(--accent-ink)}.btn.ghost{background:var(--surface);color:var(--ink)}.btn.danger{background:var(--danger);color:#fff}.btn.block{width:100%}.btn.small{min-height:40px;padding:0 16px;font-size:15px}.btn[disabled]{opacity:.4;pointer-events:none}.seg{display:flex;background:var(--surface);border-radius:16px;padding:4px;gap:4px}.seg button{flex:1;min-height:40px;border-radius:12px;color:var(--muted);font-weight:600;font-size:15px;transition:background .2s,color .2s}.seg button.on{background:var(--black);color:#fff}.seg.light{background:var(--surface-2);border-radius:12px;padding:3px}.seg.light button{flex:none;padding:0 12px;min-height:32px;border-radius:9px;font-size:14px;white-space:nowrap}.seg.light button.on{background:#fff;color:var(--ink)}.chip{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:12px;background:var(--surface);font-weight:600;font-size:15px;transition:transform .12s,background .2s}.chip.on{background:var(--accent);color:var(--accent-ink)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips .chip{flex:1;justify-content:center;padding:0 8px;white-space:nowrap}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:700;background:var(--surface-2)}.badge.ok{color:var(--ok)}.badge.warn{color:var(--warn)}.badge.danger{color:var(--danger)}.badge.muted{color:var(--muted)}.field{display:flex;flex-direction:column;gap:8px}.field label{font-size:13px;color:var(--muted);font-weight:500}.input{width:100%;min-height:52px;padding:0 16px;border-radius:14px;background:var(--surface);border:0;outline:none;font-size:17px}textarea.input{padding:16px;min-height:112px;resize:none;line-height:1.4}.input:focus{outline:2px solid var(--accent);outline-offset:-2px}.hint{font-size:13px;color:var(--muted)}.hint.err{color:var(--danger)}.hint.ok{color:var(--ok)}.item{display:flex;align-items:center;gap:16px}.item .t{font-weight:700}.item .s{font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.amount{font-weight:800;font-size:18px;white-space:nowrap}.facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 8px}.fact .k{font-size:13px;color:var(--muted)}.fact .v{font-weight:700;word-break:break-word}.desc{white-space:pre-wrap;word-break:break-word}.avatar{width:64px;height:64px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:inline-flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;text-transform:uppercase;flex:none;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stat{background:var(--surface);border-radius:var(--radius);padding:16px}.stat .v{font-size:26px;font-weight:800}.stat .k{font-size:13px;color:var(--muted)}.nav{position:fixed;left:50%;transform:translate(-50%);bottom:calc(16px + env(safe-area-inset-bottom));display:flex;gap:8px;padding:6px;background:var(--black);border-radius:999px;z-index:5}.nav button{width:52px;height:52px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#26262a;color:#fff;transition:background .2s,color .2s,transform .12s}.nav button i{display:inline-flex;width:24px;height:24px}.nav button svg{width:24px;height:24px}.nav button.on{color:var(--accent-ink)}.nav button.on i{animation:pop .35s ease}.nav button:active{transform:scale(.94)}.sheet-back{position:fixed;inset:0;background:#0006;z-index:20;display:flex;align-items:flex-end;justify-content:center;animation:fade .2s ease both}.sheet{width:100%;max-width:560px;background:#fff;border-radius:24px 24px 0 0;padding:24px 16px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px;max-height:90dvh;overflow:auto;animation:rise .28s cubic-bezier(.2,.9,.3,1) both}.sheet h2{font-size:22px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}.toast{position:fixed;left:50%;top:calc(16px + env(safe-area-inset-top));transform:translate(-50%);z-index:30;background:var(--black);color:#fff;font-weight:700;padding:12px 20px;border-radius:14px;max-width:calc(100% - 32px);text-align:center;animation:drop .25s ease both}.toast.err{background:var(--danger)}.chat{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:8px 0 16px}.day{align-self:center;padding:4px 12px;border-radius:8px;background:var(--surface);color:var(--muted);font-size:12px;margin:8px 0}.msg{max-width:82%;padding:8px 16px;border-radius:20px;word-break:break-word;white-space:pre-wrap;animation:msg-in .22s ease both}.msg .time{font-size:11px;opacity:.6;text-align:right;margin-top:2px;white-space:normal}.msg .name{font-size:12px;font-weight:700;opacity:.7}.msg.me{align-self:flex-end;background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:6px;transform-origin:bottom right}.msg.them{align-self:flex-start;background:var(--surface);color:var(--ink);border-bottom-left-radius:6px;transform-origin:bottom left}.msg.mod{align-self:flex-start;background:#ffe58a;color:var(--ink);border-bottom-left-radius:6px;transform-origin:bottom left}.composer{display:flex;align-items:flex-end;gap:8px;padding:8px 0 calc(16px + env(safe-area-inset-bottom));background:var(--bg)}.composer .input{min-height:48px;padding:12px 16px;border-radius:24px;max-height:120px;resize:none;line-height:1.3}.send{width:48px;height:48px;flex:none;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:inline-flex;align-items:center;justify-content:center;transition:transform .15s,opacity .2s}.send svg{width:22px;height:22px}.send[disabled]{opacity:.4}.send.ready{animation:pop .3s ease}.send:active{transform:scale(.9)}.empty{text-align:center;color:var(--muted);padding:32px 16px}.spinner{width:28px;height:28px;border-radius:50%;border:3px solid var(--surface-2);border-top-color:var(--accent);animation:spin .8s linear infinite;margin:32px auto}.notice{background:var(--surface);border-radius:var(--radius);padding:16px;color:var(--muted);font-size:14px}.notice b{color:var(--ink)}.rule{display:flex;gap:16px;align-items:flex-start}.rule .n{width:32px;height:32px;flex:none;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-weight:800;display:inline-flex;align-items:center;justify-content:center}.home{min-height:calc(100dvh - 16px);display:flex;flex-direction:column}.home .top{padding:0 16px 24px}.home .head{display:flex;align-items:center;padding:8px 0 16px}.balance{text-align:center;padding:8px 0 24px}.balance .big{font-size:56px;font-weight:800;line-height:1.05;margin:8px 0;letter-spacing:-.01em}.actions{display:flex;justify-content:center;gap:32px}.action{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:72px;transition:transform .12s,opacity .2s}.action:active{transform:scale(.96)}.action[disabled]{opacity:.4;pointer-events:none}.action b{font-size:14px}.circle{width:64px;height:64px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:var(--accent-ink)}.circle svg{width:26px;height:26px}.panel{position:relative;flex:1;background:var(--surface);border-radius:28px 28px 0 0;padding:32px 16px calc(120px + env(safe-area-inset-bottom));animation:rise .35s ease both}.panel:before{content:"";position:absolute;top:10px;left:50%;width:48px;height:4px;margin-left:-24px;border-radius:2px;background:var(--accent)}.panel h2{font-size:22px;font-weight:800}.panel .tile{background:#fff;border-radius:16px}.panel .badge{background:var(--surface)}.card-green{position:relative;overflow:hidden;background:var(--deep);color:#fff;border-radius:20px;padding:16px;margin-bottom:16px}.card-green:after{content:"";position:absolute;right:-16px;top:-16px;width:88px;height:112px;background:var(--deep-2);border-radius:16px}.card-green>*{position:relative;z-index:1}.card-green .eyebrow{color:#fff;opacity:.75}.card-green .v{font-size:28px;font-weight:800;margin-top:4px}.app.chat-mode>.screen{flex:1;min-height:0;display:flex;flex-direction:column}.screen{animation:enter .28s ease both}@keyframes enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes msg-in{0%{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}@keyframes drop{0%{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%)}}@keyframes pop{0%{transform:scale(.8)}60%{transform:scale(1.12)}to{transform:scale(1)}}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.backdrop .o{animation:none!important}}@media(max-width:380px){.balance .big{font-size:46px}.title{font-size:24px}}.seg{position:relative}.seg .thumb{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px) / var(--n));border-radius:12px;background:var(--black);transform:translate(calc(var(--i) * 100%));transition:transform .3s cubic-bezier(.3,.9,.3,1)}.seg.light .thumb{top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / var(--n));border-radius:9px;background:#fff}.seg button{position:relative;z-index:1;background:none!important}.seg button.on{color:#fff}.seg.light button.on{color:var(--ink)}.seg.light{display:inline-flex}.seg.light button{flex:none;min-width:84px}.nav{position:fixed}.nav .thumb{position:absolute;top:6px;left:6px;width:52px;height:52px;border-radius:50%;background:var(--accent);transform:translate(calc(var(--i) * 60px));transition:transform .35s cubic-bezier(.3,.9,.3,1)}.nav button{position:relative;z-index:1;background:none}.nav button.on{background:none}.nav button:not(.on){color:#fff}.screen{animation:enter .42s cubic-bezier(.2,.8,.2,1) both}@keyframes enter{0%{opacity:0;transform:translate(28px)}to{opacity:1;transform:none}}.panel .tile{animation:row-in .4s cubic-bezier(.2,.8,.2,1) both}.panel .tile:nth-child(2){animation-delay:.05s}.panel .tile:nth-child(3){animation-delay:.1s}.panel .tile:nth-child(4){animation-delay:.15s}.panel .tile:nth-child(n+5){animation-delay:.2s}@keyframes row-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.seg .thumb,.nav .thumb{transition-duration:.45s}.nav button i{transition:transform .3s}.nav button.on i{animation:pop .45s ease}.home .top{position:relative;overflow:hidden}.home .top>*:not(.backdrop){position:relative;z-index:1}.backdrop{position:absolute;inset:0;z-index:0;color:#0b0b0c12;pointer-events:none}.backdrop .o{position:absolute;animation:float 7s ease-in-out infinite alternate}.o1{width:104px;left:-22px;top:64px;--r: -14deg}.o2{width:88px;right:-20px;top:40px;--r: 12deg;animation-delay:-2s}.o3{width:56px;left:28px;top:224px;--r: 8deg;animation-delay:-4s}.o4{width:76px;right:16px;top:214px;--r: -10deg;animation-delay:-1s}.o5{width:48px;left:46%;top:8px;--r: 20deg;animation-delay:-3s}@keyframes float{0%{transform:translateY(-6px) rotate(var(--r))}to{transform:translateY(8px) rotate(calc(var(--r) + 6deg))}}.sheet.tall{height:94dvh;max-height:94dvh;gap:16px;padding-top:16px}.sheet-top{display:flex;align-items:center;justify-content:space-between}.round{width:44px;height:44px;border-radius:50%;background:var(--surface);display:inline-flex;align-items:center;justify-content:center;flex:none;transition:transform .12s}.round:active{transform:scale(.94)}.round svg{width:22px;height:22px}.ghost-spacer{background:none}.amount-box{background:var(--surface);border-radius:28px;padding:24px 16px;text-align:center;display:flex;flex-direction:column;gap:8px}.amount-value{font-size:52px;font-weight:800;letter-spacing:-.01em;line-height:1.1;word-break:break-all}.amount-value small{font-size:18px;font-weight:600;color:var(--muted);margin-left:6px}.amount-value.placeholder{color:#b9b9bf}.presets{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.presets .chip{flex:none;background:var(--surface)}.keys{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;flex:1;min-height:0}.key{background:var(--surface);border-radius:20px;font-size:26px;font-weight:600;display:flex;align-items:center;justify-content:center;min-height:52px;transition:transform .1s,background .15s}.key:active{transform:scale(.95);background:var(--surface-2)}.key svg{width:26px;height:26px}.big-btn{min-height:56px;font-size:17px;border-radius:28px}.link{font-weight:600;font-size:15px;display:inline-flex;gap:4px}.page-title{font-size:20px;font-weight:700}.pills{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}.pill{flex:none;min-height:40px;padding:0 16px;border-radius:20px;background:var(--card);box-shadow:inset 0 0 0 1px var(--surface-2);color:var(--ink);font-weight:500;transition:background .25s,transform .12s}.pill.on{background:var(--accent);box-shadow:none}.pill:active{transform:scale(.96)}.tx-list{display:flex;flex-direction:column;animation:enter .35s ease both}.group{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);text-transform:uppercase;margin:16px 0 8px}.group i{flex:1;height:1px;background:var(--surface-2)}.tx{display:flex;align-items:center;gap:12px;padding:8px 0;text-align:left;width:100%;animation:row-in .4s cubic-bezier(.2,.8,.2,1) both}.tx-name,.tx-right{display:flex;flex-direction:column}.tx-name b,.tx-right b{font-size:16px;font-weight:600}.tx-name small,.tx-right small{font-size:13px;color:var(--muted)}.tx-right{align-items:flex-end}.tx-right small.ok{color:var(--ok)}.tx-right small.warn{color:var(--warn)}.tx-right small.danger{color:var(--danger)}.screen{animation-fill-mode:backwards}.key{min-height:44px}.amount-box{padding:16px}.amount-value{font-size:48px}.failure{min-height:70dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;color:var(--muted);padding:0 24px}.failure p{max-width:280px}.failure-icon{width:72px;height:72px;border-radius:50%;background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;justify-content:center}.failure-icon svg{width:32px;height:32px}.st{font-size:13px;font-weight:600}.st.ok{color:var(--ok)}.st.warn{color:var(--warn)}.st.danger{color:var(--danger)}.st.muted{color:var(--muted)}.backdrop{color:#0b0b0c0e}.backdrop .o{height:auto}.failure{min-height:80dvh}.page-head{padding-bottom:8px}.profile-head{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0;text-align:center}.menu{display:flex;flex-direction:column;gap:8px}.menu-row{display:flex;align-items:center;gap:16px;width:100%;padding:12px 16px 12px 12px;background:var(--surface);border-radius:20px;text-align:left;transition:transform .12s}.menu-row:active{transform:scale(.98)}.menu-text{display:flex;flex-direction:column;min-width:0}.menu-text b{font-size:16px;font-weight:600}.menu-text small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.circle.small{width:44px;height:44px;flex:none}.circle.small svg{width:22px;height:22px}.chev{display:inline-flex;width:20px;height:20px;color:var(--muted)}.chev svg{width:20px;height:20px}.stats.three{grid-template-columns:repeat(3,1fr)}.stats.three .stat{padding:16px 12px}.stats.three .stat .v{font-size:22px}.menu.lower{margin-top:24px}button:focus,button:focus-visible{outline:none}.sheet.tall{height:auto;max-height:94dvh;overflow-y:auto;gap:12px}.amount-box{height:148px;justify-content:center;gap:8px;padding:0 16px;flex:none}.amount-value{height:56px;line-height:56px;font-size:48px;overflow:hidden;white-space:nowrap;text-overflow:clip;word-break:normal}.amount-box .hint{height:20px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.presets{flex:none}.keys{flex:none;grid-auto-rows:56px}.key{min-height:0;height:56px}.big-btn{flex:none;margin-top:4px}.amount-value{display:flex;align-items:baseline;justify-content:center;gap:6px;height:64px;line-height:1;overflow:visible;white-space:nowrap}.amount-value .num{min-width:0}.amount-value small{font-size:18px;line-height:1;margin:0;flex:none}.amount-box{height:156px}.amount-value{align-items:center}.amount-value small{align-self:flex-end;margin-bottom:14px}.amount-value{display:grid;grid-auto-flow:column;justify-content:center;align-items:end;column-gap:6px}.amount-value .num{margin-bottom:6px;align-self:end}.amount-value small{align-self:end;margin-bottom:14px}.amount-box{height:auto;min-height:0;display:block;padding:24px 16px 16px;text-align:center}.amount-value{display:block;height:64px;line-height:64px;overflow:visible;white-space:nowrap;margin:0 0 12px;font-size:18px}.amount-value .num{font-size:52px;font-weight:800;line-height:64px;letter-spacing:-.01em;vertical-align:baseline}.amount-value small{display:inline;font-size:18px;line-height:1;font-weight:600;color:var(--muted);margin:0 0 0 6px;vertical-align:baseline;align-self:auto}.amount-box .hint{display:block;height:20px;line-height:20px;margin:0}.profile-head{padding:0;gap:4px}.profile-head .page-title{font-size:22px}.stats.three .stat{padding:12px}.menu-row{padding:10px 14px 10px 10px}
