/* Shared customer content, with distinct browser and Telegram navigation. */
.customer-app{--bg:#141719;--surface:#1c2023;--surface-alt:#272c30;--text:#edf0f2;--muted:#abb3ba;--border:#353c42;--accent:var(--tg-theme-button-color,var(--customer-accent,#8bd7c0));--accent-soft:var(--accent);--accent-text:var(--tg-theme-button-text-color,var(--customer-accent-text,#10251e));--radius:16px;background:var(--tg-theme-bg-color,var(--bg));color:var(--tg-theme-text-color,var(--text));font:16px/1.5 system-ui,sans-serif;margin:0;display:block;min-height:100dvh;letter-spacing:0}
.customer-app *{box-sizing:border-box}.customer-app a{color:inherit}.customer-app h1{font-size:28px;line-height:1.2;font-weight:500;margin:0 0 12px}.customer-app h2{font-size:20px;font-weight:500;margin:0 0 16px}.customer-app h3{font-size:17px;font-weight:500}.customer-app p{margin:0 0 16px}.customer-app .muted{color:var(--tg-theme-hint-color,var(--muted))}.customer-app .small{font-size:14px}.customer-app .card{background:var(--tg-theme-secondary-bg-color,var(--surface));border:1px solid var(--border);border-radius:16px;padding:24px;margin:0;box-shadow:none}.customer-app .btn{border-radius:8px;min-height:48px;padding:12px 16px;font-size:16px;font-weight:500;box-shadow:none;transform:none;white-space:normal;text-align:center}.customer-app .btn-primary{background:var(--accent);color:var(--accent-text);border-color:transparent}.customer-app .btn-ghost{background:var(--surface-alt);color:var(--text);border:1px solid var(--border)}.customer-app input,.customer-app select,.customer-app textarea{font:inherit;min-height:48px;border-radius:8px;width:100%;color:var(--text);background:var(--surface-alt);border:1px solid var(--border);padding:12px}.customer-app input[type=radio],.customer-app input[type=checkbox]{width:20px;min-height:20px;flex:none;accent-color:var(--accent)}.customer-app :focus-visible{outline:2px solid var(--accent);outline-offset:4px}.customer-app [hidden]{display:none!important}
.customer-header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:960px;margin:auto;padding:20px 24px;border-bottom:1px solid var(--border)}.customer-header a{text-decoration:none}.customer-header .brand{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:500}.customer-main{max-width:960px;margin:0 auto;padding:32px 24px 112px;display:grid;gap:24px}.customer-main>.page-head{margin:0}.customer-main .section{margin:24px 0}.customer-nav{position:fixed;z-index:10;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));background:var(--tg-theme-secondary-bg-color,var(--surface));border-top:1px solid var(--border)}.customer-nav a{min-height:48px;display:grid;place-items:center;text-decoration:none;border-radius:8px;font-size:14px;color:var(--muted)}.customer-nav a[aria-current]{background:var(--surface-alt);color:var(--text)}.customer-actions{display:flex;gap:12px;flex-wrap:wrap}.customer-actions>*{flex:1}.customer-pass{padding:24px;display:grid;gap:20px}.customer-pass .pass-number{font-size:40px;line-height:1.1;font-weight:500;font-variant-numeric:tabular-nums}.customer-pass .pass-number small{font-size:18px;color:var(--muted)}.customer-pass .card-head{display:flex;justify-content:space-between;gap:12px;margin:0}.customer-pass .card-head h2{margin:0}.customer-status{color:var(--text);font-size:14px}.customer-facts{display:flex;gap:24px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.customer-facts p{margin:0}.customer-facts span{display:block;font-size:14px;color:var(--muted)}.customer-links{display:grid;gap:4px}.customer-links a{padding:16px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;text-decoration:none}.customer-app .facts>div{padding:12px 0;gap:16px}.customer-app details{border:1px solid var(--border);border-radius:12px;padding:16px}.customer-app summary{cursor:pointer;font-weight:500}.customer-app details[open]>summary{margin-bottom:16px}.customer-app .notice-line{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;padding:16px;margin:0}.customer-app .device-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--border)}.customer-app .device-row span{display:block}.customer-app .device-row form{max-width:140px}.customer-app .device-row .btn{min-height:44px}.customer-app .plan-choices{display:grid;gap:12px}.customer-app .plan-choice{background:var(--surface);border:1px solid var(--border);box-shadow:none;padding:16px;border-radius:12px}.customer-app .plan-choice:has(input:checked){border-color:var(--accent)}.customer-app .option{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--border);border-radius:12px}.customer-app .buy-form{display:grid;gap:24px}.customer-app .buy-form .section{margin:0}.customer-app .option-list{display:grid;gap:8px;margin:16px 0}.customer-app .checkout-summary{position:sticky;bottom:84px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px}.customer-app .copy-row{display:flex;gap:8px;flex-wrap:wrap}.customer-app .copy-row input{flex:1;min-width:160px}.customer-app .traffic-bar{height:8px;background:var(--surface-alt);overflow:hidden;border-radius:4px}.customer-app .traffic-bar span{display:block;background:var(--accent);height:100%}.customer-app .result-card{max-width:none;margin:0}.customer-app .grid-two{display:grid;grid-template-columns:1fr 1fr;gap:24px}.customer-app .stack{display:grid;gap:16px}.customer-app .chip{background:var(--surface-alt);border:0;border-radius:4px;color:var(--text)}.customer-app .step-num{font-size:14px;color:var(--muted);background:none;border:1px solid var(--border);border-radius:8px;width:32px;height:32px;display:grid;place-items:center;margin-bottom:16px}.customer-app .platform-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.customer-app .platform-choices a{text-decoration:none;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.customer-app .qr-code{width:224px;height:224px;max-width:100%;background:white;padding:8px;border-radius:8px}.customer-app .diagnostic-list{padding:0;list-style:none;display:grid;gap:12px}.customer-app .diagnostic-list li{padding:12px 0;border-bottom:1px solid var(--border)}.customer-app .form-error{color:#ffb4ab}.customer-app .plain-list{padding-left:20px}.customer-app .promo-form{margin:0}.customer-app .ticket-row{display:flex;gap:12px;padding:16px 0;text-decoration:none;border-bottom:1px solid var(--border)}
@media(prefers-color-scheme:light){.customer-app{--bg:#f6f7f7;--surface:#fff;--surface-alt:#edf0ef;--text:#192421;--muted:#53635e;--border:#d9e0dd}}
@media(min-width:1000px){.customer-nav{left:calc(50% - 456px);right:calc(50% - 456px);border:1px solid var(--border);border-bottom:0;border-radius:16px 16px 0 0}}
@media(max-width:600px){.customer-header{padding:16px}.customer-main{padding:24px 16px 112px;gap:20px}.customer-app .card{padding:20px}.customer-app .grid-two{grid-template-columns:1fr}.customer-app h1{font-size:26px}.customer-app .page-head{display:block}.customer-app .table-wrap{overflow-x:auto}.customer-app .customer-actions .btn{min-width:120px}.customer-app .customer-pass .pass-number{font-size:36px}.customer-app .hero-actions{display:flex;flex-wrap:wrap;gap:12px}.customer-app .facts dd{overflow-wrap:anywhere}.customer-app .facts{margin:0}}
@media(prefers-reduced-motion:reduce){.customer-app *{transition:none!important;animation:none!important}}

.customer-site .customer-workspace{max-width:1200px;margin:auto;display:grid;grid-template-columns:208px minmax(0,1fr);gap:32px;padding:32px 24px 64px;align-items:start}
.customer-site .customer-main{grid-column:2;grid-row:1;width:100%;padding:0;min-width:0}
.customer-site .customer-nav{grid-column:1;grid-row:1;position:sticky;left:auto;right:auto;bottom:auto;top:24px;display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}
.customer-site .customer-nav a{display:flex;justify-content:flex-start;padding:12px 16px}
.customer-site .customer-header{max-width:1200px}
.customer-site .checkout-summary{bottom:24px}
.customer-miniapp .customer-main{max-width:640px}
.customer-miniapp .customer-header{max-width:640px}
.customer-miniapp .customer-workspace>.flash{max-width:640px;margin:16px auto}
@media(min-width:1000px){.customer-miniapp .customer-nav{left:max(0px,calc(50% - 320px));right:max(0px,calc(50% - 320px))}}
@media(max-width:760px){
 .customer-site .customer-workspace{display:flex;flex-direction:column;padding:20px 16px 40px;gap:24px}
 .customer-site .customer-nav{position:static;order:-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;padding:4px;gap:0}
 .customer-site .customer-nav a{justify-content:center;padding:10px 4px;font-size:13px}
 .customer-site .customer-main{padding:0}
 .customer-site .checkout-summary{position:static}
}
