/* Nur die Ansichten scrollen; "+ Ansicht" bleibt rechts stehen. */
.baserow-sheet-head > .baserow-view-tabs {
  flex: 1 1 auto;
  width: 0;
  scrollbar-gutter: stable;
}

.baserow-view-tabs > .regab-original-add-view {
  display: none !important;
}

.baserow-sheet-head > .regab-fixed-add-view {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 118px;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid #dfe8f2;
  background: #fff;
  color: #34465d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.baserow-sheet-head > .regab-fixed-add-view:hover {
  background: #eef5ff;
  color: #256be4;
}

.theme-dark .baserow-sheet-head > .regab-fixed-add-view {
  border-left-color: #94b7e12e;
  background: #0a243f;
  color: #cfe0f5;
}

.theme-dark .baserow-sheet-head > .regab-fixed-add-view:hover {
  background: #539aff29;
  color: #8ebcff;
}

@media (max-width: 1100px) {
  .baserow-sheet-head {
    position: relative;
  }

  .baserow-sheet-head > .baserow-view-tabs {
    flex: 0 0 auto;
    width: calc(100% - 118px);
    max-width: calc(100% - 118px);
    box-sizing: border-box;
  }

  .baserow-sheet-head > .regab-fixed-add-view {
    position: absolute;
    right: 0;
    bottom: 0;
    min-height: 58px;
    max-height: 58px;
  }
}

@media (max-width: 700px) {
  .baserow-sheet-head > .baserow-view-tabs {
    width: calc(100% - 104px);
    max-width: calc(100% - 104px);
  }

  .baserow-sheet-head > .regab-fixed-add-view {
    min-width: 104px;
    padding-inline: 12px;
  }
}
