.building-contour-vertex-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  touch-action: none;
  user-select: none;
  pointer-events: auto;
}

.building-contour-vertex {
  width: 14px;
  height: 14px;
  display: block;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2f6fed;
  box-shadow:
    0 2px 8px rgba(22, 39, 63, .38),
    0 0 0 1px rgba(22, 39, 63, .18);
  cursor: move;
  pointer-events: none;
  transition:
    background-color .12s ease,
    border-color .12s ease,
    box-shadow .12s ease,
    transform .12s ease;
}

.building-contour-vertex-icon:hover .building-contour-vertex {
  border-color: #fff;
  background: #6ea8fe;
  box-shadow:
    0 2px 9px rgba(22, 39, 63, .42),
    0 0 0 4px rgba(47, 111, 237, .22);
  transform: scale(1.22);
}

.building-contour-vertex--selected,
.building-contour-vertex-icon:hover .building-contour-vertex--selected {
  border-color: #2f6fed;
  background: #fff;
  box-shadow:
    0 2px 9px rgba(22, 39, 63, .42),
    0 0 0 4px rgba(47, 111, 237, .3);
  transform: scale(1.22);
}

.building-contour-edge-preview-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.building-contour-edge-preview {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #198754;
  box-shadow:
    0 2px 9px rgba(22, 39, 63, .42),
    0 0 0 4px rgba(25, 135, 84, .24);
}

.building-contour-edge-preview::before,
.building-contour-edge-preview::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.building-contour-edge-preview::before {
  width: 8px;
  height: 2px;
}

.building-contour-edge-preview::after {
  width: 2px;
  height: 8px;
}

#ontarioMap.building-contour-drawing .maplibregl-canvas {
  cursor: crosshair !important;
}
