/* Expected end follows the countdown, wrapping onto its own line in narrow cards. */
@media screen{
 [data-calendar-clock],[data-live-clock],.room-light-clock,.staff-light-clock{font-variant-numeric:tabular-nums}
 .booking-indicators [data-calendar-clock],.live-card [data-live-clock],.room-status-light .room-light-clock,.staff-status-light .staff-light-clock{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:0;row-gap:2px;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip}
 .timer-countdown{min-width:0}
 .timer-end{display:inline-block;min-width:0;font-weight:500;letter-spacing:normal}
 .live-card [data-live-clock] .timer-end{font-size:14px;line-height:1.4}
 .room-light-clock .timer-end,.staff-light-clock .timer-end{flex-basis:100%}
 .room-light-clock .timer-separator,.staff-light-clock .timer-separator,.column-clock .timer-separator{display:none}
 /* Reserve two end-time lines for a date across midnight without covering Q/actions. */
 .calendar-only-workspace .column-live{height:78px;grid-template-rows:16px 14px 36px 12px}
 .calendar-only-workspace .column-live .column-clock{height:36px;line-height:12px;white-space:normal;overflow:visible;text-overflow:clip}
 .column-clock .timer-countdown{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .column-clock .timer-end{display:block;white-space:normal;line-height:12px}
 .calendar-only-workspace .calendar .staff-head,.calendar-only-workspace .calendar .time-head,.calendar-only-workspace .calendar:has(.column-off-duty) .staff-head,.calendar-only-workspace .calendar:has(.column-off-duty) .time-head{height:234px}
 .calendar-only-workspace .calendar .staff-head{grid-template-rows:78px 28px 24px 12px 72px}
 .calendar-only-workspace .calendar-workspace .desk-work.desk-work-embedded{top:240px;max-height:calc(var(--rail-height,80dvh) - 244px)}
 .calendar-only-workspace #deskWork #guestCards{max-height:calc(var(--rail-height,80dvh) - 248px)}
 @media(max-width:800px){
  .calendar-only-workspace .calendar .staff-head,.calendar-only-workspace .calendar .time-head,.calendar-only-workspace .calendar:has(.column-off-duty) .staff-head,.calendar-only-workspace .calendar:has(.column-off-duty) .time-head{height:304px}
  .calendar-only-workspace .calendar .staff-head{grid-template-rows:78px 44px 44px 12px 104px}
  .calendar-only-workspace .calendar-workspace .desk-work.desk-work-embedded{top:310px;max-height:calc(var(--rail-height,80dvh) - 314px)}
  .calendar-only-workspace #deskWork #guestCards{max-height:calc(var(--rail-height,80dvh) - 318px)}
 }
}
