@media screen and (forced-colors: none) {
	html.has-sol-scrollKey { scrollbar-width: none; scrollbar-gutter: auto; }
	html.has-sol-scrollKey::-webkit-scrollbar { width: 0; height: 0; display: none; }
}

.sol-scrollKey {
	position: fixed;
	inset: 0;
	z-index: 401;
	pointer-events: none;
	overflow: hidden;
	contain: layout paint style;
	--cord: var(--sol-accent-text, #467957);
	--line: 1.4px;
	--lead: 14px;
	--foot: 45px;
	--edge: 36px;
	--glyph: 27px;
}
.sol-scrollKey[hidden] { display: none; }
body.is-modalOpen .sol-scrollKey,
body.is-modalOverlayOpen .sol-scrollKey,
body.sol-themeEditorLocked .sol-scrollKey { visibility: hidden; }
body:has(.menu.is-active, .offCanvasMenu.is-active) .sol-scrollKey { visibility: hidden; }

.sol-scrollKey-rail {
	position: absolute;
	top: 0;
	right: env(safe-area-inset-right, 0px);
	bottom: max(3px, env(safe-area-inset-bottom), var(--key-notices, 0px));
	width: var(--edge);
	direction: ltr;
}
.sol-scrollKey-lead, .sol-scrollKey-thread {
	position: absolute;
	left: calc(50% - var(--line) / 2);
	width: var(--line);
	background: var(--cord);
}
.sol-scrollKey-lead { top: 0; height: var(--lead); }
.sol-scrollKey-thread, .sol-scrollKey-ride {
	top: var(--lead);
	bottom: var(--foot);
}
.sol-scrollKey-thread { transform-origin: center top; transform: scaleY(0); }
.sol-scrollKey-ride { position: absolute; left: 0; width: 100%; }

/* Only these two narrow layers follow ordinary page scrolling. */
@keyframes solCordLength { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes solKeyTravel { from { transform: translateY(0%); } to { transform: translateY(100%); } }
@supports (animation-timeline: scroll(root block)) {
	.sol-scrollKey-thread, .sol-scrollKey-ride {
		animation-duration: auto;
		animation-timing-function: linear;
		animation-fill-mode: both;
		animation-timeline: scroll(root block);
	}
	.sol-scrollKey-thread { animation-name: solCordLength; }
	.sol-scrollKey-ride { animation-name: solKeyTravel; }
}

.sol-scrollKey-track {
	position: absolute;
	inset: 0 0 0 auto;
	width: calc(50% + 5px);
	pointer-events: auto;
}
.sol-scrollKey-grip {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--foot);
	cursor: grab;
	touch-action: none;
	pointer-events: auto;
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}
.sol-scrollKey-grip:active { cursor: grabbing; }
.sol-scrollKey-grip:focus, .sol-scrollKey-grip:focus-visible { outline: none; box-shadow: none; }
.sol-scrollKey-key {
	position: absolute;
	top: -1px;
	left: 50%;
	margin-left: calc(var(--glyph) / -2);
	width: var(--glyph);
	height: auto;
	overflow: visible;
	transform: rotate(-7deg);
	transform-origin: 50% 1px;
	pointer-events: none;
}
.sol-scrollKey-focus { opacity: 0; }
.sol-scrollKey:not([data-pointer-focus]) .sol-scrollKey-grip:focus-visible .sol-scrollKey-focus { opacity: 1; }
.sol-scrollKey-cast {
	display: none;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: var(--cord);
	stroke-width: var(--line);
	stroke-linecap: round;
}
.sol-scrollKey[data-pulled] .sol-scrollKey-cast { display: block; }
.sol-scrollKey[data-pulled] :is(.sol-scrollKey-thread,.sol-scrollKey-lead) { visibility: hidden; }
.sol-scrollKey[data-trim] { --edge: 25px; --glyph: 21px; --foot: 37px; }
.sol-scrollKey[data-touch] { --edge: 14px; --glyph: 13px; --foot: 23px; --lead: 10px; --line: 1px; }
.sol-scrollKey[data-touch] :is(.sol-scrollKey-grip,.sol-scrollKey-track) { pointer-events: none; }
@media print, (forced-colors: active) { .sol-scrollKey { display: none; } }
