.eet-toc {
	box-sizing: border-box;
	margin: 0 0 2rem;
	padding: 1rem 1.2rem;
	max-width: 100%;
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-radius: 6px;
	background: rgba(128, 128, 128, 0.06);
	color: inherit;
}

.eet-toc__header {
	margin: 0;
}

.eet-toc__title {
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1.4;
}

.eet-toc__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.eet-toc__toggle:hover,
.eet-toc__toggle:focus {
	background: transparent;
	color: inherit;
}

.eet-toc__toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}

.eet-toc__chevron {
	flex: 0 0 auto;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 160ms ease;
}

.eet-toc__toggle[aria-expanded="false"] .eet-toc__chevron {
	transform: rotate(-45deg);
}

.eet-toc__list,
.eet-toc__sublist {
	margin-top: 0.7rem;
	margin-bottom: 0;
	padding-left: 1.25rem;
}

.eet-toc__sublist {
	margin-top: 0.3rem;
}

.eet-toc__item {
	margin: 0.28rem 0;
	padding-left: 0.12rem;
}

.eet-toc__link {
	color: inherit;
	text-decoration: none;
}

.eet-toc__link:hover,
.eet-toc__link:focus {
	text-decoration: underline;
}

.eet-heading-anchor {
	scroll-margin-top: var(--eet-scroll-offset, 110px);
}

html.eet-toc-smooth-scroll {
	scroll-behavior: smooth;
}
