/**
 * Styled by Valentynoh Measurements — base layout. Themes may restyle the .sbvm classes.
 */

.sbvm {
	flex: 0 0 100%;
	width: 100%;
	margin: 0 0 16px;
}

.sbvm__panel {
	margin: 0 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
}

.sbvm__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	cursor: pointer;
	font-weight: 600;
}

.sbvm__body {
	padding: 0 14px 14px;
}

.sbvm__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}

.sbvm__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}

.sbvm__field input,
.sbvm__note textarea {
	width: 100%;
}

.sbvm__hint,
.sbvm__optional,
.sbvm__unit {
	font-size: 0.85em;
	font-weight: 400;
	opacity: 0.75;
}

.sbvm__note {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}
