.forest-3d-canvas {
  position: relative;
  width: 100%;
  height: 720px;
  border: 1px solid #ccc;
  border-top: none;
  background: #fff;
  overflow: hidden;
}

.forest-3d-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #666;
}

.forest-control-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-bottom: none;
  background: #f8f8f8;
}

.forest-control-mode-group {
  display: flex;
  gap: 0;
  border: 1px solid #999;
  border-radius: 6px;
  overflow: hidden;
}

.forest-control-mode-button {
  padding: 6px 14px;
  border: none;
  border-right: 1px solid #999;
  background: #fff;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.forest-control-mode-button:last-child {
  border-right: none;
}

.forest-control-mode-button:hover {
  background: #eee;
}

.forest-control-mode-button.is-active {
  background: #2563eb;
  color: #fff;
}

.forest-control-mode-button.is-active:hover {
  background: #1d4ed8;
}

.forest-control-reset-button {
  padding: 6px 14px;
  border: 1px solid #999;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.forest-control-reset-button:hover {
  background: #eee;
}

.forest-control-reset-button:active {
  background: #ddd;
}

@media (max-width: 960px) {
  .forest-3d-canvas {
    height: 560px;
  }
}
