/* Closed menus must stop intercepting clicks as soon as their open state ends. */
:is(.pt-header, .pt-admin-shell .pt-topmenu, .pt-dot-options, .sresults) .pt-drop:not(.open),
.pt-header .thedropdown > .dropdown:not(.open),
.pt-login-form .pt-drops:not(.open),
.pt-admin-shell .pt-nav .pt-menu li:not(:hover) > .pt-drop {
  visibility: hidden !important;
  pointer-events: none;
  /* Override legacy transition shorthands that also animate visibility. */
  transition-property: opacity, top, left, right, transform !important;
}
