/* XML Sitemap Generator styles. */

.aah-sitemap__rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 12px;
}

.aah-sitemap__row {
	border: 1px solid var(--aah-border, #d9d9d9);
	border-radius: var(--aah-radius, 8px);
	padding: 12px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 12px;
	align-items: end;
}

/* In the side-by-side layout the rows sit in the narrower left
 * column, where four fields across would squeeze the date
 * input and the selects — so they wrap to two across there.
 * Below 768px the split stacks to full width and the four
 * across fit again. */
@media (min-width: 768px) {
	.aah-split__controls .aah-sitemap__row {
		grid-template-columns: 1fr 1fr;
	}
}

.aah-sitemap__row legend {
	font-weight: 700;
	padding: 0 0.4rem;
}

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

.aah-sitemap__field input,
.aah-sitemap__field select {
	font-weight: 400;
	width: 100%;
	box-sizing: border-box;
}

.aah-sitemap__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 12px 0;
}

.aah-sitemap__panels label {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
}

.aah-sitemap__panels textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 260px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	white-space: pre;
}

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

.aah-sitemap__warnings {
	color: var(--aah-muted, #5c5c5c);
}
