.st-compressor-options {
	align-items: end;
}
.st-compressor-options select {
	max-width: 100%;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid var(--st-border, #e6dccb);
	border-radius: 8px;
	background: #fffdf8;
	color: #2b2b2b;
	font: inherit;
}
.st-compressor-note {
	margin: 12px 0;
	padding: 10px 12px;
	border-left: 3px solid #b11e2e;
	background: #f8f1e4;
	color: #514943;
	font-size: .92rem;
}
.st-compressor-list {
	display: grid;
	gap: 16px;
	margin: 18px 0;
}
.st-compressor-item {
	min-width: 0;
	padding: 14px;
	border: 1px solid #e6dccb;
	border-radius: 12px;
	background: #fffdf8;
}
.st-compressor-item-heading {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.st-compressor-name {
	overflow-wrap: anywhere;
}
.st-compressor-previews {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}
.st-compressor-preview {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
	padding: 9px;
	border: 1px solid #eee5d8;
	border-radius: 8px;
}
.st-compressor-preview-label,
.st-compressor-size {
	font-size: .84rem;
	color: #6b6560;
}
.st-compressor-preview-img,
.st-compressor-preview-placeholder {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: contain;
	background-color: #f8f1e4;
	background-image: linear-gradient(45deg, #eee5d8 25%, transparent 25%), linear-gradient(-45deg, #eee5d8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee5d8 75%), linear-gradient(-45deg, transparent 75%, #eee5d8 75%);
	background-size: 16px 16px;
	background-position: 0 0, 0 8px, 8px -8px, -8px 0;
	border-radius: 5px;
}
.st-compressor-preview-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	color: #6b6560;
	font-size: .9rem;
	text-align: center;
}
.st-compressor-error,
.st-compressor-error-detail {
	color: #9c1c2b;
	font-size: .88rem;
	overflow-wrap: anywhere;
}
.st-compressor-error-detail { margin: 8px 0 0; }
@media (max-width: 520px) {
	.st-compressor-previews { grid-template-columns: minmax(0, 1fr); }
	.st-compressor-preview-img,
	.st-compressor-preview-placeholder { height: 150px; }
}

.st-resize-panel {
	margin: 16px 0;
	padding: 14px;
	border: 1px solid var(--st-border, #e6dccb);
	border-radius: 10px;
	background: #fffdf8;
}
.st-resize-panel > summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--st-ink, #202b40);
}
.st-resize-options {
	margin-top: 14px;
	align-items: end;
}
.st-resize-options input[type="number"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid var(--st-border, #e6dccb);
	border-radius: 8px;
	background: #fff;
	color: #2b2b2b;
	font: inherit;
}
.st-resize-options .st-check-label {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
}
.st-resize-options .st-check-label input { width: auto; }
.st-resize-help {
	margin: 10px 0 0;
	font-size: .9rem;
	color: #6b6560;
}
.st-compressor-warning {
	margin: 8px 0 0;
	color: #79510b;
	font-size: .88rem;
	overflow-wrap: anywhere;
}

.st-target-size-fields {
	display: flex;
	gap: 6px;
}
.st-target-size-fields input {
	min-width: 0;
	flex: 1 1 auto;
}
.st-target-size-fields select {
	flex: 0 0 76px;
}
