:root{--lp-bg:#0f172a;--lp-card:#1e293b;--lp-primary:#8b5cf6;--lp-primary-hover:#7c3aed;--lp-text:#f8fafc;--lp-muted:#94a3b8;--lp-border:#ffffff1a}html:not(.app) body{background:var(--lp-bg);color:var(--lp-text);margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}html:not(.app) #root{min-height:0}#landing{-webkit-font-smoothing:antialiased;overflow-x:hidden}#landing *{box-sizing:border-box}.lp-wrap{width:100%;max-width:1080px;margin:0 auto;padding:0 1.25rem}.lp-hero{padding:calc(2rem + env(safe-area-inset-top,0px)) 0 2.5rem;text-align:center;position:relative}.lp-hero:before{content:"";pointer-events:none;z-index:-1;background:radial-gradient(closest-side,#8b5cf659,#0000);height:520px;position:absolute;inset:-20% -10% auto}.lp-logo{align-items:center;gap:.6rem;margin-bottom:2.5rem;font-size:1.25rem;font-weight:700;display:inline-flex}.lp-title{letter-spacing:-.02em;margin:0 0 1rem;font-size:clamp(2.25rem,8vw,4rem);font-weight:800;line-height:1.05}.lp-lead{max-width:34rem;color:var(--lp-muted);margin:0 auto 2rem;font-size:clamp(1.1rem,3.6vw,1.35rem);line-height:1.45}.lp-cta{background:var(--lp-primary);color:#fff;min-height:56px;font:inherit;white-space:nowrap;cursor:pointer;border:none;border-radius:14px;justify-content:center;align-items:center;gap:.6rem;padding:.9rem clamp(1rem,4vw,1.6rem);font-size:clamp(.95rem,4vw,1.05rem);font-weight:700;transition:background .15s,transform .15s;display:inline-flex;box-shadow:0 10px 30px #8b5cf659}.lp-cta:hover{background:var(--lp-primary-hover)}.lp-cta:active{transform:scale(.98)}.lp-cta:disabled{opacity:.7;cursor:default}.lp-shots{padding:1rem 0 3rem}.lp-shots-track{scroll-snap-type:x mandatory;scrollbar-width:none;gap:1.25rem;padding:.5rem 12vw 1rem;display:flex;overflow-x:auto}.lp-shots-track::-webkit-scrollbar{display:none}.lp-shot{scroll-snap-align:center;text-align:center;flex:0 0 76vw;max-width:300px;margin:0}.lp-phone{background:#020617;border:1px solid #ffffff24;border-radius:36px;padding:8px;box-shadow:0 30px 60px #00000080,0 0 0 1px #8b5cf614}.lp-phone img{aspect-ratio:390/844;background:var(--lp-bg);border-radius:28px;width:100%;height:auto;display:block}.lp-shot figcaption{margin-top:1rem;font-size:1.05rem;font-weight:600}@media (width>=820px){.lp-shots-track{justify-content:center;gap:2.5rem;padding:.5rem 1.25rem 1rem;overflow:visible}.lp-shot{flex:0 280px}.lp-shot:nth-child(2){transform:translateY(-1.5rem)}}.lp-h2{letter-spacing:-.01em;text-align:center;margin:0 0 1.5rem;font-size:clamp(1.75rem,5vw,2.5rem);font-weight:800}.lp-subline{text-align:center;color:var(--lp-muted);margin:-1.1rem 0 1.5rem;font-size:.9rem;line-height:1.5}.lp-pros{padding-bottom:3.5rem}.lp-cards{grid-template-columns:minmax(0,1fr);gap:1rem;display:grid}@media (width>=720px){.lp-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}}.lp-card{border:1px solid var(--lp-border);background:#1e293bd9;border-radius:18px;padding:1.5rem}@media (width<=719px){.lp-card:nth-child(6){display:none}}.lp-card-icon{margin-bottom:.75rem;font-size:1.75rem}.lp-card h3{margin:0 0 .5rem;font-size:1.2rem}.lp-card p{color:var(--lp-muted);margin:0;line-height:1.5}.lp-card .lp-note{margin-top:.75rem;font-size:.9rem}.lp-mcp{background:var(--lp-bg);border:1px solid var(--lp-border);border-radius:12px;align-items:center;gap:.5rem;margin-top:1rem;padding:.4rem .4rem .4rem .85rem;display:flex}.lp-mcp code{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--lp-text);flex:1;font-size:.9rem;overflow:hidden}.lp-copy{color:#c4b5fd;font:inherit;cursor:pointer;background:#8b5cf62e;border:none;border-radius:8px;flex:none;padding:.5rem .8rem;font-size:.9rem;font-weight:600}.lp-final{text-align:center;padding:1rem 1.25rem 4rem}.lp-footer{padding:1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom,0px));border-top:1px solid var(--lp-border);text-align:center}.lp-footer a{color:var(--lp-muted);text-decoration:none}.lp-footer a:hover{color:var(--lp-text)}:root{--bg-dark:#0f172a;--bg-card:#1e293b;--bg-card-hover:#334155;--primary:#8b5cf6;--primary-hover:#7c3aed;--success:#10b981;--warning:#f59e0b;--error:#ef4444;--text-main:#f8fafc;--text-muted:#94a3b8;--border-color:#ffffff1a;--radius-lg:16px;--radius-md:12px;--radius-sm:8px;--font-sans:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}body{background-color:var(--bg-dark);color:var(--text-main);font-family:var(--font-sans);min-height:100vh;min-height:-webkit-fill-available;overflow-x:hidden}#root{flex-direction:column;width:100%;min-height:100vh;display:flex}.container{width:100%;max-width:600px;padding:1rem;padding-bottom:calc(6rem + env(safe-area-inset-bottom,0px));flex-direction:column;flex:1;margin:0 auto;display:flex}.center-screen{justify-content:center;align-items:center;padding-bottom:1rem}.muted{color:var(--text-muted)}.app-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem;display:flex}.header-actions{gap:.25rem;display:flex}.app-header h1{font-size:1.5rem;font-weight:700}.app-header p{margin-top:.15rem;font-size:.9rem}.offline-badge{color:var(--warning);border-radius:var(--radius-sm);white-space:nowrap;background:#f59e0b1f;align-items:center;gap:.35rem;padding:.3rem .55rem;font-size:.8rem;display:inline-flex}.tabs{border-radius:var(--radius-md);background:#1e293bb3;gap:.4rem;margin-bottom:1rem;padding:.3rem;display:flex}.tab{border-radius:var(--radius-sm);min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;flex:1;justify-content:center;align-items:center;gap:.4rem;font-family:inherit;font-size:1rem;font-weight:600;transition:background .15s,color .15s;display:inline-flex}.tab-active{background:var(--primary);color:#fff}.tab-panel{flex:1}.list-controls{align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.segmented{border-radius:var(--radius-sm);background:#1e293bb3;gap:.25rem;padding:.2rem;display:flex}.segment,.filter-chip{min-height:36px;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;padding:0 .75rem;font-family:inherit;font-size:.85rem;font-weight:600;transition:background .15s,color .15s}.segment-active{background:var(--bg-card-hover);color:var(--text-main)}.filter-chip{border:1px solid var(--border-color);border-radius:999px;margin-left:auto}.filter-chip-active{color:var(--primary);border-color:var(--primary);background:#8b5cf626}.list{flex-direction:column;gap:.5rem;list-style:none;display:flex}.row{text-align:left;border:1px solid var(--border-color);border-radius:var(--radius-md);width:100%;color:inherit;cursor:pointer;background:#1e293bd9;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1rem;font-family:inherit;transition:background .15s;display:flex}.row:hover{background:var(--bg-card-hover)}.row-static{cursor:default}.row-static:hover{background:#1e293bd9}.row-me{border-color:#8b5cf680}.row-main{flex-direction:column;flex:1;gap:.2rem;min-width:0;display:flex}.row-title{overflow-wrap:anywhere;align-items:center;gap:.4rem;font-size:1rem;font-weight:600;display:flex}.row-sub{color:var(--text-muted);align-items:baseline;gap:.5rem;font-size:.875rem;display:flex}.row-date{opacity:.7;font-size:.8rem}.row-icon{color:var(--text-muted);flex-shrink:0}.transfer-line{gap:.35rem}.chip{text-transform:uppercase;letter-spacing:.03em;color:var(--primary);background:#8b5cf626;border-radius:999px;padding:.15rem .4rem;font-size:.7rem;font-weight:600}.row-transfer{opacity:.6}.row-transfer:hover{opacity:1}.chip-transfer{color:var(--text-muted);background:#94a3b826;flex-shrink:0}.total-row{border:1px solid var(--border-color);border-radius:var(--radius-md);background:#1e293b80;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.75rem;padding:.85rem 1rem;display:flex}.total-main{flex-direction:column;gap:.2rem;min-width:0;display:flex}.total-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-size:.85rem;font-weight:700}.total-note{color:var(--text-muted);opacity:.8;font-size:.8rem}.total-amount{white-space:nowrap;font-size:1.15rem;font-weight:700}.total-amounts{flex-direction:column;align-items:flex-end;gap:.15rem;display:flex}.balance{text-align:right;white-space:nowrap;flex-shrink:0;font-size:.95rem;font-weight:600}.balance-owes{color:var(--warning)}.balance-owed{color:var(--success)}.balance-none{color:var(--text-muted);font-weight:500}.balance-stack{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:.1rem;display:flex}.section{margin-top:1.75rem}.section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:.6rem;font-size:.85rem;font-weight:700}.glass-card{-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-color);border-radius:var(--radius-lg);background:#1e293bd9;padding:1.5rem;box-shadow:0 8px 32px #0000005e}.empty-state{text-align:center;flex-direction:column;align-items:center;gap:.5rem;display:flex}.empty-state h2{font-size:1.15rem}.empty-state p{color:var(--text-muted);font-size:.95rem}.empty-icon{color:var(--text-muted)}.empty-icon.success{color:var(--success)}.btn{border-radius:var(--radius-md);cursor:pointer;border:none;justify-content:center;align-items:center;gap:.5rem;min-height:52px;padding:.85rem 1.25rem;font-family:inherit;font-size:1.05rem;font-weight:600;transition:background .15s,opacity .15s;display:inline-flex}.btn:disabled{opacity:.6;cursor:default}.btn-primary{background:var(--primary);color:#fff;flex:1}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-ghost{color:var(--text-main);border:1px solid var(--border-color);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--bg-card-hover)}.btn-danger{color:var(--error);background:#ef444426}.btn-danger:hover:not(:disabled){background:#ef444440}.btn-small{flex-shrink:0;min-height:38px;padding:.4rem .85rem;font-size:.9rem}.btn-icon-only{flex:none;width:52px;padding:0}.icon-btn{border-radius:var(--radius-sm);width:36px;height:36px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--bg-card-hover);color:var(--text-main)}.fab{right:max(1rem,50vw - 300px + 1rem);bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));background:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;transition:background .15s,transform .1s;display:flex;position:fixed;box-shadow:0 8px 24px #8b5cf673}.fab:hover{background:var(--primary-hover)}.fab:active{transform:scale(.94)}.sheet-backdrop,.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:20;background:#020617b3;display:flex;position:fixed;inset:0}.sheet-backdrop{justify-content:center;align-items:flex-end}.modal-backdrop{z-index:30;justify-content:center;align-items:center;padding:1rem}.sheet{border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:100%;max-width:600px;max-height:92vh;padding-bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));flex-direction:column;gap:1rem;animation:.2s ease-out sheet-up;display:flex;overflow-y:auto}@keyframes sheet-up{0%{opacity:.6;transform:translateY(3%)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.sheet{animation:none}}.sheet-header{justify-content:space-between;align-items:center;display:flex}.sheet-header h2{font-size:1.2rem}.sheet-header .hint{margin-top:.2rem}.sheet-actions{gap:.6rem;margin-top:.25rem;display:flex}.modal{flex-direction:column;gap:.75rem;max-width:380px;display:flex}.modal-actions{gap:.6rem;margin-top:.5rem;display:flex}.modal-actions .btn{flex:1}.field{flex-direction:column;gap:.35rem;display:flex}.field-label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:.8rem;font-weight:600}.input{width:100%;min-height:48px;color:var(--text-main);border:1px solid var(--border-color);border-radius:var(--radius-sm);background:#0f172acc;padding:.7rem .85rem;font-family:inherit;font-size:1rem}.input[type=date]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.input:focus{border-color:var(--primary);outline:none}.input-compact{text-align:right;width:120px;min-height:40px}.checkbox-list{grid-template-columns:repeat(2,1fr);gap:.4rem;display:grid}.checkbox-row{border:1px solid var(--border-color);border-radius:var(--radius-sm);cursor:pointer;background:#0f172acc;align-items:center;gap:.5rem;padding:.6rem .7rem;font-size:.95rem;display:flex}.checkbox-row input{width:18px;height:18px;accent-color:var(--primary)}.amount-list{flex-direction:column;gap:.4rem;display:flex}.amount-row{justify-content:space-between;align-items:center;gap:.75rem;font-size:.95rem;display:flex}.hint{color:var(--text-muted);font-size:.85rem}.hint-ok{color:var(--success)}.hint-warn{color:var(--warning)}.form-error{color:var(--error);border-radius:var(--radius-sm);background:#ef44441f;padding:.6rem .75rem;font-size:.9rem}.transfer-me{color:var(--text-muted)}.transfer-bank{color:var(--text-muted);font-weight:400}.bank-hint{align-items:center;gap:.5rem;margin-bottom:.75rem;padding:.5rem .5rem .5rem 1rem;display:flex}.bank-hint-main{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:.6rem;padding:.35rem 0;display:flex}.app-header-title{flex:1;min-width:0}.app-header-title h1{overflow-wrap:anywhere;align-items:center;gap:.5rem;display:flex}.room-emoji{white-space:nowrap;flex-shrink:0;font-size:1.5rem}.room-row .row-main{flex:1;min-width:0}.row-sub{align-items:center;gap:.5rem;display:flex}.row-chevron{color:var(--text-muted);flex-shrink:0}.chip-muted{color:var(--text-muted);background:#94a3b826}.avatar{object-fit:cover;background:var(--bg-card-hover);border-radius:50%;flex-shrink:0;width:36px;height:36px}.avatar-fallback{color:var(--text-muted);-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.login-card{text-align:center;flex-direction:column;gap:1rem;width:100%;max-width:380px;padding:2rem 1.5rem;display:flex}.login-title{letter-spacing:-.02em;font-size:2rem;font-weight:700}.btn-telegram{justify-content:center;gap:.5rem;width:100%}.dev-login{text-align:left;border-top:1px dashed var(--border-color);flex-direction:column;gap:.5rem;padding-top:1rem;display:flex}.dev-login-row{align-items:center;gap:.5rem;display:flex}.dev-login-row .input{flex:1;min-width:0}.switch-row{cursor:pointer;align-items:center;gap:.75rem;display:flex}.switch{appearance:none;cursor:pointer;background:#94a3b84d;border-radius:999px;flex-shrink:0;width:46px;height:28px;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch:checked{background:var(--primary)}.switch:checked:after{transform:translate(18px)}.switch:disabled{opacity:.5;cursor:default}.switch:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.amount-input-row{align-items:stretch;gap:.5rem;display:flex}.amount-input-row .input{flex:1;min-width:0}.currency-btn{min-width:56px;min-height:48px;font-size:1.1rem;font-weight:700}.currency-field{text-align:left;cursor:pointer;align-items:center;gap:.6rem;display:flex}.currency-field:disabled{cursor:default;opacity:.7}.currency-code{letter-spacing:.03em;min-width:2.6rem;font-weight:700}.currency-symbol{color:var(--text-muted);margin-left:auto;font-weight:600}.currency-sheet{width:100%;max-width:420px;max-height:80vh;overflow:hidden}.currency-search{align-items:center;gap:.5rem;display:flex}.currency-scroll{flex-direction:column;gap:.4rem;min-height:0;display:flex;overflow-y:auto}.currency-heading{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-top:.4rem;font-size:.8rem;font-weight:700}.currency-row{padding:.6rem .85rem}
