/* Quiet clock guides keep the sector and center value readable. */
.v4-sleep .v4-sleep-target-tick {
  width: 2px;
  border: 0;
  background: repeating-linear-gradient(to bottom,
    var(--clock-line-color) 0 3px, transparent 3px 9px);
  opacity: .55;
}
.v4-sleep .v4-sleep-tick { border-left-width: 2px; opacity: .82; }
.v4-sleep .v4-sleep-target-tick::after,
.v4-sleep .v4-sleep-tick::after {
  width: 8px;
  height: 8px;
  left: -5px;
  bottom: -4px;
}
.v4-sleep .v4-sleep-clock-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  width: min(100%, 320px);
  margin-top: 10px;
}
.v4-sleep .v4-sleep-clock-legend > span {
  position: static;
  z-index: auto;
  display: flex;
  min-width: 0;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  transform: none;
  border-radius: 8px;
  background: #ffffffb3;
  box-shadow: none;
  font-size: .65rem;
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
}
.v4-sleep .v4-sleep-clock-legend > span[hidden] { display: none; }
.v4-sleep .v4-sleep-clock-legend > .v4-sleep-target-marker { border-style: dashed; }
.v4-sleep .v4-sleep-clock-legend > .v4-sleep-marker { border-style: solid; }
.v4-sleep .v4-card-reading { margin-top: 22px; }
@media (max-width: 760px) {
  .v4-sleep .v4-sleep-clock-legend > span { font-size: .62rem; padding-inline: 4px; }
}
