.torsoLandmarkStudy {
  position: relative;
  display: block;
}

.torsoLandmarkStudy .torsoLandmarkOverlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.torsoLandmarkOverlay .landmarkPointer {
  fill: none;
  stroke: #087b82;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.torsoLandmarkOverlay .landmarkDot {
  fill: #087b82;
  stroke: #fff;
  stroke-width: 3;
}

.torsoLandmarkOverlay .landmarkLabelBackground {
  fill: #fff;
  fill-opacity: 0.94;
}

.torsoLandmarkOverlay text {
  fill: #01415b;
  font-family: Arial, sans-serif;
  font-size: 48px;
  font-weight: 600;
}

.torsoLandmarkOverlay .landmarkSecondaryLabel {
  font-size: 32px;
  font-weight: 400;
}

.torsoComparisonHeader {
  padding: 22px 20px 18px;
  border: 1px solid rgba(1, 65, 91, 0.12);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #e5f1f5;
  text-align: center;
}

.torsoComparisonHeader h2 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: clamp(20px, 4vw, 29px);
  line-height: 1.25;
}

.torsoComparisonHeader .torsoComparisonKey {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.torsoComparisonKey li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #01415b;
}

.torsoComparisonSwatch {
  display: inline-block;
  width: 38px;
  height: 7px;
  flex: 0 0 38px;
  border-radius: 5px;
}

.torsoComparisonSwatchCenter {
  background: #4a55e8;
}

.torsoComparisonSwatchGesture {
  background: #e7e142;
}

.resourceWarmupFigure.torsoComparisonFigure img {
  border-radius: 0 0 8px 8px;
}

.torsoSketchPair {
  display: grid;
  /* Match the images' native aspect ratios to keep equal heights without cropping. */
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.825328fr);
  align-items: start;
  gap: 20px;
  margin: 24px 0;
}

.torsoSketchPair .resourceWarmupFigure {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

.resourceImageShareWrap > a:not(.resourcePinButton) {
  display: block;
}

@media (hover: none) {
  .resourceImageShareWrap .resourcePinButton {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 600px) {
  .torsoSketchPair {
    grid-template-columns: 1fr;
  }
}
