@include prefix(tab-group) {
  .tabs-collector {
    height: 0;
    width: 0;
    overflow: hidden;
    display: block;
  }

  .tabs-header {
    background-color: plv(bg-2);
  }

  .tabs-header-item {
    cursor: pointer;
    user-select: none;

    @include prefix(icon) {
      margin-left: 8px;
    }
  }

  .tabs-header-item-operator {
    flex-grow: 1;
    flex-shrink: 0;
    position: sticky;
    right: 4px;
    height: 45px;
    line-height: 45px;
    padding-left: 16px;
    justify-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    background-color: plv(background-color);

    & > * + * {
      margin-left: 4px;
    }
  }

  .inner-tab {
    & > .#{componentName(auto-table)}:first-child, & > .#{componentName(page-card)}:first-child {
      .auto-table-body, & > div:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
      }
    }
  }

  @include sizeMixin(tab-group, (font-size)) {
    .tabs-header {
      border-top-left-radius: $border-radius;
      border-top-right-radius: $border-radius;

      .tabs-header-list {
        box-sizing: border-box;
        padding-left: $margin;
        padding-right: $margin;
      }
    }
  }
}
