/* Preserve the semantic order in the grid; older V3 CSS pinned Create right. */
.timer-section .goal-settings-grid #wake-goal-card { grid-column: 1; grid-row: 1; }
.timer-section .goal-settings-grid #create-goal-card { grid-column: 2; grid-row: 1; }
.timer-section .goal-settings-grid #bedtime-goal-card { grid-column: 3; grid-row: 1; }

/* A dashed gold radius denotes a goal; a solid blue radius is an observation. */
.v4-sleep .v4-sleep-target-tick,
.v4-sleep .v4-sleep-tick {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 50%;
  border: 0;
  border-left: 2px solid var(--clock-line-color);
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform-origin: top center;
  transform: rotate(calc(var(--clock-angle) + 180deg));
  pointer-events: none;
}
.v4-sleep .v4-sleep-target-tick { z-index: 1; border-left: 5px dashed var(--clock-line-color); opacity: .65; }
.v4-sleep .v4-sleep-tick { z-index: 2; }
.v4-sleep .v4-sleep-target-tick::after,
.v4-sleep .v4-sleep-tick::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -6px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--clock-line-color);
  border-radius: 50%;
  background: #f8fbfb;
}
.v4-sleep .v4-sleep-tick::after { background: var(--clock-line-color); border-color: white; }
.v4-sleep .v4-pie-center { z-index: 3; }
.v4-sleep .v4-sleep-marker,
.v4-sleep .v4-sleep-target-marker { color: var(--clock-line-color); border-color: var(--clock-line-color); }
.v4-sleep .v4-sleep-target-marker { border-style: dashed; }
.v4-sleep .v4-sleep-target-marker-start,
.v4-sleep .v4-sleep-target-marker-end,
.v4-sleep .v4-sleep-target-tick-start,
.v4-sleep .v4-sleep-target-tick-end { --clock-line-color: #a9874f; }
.v4-sleep .v4-sleep-marker-start,
.v4-sleep .v4-sleep-marker-end,
.v4-sleep .v4-sleep-tick-start,
.v4-sleep .v4-sleep-tick-end { --clock-line-color: #4f809b; }

@media (max-width: 760px) {
  .timer-section .goal-settings-grid #bedtime-goal-card,
  .timer-section .goal-settings-grid #create-goal-card,
  .timer-section .goal-settings-grid #wake-goal-card { grid-column: 1; grid-row: auto; }
}
