.weavedoc-api-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 !important;
	flex-wrap: wrap;
}

.weavedoc-api-header .headerlink {
	display: none;
}

.weavedoc-api-header > * {
	flex-shrink: 0;
}

.weavedoc-api-header .weavedoc-api-name {
	margin-right: auto;
}

.weavedoc-api-pills {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5em;
	flex-wrap: wrap;
	line-height: 1.5em;

	font-size: 0.75rem;
	margin-left: 0.5em;
	margin-bottom: -2em;

	letter-spacing: -0.02em;
	font-weight: 400;
	vertical-align: middle;
}

.weavedoc-api-pills + h1,
.weavedoc-api-pills + h2,
.weavedoc-api-pills + h3,
.weavedoc-api-pills + h4 {
	margin-top: 0;
}

.weavedoc-api-header .weavedoc-api-pills {
	font-size: 0.5em;
	margin-bottom: 0em;
}

.weavedoc-api-pills > * {
	padding: 0.25em 0.75em;
	border-radius: 1em;
	height: 2em;
	flex-shrink: 0;
}

.weavedoc-api-pills .weavedoc-api-pill-type {
	background-color: var(--weavedoc-accent-a20);
	color: var(--weavedoc-accent-text);
}

.weavedoc-api-pills .weavedoc-api-pill-since {
	background-color: var(--weavedoc-accent-hover-a20);
	color: var(--weavedoc-accent-hover-text);
}

.weavedoc-api-breadcrumbs {
	display: flex;
	align-items: center;
	height: 2rem;
}

.weavedoc-api-breadcrumbs > a {
	color: var(--weavedoc-fg-3);
}

.weavedoc-api-breadcrumbs > a:hover {
	color: var(--weavedoc-accent-hover);
}

.weavedoc-api-breadcrumbs > a::after {
	content: "/";
	margin: 0 0.25rem;
	opacity: 0.5;
	color: var(--weavedoc-fg-3);
}

.weavedoc-api-index-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;

	color: var(--weavedoc-fg-1) !important;
	margin: 1rem 0;
}

.weavedoc-api-index-link:hover {
	color: var(--weavedoc-accent-hover) !important;
}

.weavedoc-api-index-link > .weavedoc-api-index-arrow {
	transform: translateX(0rem);
	transition: transform 0.2s ease;
}

.weavedoc-api-index-link:hover > .weavedoc-api-index-arrow {
	transform: translateX(0.5rem);
}

.weavedoc-error-api-section {
	opacity: 1;
	transition: opacity 0.4s ease;
}

.weavedoc-error-api-section.weavedoc-error-api-section-defocus {
	opacity: 0.4;
	transition: opacity 0.4s ease;
}