/* HMS calendar page: page frame and heading. The calendar itself is design-system hmsCalendar. */
.calendar-page-shell .overview-body {
  max-width: 1280px;
  padding: 30px 32px 100px;
}
.calendar-page-shell .overview-heading {
  display: none;
}
.calendar-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ds-space-4);
}
.calendar-page-heading h1 {
  margin: 0;
  font: var(--ds-weight-semibold) var(--ds-text-2xl)/1.2 var(--ds-font);
}
.calendar-page-heading > [data-new-booking] {
  background: var(--ds-action);
  color: var(--ds-paper);
  border-color: var(--ds-action);
}
@media (max-width: 760px) {
  .calendar-page-shell .overview-body {
    padding: 24px 16px 100px;
  }
  .calendar-page-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .calendar-page-heading > [data-new-booking] {
    width: 100%;
  }
}
/* While nights are selected on a phone, the selection dock replaces the bottom navigation (hidden from touch, keyboard and screen readers). */
@media (max-width: 760px) {
  #app:has(.ds-selection-dock) .overview-mobile-nav {
    visibility: hidden;
    pointer-events: none;
  }
}

/* Shared HMS dialogs (shell in calendar.js): 44px close control and native selects in the DS look (Safari). */
.hms-mode .flow-close-control {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-paper);
  color: var(--ds-ink);
  font: 400 26px/1 var(--ds-font);
}
.hms-mode .flow-close-control:focus-visible {
  outline: 2px solid var(--ds-focus);
  outline-offset: 2px;
}
.hms-mode .hms-dialog-head .flow-close-control {
  display: grid;
  place-items: center;
}
.hms-mode .hms-dialog .hms-form select:not([multiple]):not([size]) {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: var(--ds-control-md, 44px);
  padding: 11px 40px 11px 14px;
  border: 1px solid var(--ds-control-border);
  border-radius: var(--ds-radius-control);
  background-color: var(--ds-paper);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ds-muted) 50%),
    linear-gradient(135deg, var(--ds-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  color: var(--ds-ink);
  font: 400 14px/20px var(--ds-font);
  cursor: pointer;
}
.hms-mode .hms-dialog .hms-form select:focus-visible {
  outline: 2px solid var(--ds-focus);
  outline-offset: 2px;
}
.hms-mode .hms-dialog .hms-form select:disabled {
  background-color: var(--ds-soft);
  color: var(--ds-muted);
  cursor: not-allowed;
}
@media (forced-colors: active) {
  .hms-mode .hms-dialog .hms-form select:not([multiple]):not([size]) {
    appearance: auto;
    -webkit-appearance: auto;
    background-image: none;
  }
}
