.mechanism-svg .support-reactions line {
  stroke: #256fc1;
  stroke-width: 3;
  stroke-linecap: round;
}

.mechanism-svg .support-reactions text {
  fill: #256fc1;
  font-size: 12px;
  font-weight: 800;
}

.mechanism-svg .reaction-arrowhead {
  fill: #256fc1;
}

.mechanism-svg .support-reactions.reaction-a line {
  stroke: #d47719;
}

.mechanism-svg .support-reactions.reaction-a text {
  fill: #d47719;
}

.mechanism-svg .reaction-a-arrowhead {
  fill: #d47719;
}

.mechanism-svg .joint {
  stroke: #111;
}

.mechanism-svg .rke-reaction .rke-cable {
  stroke: #8b5fbf;
  stroke-width: 2;
  stroke-dasharray: 7 6;
}

.mechanism-svg .rke-reaction .rke-vector {
  stroke: #8b5fbf;
  stroke-width: 3;
  stroke-linecap: round;
}

.mechanism-svg .rke-reaction circle,
.mechanism-svg .rke-reaction-arrowhead {
  fill: #8b5fbf;
}

.mechanism-svg .rke-reaction text {
  fill: #8b5fbf;
  font-size: 12px;
  font-weight: 800;
}

.comparison-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 9px;
}

.comparison-button {
  border-color: #dc73a6;
  background: #fbe4ef;
  color: #8e285b;
}

.comparison-button:hover {
  border-color: #c84384;
}

.comparison-hint.active {
  color: #b02f70;
  font-weight: 700;
}

.mechanism-svg .comparison-trajectory {
  fill: none;
  stroke: #e65a9b;
  stroke-width: 3;
  stroke-dasharray: 8 6;
  opacity: .9;
}

.mechanism-svg > text,
.mechanism-svg .label-main {
  fill: #111;
}
