.bottom-nav button{color:#ffffffe6;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:60px;padding:7px 5px;font-size:12px;font-weight:750;line-height:1;text-decoration:none;transition:background .15s,color .15s,transform .15s;display:flex}.bottom-nav button.active{color:#15803d;background:#fff;box-shadow:0 2px 8px #0000001f}@media (width<=420px){.bottom-nav{border-radius:20px;gap:4px;width:calc(100% - 16px);padding:6px}.bottom-nav button{min-height:58px;padding:6px 3px;font-size:11px}}@media (width>=700px){.bottom-nav{bottom:18px}}:root{color:#102a43;background:#f7fbff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}.app{background:#fff;max-width:520px;min-height:100vh;margin:auto;padding:18px 18px 120px}.header{justify-content:space-between;align-items:center;display:flex}.brand{color:#1261a0;align-items:center;gap:10px;font-size:20px;font-weight:800;display:flex}.logo{color:#fff;background:#16a34a;border-radius:11px;place-items:center;width:36px;height:36px;display:grid}.telegram{color:#1261a0;background:#eaf5ff;border-radius:999px;padding:8px 11px;font-size:13px;font-weight:700}.hero{padding:42px 4px 24px}.eyebrow{color:#16a34a;text-transform:uppercase;letter-spacing:.08em;margin:0 0 8px;font-size:13px;font-weight:800}.hero h1{color:#09243e;margin:0 0 12px;font-size:32px;line-height:1.08}.muted{color:#61758a;line-height:1.5}.cards{grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 16px;display:grid}.cards article{background:#fbfdff;border:1px solid #e3edf5;border-radius:18px;padding:18px}.cards span{font-size:20px}.cards p{color:#6a7f93;margin:14px 0 4px;font-size:13px}.cards strong{color:#102a43;font-size:22px}.db-status{color:#64748b;background:#f1f5f9;border-radius:12px;align-items:center;gap:8px;margin:0 0 16px;padding:10px 12px;font-size:12px;font-weight:700;display:flex}.db-status.connected{color:#15803d;background:#ecfdf3}.db-status.offline{color:#be123c;background:#fff1f2}.status-dot{background:#94a3b8;border-radius:50%;width:8px;height:8px}.connected .status-dot{background:#16a34a}.offline .status-dot{background:#e11d48}.primary{color:#fff;background:#16a34a;border:0;border-radius:15px;width:100%;padding:16px;font-size:16px;font-weight:800;box-shadow:0 8px 20px #16a34a33}.panel{padding-top:18px}.panel label{margin:12px 0;font-size:13px;font-weight:700;display:block}.panel input,.panel select{border:1px solid #d9e4ec;border-radius:10px;width:100%;margin-top:6px;padding:12px;font-size:15px;display:block}.search-wrap{margin-top:6px;position:relative}.search-wrap span{color:#7890a5;pointer-events:none;font-size:18px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.panel .search-wrap .search-input{margin:0;padding-left:34px}.choice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:220px;margin-top:8px;padding:2px;display:grid;overflow-y:auto}.choice-chip{color:#243b53;text-align:left;cursor:pointer;background:#fff;border:1px solid #d9e4ec;border-radius:12px;width:100%;min-height:44px;padding:9px 10px;font-size:14px;font-weight:650;transition:all .15s}.choice-chip:hover{background:#f0fdf4;border-color:#86efac}.choice-chip.selected{color:#15803d;background:#ecfdf3;border-color:#16a34a;box-shadow:inset 0 0 0 1px #16a34a}.choice-list::-webkit-scrollbar{width:5px}.choice-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:99px}.operator-cards{grid-template-columns:1fr;gap:8px;margin-top:8px;display:grid}.operator-card{color:#243b53;text-align:left;cursor:pointer;background:#fff;border:1px solid #d9e4ec;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(105px,1.15fr) auto;align-items:center;gap:14px;width:100%;padding:13px 14px;font-size:14px;font-weight:700;transition:all .15s;display:grid}.operator-card:hover{background:#f0fdf4;border-color:#86efac}.operator-card.selected{color:#15803d;background:#ecfdf3;border-color:#16a34a;box-shadow:inset 0 0 0 1px #16a34a}.operator-info{display:contents}.operator-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.operator-availability{white-space:nowrap;color:#61758a;text-align:center;justify-self:center;font-size:12px;font-weight:700}.operator-price{white-space:nowrap;color:#16a34a;justify-self:end;font-weight:800}.operator-empty{color:#7890a5;background:#fbfdff;border:1px dashed #d9e4ec;border-radius:12px;padding:12px}.amounts{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.secondary{background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:6px 9px}.balance{margin-top:12px;font-size:28px;font-weight:800}.notice{color:#475569;background:#f1f5f9;border-radius:10px;margin:12px 0;padding:10px 12px}.order{background:#fbfdff;border:1px solid #e3edf5;border-radius:16px;flex-direction:column;gap:7px;margin:12px 0;padding:15px;display:flex}.order strong{font-size:16px}.order span{font-size:15px;font-weight:700}.order small{color:#61758a}.order-status{color:#475569;background:#f1f5f9;border-radius:999px;align-items:center;gap:7px;width:max-content;padding:5px 9px;font-size:11px;font-weight:800;display:flex}.order-status.waiting{color:#2563eb;background:#eff6ff}.order-status.completed{color:#15803d;background:#ecfdf3}.order-status.cancelled,.order-status.failed,.order-status.expired{color:#be123c;background:#fff1f2}.order-status-dot{background:#94a3b8;border-radius:50%;width:7px;height:7px}.order-status.waiting .order-status-dot{background:#3b82f6;animation:1.5s infinite pulse}.order-status.completed .order-status-dot{background:#16a34a}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}.order-number{color:#102a43;font-size:17px!important;font-weight:800!important}.order-meta{flex-wrap:wrap;gap:6px;display:flex}.order-meta small{background:#f1f5f9;border-radius:7px;padding:4px 7px}.sms-waiting{color:#1d4ed8;background:#eff6ff;border-radius:11px;align-items:center;gap:9px;padding:10px 11px;font-size:12px;font-weight:700;display:flex}.sms-waiting-dot{background:#3b82f6;border-radius:50%;width:8px;height:8px;animation:1.5s infinite pulse}.sms-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;margin-top:3px;padding:11px;display:flex}.sms-box-info{flex-direction:column;gap:3px;min-width:0;display:flex}.sms-box-info small{color:#15803d;font-size:11px;font-weight:800}.code{color:#15803d;letter-spacing:.12em;font-weight:900;text-align:left!important;background:0 0!important;margin:0!important;padding:0!important;font-size:22px!important;display:block!important}.copy-code{color:#15803d;white-space:nowrap;background:#fff;border:1px solid #86efac;border-radius:9px;padding:8px 11px;font-weight:800}.copy-code:disabled{opacity:.6}.empty{text-align:center;color:#7890a5;border:1px dashed #d9e4ec;border-radius:12px;padding:18px}.transaction{background:#fbfdff;border:1px solid #e3edf5;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;margin:8px 0;padding:12px;display:flex}.transaction>div{flex-direction:column;gap:3px;min-width:0;display:flex}.transaction strong{font-size:14px}.transaction small{color:#7890a5;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.transaction b{white-space:nowrap;font-size:14px}.transaction .credit{color:#15803d}.transaction .debit{color:#b91c1c}.transaction-main{flex:1;min-width:0;gap:7px!important}.transaction-title{align-items:center;gap:9px!important;display:flex!important}.transaction-title>div{min-width:0}.transaction-indicator{border-radius:50%;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:16px;font-weight:900;display:grid}.transaction-indicator.credit{color:#15803d;background:#dcfce7}.transaction-indicator.debit{color:#b91c1c;background:#fee2e2}.transaction-details{flex-wrap:wrap;padding-left:39px;gap:6px!important;display:flex!important}.transaction-details small{white-space:normal}.transaction.is-credit{border-left:3px solid #16a34a}.transaction.is-debit{border-left:3px solid #ef4444}.transaction-state{text-align:center;color:#61758a;background:#fbfdff;border:1px solid #e3edf5;border-radius:13px;padding:16px;font-size:13px}.transaction-state.error{color:#b91c1c;background:#fff7f7;border-color:#fecaca}.bottom-nav{left:50%;bottom:max(10px,env(safe-area-inset-bottom));z-index:50;background:#16a34a;border:1px solid #15803d;border-radius:22px;grid-template-columns:repeat(4,1fr);align-items:stretch;gap:6px;width:min(500px,100% - 20px);padding:7px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 12px 32px #0f766e47,0 4px 12px #0000001f}.bottom-nav button{appearance:none;color:#ffffffe6;min-width:0;min-height:58px;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:7px 5px;font-size:12px;font-weight:750;line-height:1;display:flex}.bottom-nav button:hover{color:#fff;background:#ffffff24}.bottom-nav button:active{transform:scale(.96)}.bottom-nav button:focus-visible{outline-offset:-3px;outline:2px solid #fff}.bottom-nav button span{font-size:12px;font-weight:800}.bottom-nav button.active,.bottom-nav button[aria-current=page]{color:#15803d;background:#fff;box-shadow:0 2px 8px #0000001f}.payment-overlay{z-index:100;background:#fff;flex-direction:column;display:flex;position:fixed;inset:0}.payment-head{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:58px;padding:0 16px;display:flex}.payment-head strong{font-size:16px}.payment-head button{color:#1261a0;background:#eaf5ff;border:0;border-radius:9px;padding:8px 14px;font-weight:800}.payment-frame{background:#fff;border:0;flex:1;width:100%}@media (width<=420px){.app{padding-left:14px;padding-right:14px}.operator-card{grid-template-columns:minmax(0,1fr) minmax(90px,1fr) auto;gap:8px;padding:12px 11px}.transaction{gap:8px;padding:10px}.transaction b{font-size:13px}.transaction-indicator{flex-basis:28px;width:28px;height:28px}.transaction-details{padding-left:37px}.transaction small{font-size:10.5px}.transaction-title{gap:8px!important}.bottom-nav{border-radius:20px;gap:4px;width:calc(100% - 16px);padding:6px}.bottom-nav button{border-radius:15px;min-height:56px;padding:6px 3px}.bottom-nav button span{font-size:11px}}@media (width>=700px){.bottom-nav{bottom:18px}}section.panel:has(.choice-list){grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:10px;padding-bottom:120px;display:grid}section.panel:has(.choice-list)>h2{grid-column:1/-1}section.panel:has(.choice-list)>p{grid-column:1/-1}section.panel:has(.choice-list)>label:nth-of-type(3){grid-column:1/-1}section.panel:has(.choice-list)>div.notice{grid-column:1/-1}section.panel:has(.choice-list)>button.primary{grid-column:1/-1}:is(section.panel:has(.choice-list)>label:first-of-type,section.panel:has(.choice-list)>label:nth-of-type(2)){margin-top:8px}:is(section.panel:has(.choice-list)>label:first-of-type .choice-list,section.panel:has(.choice-list)>label:nth-of-type(2) .choice-list){grid-template-columns:1fr;max-height:150px;overflow-y:auto}section.panel:has(.choice-list)>label:nth-of-type(3){margin-top:6px}section.panel:has(.choice-list)>button.primary{z-index:12;margin-top:4px;position:sticky;bottom:92px;box-shadow:0 8px 20px #16a34a55,0 -10px 18px #fffffff2}@media (width<=420px){section.panel:has(.choice-list){column-gap:8px;padding-bottom:112px}:is(section.panel:has(.choice-list)>label:first-of-type .choice-list,section.panel:has(.choice-list)>label:nth-of-type(2) .choice-list){max-height:140px}.choice-chip{min-height:40px;padding:8px 9px;font-size:13px}}section.panel:has(>button.secondary){padding:22px 0 18px}section.panel:has(>button.secondary)>h2{color:#09243e;background:linear-gradient(135deg,#ecfdf5 0%,#eff6ff 100%);border:1px solid #dbeafe;border-radius:20px;margin:0 0 18px;padding:20px 18px;font-size:26px;line-height:1.1;box-shadow:0 8px 24px #0f172a0f}section.panel:has(>button.secondary)>p:first-of-type{color:#12324a;background:#fbfdff;border:1px solid #e3edf5;border-radius:16px 16px 8px 8px;margin:0;padding:18px;font-size:18px;line-height:1.35;box-shadow:0 4px 14px #0f172a0a}section.panel:has(>button.secondary)>p:nth-of-type(2){color:#61758a;word-break:break-word;background:#fff;border:1px solid #e3edf5;border-top:0;border-radius:8px 8px 16px 16px;margin:0;padding:12px 18px;font-size:13px}section.panel:has(>button.secondary)>button.secondary{color:#15803d;cursor:pointer;background:#fff;border:1px solid #16a34a;border-radius:14px;width:100%;margin-top:18px;padding:14px 16px;font-size:15px;font-weight:800;transition:background .15s,border-color .15s,transform .15s;box-shadow:0 5px 16px #16a34a14}section.panel:has(>button.secondary)>button.secondary:hover{background:#ecfdf3;border-color:#15803d}section.panel:has(>button.secondary)>button.secondary:active{transform:scale(.99)}@media (width<=420px){section.panel:has(>button.secondary)>h2{padding:18px 16px;font-size:24px}section.panel:has(>button.secondary)>p:first-of-type{padding:16px;font-size:17px}section.panel:has(>button.secondary)>p:nth-of-type(2){padding:11px 16px}}section.panel:has(.choice-list)>div.notice{display:none}
