.simple-calendar {
  color: #203040;
}

.cleanings-calendar {
  overflow-x: visible;
  padding-bottom: 0.25rem;
}

.cleanings-mobile-calendar {
  display: block;
  margin-top: 0.75rem;
}

.cleanings-desktop-calendar {
  display: none;
}

.cleanings-desktop-filters {
  display: none;
}

.cleanings-mobile-header-actions {
  align-items: center;
  display: flex;
  flex: none;
  gap: 0.625rem;
  padding-left: 0.25rem;
}

.cleanings-mobile-header-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0.65rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color: #34495d;
  cursor: pointer;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  list-style: none;
  text-decoration: none;
  width: 2.5rem;
}

.cleanings-mobile-header-button::-webkit-details-marker {
  display: none;
}

.cleanings-mobile-filter-menu {
  position: relative;
}

.cleanings-mobile-filter-menu[open] .cleanings-mobile-header-button {
  background: #edf6fc;
  border-color: #bdd5eb;
  color: #2b6fd6;
}

.cleanings-mobile-filter-menu summary {
  outline: none;
}

.cleanings-mobile-filter-menu summary::marker {
  display: none;
  content: "";
}

.cleanings-mobile-filter-popover {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0.75rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
  max-width: calc(100vw - 1.5rem);
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  width: 21rem;
  z-index: 30;
}

.cleanings-mobile-filter-form {
  padding: 0.9rem;
}

.cleanings-mobile-month {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.cleanings-mobile-month__header {
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem 1rem;
}

.cleanings-mobile-month__title-group,
.cleanings-mobile-agenda__title-group {
  min-width: 0;
}

.cleanings-mobile-eyebrow {
  color: #7b8ea2;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1rem;
  text-transform: uppercase;
}

.cleanings-mobile-month__title {
  color: #203040;
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.55rem;
}

.cleanings-mobile-icon-button {
  align-items: center;
  background: #2b6fd6;
  border: 1px solid #2b6fd6;
  border-radius: 0.65rem;
  box-shadow: 0 8px 18px rgba(47, 127, 191, 0.16);
  color: #ffffff;
  display: inline-flex;
  flex: none;
  height: 2.5rem;
  justify-content: center;
  text-decoration: none;
  width: 2.5rem;
}

.cleanings-mobile-nav {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0.75rem 0.75rem 0;
}

.cleanings-mobile-nav__link {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0.55rem;
  color: #34495d;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.2rem;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
}

.cleanings-mobile-nav__link--month {
  font-size: 0.74rem;
  min-width: 0;
}

.cleanings-mobile-nav__link--today {
  background: #f2f5f8;
  border-color: #d5dee8;
  color: #506579;
}

.cleanings-mobile-nav__link--current {
  background: #edf6fc;
  border-color: #8db9dc;
  color: #256da5;
}

.cleanings-mobile-nav__icon {
  display: inline-flex;
  flex: none;
  height: 0.75rem;
  width: 0.75rem;
}

#mobile-cleanings-today {
  scroll-margin-top: 8rem;
}

.cleanings-mobile-weekdays,
.cleanings-mobile-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cleanings-mobile-weekdays {
  padding: 0.75rem 0.75rem 0;
}

.cleanings-mobile-weekday {
  color: #6a7f93;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0;
  text-align: center;
  text-transform: uppercase;
}

.cleanings-mobile-grid {
  gap: 0.35rem;
  padding: 0.45rem 0.75rem 0.9rem;
}

.cleanings-mobile-day {
  align-items: center;
  aspect-ratio: 1;
  background: #f8fbfe;
  border: 1px solid #dfe7ef;
  border-radius: 0.65rem;
  color: #203040;
  display: flex;
  flex-direction: column;
  font-weight: 800;
  justify-content: center;
  min-width: 0;
  position: relative;
  text-decoration: none;
}

.cleanings-mobile-day--outside-month {
  background: #ffffff;
  color: #94a3b8;
}

.cleanings-mobile-day--today {
  border-color: #2b6fd6;
  box-shadow: inset 0 0 0 1px #2b6fd6;
}

.cleanings-mobile-day--selected {
  background: #2b6fd6;
  border-color: #2b6fd6;
  color: #ffffff;
}

.cleanings-mobile-day--has-cleanings:not(.cleanings-mobile-day--selected) {
  background: #edf6fc;
  border-color: #bdd5eb;
}

.cleanings-mobile-day__number {
  font-size: 0.88rem;
  line-height: 1;
}

.cleanings-mobile-day__count {
  align-items: center;
  background: #ffffff;
  border: 1px solid #bdd5eb;
  border-radius: 999px;
  bottom: 0.22rem;
  color: #2b6fd6;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  height: 1rem;
  justify-content: center;
  line-height: 1;
  min-width: 1rem;
  padding: 0 0.25rem;
  position: absolute;
  right: 0.22rem;
}

.cleanings-mobile-day--selected .cleanings-mobile-day__count {
  border-color: #ffffff;
}

.cleanings-mobile-agenda {
  margin-top: 1rem;
}

.cleanings-mobile-agenda__header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cleanings-mobile-agenda__date {
  color: #203040;
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.45rem;
}

.cleanings-mobile-agenda__count {
  color: #6a7f93;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1rem;
}

.cleanings-mobile-add-link {
  align-items: center;
  background: #2b6fd6;
  border: 1px solid #2b6fd6;
  border-radius: 0.65rem;
  box-shadow: 0 8px 18px rgba(47, 127, 191, 0.16);
  color: #ffffff;
  display: inline-flex;
  flex: none;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.35rem;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.cleanings-mobile-events {
  display: grid;
  gap: 0.65rem;
}

.cleanings-mobile-event {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color: #203040;
  display: block;
  padding: 0.85rem;
  text-decoration: none;
}

.cleanings-mobile-event--canceled {
  background: #fff5f5;
  border-color: #fecaca;
}

.cleanings-mobile-event__topline {
  display: grid;
  gap: 0.45rem;
}

.cleanings-mobile-event__title {
  color: #203040;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2rem;
  margin: 0;
}

.cleanings-mobile-event__time {
  align-items: center;
  background: #f2f6fa;
  border: 1px solid #d9e4ee;
  border-radius: 0.45rem;
  color: #34495d;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  justify-self: start;
  line-height: 1;
  padding: 0.35rem 0.45rem;
}

.cleanings-mobile-event__guest {
  color: #506579;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2rem;
  margin: 0.55rem 0 0;
}

.cleanings-mobile-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.cleanings-mobile-pill {
  align-items: center;
  background: #f8fbfe;
  border: 1px solid #dfe7ef;
  border-radius: 999px;
  color: #506579;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  min-height: 1.55rem;
  padding: 0.35rem 0.55rem;
}

.cleanings-mobile-pill--cleaner {
  background: #e9f3fb;
  border-color: #bdd5eb;
  color: #2d6f9f;
}

.cleanings-mobile-pill--inspection {
  background: #fff7df;
  border-color: #eed48a;
  color: #85610f;
}

.cleanings-mobile-pill--canceled {
  background: #ffffff;
  border-color: #fecaca;
  color: #b91c1c;
}

.cleanings-mobile-empty {
  align-items: center;
  background: #ffffff;
  border: 1px dashed #d0dce8;
  border-radius: 0.75rem;
  color: #506579;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.cleanings-mobile-empty__icon {
  align-items: center;
  background: #f2f6fa;
  border: 1px solid #dfe7ef;
  border-radius: 0.65rem;
  color: #2b6fd6;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.cleanings-mobile-empty__title {
  color: #34495d;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25rem;
  margin: 0;
}

.simple-calendar table {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0 0 0.5rem 0.5rem;
  border-top: 0;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  min-width: 100%;
  table-layout: fixed;
  width: 100%;
}

.simple-calendar tr {
  border-collapse: collapse;
}

.calendar-weekdays {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-width: 100%;
  position: sticky;
  top: 3.75rem;
  z-index: 15;
}

.calendar-weekday {
  border-right: 1px solid #edf2f7;
  color: #6a7f93;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.55rem 0.55rem;
  text-transform: uppercase;
}

.calendar-weekday:last-child {
  border-right: 0;
}

.simple-calendar th {
  background: #ffffff;
  border-bottom: 1px solid #dfe7ef;
  border-right: 1px solid #edf2f7;
  box-sizing: border-box;
  color: #6a7f93;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.65rem 0.75rem;
  text-align: left;
  text-transform: uppercase;
}

.simple-calendar th:last-child {
  border-right: 0;
}

.simple-calendar td {
  background: #ffffff;
  border-bottom: 1px solid #edf2f7;
  border-right: 1px solid #edf2f7;
  box-sizing: border-box;
  height: 8.25rem;
  padding: 0.4rem;
  transition: background-color 150ms ease, box-shadow 150ms ease;
  vertical-align: top;
  width: 14.285%;
}

.simple-calendar tr:last-child td {
  border-bottom: 0;
}

.simple-calendar td:last-child {
  border-right: 0;
}

.simple-calendar .calendar-title {
  color: #203040;
}

.simple-calendar .calendar-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.simple-calendar .calendar-heading time {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.75rem;
}

.simple-calendar .calendar-heading nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.simple-calendar .cleanings-calendar__today-link {
  background: #f2f5f8;
  border-color: #d5dee8;
  box-shadow: none;
  color: #506579;
}

.simple-calendar .cleanings-calendar__today-link:hover {
  background: #e8edf2;
  border-color: #c3ced9;
  color: #203040;
}

.simple-calendar .cleanings-calendar__month-link--current {
  background: #f1f5fb;
  border-color: #b9c8dc;
  color: #1d3367;
}

.cleanings-calendar-connected .cleanings-calendar {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  margin-top: 0.75rem;
  overflow: hidden;
  padding-bottom: 0;
}

.cleanings-calendar-connected .cleanings-calendar-toolbar {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
}

.cleanings-calendar-connected .cleanings-calendar-toolbar time {
  flex: none;
  font-size: 1.45rem;
  line-height: 2rem;
}

.cleanings-calendar-toolbar__actions {
  align-items: center;
  display: flex;
  flex: none;
  gap: 0.5rem;
  margin-left: auto;
}

.cleanings-calendar-toolbar__add,
.cleanings-calendar-toolbar__analytics {
  flex: none;
  white-space: nowrap;
}

.cleanings-calendar-connected .cleanings-calendar-toolbar nav {
  flex: none;
  margin-left: 0.25rem;
}

.cleanings-calendar-filters {
  border-bottom: 1px solid #dfe7ef;
  border-top: 1px solid #edf2f7;
  padding: 0.75rem 1rem;
}

.cleanings-calendar-filters label svg {
  color: #2b6fd6;
}

.cleanings-calendar-connected .calendar-weekdays {
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  box-shadow: none;
}

.cleanings-calendar-connected .simple-calendar table {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .cleanings-calendar-connected .cleanings-calendar-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .cleanings-calendar-connected .cleanings-calendar-toolbar nav {
    margin-left: 0;
    order: 3;
    width: 100%;
  }

  .cleanings-calendar-toolbar__actions {
    margin-left: auto;
  }
}

#cleanings-today {
  scroll-margin-top: 8rem;
}

.simple-calendar .day {
  min-height: 8.25rem;
}

.simple-calendar .day:hover {
  background: #fbfdff;
}

.simple-calendar .today {
  background: #f4f9fd;
  box-shadow: inset 0 0 0 1px rgba(47, 127, 191, 0.28);
  position: relative;
  z-index: 1;
}

.simple-calendar .today:hover {
  background: #eef6fc;
}

.simple-calendar .prev-month,
.simple-calendar .next-month {
  background: #ffffff;
  color: #94a3b8;
}

.simple-calendar .prev-month .cleanings-day-number,
.simple-calendar .next-month .cleanings-day-number {
  color: #94a3b8;
}

.cleanings-day-number {
  align-items: center;
  border-radius: 999px;
  color: #34495d;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 1.55rem;
  justify-content: center;
  line-height: 1;
  min-width: 1.55rem;
  padding: 0 0.35rem;
}

.simple-calendar .today .cleanings-day-number {
  background: #2b6fd6;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
  color: #ffffff;
}

.cleaning-event {
  background: #f8fbfd;
  border: 1px solid #dfe7ef;
  border-radius: 0.5rem;
  color: #203040;
  display: block;
  padding: 0.35rem;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.cleaning-event:hover {
  background: #ffffff;
  border-color: #bdd5eb;
  box-shadow: 0 4px 12px rgba(47, 127, 191, 0.12);
  transform: translateY(-1px);
}

.cleaning-event--canceled {
  background: #fff5f5;
  border-color: #fecaca;
  padding: 0.45rem;
}

.cleaning-event__status {
  align-items: center;
  background: #ffffff;
  border: 1px solid #fecaca;
  border-radius: 0.375rem;
  color: #b91c1c;
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 0.35rem;
  padding: 0.25rem 0.4rem;
  text-transform: uppercase;
}

.cleaning-event--canceled:hover {
  background: #fff5f5;
  box-shadow: none;
  transform: none;
}

.canceled-group {
  color: #203040;
  display: block;
  min-width: 0;
}

.canceled-group__summary {
  align-items: center;
  color: #a92727;
  cursor: pointer;
  display: inline-flex;
  gap: 0.22rem;
  list-style: none;
  min-height: 1.5rem;
  min-width: 0;
  outline: none;
  padding: 0 0.1rem;
  user-select: none;
}

.canceled-group__summary::-webkit-details-marker,
.canceled-group__summary::marker {
  content: "";
  display: none;
}

.canceled-group__summary:hover,
.canceled-group[open] .canceled-group__summary {
  color: #7f1d1d;
}

.canceled-group__summary:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid #2b6fd6;
  outline-offset: 2px;
}

.canceled-group__count {
  color: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.canceled-group__summary > span[aria-hidden="true"] {
  display: inline-flex;
}

.canceled-group__chevron {
  height: 0.65rem;
  transition: transform 150ms ease;
  width: 0.65rem;
}

.canceled-group[open] .canceled-group__chevron {
  transform: rotate(180deg);
}

.canceled-group__details {
  border-left: 1px solid #efb5b5;
  list-style: none;
  margin: 0.1rem 0 0 0.2rem;
  padding: 0 0 0 0.45rem;
}

.canceled-group__item {
  border-bottom: 1px solid #edf2f7;
}

.canceled-group__item:last-child {
  border-bottom: 0;
}

.canceled-group__detail {
  color: inherit;
  display: block;
  padding: 0.32rem 0.1rem;
  text-decoration: none;
}

.canceled-group__detail:hover {
  background: #fff8f8;
}

.canceled-group__detail:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid #2b6fd6;
  outline-offset: 1px;
}

.canceled-group__property {
  color: #34495d;
  display: block;
  font-size: 0.7rem;
  line-height: 0.9rem;
  overflow-wrap: anywhere;
}

.canceled-group__people {
  color: #5d7185;
  display: block;
  font-size: 0.63rem;
  line-height: 0.85rem;
  margin-top: 0.04rem;
  overflow-wrap: anywhere;
}

.canceled-group__guest {
  color: inherit;
  font-weight: 600;
}

.canceled-group__separator {
  color: #8a9aaa;
  padding: 0 0.08rem;
}

.canceled-group__cleaner {
  color: #506579;
  font-weight: 700;
}

.cleanings-day-events {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0.2rem;
  min-width: 0;
}

.cleanings-desktop-calendar .simple-calendar .calendar-heading {
  margin-bottom: 0.55rem;
}

.cleanings-desktop-calendar .calendar-weekday {
  font-size: 0.65rem;
  padding: 0.38rem 0.45rem;
}

.cleanings-desktop-calendar .simple-calendar td {
  height: 7rem;
  padding: 0.28rem;
}

.cleanings-desktop-calendar .simple-calendar .day {
  min-height: 7rem;
}

.cleanings-desktop-calendar .cleanings-day-number {
  font-size: 0.7rem;
  height: 1.35rem;
  min-width: 1.35rem;
}

.cleanings-desktop-calendar .cleanings-day-add {
  height: 1.45rem;
  width: 1.45rem;
}

.cleanings-desktop-calendar .cleanings-day-add svg {
  height: 0.8rem;
  width: 0.8rem;
}

.cleanings-desktop-calendar .cleaning-event {
  box-sizing: border-box;
  border-radius: 0.42rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0.3rem;
  width: 100%;
}

.cleanings-desktop-calendar .cleaning-event:focus-visible {
  outline: 2px solid #2b6fd6;
  outline-offset: 1px;
}

.cleaning-card {
  color: #203040;
  min-width: 0;
}

.cleaning-card__property,
.cleaning-card__guest,
.cleaning-card__person-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cleaning-card__property {
  font-size: 0.72rem;
  line-height: 0.9rem;
}

.cleaning-card__time {
  color: #47758f;
  display: block;
  font-size: 0.65rem;
  font-weight: 750;
  line-height: 0.78rem;
  margin-top: 0.12rem;
  white-space: nowrap;
}

.cleaning-card__guest {
  color: #5d7185;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 0.82rem;
  margin-top: 0.16rem;
}

.cleaning-card__staff {
  align-items: center;
  display: flex;
  gap: 0.2rem;
  margin-top: 0.22rem;
  min-width: 0;
  overflow: hidden;
}

.cleaning-card__person {
  align-items: center;
  background: #e9f3fb;
  border-radius: 0.3rem;
  color: #2d6f9f;
  display: inline-flex;
  flex: 0 1 auto;
  font-size: 0.65rem;
  font-weight: 800;
  gap: 0.2rem;
  line-height: 1;
  min-width: 0;
  padding: 0.22rem 0.3rem;
}

.cleaning-card__person--inspector {
  background: #fff7df;
  color: #85610f;
}

.cleaning-card__icon {
  flex: none;
  height: 0.65rem;
  width: 0.65rem;
}

.cleaning-card__person > span[aria-hidden="true"] {
  display: inline-flex;
}

.cleaning-card__person-name {
  min-width: 0;
}

@media (max-width: 767px) {
  .simple-calendar .calendar-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .simple-calendar .calendar-heading nav {
    justify-content: flex-start;
  }

  .simple-calendar th {
    top: 3.75rem;
  }
}

@media (min-width: 768px) {
  .cleanings-mobile-calendar {
    display: none;
  }

  .cleanings-desktop-calendar {
    display: block;
  }

  .cleanings-mobile-header-actions {
    display: none;
  }

  .cleanings-desktop-filters {
    display: block;
  }
}

@media (max-width: 1180px) {
  .simple-calendar td {
    height: 7.75rem;
    padding: 0.35rem;
  }

  .simple-calendar .day {
    min-height: 7.75rem;
  }

  .cleaning-event {
    padding: 0.3rem;
  }

  .cleaning-event--canceled {
    padding: 0.4rem;
  }

  .cleanings-day-number {
    height: 1.45rem;
    min-width: 1.45rem;
  }
}
