/* Expo Planit V799on — embedded physical-phone landscape plan-fit correction.
   Scope is deliberately narrow: Public/Exhibitor only when embed=1 is present,
   the established physical-phone profile is active, and the iframe is landscape.

   V799ok/V799ml sized a real-phone iframe to the parent visual viewport. Inside
   that frame the responsive main workspace still claimed a full 100dvh below the
   event branding card, so the lower plan workspace extended beyond the iframe and
   appeared cropped. This override makes the existing pageShell the viewport owner
   and lets main flex into the remaining height. No banner, plan controls, panel
   geometry, standalone phone behaviour, tablet behaviour or security policy is
   redesigned here. */

@media (max-width:980px) and (orientation:landscape){
  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm,
  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm body.responsiveWorkspaceV799f:not(.touchscreenMode){
    box-sizing:border-box!important;
    height:var(--expo-planit-visible-vh-v799bm,100dvh)!important;
    min-height:var(--expo-planit-visible-vh-v799bm,100dvh)!important;
    max-height:var(--expo-planit-visible-vh-v799bm,100dvh)!important;
    overflow:hidden!important;
  }

  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm body.responsiveWorkspaceV799f:not(.touchscreenMode) .pageShell{
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:var(--expo-planit-visible-vh-v799bm,100dvh)!important;
    min-height:0!important;
    max-height:var(--expo-planit-visible-vh-v799bm,100dvh)!important;
    overflow:hidden!important;
  }

  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm body.responsiveWorkspaceV799f:not(.touchscreenMode) .pageShell > #brandingCard{
    flex:0 0 auto!important;
  }

  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm body.responsiveWorkspaceV799f:not(.touchscreenMode) main{
    position:relative!important;
    top:auto!important;
    flex:1 1 auto!important;
    box-sizing:border-box!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    overflow:hidden!important;
  }

  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm body.responsiveWorkspaceV799f:not(.touchscreenMode) #planCard,
  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm body.responsiveWorkspaceV799f:not(.touchscreenMode) #planCard > .adminPlanSurface,
  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm body.responsiveWorkspaceV799f:not(.touchscreenMode) #planCard > .cardSurface{
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }

  html.expoPlanitIframeEmbedV799on.expoPlanitPhoneV799bm body.responsiveWorkspaceV799f:not(.touchscreenMode) #zoomWrap{
    flex:1 1 0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
  }
}
