/* Expo Planit V799pq — Public constrained-wide header fit.
   Built directly from accepted V799pl. Public only; fine-pointer Wide desktop
   only. No responsive breakpoint, Compact ownership, iframe bridge, Admin,
   Exhibitor, phone/tablet or 3D behaviour changes.

   The Public plan header can be materially narrower than the browser/iframe
   viewport because the 330px directory sits alongside it. Keep the same
   controls and logo, but use a denser presentation in the constrained Wide
   range so the supplied Expo Planit mark is not pushed outside the clipped
   plan-card header. */
@media (min-width:1000px) and (max-width:1240px) and (hover:hover) and (pointer:fine) {
  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .cardHead {
    grid-template-columns:max-content minmax(0,1fr) 32px auto!important;
    column-gap:8px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode.publicPlanStripMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .publicPlanActions {
    gap:4px!important;
  }

  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .publicPlanActions .headBtn,
  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .publicPlanActions #fitBtn,
  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .publicPlanActions .publicEventOverviewBtn {
    height:29px!important;
    min-height:29px!important;
    padding:4px 7px!important;
    font-size:10.5px!important;
  }

  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .publicPlanActions #topVisitorListBtn {
    padding-left:7px!important;
    padding-right:7px!important;
  }

  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .publicPlanActions .publicFitOverviewGroup {
    gap:4px!important;
  }

  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .expoPlanitPublicHeaderBrand {
    min-width:104px!important;
  }

  html.expoPlanitVisitorFinePointerV799pc
  body.expoPlanitDesktopHeaderV795fn.publicHeaderControlsMode:not(.expoPlanitVisitorCompactV799pc):not(.touchscreenMode)
  #planCard .expoPlanitPublicHeaderBrand .expoPlanitLogoMark {
    width:clamp(104px,8vw,136px)!important;
    height:clamp(24px,2.5vw,38px)!important;
    min-height:24px!important;
    max-height:38px!important;
  }
}

/* V799ps — semantic hidden-state guard.
   The desktop header's historical .headBtn rule uses display:inline-flex!important,
   which can override the HTML hidden attribute even after Public correctly decides
   that Event Overview has no function for a single-detail-plan event. Two IDs give
   this late guard unambiguous authority without changing any layout or plan logic. */
body #planCard #eventOverviewBtn[hidden] {
  display:none!important;
}
