/* The key and the calendar use the same swatches, including on narrow screens. */
#fc-site .fcb-month {
  --fcl-open: #dff2dc;
  --fcl-open-edge: #367041;
  --fcl-closed: #f2f1ee;
  --fcl-hatch: repeating-linear-gradient(135deg, transparent 0 5px, #ceccc7 5px 7px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
#fc-site .fcb-month-nav { grid-row: 1; }
#fc-site .fcb-key {
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.2rem;
  margin: .35rem 0 .65rem;
  padding: .65rem .75rem;
  border: 1px solid #d2d8d2;
  border-radius: .5rem;
  color: #27372c;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}
#fc-site .fcb-key span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
#fc-site .fcb-key span::before {
  box-sizing: border-box;
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0;
  border-radius: .3rem;
}
#fc-site .fcb-days, #fc-site .fcb-week { gap: 3px; }
#fc-site .fcb-days button {
  min-width: 0;
  min-height: 40px;
  font-size: 1rem;
  font-weight: 600;
  box-sizing: border-box;
}
#fc-site .fcb-days button.is-open,
#fc-site .fcb-key span:first-child::before {
  background: var(--fcl-open);
  border: 1px solid #87ae8b;
  border-bottom: 3px solid var(--fcl-open-edge);
  color: #1c4728;
}
#fc-site .fcb-days button:not(.is-open),
#fc-site .fcb-key span:last-child::before {
  background: var(--fcl-hatch) var(--fcl-closed);
  border: 1px solid #b3b1ac;
  color: #45433f;
}
#fc-site .fcb-days button:disabled { opacity: 1; }
#fc-site .fcb-days button.is-open:where(:disabled) {
  text-decoration: none;
  border-bottom-style: dashed;
}
/* This night is closed, but a valid stay may end here. */
#fc-site .fcb-days button:where(:not(.is-open)):enabled { border: 2px dashed var(--fcl-open-edge); }
#fc-site .fcb-days button.in-stay {
  background: #b7d9b8;
  color: #163a22;
  border-color: #749b7b;
  text-decoration: none;
}
#fc-site .fcb-days button.is-selected {
  background: #255635;
  color: white;
  border: 2px solid #183e27;
  text-decoration: none;
}
#fc-site .fcb-days button:focus-visible {
  position: relative;
  outline: 3px solid #215a9c;
  outline-offset: 1px;
}
@media (forced-colors: active) {
  #fc-site .fcb-days button:not(.is-open),
  #fc-site .fcb-key span:last-child::before { border: 1px dashed GrayText; }
  #fc-site .fcb-days button.is-selected { outline: 2px solid Highlight; }
}

#fc-site .fcb-widget .fcl-minimum-stay {
  margin: .65rem 0 .8rem;
  padding: .6rem .8rem;
  border-inline-start: 4px solid #367041;
  border-radius: 0 .4rem .4rem 0;
  background: #eef6eb;
  color: #314c38;
  font-size: .88rem;
  line-height: 1.45;
}
#fc-site .fcl-minimum-stay strong {
  display: block;
  margin-bottom: .12rem;
  color: #183e27;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.25;
}
#fc-site .fcl-quick-stay {
  width: 100%;
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid #355740;
  border-radius: 7px;
  background: #fff;
  color: #28472f;
  font: inherit;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
}
#fc-site .fcl-quick-stay:enabled:hover { background: #eef6eb; }
#fc-site .fcl-quick-stay:focus-visible { outline: 3px solid #215a9c; outline-offset: 2px; }
#fc-site .fcl-quick-stay:disabled { color: #536057; border-color: #c8d2c9; background: #f4f6f3; cursor: default; }
#fc-site .fcl-has-quick-stay .fcb-jump { display: none; }
#fc-site .fcl-stay-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Keep the booking card compact. On short screens only the calendar body
   scrolls; the heading and date action stay within the date picker. */
#fc-site .fl-stay:has(.fcl-compact-stay) { overflow: visible; max-height: none; }
#fc-site .fcl-compact-stay .fcb-form { gap: .65rem; }
#fc-site .fcl-date-trigger {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  width: 100%;
  min-height: 54px;
  padding: 0;
  border: 1px solid #849087;
  border-radius: 10px;
  background: white;
  color: #18201d;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
#fc-site .fcl-date-trigger > span { display: grid; align-content: center; gap: .15rem; padding: .55rem .75rem; }
#fc-site .fcl-date-trigger > span + span { border-inline-start: 1px solid #c6cec7; }
#fc-site .fcl-date-trigger small { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
#fc-site .fcl-date-trigger strong { font-size: .9rem; font-weight: 550; }
#fc-site .fcl-date-trigger:hover { background: #f6f8f4; border-color: #355740; }
#fc-site .fcl-guest-details { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: .6rem; align-items: end; }
#fc-site .fcl-compact-stay .fcb-form > .fc-btn { min-height: 46px; width: 100%; }
#fc-site .fcl-compact-stay .fcb-form > .fc-btn:disabled,
#fc-site .fcl-apply:disabled { background: #e1e6e0; color: #465348; cursor: default; transform: none; }
#fc-site .fcl-price-details { color: #263c2c; font-size: .9rem; }
#fc-site .fcl-price-details summary { padding-block: .25rem; font-weight: 650; cursor: pointer; }
#fc-site .fcl-price-details .fcb-summary { margin: .5rem 0; }
#fc-site .fcl-price-details .fl-terms { margin: .5rem 0 0; }
#fc-site .fcl-compact-stay .fcb-demo { margin-bottom: 0; justify-self: start; }
#fc-site .fcl-date-picker:not([open]) { display: none; }
#fc-site .fcl-date-picker[open] {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  width: min(440px,calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #c8d0c8;
  border-radius: 16px;
  color: #18201d;
  background: white;
  box-shadow: 0 18px 64px #17221c38;
  color-scheme: light;
}
#fc-site .fcl-date-picker::backdrop { background: rgb(18 25 20 / .48); }
html:has(.fcl-date-picker[open]) { overflow: hidden; }
#fc-site .fcl-picker-header, #fc-site .fcl-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1.2rem;
}
#fc-site .fcl-picker-header { border-bottom: 1px solid #dce1da; }
#fc-site .fcl-picker-header h2 { margin: 0; font-size: 1.55rem; }
#fc-site .fcl-picker-header p { margin: .15rem 0 0; font-size: .88rem; color: #415146; }
#fc-site .fcl-picker-close {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #cbd3ca;
  border-radius: 50%;
  color: #25392b;
  background: #fff;
  font: 1.5rem/1 sans-serif;
  cursor: pointer;
}
#fc-site .fcl-picker-body { display: grid; align-content: start; gap: .6rem; min-height: 0; padding: .9rem 1.2rem; overflow: auto; overscroll-behavior: contain; }
#fc-site .fcl-picker-footer { border-top: 1px solid #dce1da; background: white; }
#fc-site .fcl-picker-hint { font-size: .88rem; line-height: 1.35; }
#fc-site .fcl-apply { flex: none; min-height: 44px; }
#fc-site .fcl-apply:enabled { background: #255635; color: white; transition: none; }
#fc-site :is(.fcl-date-trigger,.fcl-picker-close,.fcl-apply,.fcl-mobile-stay):focus-visible { outline: 3px solid #215a9c; outline-offset: 2px; }
@media (max-width: 760px) {
  #fc-site .fcl-date-picker[open] {
    inset: auto 0 0;
    width: 100%;
    margin: 0;
    max-height: calc(100vh - 8px);
    max-height: calc(100dvh - max(8px,env(safe-area-inset-top)));
    border-radius: 16px 16px 0 0;
  }
  #fc-site .fcl-picker-header, #fc-site .fcl-picker-body, #fc-site .fcl-picker-footer { padding-inline: 1rem; }
  #fc-site .fcl-picker-footer { padding-bottom: max(.85rem,env(safe-area-inset-bottom)); }
  #fc-site .fc-mobile-bar:has(.fcl-mobile-stay) {
    grid-template-columns: 1fr 1fr minmax(8rem,1.6fr);
    height: calc(66px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  #fc-site .fc-mobile-bar .fcl-mobile-stay {
    margin: 8px 12px 8px 4px;
    border: 0;
    border-radius: 8px;
    color: #18291c;
    background: #edf4e8;
    font-size: .9rem;
    letter-spacing: normal;
    text-transform: none;
  }
}
