/* Canonical shared tenant document component, extracted unchanged from the active booking sheet. */
.tenant-terms-rendered ul,
.tenant-terms-rendered ol{
  padding-left: 1.5em;
  margin: .75em 0 1em;
}
.tenant-terms-rendered li{
  margin: .3em 0;
}

.tenant-terms-consent[hidden]{ display: none !important; }
.tenant-terms-consent__copy{
  min-width: 0;
}
.tenant-terms-consent .tenant-terms-link{
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tenant-terms-consent .tenant-terms-link:focus-visible{
  outline: 3px solid rgba(91,33,182,.2);
  outline-offset: 3px;
  border-radius: 3px;
}
.tenant-terms-modal[hidden]{ display: none !important; }
.tenant-terms-modal{
  position: fixed;
  inset: 0;
  /* Terms are a child decision above the group/checkout booking surfaces. */
  z-index: 12010;
  display: grid;
  place-items: center;
  padding: 24px;
}
.tenant-terms-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(24, 17, 33, .54);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.tenant-terms-modal__panel{
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(82vh, 790px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(91,33,182,.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 82px rgba(26,16,38,.25);
}
.tenant-terms-modal__head{
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 76px 18px 26px;
  border-bottom: 1px solid rgba(91,33,182,.10);
}
.tenant-terms-modal__head h2{
  margin: 0;
  font-size: clamp(21px, 2.2vw, 27px);
  color: #251b32;
}
.tenant-terms-modal__close{
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91,33,182,.10);
  border-radius: 11px;
  background: #fff;
  color: #4b4058;
  cursor: pointer;
}
.tenant-terms-modal__close:hover{ background: #f7f4fb; color: #5b21b6; }
.tenant-terms-modal__close:focus-visible{
  outline: 3px solid rgba(91,33,182,.22);
  outline-offset: 2px;
}
.tenant-terms-modal__close svg{
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tenant-terms-modal__body{
  min-height: 0;
  overflow: auto;
  padding: 26px 30px 34px;
  color: #31283c;
  font-size: 15.5px;
  line-height: 1.72;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.tenant-terms-rendered p,
.tenant-terms-rendered div{ margin: 0 0 .9em; }
.tenant-terms-rendered strong,
.tenant-terms-rendered b{ font-weight: 750; }
.tenant-terms-rendered span{ max-width: 100%; }
.tenant-terms-modal__foot{
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(91,33,182,.09);
  background: #fcfbfd;
}
@media (max-width: 720px){

.tenant-terms-modal{
    align-items: end;
    padding: 0;
  }
.tenant-terms-modal__close{ top: 14px; right: 18px; }
.tenant-terms-modal__panel{
    width: 100%;
    max-height: 88dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
  }
.tenant-terms-modal__head{
    min-height: 70px;
    padding: 15px 72px 15px 20px;
  }
.tenant-terms-modal__body{ padding: 22px 20px 30px; }
.tenant-terms-modal__foot{ padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
.tenant-terms-modal__foot .primary-btn{ width: 100%; min-height: 48px; }
}


#bookingDocumentsError{color:var(--wb-color-danger,#b42318);line-height:1.5}
#tenantTermsModalMeta{display:block;margin-top:4px;color:var(--wb-color-text-muted,#667085);font-size:.8rem;font-weight:400}
#tenantTermsModalMeta[hidden]{display:none}
.tenant-terms-modal__head>div{min-width:0}
.tenant-terms-modal__body{overflow-wrap:anywhere}
