/* HTML5 Semantic Elements Explorer styles. */

.aah-sem__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 12px;
	font-weight: 700;
	font-size: 0.95em;
}

.aah-sem__field select {
	font-size: 0.95em;
	font-weight: 400;
}

.aah-sem__section {
	margin-bottom: 12px;
}

.aah-sem__section h4 {
	margin: 0 0 4px;
}

.aah-sem__section p {
	margin: 0;
}

.aah-sem__code {
	font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
	font-size: 0.95em;
	background: var(--aah-bg-soft, #fafafa);
	border: 1px solid var(--aah-border, #d9d9d9);
	border-radius: var(--aah-radius, 8px);
	padding: 12px 16px;
	margin: 0 0 8px;
	white-space: pre-wrap;
	word-break: break-word;
}

.aah-sem__live {
	border: 1px solid var(--aah-border, #d9d9d9);
	border-radius: var(--aah-radius, 8px);
	padding: 12px 16px;
	background: var(--aah-bg-soft, #fafafa);
}

.aah-sem__live h1,
.aah-sem__live h2,
.aah-sem__live h3 {
	margin: 0 0 8px;
}

.aah-sem__live p {
	margin: 0 0 8px;
}

.aah-sem__live p:last-child {
	margin-bottom: 0;
}

.aah-sem__live nav a,
.aah-sem__live aside a,
.aah-sem__live address a {
	color: var(--aah-crimson, #e62f41);
}

.aah-sem__live figure {
	margin: 0;
}

.aah-sem__live figcaption {
	font-size: 0.9em;
	margin-top: 8px;
}

.aah-sem__live details summary {
	cursor: pointer;
	font-weight: 700;
}

.aah-sem__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.aah-sem__status {
	font-weight: 600;
}

.aah-sem__status:empty {
	display: none;
}
