.profile-pwa-install[hidden]{display:none}
.profile-pwa-install .profile-admin-button{max-width:100%;white-space:normal}
.pwa-install-help{color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.profile-web-push [hidden]{display:none}
.profile-web-push .profile-admin-button{max-width:100%;white-space:normal}
/* Activated only by the standalone PHONE main screen controller. No dimensions,
   spacing or control styles change; sticky keeps its original flow footprint. */
.pwa-smart-home{overflow-x:clip}
.pwa-smart-header{position:sticky;top:var(--pwa-safe-top,env(safe-area-inset-top,0px));z-index:20;background:var(--bg);transform:translateY(0);transition:transform 200ms ease-out}
.pwa-smart-header::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--bg);box-shadow:0 0 0 100vmax var(--bg);clip-path:inset(calc(-1 * var(--pwa-safe-top,env(safe-area-inset-top,0px))) -100vmax 0)}
.pwa-smart-header.pwa-header-hidden{transform:translateY(calc(-100% - var(--pwa-safe-top,env(safe-area-inset-top,0px))));pointer-events:none}
/* Status-bar backing is the safe inset only, not an empty header-height band. */
.pwa-smart-home::before{content:"";position:fixed;top:0;left:0;right:0;height:var(--pwa-safe-top,env(safe-area-inset-top,0px));z-index:21;background:var(--bg);pointer-events:none}
@media(prefers-reduced-motion:reduce){.pwa-smart-header{transition:none!important}}
