/* TrustFlow Teams toolkit bar. One shared stylesheet and one shared markup
   block (between the TOOLKIT-BAR markers) on every toolkit page.
   Sits directly under the fixed main navbar, outside the page hero. */
:root {
  --tk-nav-h: 80px;
  --tk-bar-h: 58px;
}

.tk-bar {
  position: relative;
  z-index: 5;
  background: #121c27;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.tk-bar .toolkit-switcher-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 1240px;
  height: var(--tk-bar-h);
  margin: 0 auto;
  padding: 0 24px;
  background: none;
  border: 0;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.tk-bar .toolkit-switcher-bar::-webkit-scrollbar {
  display: none;
}

.tk-bar .toolkit-pill {
  flex: 0 0 auto;
  font-family: var(--ds-font, "Inter", system-ui, sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 980px;
  background: transparent;
  box-shadow: none;
  transition: color 0.18s ease, background 0.18s ease;
}
.tk-bar .toolkit-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.tk-bar .toolkit-pill:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.tk-bar .toolkit-pill.active {
  color: #ffffff;
  background: var(--ds-blue, #17609E);
  box-shadow: 0 2px 8px rgba(23, 96, 158, 0.45);
}

/* Narrow screens: one swipeable row, left aligned, edge fade as a scroll hint. */
@media (max-width: 1180px) {
  .tk-bar .toolkit-switcher-bar {
    justify-content: flex-start;
    padding: 0 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
  }
}
