/* Xsmall merchant agreement: keep the document and form vertically scrollable
   in Android WebView/Chrome even when the browser reports a fixed viewport. */
html,
body {
  min-height: 100%;
  height: auto !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.merchantSettled[data-v-494ecf3a] {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.merchantSettled[data-v-494ecf3a] .merchantSettled-wap,
.merchantSettled[data-v-494ecf3a] .step-div {
  height: auto !important;
  min-height: 0;
  overflow: visible !important;
}

.merchantSettled[data-v-494ecf3a] .merchantSettled-wap {
  align-items: flex-start !important;
}

.merchantSettled[data-v-494ecf3a] .step-div {
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.merchantSettled[data-v-494ecf3a] .content:not(.content2) {
  max-height: min(58vh, 560px);
  max-height: min(58dvh, 560px);
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.merchantSettled[data-v-494ecf3a] .xsmall-agreement-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 5px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.12);
}

.xsmall-agreement-popup.van-popup {
  display: flex;
  max-height: 82vh;
  max-height: 82dvh;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  z-index: 2147483101 !important;
}

.xsmall-agreement-popup .van-popup__close-icon {
  top: 16px !important;
  right: 16px !important;
  bottom: auto !important;
  left: auto !important;
}

.xsmall-agreement-popup-x {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666;
  font: 400 30px/40px Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
}

.xsmall-agreement-popup-x:active {
  background: #f2f2f2;
}

.xsmall-agreement-popup-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 28px 24px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #222;
  font-size: 16px;
  line-height: 1.55;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overflow-wrap: anywhere;
  scrollbar-gutter: stable;
}

.xsmall-agreement-popup-content p {
  margin: 0 0 18px;
}

.xsmall-agreement-popup-content .xsmall-agreement-popup-title {
  padding-right: 32px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.12;
}

.merchantSettled[data-v-494ecf3a] .content:not(.content2) p,
.xsmall-agreement-popup-content p {
  white-space: pre-wrap;
}

.xsmall-agreement-popup-close.van-button {
  flex: 0 0 auto;
  width: calc(100% - 48px);
  margin: 8px 24px calc(16px + env(safe-area-inset-bottom));
}

.merchantSettled[data-v-494ecf3a] .xsmall-agreement-section,
.xsmall-agreement-popup-content .xsmall-agreement-section {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.merchantSettled[data-v-494ecf3a] .xsmall-agreement-clause,
.xsmall-agreement-popup-content .xsmall-agreement-clause {
  margin-bottom: 14px;
  text-align: left;
}

@media (max-width: 499px) {
  .merchantSettled[data-v-494ecf3a] .content:not(.content2) {
    max-height: 48vh;
    max-height: 48dvh;
  }

  .merchantSettled[data-v-494ecf3a] .bottom {
    height: auto !important;
    min-height: 100px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}
