/* Keep the existing compact tabs; the picker shares their row. */
.view-tabs-shell {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  border-bottom: 1px solid var(--glass-edge, var(--line));
}
.view-tabs-shell #view-tabs {
  flex: 1 1 auto;
  min-width: 0;
  border-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.view-tabs-shell #view-tabs::-webkit-scrollbar { display: none; }
.view-tab:focus-visible { outline: 2px solid #3156d3; outline-offset: -3px; }
.view-tabs-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  border-left: 1px solid var(--glass-edge, var(--line));
}
.view-tabs-tools :is(button, select) {
  box-sizing: border-box;
  min-height: 24px;
  height: 24px;
  border: 1px solid transparent;
  border-radius: var(--r-control, 6px);
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.view-tabs-tools button {
  width: 22px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}
.view-tabs-tools select {
  width: 112px;
  padding: 2px 0 2px 5px;
}
.view-tabs-tools :is(button, select):hover {
  color: var(--ink);
  background: rgba(148, 163, 184, .12);
  border-color: var(--line);
}
.view-tabs-tools :is(button, select):focus-visible {
  outline: 2px solid #3156d3;
  outline-offset: 1px;
}
.view-tabs-tools button:disabled {
  opacity: .35;
  cursor: default;
  background: transparent;
  border-color: transparent;
}
.view-tabs-shell[data-overflow="false"] .view-tabs-scroll { display: none; }
@media (max-width: 640px) {
  .view-tabs-tools { gap: 0; padding-right: 3px; }
  .view-tabs-tools select { width: 102px; }
}
