#resolution-reset-workspace .resolution-batch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  align-content: start;
  gap: 12px;
  width: 100%;
  padding: 3px;
  max-height: 560px;
  overflow-y: auto;
}
#resolution-reset-workspace .resolution-source-card .resolution-batch-grid { flex: 1; }
#resolution-reset-workspace .resolution-batch-card {
  position: relative;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--line, #70859b44);
  border-radius: 12px;
  background: var(--lg-panel, #ffffff0a);
}
#resolution-reset-workspace .resolution-batch-card.is-invalid {
  border-color: #f05258;
  box-shadow: 0 0 0 1px #f052582c;
}
#resolution-reset-workspace .resolution-batch-preview {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #8ca4bc14;
}
#resolution-reset-workspace .resolution-batch-preview img { width: 100%; height: 100%; object-fit: contain; }
#resolution-reset-workspace .resolution-batch-card > strong {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: var(--lg-text, inherit);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#resolution-reset-workspace .resolution-batch-card > small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted, #8596a7); }
#resolution-reset-workspace .resolution-batch-card.is-invalid > small { color: #f05258; }
#resolution-reset-workspace .resolution-batch-warning,
#resolution-reset-workspace .resolution-batch-reference {
  position: absolute;
  top: 12px;
  left: 12px;
  pointer-events: auto;
}
#resolution-reset-workspace .resolution-batch-warning {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #ef444b;
  box-shadow: 0 2px 7px #bd253d55;
  font: 800 15px/1 sans-serif;
}
#resolution-reset-workspace .resolution-batch-reference { padding: 3px 6px; border-radius: 5px; color: white; background: #147dffdd; font-size: 9px; }
#resolution-reset-workspace .resolution-batch-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  color: white;
  background: #172b41ba;
  font: 18px/1 sans-serif;
}
#resolution-reset-workspace .resolution-batch-remove:hover { background: #d84651; }
#resolution-reset-workspace .resolution-batch-summary { margin: 9px 0 12px; min-height: 16px; color: var(--muted, #8596a7); font-size: 11px; }
#resolution-reset-workspace .resolution-batch-summary.is-error { color: #ed4653; }
#resolution-reset-workspace .resolution-output-zone.has-resolution-batch { display: block; padding: 10px; }
#resolution-reset-workspace .resolution-output-zone.has-resolution-batch .resolution-output-progress { margin-bottom: 12px; padding: 14px; }
#resolution-reset-workspace .resolution-source-card.drag-active { outline: 2px solid #1685ff; outline-offset: 2px; }
#resolution-reset-workspace #resolution-replace-source {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid #1685ff55;
  border-radius: 10px;
  color: var(--lg-text, inherit);
  background: #1685ff12;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
#resolution-reset-workspace #resolution-replace-source:hover { border-color: #1685ff; background: #1685ff22; }
#resolution-reset-workspace #resolution-replace-source:disabled { cursor: default; opacity: .5; }
#resolution-reset-workspace .resolution-batch-preview:disabled,
#resolution-reset-workspace .resolution-batch-remove:disabled { cursor: default; opacity: .65; }
