/* Ferramentas de imagem em lote (comprimir, redimensionar). */
.lote { margin-top: 22px; display: grid; gap: 16px; }
.lote .drop { border: 2px dashed var(--soft-line); background: var(--card); border-radius: 20px; padding: 30px 20px; text-align: center; cursor: pointer; display: grid; gap: 8px; justify-items: center; transition: border-color .15s, background .15s; }
.lote .drop:hover, .lote .drop.over { border-color: var(--brand); background: var(--soft); }
.lote .drop b { font-size: 18px; }
.lote .drop span { color: var(--muted); font-size: 14px; }
.lote .drop .tool-ic { width: 52px; height: 52px; border-radius: 15px; }
.opcoes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; align-items: end; }
.opcoes .wide { grid-column: span 2; }
.range { display: flex; gap: 10px; align-items: center; }
.range input { flex: 1; accent-color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: inherit; font-size: 13px; font-weight: 600; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.chips button:hover { border-color: var(--brand); color: var(--brand); }
.lote-lista { display: grid; gap: 8px; }
.lote-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; }
.lote-item .pic { width: 64px; height: 64px; border-radius: 10px; background: var(--bg); overflow: hidden; display: grid; place-items: center; }
.lote-item .pic img { max-width: 100%; max-height: 100%; }
.lote-item .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; min-width: 0; font-size: 13px; }
.lote-item .nome { flex-basis: 100%; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lote-item .dim { color: var(--muted); font-variant-numeric: tabular-nums; }
.lote-item .dim b { color: var(--ink); }
.lote-item .tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.lote-item .tag.ok { background: var(--soft); color: var(--brand); }
.lote-item .erro { color: var(--err); }
.lote-item .btns { display: flex; gap: 6px; align-items: center; }
.lote-item .del { width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; }
.lote-item .del:hover { background: var(--err-bg); color: var(--err); }
.lote-acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.lote-acoes .status { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .opcoes { grid-template-columns: 1fr 1fr; }
  .opcoes .wide { grid-column: 1 / -1; }
  .lote-item { grid-template-columns: 52px minmax(0, 1fr); }
  .lote-item .pic { width: 52px; height: 52px; }
  .lote-item .btns { grid-column: 1 / -1; justify-content: flex-end; }
}
