/* PX to EM / REM Converter styles. */

.aah-px__settings {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

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

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

.aah-px__hint {
	font-weight: 400;
	font-size: 0.85em;
	color: var(--aah-muted, #5c5c5c);
}

.aah-px__result {
	display: flex;
	gap: 12px;
	align-items: baseline;
	flex-wrap: wrap;
	margin-bottom: 12px;
	padding: 12px 16px;
	border: 1px solid var(--aah-border, #d9d9d9);
	border-radius: var(--aah-radius, 8px);
	background: var(--aah-bg-soft, #fafafa);
}

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

.aah-px__result-value {
	font-size: 1.5em;
	color: var(--aah-crimson, #e62f41);
}

.aah-px__result-formula {
	color: var(--aah-muted, #5c5c5c);
	font-size: 0.9em;
}

.aah-px__table-wrap {
	margin-bottom: 12px;
}

.aah-px__table-title {
	font-weight: 700;
	margin-bottom: 4px;
}

.aah-px__table {
	width: 100%;
	border-collapse: collapse;
}

.aah-px__table th,
.aah-px__table td {
	border: 1px solid var(--aah-border, #d9d9d9);
	padding: 6px 10px;
	text-align: left;
}

.aah-px__table th {
	background: var(--aah-bg-soft, #fafafa);
}

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

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