/* The day cells and their legend inherit the availability plugin's green and hatched states. */
#fc-site .fc-date-pair {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  overflow: hidden;
  border: 1px solid #8e988f;
  border-radius: 10px;
  background: #fff;
}
#fc-site .fc-date-field {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .14rem;
  min-width: 0;
  min-height: 54px;
  padding: .55rem .8rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #202922;
  text-align: start;
  font: inherit;
  cursor: pointer;
}
#fc-site .fc-date-field + .fc-date-field { border-inline-start: 1px solid #c4cbc4; }
#fc-site .fc-date-field:hover { background: #f3f6f1; }
#fc-site .fc-date-field small { font-size: .65rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
#fc-site .fc-date-field strong { white-space: nowrap; font-size: .88rem; font-weight: 550; }
#fc-site .fc-date-field[aria-pressed="true"] { border-radius: 8px; box-shadow: inset 0 0 0 2px #293b2d; }
#fc-site .fc-date-field:focus-visible { outline: 2px solid #215a9c; outline-offset: -3px; border-radius: 8px; }
#fc-site dialog.fc-property-calendar[open] {
  position: fixed;
  inset: var(--fc-calendar-top, 12px) auto auto var(--fc-calendar-left, 12px);
  width: min(710px,calc(100% - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  border: 1px solid #d8ded8;
  border-radius: 16px;
  background: #fff;
  color: #1e2922;
  box-shadow: 0 12px 54px rgba(20,31,24,.24), 0 1px 4px rgba(20,31,24,.1);
}
#fc-site dialog.fc-property-calendar::backdrop { background: transparent; }
#fc-site .fc-date-header {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(245px,47%);
  align-items: center;
  gap: 20px;
  padding: 23px 25px 18px;
}
#fc-site .fc-date-summary h2 {
  margin: 0;
  color: #1e2922;
  font-family: inherit;
  font-size: clamp(1.15rem,2vw,1.45rem);
  font-weight: 720;
  letter-spacing: -.025em;
  line-height: 1.18;
}
#fc-site .fc-date-summary p { margin: 5px 0 0; color: #506052; font-size: .86rem; line-height: 1.4; }
#fc-site .fc-date-body { min-height: 0; padding: 0 24px 4px; overflow: auto; overscroll-behavior: contain; }
#fc-site .fc-property-calendar .fcb-month { position: relative; display: block; padding: 0; border: 0; }
#fc-site .fc-property-calendar .fcb-month-nav {
  position: absolute;
  top: 0;
  inset-inline: 0;
  z-index: 1;
  pointer-events: none;
}
#fc-site .fc-property-calendar .fcb-month-nav button {
  display: grid;
  place-items: center;
  width: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #25362c;
  font: 1.55rem/1 system-ui,sans-serif;
  cursor: pointer;
  pointer-events: auto;
}
#fc-site .fc-property-calendar .fcb-month-nav button:enabled:hover { background: #edf2ec; }
#fc-site .fc-property-calendar .fcb-month-nav button:disabled { color: #98a199; cursor: default; }
#fc-site .fc-property-calendar .fcb-month-nav [data-month] {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
#fc-site .fc-property-calendar .fcb-months { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }
#fc-site .fc-property-calendar .fcb-month-panel { min-width: 0; }
#fc-site .fc-property-calendar .fcb-month-name {
  display: grid;
  align-items: center;
  min-height: 40px;
  margin: 0 0 .5rem;
  padding-inline: 30px;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}
#fc-site .fc-property-calendar .fcb-week { margin: 0 0 .4rem; font-size: .74rem; font-weight: 650; }
#fc-site .fc-property-calendar .fcb-days button {
  min-height: 36px;
  padding: 0;
  border-radius: 8px;
  font-size: .88rem;
  line-height: 1;
}
#fc-site .fc-property-calendar .fcb-days button:enabled:hover { outline: 1px solid #285c36; outline-offset: -1px; }
#fc-site .fc-property-calendar .fcb-days button:focus-visible { outline: 3px solid #215a9c; outline-offset: 0; }
#fc-site .fc-property-calendar .fcb-key {
  justify-content: flex-start;
  gap: 7px 18px;
  margin: 15px 0 1px;
  padding: 0;
  border: 0;
  color: #3e4b40;
  font-size: .86rem;
  line-height: 1.4;
}
#fc-site .fc-property-calendar .fcb-key span::before { width: 1.12rem; height: 1.12rem; }
#fc-site .fc-date-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 16px;
}
#fc-site .fc-date-footer button {
  min-height: 42px;
  padding: 8px 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #26362b;
  font: inherit;
  font-size: .88rem;
  font-weight: 680;
  cursor: pointer;
}
#fc-site .fc-date-footer [data-clear-dates] { text-decoration: underline; text-underline-offset: .2em; }
#fc-site .fc-date-footer [data-clear-dates]:disabled { opacity: .55; cursor: default; }
#fc-site .fc-date-footer [data-close-dates] { background: #25382b; color: #fff; }
#fc-site .fc-date-footer button:focus-visible, #fc-site .fc-property-calendar .fcb-month-nav button:focus-visible { outline: 3px solid #215a9c; outline-offset: -2px; }
/* Keep the party details aligned within the booking card, including its narrow desktop sidebar. */
#fc-site .fcl-guest-details {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: .75rem;
  align-items: stretch;
}
#fc-site .fcl-guest-details > label {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: .375rem;
  min-width: 0;
  margin: 0;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.35;
}
#fc-site .fcl-guest-details :is(input[type="number"], select) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 2.875rem;
  min-height: 44px;
  margin: 0;
  padding: 0 .625rem;
  border: 1px solid #89998b;
  border-radius: 8px;
  background-color: #fff;
  color: #18201d;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 450;
  line-height: normal;
}
#fc-site .fcl-guest-details :is(input[type="number"], select):focus-visible {
  outline: 2px solid #215a9c;
  outline-offset: 1px;
}
@media (max-width: 760px) {
  #fc-site dialog.fc-property-calendar[open] {
    inset: auto 0 0;
    width: 100%;
    max-height: calc(100vh - 8px);
    max-height: calc(100dvh - max(8px,env(safe-area-inset-top)));
    border-radius: 18px 18px 0 0;
  }
  #fc-site dialog.fc-property-calendar::backdrop { background: rgba(23,35,26,.32); }
  #fc-site .fc-date-header { grid-template-columns: 1fr; gap: 13px; padding: 18px 16px 12px; }
  #fc-site .fc-date-header .fc-date-field { min-height: 49px; }
  #fc-site .fc-date-body { padding-inline: 16px; }
  #fc-site .fc-property-calendar .fcb-months { grid-template-columns: minmax(0,1fr); gap: 0; }
  #fc-site .fc-property-calendar .fcb-days button { min-height: 40px; }
  #fc-site .fc-date-footer { padding: 10px 16px max(12px,env(safe-area-inset-bottom)); }
}
@media (forced-colors: active) {
  #fc-site .fc-date-field[aria-pressed="true"], #fc-site .fc-date-footer [data-close-dates] { border: 2px solid currentColor; }
}
