.toolhub-image__status { min-height: 1.5em; margin: 0 0 1rem; color: var(--thub-muted); font-weight: 650; }
.toolhub-image__status.is-working { color: var(--thub-accent-dark); }
.toolhub-image__dropzone { display: grid; place-items: center; min-height: 180px; padding: 1.5rem; border: 2px dashed #98a2b3; border-radius: 12px; background: var(--thub-surface-alt); color: var(--thub-muted); cursor: pointer; text-align: center; transition: border-color 120ms ease, background-color 120ms ease; }
.toolhub-image__dropzone:hover, .toolhub-image__dropzone.is-dragging { border-color: var(--thub-accent); background: var(--thub-accent-soft); }
.toolhub-image__dropzone:focus-visible { outline: 3px solid rgba(23, 105, 224, .28); outline-offset: 2px; }
.toolhub-image__dropzone:focus-within { outline: 3px solid rgba(23, 105, 224, .28); outline-offset: 2px; }
.toolhub-image__drop-title { color: var(--thub-accent-dark); font-size: 1.1rem; font-weight: 800; }
.toolhub-image__file-details { margin-top: 1rem; }
.toolhub-image__quality { margin-top: 1.25rem; }
.toolhub-image__quality input[type="range"] { width: 100%; margin: .4rem 0; accent-color: var(--thub-accent); }
.toolhub-image__quality-labels { display: flex; justify-content: space-between; gap: .5rem; color: var(--thub-muted); font-size: .75rem; }
.toolhub-image__advanced { margin-top: 1.25rem; }
.toolhub-image__checks { display: grid; gap: .7rem; margin-top: 1rem; }
.toolhub-image__background input[type="color"] { width: 70px; height: 46px; padding: 2px; border: 1px solid var(--thub-border); border-radius: 8px; background: #fff; }
.toolhub-image__warning, .toolhub-image__larger { margin-top: 1rem; }
.toolhub-image__results { position: sticky; top: 24px; }
.toolhub-image__previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.toolhub-image__previews figure { min-width: 0; margin: 0; }
.toolhub-image__previews figcaption { margin-bottom: .4rem; font-weight: 700; }
.toolhub-image__preview { display: grid; place-items: center; min-height: 220px; overflow: hidden; border: 1px solid var(--thub-border); border-radius: 10px; background: repeating-conic-gradient(#eef1f5 0 25%, #fff 0 50%) 50% / 18px 18px; color: var(--thub-muted); text-align: center; }
.toolhub-image__preview img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 320px; object-fit: contain; }
.toolhub-image [data-image-results] { margin-top: 1.25rem; }
@media (max-width: 800px) { .toolhub-image__results { position: static; } }
@media (max-width: 520px) {
	.toolhub-image__previews { grid-template-columns: minmax(0, 1fr); }
	.toolhub-image__preview { min-height: 190px; }
}
