/* APD 743 — synchronized availability, mobile messages and premium trust UI. */

/* Every temporary checkout limit looks exactly like genuine unavailable inventory. */
html body.single-listing.apd743-release .apd52-native-calendar :is(ul.days,.days) > li.apd740-checkout-unavailable:not(.apd738-range-start):not(.apd738-range-end) {
  opacity: 1 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: auto !important;
}
html body.single-listing.apd743-release .apd52-native-calendar :is(ul.days,.days) > li.apd740-checkout-unavailable:not(.apd738-range-start):not(.apd738-range-end) .day-number {
  color: #9a9a9a !important;
  -webkit-text-fill-color: #9a9a9a !important;
  opacity: 1 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration-line: line-through !important;
  text-decoration-color: #9a9a9a !important;
  text-decoration-thickness: 1.25px !important;
}
html body.single-listing.apd743-release .apd52-native-calendar :is(ul.days,.days) > li.apd740-checkout-unavailable:not(.apd738-range-start):not(.apd738-range-end) :is(.day-number, .day-number::before, .day-number::after) {
  box-shadow: none !important;
}
html body.single-listing.apd743-release .apd52-native-calendar :is(ul.days,.days) > li.apd740-checkout-unavailable:not(.apd738-range-start):not(.apd738-range-end) .day-number::before,
html body.single-listing.apd743-release .apd52-native-calendar :is(ul.days,.days) > li.apd740-checkout-unavailable:not(.apd738-range-start):not(.apd738-range-end) .day-number::after {
  content: none !important;
  display: none !important;
}

/* One month title only: the toolbar owns the visible month label. */
html body.apd743-release .apd91-date-dialog .apd91-month > h3 {
  display: none !important;
}
html body.apd743-release .apd91-date-dialog .apd91-month-controls {
  margin-bottom: 14px !important;
}
html body.apd743-release .apd91-date-dialog [data-apd91-range-label] {
  color: #202124 !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  text-transform: none !important;
}

/* Contact date range: uninterrupted gray band and circular black endpoints. */
html body.apd743-release .apd91-date-dialog .apd91-days {
  column-gap: 0 !important;
  row-gap: 3px !important;
}
html body.apd743-release .apd91-date-dialog .apd91-days button {
  width: 100% !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
}
html body.apd743-release .apd91-date-dialog .apd91-days button.is-range {
  width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #202124 !important;
  -webkit-text-fill-color: #202124 !important;
  background: #e6e6e7 !important;
  box-shadow: none !important;
}
html body.apd743-release .apd91-date-dialog .apd91-days button:is(.is-start,.is-end) {
  width: 100% !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
}
html body.apd743-release .apd91-date-dialog .apd91-days button.is-start:not(.is-end) {
  background:
    radial-gradient(circle 22px at 50% 50%, #202124 0 21.5px, transparent 22.5px),
    linear-gradient(to right, transparent 0 50%, #e6e6e7 50% 100%) !important;
}
html body.apd743-release .apd91-date-dialog .apd91-days button.is-end:not(.is-start) {
  background:
    radial-gradient(circle 22px at 50% 50%, #202124 0 21.5px, transparent 22.5px),
    linear-gradient(to right, #e6e6e7 0 50%, transparent 50% 100%) !important;
}
html body.apd743-release .apd91-date-dialog .apd91-days button.is-start.is-end {
  background: radial-gradient(circle 22px at 50% 50%, #202124 0 21.5px, transparent 22.5px) !important;
}
html body.apd743-release .apd91-date-dialog .apd91-days button:is(.is-start,.is-end)::before,
html body.apd743-release .apd91-date-dialog .apd91-days button:is(.is-start,.is-end)::after {
  content: none !important;
  display: none !important;
}

/* Real inventory and provisional limits use one neutral unavailable language. */
html body.apd743-release .apd91-date-dialog .apd91-days button:is(.is-unavailable,.is-temporary-unavailable):not(.is-start):not(.is-end) {
  color: #9a9a9a !important;
  -webkit-text-fill-color: #9a9a9a !important;
  opacity: 1 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration-line: line-through !important;
  text-decoration-color: #9a9a9a !important;
  text-decoration-thickness: 1.25px !important;
  pointer-events: none !important;
}

/* Premium glass protection card, built with live responsive HTML. */
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card {
  isolation: isolate !important;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 156px minmax(0,1fr) !important;
  min-height: 230px !important;
  align-items: center !important;
  gap: 24px !important;
  margin-top: 24px !important;
  padding: 28px 30px !important;
  overflow: hidden !important;
  border: 1px solid rgba(132,157,192,.30) !important;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 8% 20%, rgba(255,231,173,.46), transparent 31%),
    radial-gradient(circle at 96% 18%, rgba(208,224,255,.74), transparent 39%),
    linear-gradient(145deg, rgba(255,255,255,.99), rgba(240,246,255,.94)) !important;
  box-shadow:
    0 28px 58px rgba(21,48,82,.15),
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(120,150,191,.13) !important;
}
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card::before {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 8px !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 25px !important;
  pointer-events: none !important;
}
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  top: -58px !important;
  right: -72px !important;
  width: 250px !important;
  height: 170px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.58) !important;
  filter: blur(2px) !important;
  transform: rotate(-18deg) !important;
  pointer-events: none !important;
}
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card .apd177-host-note-icon,
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card .apd177-host-note-icon > img {
  display: block !important;
  width: 156px !important;
  height: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  min-height: 156px !important;
  max-height: 156px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card .apd177-host-note-icon > img {
  object-fit: contain !important;
  filter: drop-shadow(0 19px 17px rgba(18,42,72,.23)) !important;
  transform: scale(1.08) !important;
}
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card .apd737-host-note-copy {
  position: relative !important;
  z-index: 1 !important;
}
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card strong {
  display: block !important;
  margin: 0 !important;
  color: #10284d !important;
  font-size: clamp(24px,3vw,32px) !important;
  font-weight: 900 !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
}
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card strong::after {
  content: "" !important;
  display: block !important;
  width: 42px !important;
  height: 4px !important;
  margin: 15px 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg,#e5aa2c,#b87900) !important;
  box-shadow: 0 4px 8px rgba(169,108,0,.16) !important;
}
html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card p {
  margin: 0 !important;
  color: #5d6b80 !important;
  font-size: 16px !important;
  font-weight: 510 !important;
  line-height: 1.55 !important;
}

/* Verified medallions always use the transparent artwork without a halo. */
html body.apd743-release :is(.apd724-verified-badge,.apd741-experience-verified),
html body.apd743-release :is(.apd724-verified-badge,.apd741-experience-verified)::before,
html body.apd743-release :is(.apd724-verified-badge,.apd741-experience-verified)::after {
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
html body.apd743-release :is(.apd724-verified-badge,.apd741-experience-verified) {
  overflow: visible !important;
}
html body.apd743-release :is(.apd724-verified-badge,.apd741-experience-verified) > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* Visible three-dot feedback on every in-app back action and message send. */
.apd743-loading-dots {
  display: inline-flex !important;
  min-width: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}
.apd743-loading-dots > i {
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: currentColor !important;
  animation: apd743-dot-wave .84s ease-in-out infinite !important;
}
.apd743-loading-dots > i:nth-child(2) { animation-delay: .12s !important; }
.apd743-loading-dots > i:nth-child(3) { animation-delay: .24s !important; }
@keyframes apd743-dot-wave {
  0%,60%,100% { opacity:.35; transform:translateY(0); }
  30% { opacity:1; transform:translateY(-3px); }
}

/* Keep the primary composer action above the floating iOS Safari address pill. */
@media (max-width: 799px) {
  html body.apd743-release .apd91-date-dialog .apd91-days button {
    min-height: 46px !important;
    height: 46px !important;
  }
  html body.apd743-release .apd91-date-dialog .apd91-days button.is-start:not(.is-end) {
    background:
      radial-gradient(circle 23px at 50% 50%, #202124 0 22.5px, transparent 23.5px),
      linear-gradient(to right, transparent 0 50%, #e6e6e7 50% 100%) !important;
  }
  html body.apd743-release .apd91-date-dialog .apd91-days button.is-end:not(.is-start) {
    background:
      radial-gradient(circle 23px at 50% 50%, #202124 0 22.5px, transparent 23.5px),
      linear-gradient(to right, #e6e6e7 0 50%, transparent 50% 100%) !important;
  }
  html body.apd743-release .apd91-date-dialog .apd91-days button.is-start.is-end {
    background: radial-gradient(circle 23px at 50% 50%, #202124 0 22.5px, transparent 23.5px) !important;
  }

  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card {
    grid-template-columns: 116px minmax(0,1fr) !important;
    min-height: 190px !important;
    gap: 15px !important;
    padding: 22px 17px !important;
    border-radius: 27px !important;
  }
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card .apd177-host-note-icon,
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card .apd177-host-note-icon > img {
    width: 116px !important;
    height: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    min-height: 116px !important;
    max-height: 116px !important;
  }
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card strong {
    font-size: 22px !important;
  }
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card strong::after {
    margin: 11px 0 !important;
  }
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card p {
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  html body.apd743-release.apd743-message-keyboard.apd728-host-contact-flow .apd87-contact-page[data-apd728-step="compose"] .apd87-contact-body {
    padding-bottom: 188px !important;
  }
  html body.apd743-release.apd743-message-keyboard.apd728-host-contact-flow .apd87-contact-page[data-apd728-step="compose"] .apd87-send {
    bottom: max(82px, calc(64px + env(safe-area-inset-bottom))) !important;
  }
  html body.apd743-release.apd743-message-keyboard.apd728-host-contact-flow .apd87-contact-page[data-apd728-step="compose"] .apd87-message-form {
    scroll-margin-bottom: 170px !important;
  }
}

@media (max-width: 430px) {
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card {
    grid-template-columns: 104px minmax(0,1fr) !important;
    min-height: 182px !important;
    gap: 12px !important;
    padding: 18px 14px !important;
  }
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card .apd177-host-note-icon,
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card .apd177-host-note-icon > img {
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
  }
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card strong { font-size: 20px !important; }
  html body.single-listing.apd743-release .apd647-host-info .apd177-host-note.apd743-protection-card p { font-size: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .apd743-loading-dots > i { animation: none !important; opacity: .72 !important; }
}

