/* Four reservation cards per row on desktop in Mi cuenta. */
@media (min-width: 1200px) {
  #accountView #bookingList .booking-filter-bucket:not([hidden]) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Co-host reservations use the same reservation cards and responsive grid as
   the owner's reservation overview. */
#landlordView .cohost-reservations-overview {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #dfe7e0;
}
#landlordView .cohost-reservations-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#landlordView .cohost-reservations-heading h3 {
  margin: 0;
  color: #173f36;
  font: 500 24px/1.2 var(--serif, Georgia, serif);
}
#landlordView .cohost-reservation-groups { width: 100%; min-width: 0; }
#landlordView .cohost-reservation-toolbar {
  display: block;
  min-width: 0;
}
#landlordView .cohost-reservation-tabs {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  padding: 0 1px 3px;
  scrollbar-width: none;
}
#landlordView .cohost-reservation-tabs::-webkit-scrollbar { display: none; }
#landlordView .cohost-reservation-tabs .owner-reservation-tab[hidden] { display: none !important; }
#landlordView .cohost-reservation-group[hidden] { display: none !important; }
#landlordView .cohost-owner-reservation .owner-reservation-property {
  position: relative;
}
#landlordView .cohost-owner-reservation .owner-reservation-compact-info {
  grid-template-columns: minmax(0, 1fr) auto;
}
#landlordView .cohost-owner-reservation .owner-reservation-card-actions {
  align-self: center;
}
#landlordView .cohost-owner-reservation .owner-reservation-tenant-stay {
  display: grid;
  gap: 5px;
}
#landlordView .cohost-owner-reservation .owner-reservation-nights {
  color: #718078;
}
#landlordView #cohostWorkspace .cohost-booking-list {
  grid-template-columns: minmax(0, 1fr);
}
#landlordView #cohostWorkspace .cohost-booking {
  min-width: 0;
}
#landlordView #cohostWorkspace .cohost-calendar-view {
  margin: 0;
}
#landlordView .cohost-card[data-listing] {
  cursor: pointer;
}
#landlordView .cohost-card[data-listing]:focus-visible {
  outline: 2px solid #b5853b;
  outline-offset: 3px;
}
#landlordView .cohost-card.is-owner-property-selected {
  border-color: #8fb69a;
  box-shadow: 0 0 0 2px #d9e9dc, 0 8px 22px #18352916;
}
@media (max-width: 760px) {
  #landlordView .cohost-reservations-heading h3 {
    font-size: 21px;
  }
  #landlordView .cohost-reservation-tabs .owner-reservation-tab {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 15px;
    border-radius: 999px;
    white-space: nowrap;
  }
}
#landlordView .cohost-owner-reservation .booking-party-person {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
#landlordView .cohost-owner-reservation .booking-party-person img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  object-fit: cover;
}
#landlordView .cohost-reservation-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
#landlordView .cohost-reservations-heading .cohost-reservation-heading-actions .chip {
  flex: 0 0 auto;
  white-space: nowrap;
}
#landlordView #cohostSection .cohost-card.owner-property-card.is-owner-property-selected {
  border-color: #8fb69a !important;
  outline: 2px solid #8fb69a !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #d9e9dc !important;
}
/* Draw calendar day boundaries at the same fractional positions as the day
   columns; repeating pixel gradients drift on fractional grid widths. */
#landlordView .owner-calendar-timeline { background-image: none !important; }
#landlordView .owner-calendar-day-divider {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #dfe7e0;
  pointer-events: none;
}
#landlordView .owner-calendar-day-heading {
  border-left-color: #dfe7e0;
}

/* The shared property menu is also used by cohost listings. */
#landlordView #cohostSection .cohost-card.has-open-property-menu { z-index: 20; }
#landlordView #cohostSection .owner-property-menu-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #e1e8df;
  border-radius: 50%;
  background: #fff;
  color: #183d34;
  font: 600 23px/1 'DM Sans', sans-serif;
  box-shadow: 0 2px 8px #18352918;
  cursor: pointer;
}
#landlordView #cohostSection .owner-property-menu-toggle:hover,
#landlordView #cohostSection .owner-property-menu-toggle[aria-expanded="true"] { background: #f0f5ef; border-color: #b7cabb; }
#landlordView #cohostSection .owner-property-menu-layer[hidden] { display: none !important; }
#landlordView #cohostSection .owner-property-menu-layer {
  position: absolute;
  top: 60px;
  right: 14px;
  z-index: 30;
  width: min(244px, calc(100vw - 36px));
  padding: 7px;
  border: 1px solid #dce5dc;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px #18352926;
}
#landlordView #cohostSection .owner-property-menu-items { display: grid; gap: 3px; }
#landlordView #cohostSection .owner-property-menu-items > button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #183d34;
  font: 500 14px/1.25 'DM Sans', sans-serif;
  text-align: left;
  cursor: pointer;
}
#landlordView #cohostSection .owner-property-menu-items > button:hover { background: #eef4ed; }
#landlordView #cohostSection .owner-property-menu-items > button.is-destructive { color: #b52e27; }
#landlordView #cohostSection .owner-property-menu-items > button.is-destructive:hover { background: #fff1ef; }
#landlordView #cohostSection .owner-property-menu-icon { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; font-size: 18px; }
#landlordView #cohostSection .owner-property-menu-icon svg { display: block; width: 20px; height: 20px; stroke: currentColor; }
#landlordView #cohostSection .owner-property-menu-separator { height: 1px; margin: 5px 4px; background: #e5e9e3; }
