/* Native section links share the quiet reading rail in the outer frame. */
body.nuweb-site .nuweb-scroll-indicator {
  --section-row: 28px;
  position: fixed;
  z-index: 45;
  top: calc(var(--header-height) + (100svh - var(--header-height)) / 2);
  right: max(0px, calc((var(--frame-gutter) - 28px) / 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 28px;
  color: var(--green);
  transform: translateY(-50%);
  user-select: none;
}
body.nuweb-site .nuweb-scroll-indicator[hidden] {
  display: none;
}
html[data-nuweb-menu-open] body.nuweb-site .nuweb-scroll-indicator {
  visibility: hidden;
}
body.nuweb-site .nuweb-scroll-track {
  position: absolute;
  inset: 14px 0 36px;
  width: 100%;
  pointer-events: none;
}
body.nuweb-site .nuweb-scroll-ticks {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: .18;
}
body.nuweb-site .nuweb-scroll-fill,
body.nuweb-site .nuweb-scroll-marker {
  position: absolute;
  left: 50%;
  display: block;
  background: currentColor;
}
body.nuweb-site .nuweb-scroll-fill {
  top: 0;
  width: 1px;
  height: var(--scroll-position);
  opacity: .6;
  transform: translateX(-50%);
}
body.nuweb-site .nuweb-scroll-marker {
  top: var(--scroll-position);
  width: 3px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 10px #0ac18e55;
  transform: translate(-50%, -50%);
}
body.nuweb-site .nuweb-scroll-points {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(100svh - var(--header-height) - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
body.nuweb-site .nuweb-scroll-point {
  position: relative;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex: 0 0 var(--section-row);
  width: 28px;
  height: var(--section-row);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--green);
  background: transparent;
  text-decoration: none;
  outline-offset: -3px;
}
body.nuweb-site .nuweb-scroll-dot {
  box-sizing: border-box;
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #05150f;
  opacity: .62;
  transition: opacity 160ms ease, background-color 160ms ease;
}
body.nuweb-site .nuweb-scroll-point:is(:hover,:focus-visible) .nuweb-scroll-dot {
  opacity: 1;
  background: currentColor;
}
body.nuweb-site .nuweb-scroll-point:focus-visible {
  outline: 1px solid currentColor;
}
body.nuweb-site .nuweb-scroll-point[aria-current="location"] .nuweb-scroll-dot {
  width: 8px;
  height: 8px;
  opacity: 1;
  background: currentColor;
  box-shadow: 0 0 10px #0ac18e55;
}
body.nuweb-site .nuweb-scroll-title {
  position: absolute;
  right: calc(100% + 8px);
  box-sizing: border-box;
  width: max-content;
  max-width: min(320px, calc(100vw - var(--frame-gutter) - 48px));
  padding: 9px 13px;
  border: 1px solid #0ac18e66;
  border-radius: 8px;
  color: #e6f5ed;
  background: #04150ff5;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transform: translateY(-50%);
  pointer-events: none;
}
body.nuweb-site .nuweb-scroll-title[hidden] {
  display: none;
}
body.nuweb-site .nuweb-scroll-more {
  display: block;
  width: 12px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  opacity: .7;
  transition: opacity 160ms ease;
}
body.nuweb-site .nuweb-scroll-indicator[data-scroll-end] .nuweb-scroll-more {
  opacity: 0;
}
@media (max-width: 700px) {
  body.nuweb-site .nuweb-scroll-indicator {
    right: 0;
    --section-row: 36px;
  }
  body.nuweb-site .nuweb-scroll-marker {
    width: 2px;
    height: 9px;
  }
  body.nuweb-site .nuweb-scroll-more {
    width: 10px;
    height: 11px;
  }
}
@media (pointer: coarse) {
  body.nuweb-site .nuweb-scroll-indicator {
    --section-row: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.nuweb-site :is(.nuweb-scroll-more,.nuweb-scroll-dot) {
    transition: none;
  }
}
