.store-account-tabs{display:flex;gap:8px;margin:0 0 16px}.store-account-tabs .btn{flex:1}.store-remember-row{display:flex!important;align-items:center;gap:8px;font-size:12px!important}.store-remember-row input{width:16px;height:16px;accent-color:var(--terra)}.order-customer{margin:0 0 14px;color:var(--muted);font-size:13px}
.admin-auth-only{display:block!important;min-height:100vh;background:var(--bg)!important}.admin-auth-only .store-shell{width:100%;margin:0;padding:0}.admin-auth-only .store-shell>:not(dialog){display:none!important}.admin-auth-only #storeAccountDialog::backdrop{background:var(--bg);backdrop-filter:none}.admin-auth-only .store-account-tabs{display:none}
.store-google-login[hidden]{display:none!important}.store-google-login{display:grid;gap:10px;margin-top:16px}.store-google-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.store-google-divider::before,.store-google-divider::after{content:"";height:1px;flex:1;background:var(--line)}.store-google-login .btn{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700}.store-google-icon{display:block;width:20px;height:20px;flex:0 0 20px}
.store-logout-icon{display:inline-grid;place-items:center;width:42px;height:42px;padding:0}
#storeAccountDialog form[hidden]{display:none}
.store-purchase-history-dialog{width:min(720px,calc(100% - 28px));max-height:min(84vh,780px);overflow:auto}.store-purchase-history-content{display:grid;gap:9px;margin:14px 0}.store-purchase-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.store-purchase-row>div{min-width:0}.store-purchase-row strong,.store-purchase-row small{display:block}.store-purchase-row strong{overflow-wrap:anywhere;color:var(--ink);font-size:13px}.store-purchase-row small{margin-top:4px;color:var(--muted);font-size:11px}.store-purchase-meta{text-align:right}.store-purchase-status{display:inline-block;margin-top:4px;padding:3px 7px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:10px}.store-purchase-status.is-paid{border-color:#a8d8bd;background:#f2fbf5;color:#23734a}.store-purchase-history-empty{padding:24px 8px;color:var(--muted);text-align:center}.store-purchase-history-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.store-purchase-history-pagination button:disabled{opacity:.5}
@media(max-width:600px){.store-header-actions{flex-wrap:wrap;justify-content:flex-end}.store-header-actions>.btn{flex:0 0 auto}.store-account-tabs{position:sticky;top:0;background:var(--surface);padding:4px 0}}
@media(max-width:520px){.store-purchase-row{grid-template-columns:1fr;align-items:start}.store-purchase-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}}
.referral-link-label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:700}.referral-link-label input{min-width:0;padding:10px;border:1px solid var(--line-strong);border-radius:9px;background:var(--surface-soft);color:var(--ink);font-size:12px}.referral-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.referral-summary>div{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.referral-summary span{color:var(--muted);font-size:11px}.referral-summary strong{font:800 18px Manrope,sans-serif;color:var(--ink)}.store-referral-history{display:grid;gap:8px;margin-top:14px}.store-referral-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);font-size:12px}.store-referral-row span{min-width:0}.store-referral-row strong,.store-referral-row small{display:block}.store-referral-row small{margin-top:3px;color:var(--muted);font-size:10px}

.telegram-bot-dialog{max-height:min(82vh,760px)}#telegramBotConnectForm[hidden],#telegramBotConnectedPanel[hidden],#telegramBotPairingCodePanel[hidden],#telegramBotGeneratePairing[hidden]{display:none}.telegram-bot-status{margin:0 0 14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--muted);font-size:13px}.telegram-bot-security-note{color:var(--muted);font-size:12px}.telegram-bot-connected{display:grid;gap:12px}.telegram-bot-identity{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.telegram-bot-identity a{font-weight:700}.telegram-bot-model-label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:700}.telegram-bot-model-label select{max-width:100%;color:var(--ink);background-color:var(--surface)}.telegram-bot-pairing{padding:14px;border:1px dashed var(--terra);border-radius:11px;background:var(--surface-soft)}.telegram-bot-pairing code{display:block;margin-bottom:10px;color:var(--ink);font-size:15px;overflow-wrap:anywhere}.telegram-bot-pairing .payment-note{margin:9px 0 0}.telegram-bot-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}@media(max-width:600px){.telegram-bot-actions>*{flex:1}}
