/* Selected active-card origin; independent of catalogue tooltip styling. */
#tocCV .tocActivePath, #tocCVFL .tocActivePath {
	display: flex;
	align-items: flex-start;
	gap: 3px;
	margin: 0 3px 2px;
	padding: 0 3px;
	font: 11px/16px Arial, sans-serif;
	color: #00677F;
	background: color-mix(in srgb, #ffffff 50%, var(--toc-active-card-surface, #D6E7EB) 50%);
	border-radius: 3px;
}
.tocActivePath[hidden] { display: none !important; }
.tocActivePathText { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tocActiveExpanded .tocActivePathText { white-space: normal; overflow-wrap: anywhere; }
.tocActivePath .tocActiveTheme { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 1px; }

/* Current level above, visibility limits below; glyphs center on the band. */
.tocActiveZoom { display: flex; align-items: flex-start; gap: 6px; min-height: 48px; margin-top: 2px; }
.tocZoomIcon { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 12px; }
.tocZoomTrack { position: relative; height: 6px; flex: 1; min-width: 0; margin-top: 20px; background: #b9d3d8; border-radius: 3px; }
.tocZoomBand { position: absolute; height: 6px; background: #00677F; border-radius: 3px; }
.tocZoomMarker { position: absolute; top: -18px; width: 22px; margin-left: -11px; text-align: center; font: bold 11px/11px Arial, sans-serif; color: #173B46; }
.tocZoomPointer { display: block; font-size: 9px; line-height: 7px; }
.tocZoomLower, .tocZoomUpper { position: absolute; top: 10px; font: 11px/16px Arial, sans-serif; color: #00677F; }
.tocZoomLower { transform: translateX(-15%); }
.tocZoomUpper { transform: translateX(-85%); }
.tocZoomJump { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; margin-top: 12px; padding: 2px; border: 1px solid #00677F; border-radius: 3px; background: #ffffff; cursor: pointer; }
.tocZoomJump img { width: 16px; height: 16px; }
.tocZoomJump:disabled { opacity: .55; cursor: default; }
.tocZoomJump:focus-visible { outline: 2px solid #00677F; outline-offset: 2px; }
.tocActiveZoom [hidden] { display: none; }
