.angles-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 24px;
}

.angles-canvas-wrapper {
  position: relative;
  width: 480px;
  height: 480px;
}

.angle-type-name-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  text-align: left;
}

.angle-value-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}

#anglesCanvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: transparent;
}

.angle-type-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  min-height: 1.5em;
  user-select: none;
}

.dark-mode .angle-type-name {
  color: #e5e7eb;
}

.angles-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.angle-btn {
  width: 56px;
  height: 56px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.angle-btn:hover {
  background: #f3f4f6;
  border-color: #3b82f6;
  color: #3b82f6;
}

.angle-btn:active {
  transform: scale(0.96);
}

.dark-mode .angle-btn {
  color: #e5e7eb;
  background: #111827;
  border-color: #374151;
}

.dark-mode .angle-btn:hover {
  background: #374151;
  border-color: #60a5fa;
  color: #60a5fa;
}

.angle-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  min-width: 4ch;
  text-align: center;
  user-select: none;
}

.dark-mode .angle-value {
  color: #e5e7eb;
}
