:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1d1d1f;background:#f5f5f7;font-size:16px;font-synthesis:none;--blue:#7854cc;--line:#e5e5ea;--muted:#73737c;--green:#168747;--red:#c83d35;--shadow:0 5px 24px #192b4210}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.48;cursor:not-allowed}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #7854cc;outline-offset:3px}input,select,textarea{border:1px solid #d4d4da;border-radius:12px;background:#fff;color:#1d1d1f;padding:13px 14px;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #7854cc26}input[type=checkbox]{width:20px;height:20px;accent-color:var(--blue)}label{display:block;font-size:.875rem;font-weight:600;margin-bottom:7px}h1,h2,h3,p{margin:0}h1{font-size:2rem;letter-spacing:-1px;line-height:1.18}h2{font-size:1.25rem;letter-spacing:-.4px}h3{font-size:1.1rem}small,.meta{font-size:.875rem;color:var(--muted);line-height:1.5}.muted{color:var(--muted)}.num{font-variant-numeric:tabular-nums;direction:ltr;display:inline-block}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);color:white;padding:12px 19px;border-radius:12px;font-weight:600;font-size:.9375rem;min-height:44px}.button:not(.secondary):not(.danger):not(:disabled):hover{background:#6841bc}.button.secondary{background:#f0f0f3;color:#313137}.button.secondary:not(:disabled):hover{background:#e9e5f0}.button.danger{background:#fff0ef;color:var(--red)}.button.danger:not(:disabled):hover{background:#fff0ef;color:var(--red)}.icon{width:21px;height:21px;stroke-width:1.7;fill:none;stroke:currentColor;flex-shrink:0}.brand{display:flex;gap:10px;align-items:center;font-weight:700;letter-spacing:-.5px;font-size:1.16rem}.mark{background:var(--blue);color:white;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:1.3rem;font-weight:700}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{padding:34px 22px;border-inline-end:1px solid var(--line);background:#fafafc;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:40px}.nav{display:grid;gap:6px}.nav button{text-align:start;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;color:#65656f;font-size:.9375rem}.nav button.active{background:#eee8fa;color:#6943bd;font-weight:600}.sidebar-foot{margin-top:auto;display:grid;gap:16px}.avatar{width:38px;height:38px;background:#eee8fa;border-radius:50%;display:grid;place-items:center;color:#6943bd;font-weight:600}.user-row{display:flex;gap:10px;align-items:center;min-width:0}.user-row strong{display:block;overflow:hidden;text-overflow:ellipsis;max-width:135px;font-size:.9375rem}.text-button{padding:6px;color:var(--muted);font-size:.875rem;text-align:start}.workspace{min-width:0}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 42px;background:#ffffffa6;backdrop-filter:blur(24px);position:sticky;top:0;z-index:5}.topbar-title{font-size:.875rem;color:var(--muted)}.top-actions{display:flex;gap:18px;align-items:center}.language{font-weight:600;font-size:.875rem}.availability{display:flex;align-items:center;gap:8px;font-size:.875rem}.switch{width:44px;height:26px;border-radius:20px;background:#b8bac4;padding:3px;display:flex;align-items:center}.switch span{width:20px;height:20px;background:white;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .2s}.switch.on{background:#30b965}.switch.on span{transform:translateX(18px)}[dir=rtl] .switch.on span{transform:translateX(-18px)}.content{max-width:1400px;margin:auto;padding:40px 42px 64px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px;gap:20px}.eyebrow{font-size:.8125rem;letter-spacing:1.3px;font-weight:600;color:var(--muted);text-transform:uppercase;margin-bottom:10px}.page-head p{margin-top:10px;color:var(--muted);line-height:1.5}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:32px}.stat{border:1px solid #e7e7ec;background:white;border-radius:20px;padding:24px;box-shadow:0 2px 5px #192b4203}.stat.blue{background:#7854cc;color:white;border-color:transparent;box-shadow:0 6px 20px #7854cc20}.stat.blue small{color:#f0e9ff}.stat-label{display:flex;gap:10px;align-items:center;font-size:.875rem;color:#777780}.stat.blue .stat-label{color:#f0e9ff}.stat-value{font-size:2.1rem;font-weight:650;letter-spacing:-1px;margin:16px 0 6px;line-height:1.2}.stat-value em{font-size:.875rem;font-style:normal;font-weight:500;letter-spacing:0;margin-inline-start:6px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.pill{font-size:.8125rem;display:inline-flex;align-items:center;border-radius:20px;background:#f0f0f4;color:#6c6c77;padding:6px 10px;white-space:nowrap}.pill.offered,.pill.accepted,.pill.approved{background:#e8f3ff;color:#0572d8}.pill.delivered,.pill.paid{background:#e6f5ed;color:#15834d}.pill.review,.pill.delivered_pending_ack,.pill.pending,.pill.accepted_pending_ack{background:#fff1d7;color:#996400}.pill.expired,.pill.rejected,.pill.suspended{background:#fff0ee;color:#c4463a}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.offer{border:1px solid var(--line);background:#fff;border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.offer-top{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 0}.offer-body{padding:20px 22px}.offer-amount{font-size:2rem;font-weight:650;letter-spacing:-1px}.offer-amount span{font-size:.875rem;color:var(--muted);font-weight:500;letter-spacing:0}.offer-price{display:flex;justify-content:space-between;margin:22px 0 18px;align-items:center;font-size:.875rem}.offer-price strong{font-size:1.25rem;font-weight:600}.offer .button{width:100%}.offer-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 22px;background:#fafafc;border-top:1px solid #f0f0f4;font-size:.8125rem;color:var(--muted)}.timer{font-weight:600;font-variant-numeric:tabular-nums;color:#a87513}.timer.urgent{color:var(--red)}.player{font-size:1rem;background:#f5f5f7;border-radius:10px;padding:12px;margin:14px 0;overflow-wrap:anywhere}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 2px 6px #192b4203}.panel-head{padding:22px 24px;border-bottom:1px solid var(--line)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.875rem;white-space:nowrap}th{text-align:start;font-weight:500;color:var(--muted);background:#fafafb;padding:14px 20px;border-bottom:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #f0f0f3}tr:last-child td{border-bottom:0}.table-action{color:var(--blue);font-weight:600;padding:6px}.empty{min-height:250px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:36px;gap:12px}.empty-icon{height:56px;width:56px;display:grid;place-items:center;background:#f5f1fb;color:#8f7daa;border-radius:18px;margin-bottom:4px}.empty p{max-width:390px;color:var(--muted);font-size:.9375rem;line-height:1.65}.notice{background:#fff7e7;border:1px solid #f3e7cc;color:#8d6a2e;padding:15px 18px;border-radius:14px;margin-bottom:22px;font-size:.875rem;line-height:1.6}.notice.info{background:#f4effc;color:#634b8b;border-color:#e4daf5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{margin-bottom:18px}.form-section{padding:26px;border-bottom:1px solid var(--line)}.form-section h2{margin-bottom:24px}.price-row{display:grid;grid-template-columns:26px 1fr 180px;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #f0f0f4}.price-row label{margin:0}.form-actions{padding:22px 26px;display:flex;justify-content:flex-end;gap:12px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.06fr 1fr;background:white}.auth-art{background:radial-gradient(ellipse at 5% 92%,#bda8ec 0,transparent 50%),linear-gradient(135deg,#eee8fa,#faf8ff 40%,#d7c9f0);padding:48px 60px;display:flex;flex-direction:column;justify-content:space-between}.auth-art h1{font-size:clamp(2.5rem,4.6vw,4.8rem);letter-spacing:-2.5px;line-height:1.02;max-width:570px}.auth-art p{font-size:1.1rem;line-height:1.8;max-width:430px;color:#4e3a68;margin-top:24px}.auth-card{padding:50px 9%;display:flex;flex-direction:column;justify-content:center;max-width:630px;width:100%;margin:auto}.auth-card h2{font-size:1.9rem;margin-bottom:12px}.auth-card .muted{line-height:1.6;margin-bottom:32px}.auth-card .button{width:100%;margin-top:4px}.auth-foot{display:flex;justify-content:space-between;margin-top:24px;font-size:.875rem}.auth-lang{align-self:flex-end;margin-bottom:45px}.feature-row{display:flex;align-items:center;gap:10px;font-size:.875rem;color:#4e3a68}.auth-features{display:flex;gap:24px;flex-wrap:wrap;margin-top:32px}.toast{display:block}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(100px);opacity:0;background:#202126;color:#fff;border-radius:14px;padding:14px 22px;z-index:100;max-width:90vw;box-shadow:0 6px 30px #0002;transition:all .2s;pointer-events:none}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}dialog{border:0;border-radius:24px;padding:0;max-width:560px;width:calc(100% - 32px);box-shadow:0 24px 100px #15213530;color:inherit}dialog::backdrop{background:#0b152b55;backdrop-filter:blur(4px)}.dialog-body{padding:30px}.dialog-body h2{margin-bottom:12px}.dialog-body p{font-size:.9375rem;line-height:1.6;color:var(--muted);margin-bottom:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.stack{display:grid;gap:20px}.proof-link{display:inline-flex;align-items:center;gap:5px}.error{color:var(--red);font-size:.875rem;line-height:1.5;margin-bottom:14px}.divider{height:1px;background:var(--line);margin:24px 0}.metric-row{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block;margin-inline-end:7px}.mobile-brand{display:none}.inline{display:flex;align-items:center;gap:10px}.nowrap{white-space:nowrap}[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] .auth-art h1{letter-spacing:0}[dir=rtl] .eyebrow{letter-spacing:0}
@media(max-width:1100px){.sidebar{width:200px;padding:28px 15px}.shell{grid-template-columns:200px minmax(0,1fr)}.content{padding:30px 26px}.topbar{padding:0 26px}.stats{gap:12px}.stat{padding:20px}.stat-value{font-size:1.8rem}.auth-art{padding:40px}.auth-features{gap:16px}}@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;height:72px;width:100%;padding:0;z-index:20;border-top:1px solid var(--line);background:#ffffffeb;backdrop-filter:blur(20px)}.sidebar>.brand,.sidebar-foot{display:none}.nav{display:flex;justify-content:space-around;height:100%;gap:0}.nav button{flex:1;flex-direction:column;gap:5px;padding:10px 2px;font-size:.75rem;border-radius:0;text-align:center;justify-content:center}.nav button.active{background:transparent;color:var(--blue)}.topbar{height:70px;padding:0 20px}.topbar-title{display:none}.mobile-brand{display:flex}.top-actions{gap:12px}.content{padding:28px 18px 105px}.stats{grid-template-columns:1fr 1fr;margin-bottom:28px}.stat:first-child{grid-column:1/-1}.stat:first-child .stat-value{font-size:2.1rem}.stat{padding:20px}.stat-value{font-size:1.65rem}.page-head{align-items:flex-start}.page-head h1{font-size:1.8rem}.page-head p{font-size:.875rem}.grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr;gap:0}.price-row{grid-template-columns:26px 1fr 130px}.form-section{padding:20px}.availability>span{display:none}.auth-shell{grid-template-columns:1fr}.auth-art{padding:30px 26px 38px}.auth-art h1{font-size:2.4rem;margin-top:35px;letter-spacing:-1.4px}.auth-art p{font-size:1rem;margin-top:16px}.auth-features{display:none}.auth-card{padding:32px 26px}.auth-lang{margin-bottom:20px}.auth-card h2{font-size:1.65rem}.auth-art .meta{display:none}.button{min-height:46px}.dialog-body{padding:24px}.topbar .brand{font-size:1rem}.topbar .mark{height:30px;width:30px;font-size:1rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.stats.stats-wallet{grid-template-columns:repeat(2,minmax(0,1fr))}.home-section{margin-top:32px}.home-section .section-head p{margin-top:8px;max-width:650px;line-height:1.6}.home-section .empty{min-height:170px}.demo-shortcut{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:20px 0;border-top:1px solid var(--line)}.wallet-card .stat-label{margin-bottom:18px}.wallet-actions{margin-top:24px;display:grid;gap:12px}.wallet-history{margin-top:30px}.wallet-history>summary{cursor:pointer;font-weight:600;padding:18px 0}.wallet-history>p{margin-bottom:18px;line-height:1.6}.settlement-quote{padding:4px 16px;margin-bottom:18px;background:#f5f5f7;border-radius:14px}.settlement-quote .metric-row:last-child{border-bottom:0}.settlement-confirm{align-items:flex-start;line-height:1.7}.settlement-confirm input{flex-shrink:0;margin-top:6px}.wallet-card .stat-value{overflow-wrap:anywhere}
@media(max-width:760px){.stats.stats-wallet{grid-template-columns:1fr}.stats.stats-wallet .stat:first-child{grid-column:auto}.demo-shortcut{align-items:stretch;flex-direction:column}.home-section .section-head{align-items:flex-start;gap:12px}}
.wallet-mode-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.page-head .wallet-mode-controls{margin:0}.wallet-mode-controls .button{min-height:38px;padding:9px 16px;font-size:.8125rem}.wallet-mode-controls .button[aria-pressed=true]{box-shadow:0 2px 8px #7854cc24}
@media(max-width:760px){.page-head:has(.wallet-mode-controls){flex-direction:column;gap:18px}}
.trader-shell{--blue:#7854cc}.trader-shell .nav button.active{background:#eee8fa;color:#6943bd}.trader-shell .button:not(.secondary):not(.danger):not(:disabled):hover{background:#6841bc}.trader-shell .button.secondary:not(:disabled):hover{background:#e9e5f0}.trader-balance{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;margin-bottom:28px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.trader-balance>div{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap}.trader-balance>div>span{color:var(--muted);font-size:.9375rem}.trader-balance strong{font-size:2rem;font-weight:650;letter-spacing:-.6px}.trader-balance strong small{font-size:.875rem;font-weight:500}.trader-section-title{display:flex;gap:12px;align-items:center;background:#7854cc;color:#fff;padding:23px 28px}.trader-section-title h1{font-size:1.35rem;letter-spacing:-.4px}.trader-section-title .icon{width:25px;height:25px}.trader-order-form{padding:28px}.trader-order-form>.field{max-width:540px;margin-bottom:26px}.trader-denominations{border:0;padding:0;margin:0;min-width:0}.trader-denominations legend{padding:0;margin-bottom:14px;font-size:.9rem;font-weight:600}.trader-package-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.trader-package{position:relative;display:block;cursor:pointer;border:1px solid #e1deea;border-radius:15px;margin:0;background:#fff;overflow:hidden}.trader-package input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.trader-package>span{display:grid;gap:8px;padding:20px 18px;border:2px solid transparent;border-radius:14px}.trader-package strong{font-size:1.05rem;font-weight:650}.trader-package small{font-size:.86rem;font-weight:500}.trader-package:has(input:checked){border-color:#7854cc;background:#f7f3fe}.trader-package input:checked+span{border-color:#7854cc}.trader-package input:focus-visible+span{outline:3px solid #7854cc;outline-offset:-4px}.trader-order-total{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.trader-order-total strong{font-size:1.35rem}.trader-form-actions{display:grid;gap:12px;margin:22px 0 16px}.trader-form-actions>.secondary{justify-self:start}.trader-place-order{width:100%}.trader-order-form>.meta{line-height:1.7}.trader-order-panel .error:empty{display:none}.pill.routing{background:#eaf1ff;color:#3864a6}.pill.awaiting_admin{background:#fff1d7;color:#996400}.pill.completed{background:#e6f5ed;color:#15834d}.pill.cancelled{background:#f2f2f5;color:#74747c}
@media(max-width:760px){.trader-balance{padding:20px;align-items:stretch;flex-direction:column;gap:17px}.trader-balance>div{justify-content:space-between;gap:10px}.trader-balance strong{font-size:1.8rem}.trader-section-title{padding:21px 20px}.trader-section-title h1{font-size:1.2rem}.trader-order-form{padding:22px 20px}.trader-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trader-package>span{padding:17px 14px}.trader-form-actions{flex-direction:column-reverse}.trader-shell .nav button.active{background:transparent}.nav{overflow-x:auto}.nav button{min-width:58px}}
@media(min-width:761px){.trader-package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.failure-action{margin-top:12px}.failure-note{margin:16px 0;padding:14px;background:#fff7e7;border:1px solid #f3e7cc;border-radius:12px;line-height:1.65;font-size:.875rem}.failure-note p{margin:8px 0;overflow-wrap:anywhere;white-space:pre-wrap}.failure-note small{display:block}.failure-guidance{padding:14px 16px;background:#f5f5f7;border-radius:12px;margin-bottom:18px}.failure-guidance p:last-child{margin-bottom:0}
.fulfilment-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;pointer-events:none}.fulfilment-mark.success{background:#e6f5ed;color:var(--green)}.fulfilment-mark.failure{background:#fff0ee;color:var(--red)}.fulfilment-mark svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.telegram-panel .form-section h2{margin-bottom:12px}.telegram-panel .form-section p{margin-top:14px;line-height:1.7}.telegram-panel .metric-row{gap:16px}.telegram-panel .metric-row bdi{overflow-wrap:anywhere}
