.month-title {
  min-width: 150px;
  text-align: center;
  text-transform: capitalize;
}

.month-shell {
  margin: 0 28px 28px;
  border: 1px solid var(--line);
  background: var(--line);
  overflow: auto;
}

.month-weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  min-width: 1050px;
  gap: 1px;
}

.month-weekdays div {
  padding: 10px 12px;
  background: #f5f7f8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.month-day {
  min-height: 150px;
  padding: 10px;
  background: var(--white);
}

.month-day:hover {
  background: #fafcfd;
}

.month-day.outside {
  background: #f4f5f6;
  color: #929ba3;
}

.month-day.today {
  box-shadow: inset 0 0 0 2px var(--red);
}

.month-day.closed {
  background: #eceff1;
}

.month-closed {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.month-day header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  margin-bottom: 7px;
}

.month-day header span {
  font-weight: 700;
}

.month-day header b {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  border-radius: 50%;
}

.month-items {
  display: grid;
  gap: 5px;
}

.month-item {
  min-width: 0;
  padding: 6px 7px;
  border-left: 3px solid var(--blue);
  background: #eef5f9;
  font-size: 11px;
}

.month-item.status-arrived,
.month-item.status-in_progress {
  border-color: var(--amber);
  background: #fff6e9;
}

.month-item.status-completed {
  border-color: var(--green);
  background: #edf8f3;
}

.month-item time,
.month-item strong,
.month-item span,
.month-item small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.month-item strong {
  margin-top: 2px;
}

.month-item span,
.month-item small {
  margin-top: 2px;
  color: var(--muted);
}

.month-more {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .month-shell {
    margin: 0 0 16px;
    border-left: 0;
    border-right: 0;
  }

  .month-weekdays,
  .month-grid {
    grid-template-columns: repeat(7, 145px);
    min-width: 1015px;
  }

  .month-day {
    min-height: 140px;
  }
}
