/* Smart Aufmaß Live – precise aiming reticle.
   Keep the visual target small and calm so the actual corner remains visible. */
.z-\[120\] div:has(> .lucide-crosshair) {
  position: relative !important;
  width: 32px !important;
  height: 32px !important;
  border-width: 1.5px !important;
  background: rgba(2, 6, 23, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 2px 8px rgba(0,0,0,.22) !important;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}

.z-\[120\] div:has(> .lucide-crosshair)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 0 0 2px rgba(2,6,23,.48);
}

.z-\[120\] div:has(> .lucide-crosshair).border-emerald-300 {
  background: rgba(16,185,129,.10) !important;
  box-shadow: 0 0 0 1px rgba(110,231,183,.3), 0 0 12px rgba(16,185,129,.18) !important;
}
.z-\[120\] div:has(> .lucide-crosshair).border-emerald-300::before {
  background: rgb(110,231,183);
}

.z-\[120\] div:has(> .lucide-crosshair).border-amber-300 {
  background: rgba(245,158,11,.08) !important;
  box-shadow: 0 0 0 1px rgba(252,211,77,.24) !important;
}
.z-\[120\] div:has(> .lucide-crosshair).border-amber-300::before {
  background: rgb(252,211,77);
}

.z-\[120\] .lucide-crosshair {
  width: 12px !important;
  height: 12px !important;
  opacity: .22 !important;
  stroke-width: 1.4 !important;
}

/* Keep the tracking status close to the target without covering the measured edge. */
.z-\[120\] div:has(> .lucide-crosshair) + p {
  margin-top: 8px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  padding: 5px 9px !important;
  max-width: 78vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
