/* CSS Formatter — scoped under .aah-tool via the shared wrapper. */

.aah-cssfmt__options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin-bottom: 0.75rem;
}

.aah-cssfmt__panels {
	display: flex;
	gap: 1rem;
	align-items: stretch;
	margin-bottom: 0.75rem;
}

.aah-cssfmt__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.aah-cssfmt__col label {
	font-weight: 700;
}

.aah-cssfmt__col textarea {
	width: 100%;
	min-height: 320px;
	flex: 1;
	resize: vertical;
	font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
	font-size: 0.9em;
	line-height: 1.5;
}

.aah-cssfmt__stats {
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.aah-cssfmt__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.aah-cssfmt__status {
	color: var(--aah-muted);
	font-weight: 600;
}

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

.aah-cssfmt__warnings {
	font-weight: 600;
	color: #b45309;
}

@media (max-width: 700px) {
	.aah-cssfmt__panels {
		flex-direction: column;
	}
}
