.image-inputs { max-width: 52rem; }
.image-drop {
  position: relative; display: grid; justify-items: center; align-content: center;
  gap: .5rem; min-height: 13rem; padding: 1.5rem;
  border: 2px dashed #c6c6c6; border-radius: 1rem; background: white; text-align: center;
}
.image-drop.drag-over, .image-drop:focus-within { border-color: #1769ed; background: #f0f6ff; }
.image-drop .icon { width: 2rem; height: 2rem; margin-bottom: .35rem; }
.image-drop strong { font-size: 1.25rem; }
.image-drop span { color: #175fcb; text-decoration: underline; }
.image-drop small { color: #666; }
.image-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.image-inputs .search { margin: 1rem 0; }
.image-search .text-link { display: inline-block; margin: .5rem 0 1rem; text-underline-offset: 3px; }
.image-results-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.25rem 0; }
.image-results-summary > div { flex: 1 1 12rem; }
.image-results-summary [data-copy-status] { font-size: .8125rem; }
.image-results-summary [data-copy-status]:empty { display: none; }
.image-results-summary img { height: 4.5rem; width: 4.5rem; flex: none; background: white; border-radius: .75rem; object-fit: contain; }
.image-results-summary p { margin: .2rem 0 0; color: #666; font-size: .875rem; }
.image-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin: 1.25rem 0; }
.image-filters label { display: grid; gap: .35rem; font-size: .8125rem; color: #444; }
.image-filters select, .image-filters input { padding: .65rem .875rem; min-height: 2.6rem; border: 1px solid #ddd; border-radius: .625rem; background: white; font: inherit; }
.image-filters input { width: 8.5rem; }
.image-filters button[hidden] { display: none; }
.image-match { min-width: 0; }
.image-supplier-link { display: inline-block; margin: .4rem .3rem 0; color: #1763d6; font-size: .8125rem; }
.image-matches > .empty { grid-column: 1 / -1; }
@media (max-width: 36rem) {
  .image-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .image-filters label, .image-filters select, .image-filters input { width: 100%; min-width: 0; }
}
.image-source { display:flex; flex-wrap:wrap; gap:.65rem 1rem; border:0; padding:0; margin:.4rem 0 1rem; }
.image-source legend { margin-bottom:.4rem; font-weight:600; }
.image-source label { font-size:.9rem; }
.image-search [hidden] { display:none !important; }
