/* Only existing Planner driver/truck lane headers receive the START state. */
#calendar .day-view > .day-driver-head.dmm107-progress-active,
#calendar .driver-grid > .driver-head.dmm107-progress-active:not(.corner):not(.notes-row-head) {
  background: #1d4ed8 !important;
  color: #fff !important;
}
#calendar .dmm107-progress-active > .day-number,
#calendar .dmm107-progress-active > .fleet-head-title,
#calendar .dmm107-progress-active > .fleet-head-sub,
#calendar .dmm107-progress-active > .dmm107-progress-label {
  color: #fff !important;
}
#calendar .day-driver-head > .dmm107-progress-label,
#calendar .driver-head > .dmm107-progress-label {
  font-size: .78rem;
  font-weight: 750;
}
/* Reuse the existing plain "Driver" subtitle; do not add a third flow row. */
#calendar .day-driver-head > .dmm107-progress-reused {
  white-space: nowrap;
}
/* Truck subtitles contain driver identity and stay intact. The existing lane
   headers are already positioned, so this label adds no height to the grid. */
#calendar .day-driver-head > .dmm107-progress-floating {
  position: absolute;
  top: 8px;
  right: 8px;
  max-width: calc(100% - 140px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#calendar .driver-head > .dmm107-progress-floating {
  position: absolute;
  bottom: 9px;
  left: 9px;
  right: 9px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
