.free-offer-processing-heading,
.free-offer-processing-art { display: none; }

@media (max-width: 860px) {
  body.free-offer-processing-active {
    background: #fff;
  }
  body.free-offer-processing-active::after {
    content: '';
    position: fixed;
    inset: auto 0 0;
    height: 38svh;
    background: url('/free-offer-processing-waves.svg') center bottom / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 0;
  }
  body.free-offer-processing-active #generator-main-grid {
    position: relative;
    z-index: 1;
  }
  body.free-offer-processing-active #generator-side-rail {
    align-content: start;
    padding: clamp(28px, 3.2svh, 42px) 18px 40px !important;
  }
  body.free-offer-processing-active #generator-request-card {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    overflow: visible;
  }
}
body.free-offer-processing-active #generator-request-card > .section-heading,
body.free-offer-processing-active #generator-request-card::after { display: none !important; }
body.free-offer-processing-active :is(#generator-request-card, .free-offer-processing-dialog) #status-verifying {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0;
  padding: 27px 25px 28px;
  border: 1px solid #fff;
  border-radius: 25px;
  background: linear-gradient(115deg, #fff 48%, #fcfefc);
  box-shadow: 0 14px 70px #68c7a12b;
  overflow: hidden;
}
body.free-offer-processing-active .free-offer-processing-heading { display: block; position: relative; z-index: 1; }
body.free-offer-processing-active .free-offer-processing-heading p {
  margin: 0 0 20px;
  color: #69b79a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.2;
}
body.free-offer-processing-active .free-offer-processing-heading h2 {
  max-width: none;
  margin: 0;
  color: #102329;
  font-size: clamp(23px, 6.3vw, 32px);
  font-weight: 600;
  letter-spacing: -.65px;
  line-height: 1.2;
}
body.free-offer-processing-active .free-offer-processing-art {
  display: block;
  position: absolute;
  right: 5px;
  top: 65px;
  width: 132px;
  height: 132px;
  pointer-events: none;
  z-index: -1;
}
body.free-offer-processing-active #status-verifying .status-pill-verifying {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: auto;
  min-height: 40px;
  margin: 26px 0 32px;
  padding: 8px 14px;
  border: 0;
  border-radius: 99px;
  background: #eff8f3e6;
  color: #468f78;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
body.free-offer-processing-active .status-pill-verifying::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--am-vinyl-mini-bg, #0a6142);
  box-shadow: var(--am-vinyl-mini-shadow, none);
  animation: free-offer-validating 1.2s linear infinite;
}
body.free-offer-processing-active #status-verifying .progress-wrap-verifying {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 27px;
}
body.free-offer-processing-active #status-verifying .progress-bar {
  flex: 1;
  height: 16px;
  border: 0;
  border-radius: 99px;
  background: #e9f5ef;
  overflow: visible;
}
body.free-offer-processing-active #status-verifying-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #398f77, #71d3a8);
  box-shadow: 0 8px 24px #69d4a947;
}
body.free-offer-processing-active #status-verifying-value {
  min-width: 36px;
  color: #506c60;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}
body.free-offer-processing-active #status-verifying-message {
  margin: 0;
  color: #60796d;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
@keyframes free-offer-validating { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  body.free-offer-processing-active .status-pill-verifying::before { animation: none; }
  body.free-offer-processing-active #status-verifying-fill { transition: none; }
}
@media (max-width: 360px) {
  body.free-offer-processing-active #generator-side-rail { padding-inline: 12px !important; }
  body.free-offer-processing-active #generator-request-card #status-verifying { padding-inline: 20px; }
  body.free-offer-processing-active .free-offer-processing-heading h2 { font-size: 22px; }
  body.free-offer-processing-active #status-verifying-message { font-size: 15px; }
}
@media (min-width: 861px) {
  body.free-offer-processing-active :is(#generator-request-card, .free-offer-processing-dialog) #status-verifying { padding: 38px; border-radius: 28px; outline: none; }
  body.free-offer-processing-active .free-offer-processing-art { top: 60px; right: 20px; width: 175px; height: 175px; }
}

.free-offer-processing-dialog {
  width: min(640px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: #102329;
  box-shadow: 0 24px 90px #123b3033;
  overflow: auto;
}
.free-offer-processing-dialog::backdrop {
  background: #102c2259;
  backdrop-filter: blur(5px);
}
html:has(.free-offer-processing-dialog[open]),
body.desktop-processing-modal-active { overflow: hidden; }
