/* Pullman calendars: match the Address reference without changing date logic.
   Scoped to the existing date dialog; loaded after the public style stack. */
html body dialog.pullman-calendar {
  --calendar-ink: #193b39;
  --calendar-muted: #6d736d;
  --calendar-line: #e6e2d9;
  --calendar-selected: #214843;
  inset: 0;
  margin: auto;
  width: min(440px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 22px;
  box-sizing: border-box;
  border: 1px solid #d8d1c2 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--calendar-ink) !important;
  box-shadow: 0 20px 80px #102c3040 !important;
  font-family: var(--pu-premium-body, Arial, sans-serif);
  line-height: 1.4;
  text-align: start;
}
html body dialog.pullman-calendar::backdrop { background: #142c3880; }
html body dialog.pullman-calendar .pullman-calendar-top {
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0;
}
html body dialog.pullman-calendar .pullman-calendar-top h2 {
  margin: 0;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  color: var(--calendar-ink);
}
html body dialog.pullman-calendar .pullman-calendar-close,
html body dialog.pullman-calendar .pullman-calendar-nav > button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--calendar-ink) !important;
  box-shadow: none !important;
  font: 400 25px/1 Arial, sans-serif !important;
  cursor: pointer;
}
html body dialog.pullman-calendar .pullman-calendar-close { margin-inline-end: -10px; }
html body dialog.pullman-calendar .pullman-calendar-close:hover,
html body dialog.pullman-calendar .pullman-calendar-nav > button:hover:not(:disabled) {
  background: #f3f0e8 !important;
}
html body dialog.pullman-calendar .pullman-calendar-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px 44px 44px;
  grid-template-areas: "month year previous next";
  align-items: center;
  gap: 2px;
  margin: 0 0 14px;
}
html body dialog.pullman-calendar .pullman-calendar-nav > button:first-child { grid-area: previous; }
html body dialog.pullman-calendar .pullman-calendar-nav > button:last-child { grid-area: next; }
html body dialog.pullman-calendar .pullman-calendar-nav > select:nth-child(2) { grid-area: month; }
html body dialog.pullman-calendar .pullman-calendar-nav > select:nth-child(3) { grid-area: year; }
html body dialog.pullman-calendar .pullman-calendar-nav > select {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 44px;
  min-height: 44px;
  padding: 6px 3px;
  border: 0 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: var(--calendar-ink) !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.3;
  letter-spacing: 0;
  appearance: auto;
  cursor: pointer;
}
html body dialog.pullman-calendar .pullman-calendar-nav > button:disabled { opacity: .3; cursor: default; }
html body dialog.pullman-calendar .pullman-calendar-grid {
  width: 100%;
  margin: 0;
  table-layout: fixed;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
}
html body dialog.pullman-calendar .pullman-calendar-grid thead { background: #f6f4ef; }
html body dialog.pullman-calendar .pullman-calendar-grid th {
  height: 36px;
  padding: 8px 1px;
  border: 0;
  background: #f6f4ef;
  color: var(--calendar-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}
html body dialog.pullman-calendar .pullman-calendar-grid tbody tr { border-bottom: 1px solid var(--calendar-line); }
html body dialog.pullman-calendar .pullman-calendar-grid td {
  position: relative;
  height: 54px;
  padding: 4px 1px;
  border: 0;
  background: transparent;
  text-align: center;
  vertical-align: middle;
}
html body dialog.pullman-calendar .pullman-calendar-grid td > button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 44px;
  height: auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 0;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent;
  color: var(--calendar-ink);
  font-family: inherit !important;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: none;
}
html body dialog.pullman-calendar .pullman-calendar-grid td > button:hover:not(:disabled) { background: #eee8dc; }
html body dialog.pullman-calendar .pullman-calendar-grid td > button.is-selected,
html body dialog.pullman-calendar .pullman-calendar-grid td > button.is-selected:hover:not(:disabled) {
  background: var(--calendar-selected) !important;
  color: #fff !important;
}
html body dialog.pullman-calendar .pullman-calendar-grid td > button[aria-current=date]:not(.is-soldout) { box-shadow: inset 0 0 0 1px #ad9875; }
html body dialog.pullman-calendar .pullman-calendar-grid td > button:disabled {
  background: transparent !important;
  color: #adb1aa !important;
  border-color: transparent !important;
  opacity: 1 !important;
  box-shadow: none;
  cursor: default;
}
html body dialog.pullman-calendar .pullman-calendar-grid td.pullman-soldout-cell > button {
  justify-content: flex-start;
  padding-top: 7px;
  cursor: not-allowed;
}
html body dialog.pullman-calendar[open] .pullman-calendar-grid td.pullman-soldout-cell::after {
  content: attr(title);
  display: block;
  position: absolute;
  inset-inline: 1px;
  bottom: 5px;
  color: #92988f;
  font: 400 8px/1.15 Arial, sans-serif;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  pointer-events: none;
}
/* Short visual labels fit the seven-column grid. Full localized descriptions
   remain in the existing title, aria-label and availability note. */
html body dialog.pullman-calendar:lang(ru)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "Занято"; }
html body dialog.pullman-calendar:lang(ar)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "محجوز"; }
html body dialog.pullman-calendar:lang(de)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "Belegt"; }
html body dialog.pullman-calendar:lang(nl)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "Vol"; }
html body dialog.pullman-calendar:lang(it)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "Completo"; }
html body dialog.pullman-calendar:lang(pt)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "Esgotado"; }
html body dialog.pullman-calendar:lang(ko)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "예약 마감"; }
html body dialog.pullman-calendar:lang(tr)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "Dolu"; }
html body dialog.pullman-calendar:lang(pl)[open] .pullman-calendar-grid td.pullman-soldout-cell::after { content: "Zajęte"; }
/* The same availability explanation remains accessible via aria-describedby.
   The localized status is visible directly under each unavailable date. */
html body dialog.pullman-calendar .pullman-soldout-note,
html body dialog.pullman-calendar .pullman-calendar-help {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
html body dialog.pullman-calendar .pullman-calendar-actions {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}
html body dialog.pullman-calendar .pullman-calendar-actions button {
  min-height: 44px;
  padding: 8px 10px;
  color: var(--calendar-ink);
  font-size: 13px;
}
html body dialog.pullman-calendar .pullman-calendar-actions button:disabled { display: none; }
html body dialog.pullman-calendar .pullman-calendar-actions:not(:has(button:not(:disabled))) { display: none; }
html body dialog.pullman-calendar button:focus-visible,
html body dialog.pullman-calendar select:focus-visible {
  outline: 2px solid #967d50 !important;
  outline-offset: 2px !important;
}
html[dir=rtl] body dialog.pullman-calendar .pullman-calendar-nav > button,
html body [dir=rtl] dialog.pullman-calendar .pullman-calendar-nav > button { transform: scaleX(-1); }
@media (max-width: 420px) {
  html body dialog.pullman-calendar { padding: 16px 12px; }
  html body dialog.pullman-calendar .pullman-calendar-nav { grid-template-columns: minmax(0, 1fr) 66px 44px 44px; }
  html body dialog.pullman-calendar .pullman-calendar-grid td { height: 51px; padding-block: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html body dialog.pullman-calendar * { transition: none !important; }
}
