/* API reference page: Prism header and sub-tabs over the Scalar app. */

.ref-tabs {
  display: flex;
  gap: 4px;
  height: 40px;
  align-items: stretch;
  padding: 0 24px;
  border-top: 1px solid var(--lead);
  font: 500 12.5px/1 var(--font-mono);
}

.ref-tabs a {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
}

.ref-tabs a:hover {
  color: var(--text);
  text-decoration: none;
}

.ref-tabs a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--amber);
}

.reference .menu-button {
  display: none;
}

.reference-main {
  min-height: calc(100vh - 101px);
}

/* Scalar's sticky sidebar sits under the two header rows. */
.reference .scalar-app {
  --scalar-custom-header-height: 101px;
}
