editor-menu > :not([slot]) {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;

  position: relative;
  padding: var(--body-side-padding);
  box-sizing: border-box;
  contain: strict;
  overflow-x: hidden;
  overflow-y: auto;

  color: var(--foreground-color);

  display: flex;
  flex-direction: column;
}

editor-menu > :not([slot]):not([selected]) {
  display: none!important;
}

editor-menu > :not([slot])::-webkit-scrollbar {
  width: var(--scrollbar-width);
  background-color: var(--surface-color);
}

editor-menu > :not([slot])::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
  border-radius: var(--scrollbar-radius);
}
