.page-outline {
  position: sticky;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 7px clamp(16px, 4vw, 48px);
  color: #0a2f4f;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #dfe6df;
  border-bottom: 1px solid #cfd9d3;
  box-shadow: 0 8px 22px rgba(10, 47, 79, 0.07);
}

.page-outline > strong {
  flex: 0 0 auto;
  font-size: 12px;
  text-transform: uppercase;
}

.page-outline-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
}

.page-outline a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 11px;
  color: #435260;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

.page-outline a:hover,
.page-outline a:focus-visible,
.page-outline a.is-current {
  color: #0b6746;
  border-bottom-color: #f7c948;
}

[data-share-section] {
  scroll-margin-top: var(--section-scroll-offset, 190px);
}

[data-share-section].is-shared-target {
  animation: section-target-highlight 2.6s ease;
}

.section-share-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 8px 0 0;
  padding: 0 10px;
  color: #0b6746;
  background: #fff;
  border: 1px solid #b9ccc2;
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.section-share-button:hover,
.section-share-button:focus-visible {
  color: #fff;
  background: #0b6746;
  border-color: #0b6746;
}

@keyframes section-target-highlight {
  0%,
  100% {
    box-shadow: none;
  }
  14%,
  55% {
    box-shadow: inset 5px 0 #f7c948, inset 0 0 0 1px rgba(11, 103, 70, 0.24);
  }
}

@media (max-width: 760px) {
  .page-outline {
    display: block;
    min-height: 0;
    padding: 6px 14px 7px;
  }

  .page-outline > strong {
    display: block;
    margin: 0 0 2px;
    font-size: 10px;
  }

  .page-outline a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }
}
