/* Self-hosted edition: features of the main edition that do not exist here are never shown.
   Loaded after each page's own styles; !important wins over scripts that un-hide these elements. */
[data-channel="bale"], [data-channel="rubika"],
[data-channel="telegram"] [data-connect-zone], #tgPartPrivate, #tgGuideBtn, #tgWidgetContainer,
[data-go="charge"], [data-go="shopbot"], [data-go="balebot"],
#tokenPop, #planBadge, #planBadgeDrawer, #planDialog, #planUpsell, #planLimitLine, #planFeatureGreen,
#storeCard, #storeCtaRail, #storeCtaDrawer, #storeMyRail, #storeMyDrawer, #storeConnectDialog,
#storeKbBtn, #storeKbHintEl, #storeAwaiting,
#wooDialog, #wooDownloadBtn,
#ppTabBale, #ppTabRubika, #ppPanelBale, #ppPanelRubika, #chBalePanel, #chRubikaPanel, #baleDialog, #rubikaDialog,
#shopBotPop, #dangerAgencyRow, #agiDiscStore, #agiDiscWoo, #agiDiscStoreNote,
#waTabLite, #waTabPro, #waPanelLite, #waPanelPro, #whatsappDialog,
#changePassItem, #passwordDialog,
.credits, #apiDialog, [data-open-dialog="wooDialog"], [data-open-dialog="apiDialog"],
.btn-row:has(> [data-open-dialog="wooDialog"]), [data-i18n="orSyncAuto"],
.group-head:has(> h2[data-i18n="developerTools"]), .group-head:has(> h2[data-i18n="developerTools"]) + .grid {
  display: none !important;
  --selfhost-off: 1; /* openDialog() refuses dialogs marked like this */
}
