.calendar-schedule-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: repeat(var(--calendar-slot-count, 20), var(--calendar-slot-height));
  pointer-events: none;
}

.calendar-schedule-band {
  width: 5px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--schedule-color);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--schedule-color) 28%, transparent);
  opacity: 0.72;
  transform: translateX(calc(7px + var(--schedule-lane, 0) * 7px));
}

.calendar-slot-hit-targets {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: repeat(var(--calendar-slot-count, 20), var(--calendar-slot-height));
}

.calendar-slot-hit-target {
  min-height: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.calendar-slot-hit-target:hover,
.calendar-slot-hit-target:focus-visible {
  background: rgba(15, 118, 110, 0.06);
  outline: 1px solid rgba(15, 118, 110, 0.18);
}

.calendar-month-schedules {
  display: grid;
  gap: 3px;
  padding: 6px 8px 0;
}

.calendar-month-schedule {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  border-left: 3px solid var(--schedule-color);
  border-radius: 7px;
  padding: 3px 6px;
  background: color-mix(in srgb, var(--schedule-color) 9%, white);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 850;
}

.calendar-month-schedule span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-month-schedule-more {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}
