/* overlays: busy, toast, hud, cmp, drop, svg overlays, viewport rows */

.visibility-row {
  display: grid;
  grid-template-columns: 26px 1fr 64px 34px;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  margin: 3px 0;
}

.visibility-row output {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

.visibility-row input[type=range] {
  width: 64px;
}

#lasso {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

#toast {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(43, 38, 32, 0.9);
  color: #fff;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  max-width: 70%;
  text-align: center;
  z-index: 5;
}

#toast.show {
  opacity: 1;
}

#drop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b2620;
  font-size: 15px;
  pointer-events: none;
}

#busy {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 12px;
  color: #fff;
  background: rgba(43, 38, 32, 0.75);
  padding: 5px 10px;
  border-radius: 6px;
  display: none;
}

#stab {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

#cmp {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(43, 38, 32, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  display: none;
  z-index: 5;
}

#hud {
  position: absolute;
  pointer-events: none;
  font-size: 12px;
  font-weight: 600;
  color: #2b2620;
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: none;
  box-shadow: 0 2px 8px rgba(60, 45, 30, 0.15);
  z-index: 4;
}
