/* No JavaScript means ordinary website mode. Never force a hidden element open. */
html:not([data-nano-pwa-mode="desktop-app"]):not([data-nano-pwa-mode="mobile-app"]):not([data-nano-pwa-mode="white-label-desktop-app"]):not([data-nano-pwa-mode="white-label-mobile-app"]) body:not(.elementor-editor-active):not(.elementor-edit-area-active) [data-nano-pwa-visibility]:not([data-nano-pwa-visibility~="browser"]),
html[data-nano-pwa-mode="desktop-app"] body:not(.elementor-editor-active):not(.elementor-edit-area-active) [data-nano-pwa-visibility]:not([data-nano-pwa-visibility~="desktop-app"]),
html[data-nano-pwa-mode="mobile-app"] body:not(.elementor-editor-active):not(.elementor-edit-area-active) [data-nano-pwa-visibility]:not([data-nano-pwa-visibility~="mobile-app"]),
html[data-nano-pwa-mode="white-label-desktop-app"] body:not(.elementor-editor-active):not(.elementor-edit-area-active) [data-nano-pwa-visibility][data-nano-pwa-visibility-version="2"]:not([data-nano-pwa-visibility~="white-label-desktop-app"]),
html[data-nano-pwa-mode="white-label-mobile-app"] body:not(.elementor-editor-active):not(.elementor-edit-area-active) [data-nano-pwa-visibility][data-nano-pwa-visibility-version="2"]:not([data-nano-pwa-visibility~="white-label-mobile-app"]),
/* Unversioned cached markup predates White Label: its app modes included it. */
html[data-nano-pwa-mode="white-label-desktop-app"] body:not(.elementor-editor-active):not(.elementor-edit-area-active) [data-nano-pwa-visibility]:not([data-nano-pwa-visibility-version="2"]):not([data-nano-pwa-visibility~="desktop-app"]),
html[data-nano-pwa-mode="white-label-mobile-app"] body:not(.elementor-editor-active):not(.elementor-edit-area-active) [data-nano-pwa-visibility]:not([data-nano-pwa-visibility-version="2"]):not([data-nano-pwa-visibility~="mobile-app"]),
/* Let the existing company/auth redirect finish without flashing Nano-only UI. */
html[data-nano-pwa-context-pending="true"] body:not(.elementor-editor-active):not(.elementor-edit-area-active) [data-nano-pwa-visibility] {
    display: none !important;
}
