.canvas-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 16px;
  position: relative;
}

#glcanvas {
  border: 1px solid #ddd;
  background: #f8f9fa;
  width: 100%;
  height: calc(100vh - 180px);
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  pointer-events: none;
  width: 100%;
  height: calc(100vh - 180px);
}

.legend {
  color: #aaa;
  font-size: 12px;
  margin-top: 8px;
}



