/* HTML to Markdown Converter — scoped under .aah-tool via the shared wrapper. */

.aah-mdconv__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: flex-end;
	margin-bottom: 0.75rem;
}

.aah-mdconv__field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-weight: 700;
	font-size: 0.95em;
}

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

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

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

.aah-mdconv__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-mdconv__preview-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

.aah-mdconv__preview-wrap label {
	font-weight: 700;
}

.aah-mdconv__preview-wrap iframe {
	width: 100%;
	min-height: 260px;
	border: 1px solid var(--aah-border);
	border-radius: 6px;
	background: var(--aah-bg);
}

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

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

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