/* Compact locale selector for public and admin navigation. */
.ws-locale-toolbar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
html body button#wsSiteLocaleSwitch.ws-locale-switch[data-ws-locale-switch] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 62px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #35485e !important;
  border-radius: 8px !important;
  background: #131e2d !important;
  color: #dceafb !important;
  font: 600 11px/1.3 "Space Grotesk", system-ui, sans-serif !important;
  letter-spacing: .03em !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  touch-action: manipulation;
}
/* Generated content does not pass through DOM text translation. */
html[lang="en"] .ws-account-channel .ws-account-risk-disclosure:not([open])>summary::after { content: "Tap to view notes"; }
html[lang="en"] .ws-account-channel .ws-account-select::after { content: "Select"; }
html[lang="en"] .ws-account-channel .ws-account-select:has(input:checked)::after { content: "Selected"; }
html[lang="en"] body[data-sx-page="market"] main.page #sxMarketOrders td:nth-child(4)::before { content: "Price"; }
html[lang="en"] body[data-sx-page="market"] main.page #sxMarketOrders td:nth-child(6)::before { content: "Status"; }
html[lang="en"] body[data-sx-page="market"] main.page #sxMarketOrders td:nth-child(7)::before { content: "Created"; }
html[lang="en"] body[data-sx-page="market"] main.page #sxMarketOrders td:nth-child(8)::before { content: "Actions"; }
html[lang="en"] body.sx-admin-ide[data-admin-page="affiliates"] #affiliate-accounts td:nth-child(5)::before { content: "Debt / adjustments"; }
html[lang="en"] body.sx-admin-ide[data-admin-page="affiliates"] #affiliate-accounts td:nth-child(6)::before { content: "Policy"; }
html body button#wsSiteLocaleSwitch.ws-locale-switch[data-ws-locale-switch]:focus-visible { outline: 2px solid #73b5ff !important; outline-offset: 3px; }
html.theme-light body button#wsSiteLocaleSwitch.ws-locale-switch[data-ws-locale-switch] { background: #eef4fc !important; border-color: #b5c9df !important; color: #24476e !important; }
/* Keep the longer currency label beside compact numeric price inputs. */
html body #wsAccountWantedPreorder .ws-account-wanted-price-band b { padding-inline: 6px; font-size: 9px; white-space: nowrap; }
@media (max-width: 700px) {
  html body button#wsSiteLocaleSwitch.ws-locale-switch[data-ws-locale-switch] { min-width: 56px !important; min-height: 40px !important; height: 40px !important; padding: 0 8px !important; }
}
