@layer base.resets {
  /**
   * Fix an issue where Base UI's portalled elements (e.g. menus) move around when the page changes height (which can
   * happen when the content of the page changes based on a multi-select menu's selected items), since their position
   * is relative to the portal container which is rendered at the end of the DOM. This is due to our slightly unusual
   * but generally harmless `position: relative` reset.
   */
  [data-base-ui-portal] {
    @apply static;
  }
}
