/* Preview/export parity: clean-up strength and live feedback */
.neighbor-cleanup-control { margin:9px 0 12px;padding:10px 12px;border:1px solid #345778;background:#122b49;border-radius:11px; }
.neighbor-cleanup-control > label { display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:750;color:#d6ecff; }
.neighbor-cleanup-control output { color:#67deff;font-variant-numeric:tabular-nums; }
.neighbor-cleanup-control input[type=range] { display:block;width:100%;accent-color:#29c7ee;margin:10px 0 5px; }
.neighbor-cleanup-control input[type=range]:disabled { opacity:.38;cursor:not-allowed; }
.neighbor-cleanup-control .hint { margin:5px 0 0;font-size:11px;color:#abcbdf;line-height:1.45; }

/* Batch navigation lives ABOVE the canvas in its own layout row. This
   deliberately replaces the old bottom-right fixed overlay which blocked
   crop handles and overlapped controls on smaller desktop windows. */
.batch-quick-slot { position:sticky;top:93px;z-index:40;min-width:0;max-width:100%;margin:0 0 11px; }
.batch-quick-slot:has(> .batch-quick-nav.hidden) { display:none; }
.batch-quick-nav {
  position:relative;inset:auto;width:100%;max-width:100%;min-width:0;
  display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-start;
  gap:9px;padding:10px 12px;
  background:linear-gradient(130deg,#102d52f9,#17284cfb);
  border:1px solid #4d91ba;border-radius:12px;color:#e1f5ff;
  box-shadow:0 4px 12px #0005;
}
.batch-quick-nav.hidden { display:none!important; }
.batch-quick-nav button {
  flex:0 0 39px;width:39px;min-width:39px;height:38px;
  margin:0;padding:5px 8px;border:1px solid #5a8cb6;
  border-radius:9px;font-weight:800;font-size:19px;line-height:1;
  color:#eaf7ff;background:#26476f;
}
.batch-quick-nav button:disabled { opacity:.35;cursor:not-allowed; }
.batch-quick-label {
  display:flex;flex:0 1 260px;align-items:center;gap:8px;
  min-width:125px;max-width:100%;margin:0;
  font-size:12px;font-weight:700;color:#cceaff;white-space:nowrap;
}
.batch-quick-nav select {
  flex:1 1 120px;width:100%;min-width:0;max-width:240px;
  height:38px;margin:0;padding:6px 28px 6px 9px;
  border:1px solid #4a80aa;border-radius:8px;
  background:#0d2240;color:#f0f8ff;
  font:600 12px/1.2 Inter,system-ui,sans-serif;text-overflow:ellipsis;
}
.batch-quick-count {
  flex:0 0 auto;min-width:54px;text-align:center;white-space:nowrap;
  font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;color:#66dbff;
}
.batch-quick-auto {
  display:flex;flex:0 0 auto;align-items:center;gap:7px;margin:0 0 0 auto;
  padding:0;white-space:nowrap;font-size:12px;color:#d7edff;cursor:pointer;
}
.batch-quick-auto input { margin:0;accent-color:#1ec6db; }
.batch-quick-nav :is(button,select,input):focus-visible { outline:2px solid #75edff;outline-offset:2px; }
@media(max-width:1000px) {
 .batch-quick-slot { position:relative;top:auto;z-index:20; }
}
@media(max-width:650px) {
 .batch-quick-nav { gap:7px;padding:9px; }
 .batch-quick-label { flex:1 1 145px; }
 .batch-quick-nav select { max-width:none; }
 .batch-quick-nav button { flex-basis:36px;width:36px;min-width:36px;height:36px; }
 .batch-quick-auto { margin-left:0; }
}
@media(max-width:380px) {
 .batch-quick-nav { gap:6px; }
 .batch-quick-label { flex:1 1 132px;min-width:120px; }
 .batch-quick-count { min-width:42px; }
 .batch-quick-nav button { flex-basis:32px;width:32px;min-width:32px; }
}
