.leonlab-toc {
	position: relative;
	border-radius: 16px;
	border: 1px solid rgba(0,0,0,0.12);
	background: rgba(255,255,255,0.85);
	backdrop-filter: blur(10px);
	padding: 16px;
}

.leonlab-toc--sticky {
	position: sticky;
	top: 18px;
}

.leonlab-toc__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.leonlab-toc__title {
	font-weight: 800;
	letter-spacing: -0.01em;
}

.leonlab-toc__toggle {
	border: 1px solid rgba(0,0,0,0.12);
	background: rgba(0,0,0,0.04);
	border-radius: 999px;
	width: 34px;
	height: 34px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	font-size: 16px;
}

.leonlab-toc__body {
	margin-top: 10px;
}

.leonlab-toc__list {
	margin: 0;
	padding-left: 18px;
}

.leonlab-toc[data-numbers="0"] .leonlab-toc__list {
	list-style: none;
	padding-left: 0;
}

.leonlab-toc__list a {
	text-decoration: none;
	color: inherit;
	opacity: 0.9;
}

.leonlab-toc__list a:hover {
	opacity: 1;
	text-decoration: underline;
}

.leonlab-toc__list a.is-active {
	font-weight: 700;
}

.leonlab-toc.is-collapsed .leonlab-toc__body {
	display: none;
}

.leonlab-toc.is-collapsed .leonlab-toc__toggle {
	transform: rotate(-90deg);
}
