/* Only within the isolated iframe. Footer is owned by the parent page. */
html, html body.sense-iphone-menu { margin:0 !important; padding:0 !important; min-height:0 !important; overflow-x:hidden; }
html body.sense-iphone-menu .homegrid-shell { margin:0 !important; padding:0 !important; min-height:0 !important; }
html body.sense-iphone-menu .top2-home { min-height:0 !important; height:auto !important; padding:12px 0 20px !important; }
html body.sense-iphone-menu .homegrid-pages { flex:none !important; min-height:0 !important; height:auto !important; }
html body.sense-iphone-menu .top2-pager { position:relative !important; inset:auto !important; transform:none !important; flex:none !important; margin:22px auto 0 !important; }
html body.sense-iphone-menu .homegrid-app-page { overflow-y:visible !important; }
html body.sense-iphone-menu .homegrid-apps { overflow:visible !important; }
html body.sense-iphone-menu .homegrid-home::before { pointer-events:none; }

html body.sense-iphone-menu .homegrid-pages { align-items:flex-start; }
html body.sense-iphone-menu .homegrid-app-page { align-self:flex-start; height:auto !important; }

/* A text underline identifies keyboard focus without outlining the app icons. */
html body.sense-iphone-menu .homegrid-app:focus-visible { outline:none !important; box-shadow:none !important; }
html body.sense-iphone-menu .homegrid-app:focus-visible .homegrid-label { text-decoration:underline; text-underline-offset:3px; }
html body.sense-iphone-menu button:focus-visible { outline:2px solid #555 !important; outline-offset:3px !important; }

/* Both TOP and drawer menus share the same upper control. */
html body.sense-iphone-menu .top2-pager.top2-pager--upper { margin:0 auto 10px !important; }
