
/* Keep anchor jump targets two lines below sticky MkDocs header */
h1, h2, h3, h4, [id] {
  scroll-margin-top: 88px;
}
/* High-visibility pill styling for Material horizontal content tabs sitewide */
.md-typeset .tabbed-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-bottom: 2px solid #c59b27;
  padding-bottom: 0.45rem;
  margin-bottom: 1rem;
  box-shadow: none !important;
}

.md-typeset .tabbed-labels > label {
  background-color: #faf6ee;
  color: #16263e !important;
  border: 1.5px solid #c59b27;
  border-radius: 6px;
  padding: 0.5rem 0.95rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 2px rgba(22, 38, 62, 0.08);
}

.md-typeset .tabbed-labels > label:hover {
  background-color: #f2e8d0;
  border-color: #16263e;
}

.md-typeset .tabbed-set > input:nth-child(1):checked ~ .tabbed-labels > label:nth-child(1),
.md-typeset .tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > label:nth-child(2),
.md-typeset .tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > label:nth-child(3),
.md-typeset .tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > label:nth-child(4),
.md-typeset .tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > label:nth-child(5),
.md-typeset .tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > label:nth-child(6),
.md-typeset .tabbed-set > input:nth-child(7):checked ~ .tabbed-labels > label:nth-child(7),
.md-typeset .tabbed-set > input:nth-child(8):checked ~ .tabbed-labels > label:nth-child(8) {
  background-color: #e8d5a7 !important;
  color: #16263e !important;
  border: 2px solid #16263e !important;
  box-shadow: 0 2px 5px rgba(22, 38, 62, 0.14);
}

/* Support clean 2-line navigation labels in header/tabs */
.md-tabs__link,
.md-nav__link {
  line-height: 1.25;
}
.md-tabs__item {
  height: auto;
  display: flex;
  align-items: center;
}

.md-typeset .tabbed-labels::before {
  display: none !important;
}
