.five-weeks {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.overview-week {
  border: 1px solid var(--border);
  background: white;
  border-radius: 12px;
  overflow: hidden;
}
.overview-week.current-week {
  border: 2px solid #6c8de2;
  box-shadow: 0 0 0 3px #e7edff;
}
.overview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fafbfe;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.current-week .overview-heading {
  background: #edf2ff;
}
.overview-heading > a {
  text-decoration: none;
  color: inherit;
}
.overview-heading .eyebrow {
  display: block;
  margin: 0 0 3px;
  color: #607087;
  font-size: 0.75rem;
}
.current-week .eyebrow {
  color: #254fd1;
}
.overview-heading strong {
  font-size: 1rem;
}
.open-week {
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 600;
}
.overview-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.overview-day {
  padding: 12px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  min-height: 130px;
}
.overview-day:last-child {
  border: 0;
}
.overview-day:hover {
  background: #f5f8ff;
}
.overview-day.is-today {
  background: #f5f8ff;
}
.overview-day.closed-day {
  background: #fff5f4;
  box-shadow: inset 0 3px 0 #d94841;
}
.closed-banner {
  display: block;
  margin: -5px 0 8px;
  color: #a12720;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.overview-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: #607087;
}
.overview-date strong {
  font-size: 1rem;
  color: #18283b;
}
.no-shifts {
  font-size: 0.8rem;
  color: #77859b;
}
.overview-shift {
  display: block;
  font-size: 0.75rem;
  border-left: 2px solid #9db1dc;
  padding-left: 7px;
  margin: 10px 0;
}
.overview-shift strong,
.overview-shift > span {
  display: block;
  overflow-wrap: anywhere;
}
.overview-shift > span {
  color: #607087;
}
@media (max-width: 800px) {
  .overview-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .overview-days {
    grid-template-columns: 1fr;
  }
  .overview-day {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 5px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    min-height: 65px;
    padding: 12px 16px;
  }
  .overview-date {
    grid-row: 1/20;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
  }
  .overview-shift {
    margin: 0 0 6px;
  }
  .overview-shift strong,
  .overview-shift > span {
    display: inline;
  }
  .overview-shift > span {
    margin-left: 10px;
  }
  .overview-week .heading-actions {
    gap: 10px;
  }
  .no-shifts {
    align-self: center;
  }
}
