/*
 * SCROLLBAR OWNER: Styles/scrollbars.css
 * Scrollbar appearance is centralized there. This file may own overflow,
 * scroll-snap and scrollbar-gutter behavior, but must not style scrollbar chrome.
 */

/* Shared route-based governance navigation, modeled on Studio track tabs. */

.governance-switcher {
  min-width: 0;
  margin: 0 0 clamp(2rem, 3vw, 3.25rem);
}

.governance-switcher__kicker {
  margin: 0 0 .55rem;
  color: var(--mn-pink);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.governance-switcher__tabs {
  display: flex;
  gap: .2rem;
  min-width: 0;
  overflow-x: auto;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--mn-line);
}

.governance-switcher__tabs a {
  flex: 0 0 auto;
  padding: .6rem .8rem;
  border-radius: 8px;
  color: var(--mn-muted);
  font-size: .64rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.governance-switcher__tabs a:hover,
.governance-switcher__tabs a:focus-visible {
  background: rgba(255,255,255,.035);
  color: var(--mn-text);
  outline: none;
}

.governance-switcher__tabs a:focus-visible {
  box-shadow: 0 0 0 2px var(--mn-cyan);
}

.governance-switcher__tabs a.is-current {
  background: rgba(255,255,255,.05);
  color: var(--mn-text);
}

@media (max-width: 800.98px) {
  .governance-switcher {
    margin-bottom: 1.5rem;
  }

  .governance-switcher__tabs {
    padding-bottom: .8rem;
  }
}
