/* Place each time just beyond its own point on the clock face. */
.v4-sleep .goal-progress { padding-top: 20px; }
.v4-sleep .v4-sleep-clock-stage {
  position: relative;
  width: 100%;
  height: 285px;
  flex: none;
}
/* Reserve the same dial row in all three cards, including Sleep's outer labels. */
.v4-desire .goal-progress-body,
.v4-create .goal-progress-body { min-height: 285px; }
.v4-sleep .v4-sleep-clock-stage > .goal-pie {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(52%, 190px);
  transform: translate(-50%, -50%);
}
.v4-sleep .v4-sleep-clock-legend {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  margin: 0;
  pointer-events: none;
}
.v4-sleep .v4-sleep-clock-legend > span {
  position: absolute;
  display: block;
  width: min(23%, 95px);
  min-height: 0;
  padding: 4px 3px;
  transform: none;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: color-mix(in srgb, white 90%, var(--tint));
  box-shadow: 0 2px 8px #49616d0d;
  font-size: .64rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: pre-line;
  font-variant-numeric: tabular-nums;
}
.v4-sleep .v4-sleep-clock-legend > span[hidden] { display: none; }
.v4-sleep .v4-card-reading { margin-top: 30px; }
@media (max-width: 760px) {
  .v4-sleep .v4-sleep-clock-stage { height: 260px; }
  .v4-desire .goal-progress-body,
  .v4-create .goal-progress-body { min-height: 260px; }
  .v4-sleep .v4-sleep-clock-legend > span { font-size: .59rem; padding-inline: 2px; }
}
