.controlNode {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: transparent;
  border: none;
}

.nodeTitle {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: var(--node-editor-foreground, #111827);
}

.nodeDescription {
  margin: 0;
  font-size: 12px;
  color: var(--node-editor-muted-foreground, #6b7280);
}

.toggleButton {
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #0f172a;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(191, 219, 254, 0.9));
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.toggleButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.toggleButton[data-active="true"] {
  color: #0f172a;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(251, 191, 36, 0.92));
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}

.nodeHint {
  font-size: 11px;
  color: var(--node-editor-muted-foreground, #6b7280);
}

.colorPreview {
  height: 48px;
  border-radius: 8px;
}

.colorInfo {
  font-size: 12px;
  color: var(--node-editor-muted-foreground, #6b7280);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sliderValue {
  font-size: 24px;
  font-weight: 600;
  color: var(--node-editor-foreground, #111827);
}

.sliderTrack {
  width: 100%;
}

.inspectorSection {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.inspectorLabel {
  font-size: 12px;
  font-weight: 600;
  color: var(--node-editor-muted-foreground, #6b7280);
}

.inspectorInput {
  display: block;
  width: 100%;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 4px 8px;
  background: var(--node-editor-node-surface, #ffffff);
  font-size: 12px;
  color: var(--node-editor-foreground, #111827);
}

.selectInput {
  display: block;
  width: 100%;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 4px 8px;
  background: var(--node-editor-node-surface, #ffffff);
  font-size: 12px;
  color: var(--node-editor-foreground, #111827);
}

.sliderList {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.sliderRow {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sliderHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--node-editor-muted-foreground, #64748b);
}

.sliderValueLabel {
  font-weight: 600;
  color: var(--node-editor-foreground, #0f172a);
}

.materialBadge {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.materialLabel {
  font-size: 12px;
  font-weight: 600;
  color: var(--node-editor-muted-foreground, #6b7280);
  margin-top: 12px;
}

.threeScene {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(96, 165, 250, 0.28), rgba(30, 64, 175, 0.42));
}

.threeOverlay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  z-index: 10;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  font-size: 12px;
}

.threeCanvasHost {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.inspectorCheckbox {
  width: 18px;
  height: 18px;
}

.inspectorHint {
  font-size: 11px;
  color: var(--node-editor-muted-foreground, #6b7280);
  margin: 0;
}
