.hs-rit {
	position: fixed;
	top: var(--hs-rit-top, 50%);
	z-index: 999;
	transform: translateY(-50%);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.35;
	pointer-events: none;
}

.hs-rit[hidden] {
	display: none !important;
}

.hs-rit__list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 12px 4px;
	list-style: none;
	pointer-events: auto;
}

.hs-rit__item {
	position: relative;
	margin: 0;
	padding: 0;
}

.hs-rit__link {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 38px;
	min-height: 18px;
	color: inherit;
	text-decoration: none;
	outline: none;
}

.hs-rit--right .hs-rit__link {
	justify-content: flex-end;
}

.hs-rit--left .hs-rit__link {
	justify-content: flex-start;
}

.hs-rit__line {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--hs-rit-line, #9a9a9a);
	opacity: .66;
	transition: width .2s ease, height .2s ease, opacity .2s ease, background-color .2s ease, transform .2s ease;
}

.hs-rit__item--h3 .hs-rit__line {
	width: 11px;
	opacity: .45;
}

.hs-rit__link:hover .hs-rit__line,
.hs-rit__link:focus-visible .hs-rit__line,
.hs-rit__link.is-active .hs-rit__line {
	width: 28px;
	height: 3px;
	background: var(--hs-rit-accent, #e48738);
	opacity: 1;
}

.hs-rit__label {
	position: absolute;
	top: 50%;
	width: max-content;
	max-width: var(--hs-rit-label-width, 300px);
	padding: 8px 11px;
	border: 1px solid rgba(0, 0, 0, .09);
	border-radius: 8px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 8px 26px rgba(0, 0, 0, .13);
	color: #202020;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.3;
	text-align: left;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%) scale(.97);
	transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
	pointer-events: none;
}

.hs-rit--right .hs-rit__label {
	right: calc(100% + 10px);
	transform-origin: right center;
}

.hs-rit--left .hs-rit__label {
	left: calc(100% + 10px);
	transform-origin: left center;
}

.hs-rit__link:hover .hs-rit__label,
.hs-rit__link:focus-visible .hs-rit__label {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) scale(1);
}

.hs-rit__link:focus-visible .hs-rit__line {
	outline: 2px solid var(--hs-rit-accent, #e48738);
	outline-offset: 4px;
}

.hs-rit__mobile-toggle {
	display: none;
}

html.hs-darkmode .hs-rit__label,
body.dark-mode .hs-rit__label,
body.darkmode .hs-rit__label {
	border-color: rgba(255, 255, 255, .12);
	background: rgba(45, 45, 45, .97);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .38);
	color: #f2f2f2;
}

@media (prefers-color-scheme: dark) {
	html:not(.hs-lightmode) .hs-rit__label {
		border-color: rgba(255, 255, 255, .12);
		background: rgba(45, 45, 45, .97);
		box-shadow: 0 8px 28px rgba(0, 0, 0, .38);
		color: #f2f2f2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hs-rit__line,
	.hs-rit__label {
		transition: none;
	}
}
