.map #detectionsLayer .detection-shape,
.map #detectionsLayer svg.detection-shape {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  overflow: visible !important;
}

.map #detectionsLayer .detection-shape .plant-contour,
.map #detectionsLayer .detection-shape polygon.plant-contour {
  fill: transparent !important;
  stroke: #00d166 !important;
  stroke-width: var(--plant-stroke-px, .8px) !important;
  stroke-linejoin: miter !important;
  stroke-linecap: butt !important;
  vector-effect: non-scaling-stroke !important;
}

.map #detectionsLayer .detection-shape .buffer-geometry,
.map.buffer-on #detectionsLayer .detection-shape .buffer-geometry,
.manual-detection .buffer-geometry,
.imported-model-shape.index-review .buffer-geometry {
  display: none !important;
  fill: transparent !important;
  stroke: transparent !important;
  stroke-width: 0 !important;
  opacity: 0 !important;
}

.map #detectionsLayer .detection-box {
  background: transparent !important;
  border: 1px solid #00d166 !important;
  box-shadow: none !important;
}


/* v4: mantém o contorno fino mesmo quando o mapa está com zoom alto. */
.map #detectionsLayer .detection-shape:hover .plant-contour,
.map #detectionsLayer .detection-shape:hover polygon.plant-contour {
  stroke-width: var(--plant-hover-stroke-px, .9px) !important;
}
.map #detectionsLayer .detection-shape.selected-polygon .plant-contour,
.map #detectionsLayer .detection-shape.selected-polygon polygon.plant-contour {
  stroke-width: var(--plant-selected-stroke-px, 1px) !important;
  filter: none !important;
}

/* v6: a caixa temporária do desenho manual também fica fina durante o arraste. */
.map .manual-draw-box,
.map.manual-draw .manual-draw-box {
  border: var(--manual-draw-stroke-px, .75px) dashed #00d166 !important;
  background: rgba(0, 209, 102, .055) !important;
  box-shadow: none !important;
  outline: 0 !important;
}
