/* Small staffing status that keeps the existing calendar category colors. */
.schedule-view .schedule-crew-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
}
.schedule-view .schedule-crew-indicator .schedule-crew-initial {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 17px;
  padding: 0 3px;
  border: 1px solid #c4d2dc;
  border-radius: 4px;
  background: #f8fafc;
  color: #294353;
  font-size: 9px;
  line-height: 1;
}
.schedule-view .schedule-crew-indicator .schedule-crew-extra { color: #294353; font-size: 9px; }
.schedule-view .schedule-crew-indicator .crew-count-narrow { display: none; }
.schedule-view .schedule-crew-indicator .schedule-crew-extra > span { color: inherit; font-size: 9px; }
.schedule-view .schedule-crew-indicator.is-unassigned {
  padding: 2px 4px;
  border: 1px solid #d6a528;
  border-radius: 4px;
  background: #fff0b5;
  color: #704400;
}
.schedule-view .schedule-crew-indicator.is-unassigned > span {
  color: inherit;
  font-size: 9px;
  white-space: normal;
}
.schedule-view .schedule-crew-indicator > svg { flex: 0 0 12px; width: 12px; height: 12px; }
.schedule-view .schedule-time-job:has(> .schedule-crew-indicator),
.schedule-view .schedule-resource-job:has(> .schedule-crew-indicator) { padding-bottom: 22px; }
.schedule-view .schedule-time-job > .schedule-crew-indicator,
.schedule-view .schedule-resource-job > .schedule-crew-indicator {
  position: absolute;
  bottom: 3px;
  left: 5px;
  max-width: calc(100% - 10px);
}
.schedule-view .schedule-time-job:not(.is-short) > .schedule-crew-indicator {
  position: static;
  margin-top: 2px;
}
.schedule-view .schedule-time-job.is-short .schedule-card-title { font-size: 8px; }
.schedule-view .schedule-time-job.is-short .schedule-crew-indicator,
.schedule-view .schedule-resource-job .schedule-crew-indicator { gap: 2px; }
.schedule-view .schedule-time-job.is-short .schedule-crew-initial,
.schedule-view .schedule-resource-job .schedule-crew-initial { height: 14px; min-width: 17px; }
.schedule-view .schedule-time-job.is-short > .christmas-dispatch-badge,
.schedule-view .schedule-time-job.is-narrow > .christmas-dispatch-badge,
.schedule-view .schedule-resource-job > .christmas-dispatch-badge { display: none; }
.schedule-view .schedule-time-job.is-tiny:has(> .schedule-crew-indicator) .schedule-card-title { display: none; }
.schedule-view .schedule-time-job.is-tiny .schedule-crew-indicator.is-unassigned > span { display: none; }
@container (max-width: 90px) {
  .schedule-view .schedule-crew-indicator.is-unassigned > span { display: none; }
  .schedule-view .schedule-crew-indicator .schedule-crew-initial:nth-child(2),
  .schedule-view .schedule-crew-indicator .crew-count-wide { display: none; }
  .schedule-view .schedule-crew-indicator .crew-count-narrow { display: inline; }
}
