.bz-polymorphic-launcher {
  border: 1px solid $bz-neutral-300;
  border-radius: $bz-border-radius-m;
  overflow: hidden;

  &__header {
    align-items: baseline;
    background: $bz-neutral-200;
    border-bottom: 1px solid $bz-neutral-300;
    display: flex;
    justify-content: space-between;
    padding: $bz-space-inset-squish-xs;
  }

  &__content {
    padding: $bz-space-inset-squish-xs;
  }

  &__item {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: $bz-space-stack-xs;
  }

  &__name {
    padding: $bz-space-inset-s 0;
  }

  &__actions {
    display: flex;
    flex-wrap: wrap;
    padding: $bz-space-inset-squish-s;
    padding-top: 0;
  }

  &__title {
    border-top: 1px solid $bz-neutral-300;
    padding: $bz-space-inset-squish-s;
  }

  ul {
    padding-left: $bz-space-inset-s;
  }
}

.bz-polymorphic-launcher-group {
  &__list {
    border-bottom: 1px solid $bz-neutral-300;
    padding-bottom: $bz-space-inset-m;
  }
}

[dir=rtl] {
  .bz-polymorphic-launcher {
    ul {
      padding-left: 0;
      padding-right: $bz-space-inset-s;
    }
  }
}
