.toolbox-layout .image-batch-tool { display: none; }

.image-batch-tool {
  background: var(--wp--preset--color--surface, #fff);
  border: 1px solid var(--wp--preset--color--line, #dfe4eb);
  border-radius: 18px;
  margin-top: 36px;
  padding: 24px;
}
.image-batch-tool h2 { margin: 0 0 6px; }
.image-batch-tool > p { color: var(--wp--preset--color--muted, #6f7c91); margin: 0 0 20px; }
.image-batch-controls { align-items: end; display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.image-batch-controls label { color: var(--wp--preset--color--muted, #6f7c91); display: flex; flex-direction: column; font-size: 12px; font-weight: 700; gap: 6px; letter-spacing: .04em; }
.image-batch-controls input { border: 1px solid var(--wp--preset--color--line, #dfe4eb); border-radius: 10px; color: var(--wp--preset--color--ink, #0b1f3a); font: inherit; height: 42px; padding: 0 12px; width: 220px; }
.image-batch-controls input:focus { border-color: var(--wp--preset--color--orange, #ff6508); outline: 2px solid rgba(255,101,8,.18); }
.image-batch-controls button, .image-batch-result button { border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 700; }
.image-batch-clear { background: #fff4ed; color: var(--wp--preset--color--orange, #ff6508); height: 42px; padding: 0 15px; }
.image-batch-download-all, .image-batch-result button { background: var(--wp--preset--color--orange, #ff6508); color: var(--wp--preset--color--surface, #fff); height: 42px; padding: 0 15px; }
.image-batch-download-all:disabled { cursor: not-allowed; opacity: .45; }
.image-batch-drop { align-items: center; background: var(--wp--preset--color--canvas, #f5f7fa); border: 1px dashed var(--wp--preset--color--line, #dfe4eb); border-radius: 14px; display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: 24px; text-align: center; transition: background .2s ease, border-color .2s ease; }
.image-batch-drop.is-over, .image-batch-drop:focus { background: #fff8f2; border-color: var(--wp--preset--color--orange, #ff6508); outline: none; }
.image-batch-drop strong { display: block; font-size: 16px; }
.image-batch-drop > span:not(.image-batch-upload-icon) { color: var(--wp--preset--color--muted, #6f7c91); display: block; margin-top: 4px; }
.image-batch-drop small { color: var(--wp--preset--color--muted, #6f7c91); display: block; margin-top: 12px; }
.image-batch-upload-icon { align-items: center; background: #fff0e6; border-radius: 12px; color: var(--wp--preset--color--orange, #ff6508); display: flex; font-size: 24px; height: 48px; justify-content: center; margin-bottom: 10px; width: 48px; }
.image-batch-choose { background: var(--wp--preset--color--surface, #fff); border: 1px solid var(--wp--preset--color--line, #dfe4eb); border-radius: 9px; color: var(--wp--preset--color--orange, #ff6508); cursor: pointer; display: inline-flex; font-weight: 700; margin-top: 14px; padding: 8px 14px; }
.image-batch-choose input { display: none; }
.image-batch-status { color: var(--wp--preset--color--muted, #6f7c91); font-size: 13px; min-height: 20px; }
.image-batch-status.is-error { color: #b64932; }
.image-batch-status.is-success { color: #17834f; font-weight: 700; }
.image-batch-results { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.image-batch-result { border: 1px solid var(--wp--preset--color--line, #dfe4eb); border-radius: 12px; overflow: hidden; }
.image-batch-thumb { aspect-ratio: 1; background: var(--wp--preset--color--canvas, #f5f7fa); }
.image-batch-thumb img { display: block; height: 100%; object-fit: cover; width: 100%; }
.image-batch-meta { padding: 12px; }
.image-batch-meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-batch-meta small { color: var(--wp--preset--color--muted, #6f7c91); display: block; margin: 4px 0 10px; }
.image-batch-result button { font-size: 12px; height: 34px; width: 100%; }

@media (max-width: 760px) {
  .image-batch-tool { margin-top: 24px; padding: 18px; }
  .image-batch-controls { align-items: stretch; }
  .image-batch-controls label, .image-batch-controls input { width: 100%; }
  .image-batch-controls button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .image-batch-drop { transition: none; }
}
