.spv-container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	max-width: 900px;
	margin: 24px 0;
	font-family: inherit;
}

.spv-controls {
	flex: 1 1 240px;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	background: #f7f7f8;
	border: 1px solid #e2e2e5;
	border-radius: 8px;
}

.spv-field label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #333;
}

.spv-field input[type="number"],
.spv-field select {
	font-size: 14px;
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #ffffff !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	opacity: 1 !important;
	line-height: normal;
	appearance: auto;
	-webkit-appearance: auto;
}

.spv-field select option {
	color: #1a1a1a;
	background-color: #ffffff;
}

.spv-field input[type="number"]::placeholder {
	color: #999 !important;
}

.spv-field input[type="color"] {
	width: 48px;
	height: 32px;
	padding: 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
}

.spv-fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 4px;
	border-top: 1px dashed #ddd;
}

.spv-fields[hidden] {
	display: none;
}

.spv-hint {
	margin: 2px 0 0;
	font-size: 11px;
	font-weight: 400;
	color: #777;
	line-height: 1.4;
}

.spv-file-status {
	font-size: 12px;
	color: #555;
	font-style: italic;
}

.spv-field input[type="file"] {
	font-size: 13px;
	margin-top: 2px;
}

.spv-dims-output {
	font-size: 13px;
	color: #555;
	display: flex;
	gap: 6px;
	flex-direction: row;
	align-items: baseline;
}

.spv-dims-label {
	font-weight: 600;
}

.spv-viewer {
	flex: 2 1 380px;
	min-width: 300px;
	min-height: 320px;
	background: #1c1e22;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
}

.spv-viewer canvas {
	display: block;
	width: 100%;
	height: 100%;
}
