/* Scoped staging-only form. It never changes Product or Search card styling. */
html.wnot-pdf-open,
body.wnot-pdf-open {
  overflow: hidden !important;
}

html.wnot-pdf-open {
  scrollbar-gutter: stable;
}

.wnot-pdf,
.wnot-pdf * {
  box-sizing: border-box;
}

.wnot-pdf [hidden] {
  display: none !important;
}

.wnot-pdf {
  position: fixed;
  inset: 0;
  z-index: 2147482999;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #101b32;
  font-family: inherit;
  isolation: isolate;
}

.wnot-pdf__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 40, .68);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.wnot-pdf__panel {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #dce5f5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(8, 18, 42, .28);
  outline: 0;
}

.wnot-pdf__panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.wnot-pdf .wnot-pdf__close {
  position: sticky;
  z-index: 1;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -10px -10px -38px 0;
  padding: 0;
  border: 1px solid #d7e0ef;
  border-radius: 50%;
  background: #fff;
  color: #182542;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.wnot-pdf .wnot-pdf__close:hover,
.wnot-pdf .wnot-pdf__close:focus-visible {
  border-color: #4165ef;
  color: #335ef0;
}

.wnot-pdf__eyebrow {
  margin: 0 44px 10px 0;
  color: #4165e9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.wnot-pdf__title {
  margin: 0 44px 12px 0;
  color: #101b32;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

.wnot-pdf__description,
.wnot-pdf__document {
  margin: 0 0 16px;
  color: #51617e;
  font-size: 14px;
  line-height: 1.55;
}

.wnot-pdf__document {
  overflow-wrap: anywhere;
  color: #182542;
  font-weight: 600;
}

.wnot-pdf__form {
  display: grid;
  gap: 15px;
}

.wnot-pdf__field {
  display: grid;
  gap: 7px;
  color: #182542;
  font-size: 13px;
  font-weight: 600;
}

.wnot-pdf__field b {
  color: #bf2839;
}

.wnot-pdf__field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cbd7ea;
  border-radius: 10px;
  background: #fff;
  color: #101b32;
  font: inherit;
  font-size: 15px;
}

.wnot-pdf__marketing {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #465571;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.wnot-pdf__marketing input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #4165e9;
}

.wnot-pdf__marketing-unavailable {
  margin: 0;
  color: #765711;
  font-size: 12px;
  line-height: 1.5;
}

.wnot-pdf__privacy {
  justify-self: start;
  color: #335ef0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wnot-pdf__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.wnot-pdf .wnot-pdf__submit {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: #4165ef;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.wnot-pdf .wnot-pdf__submit:hover,
.wnot-pdf .wnot-pdf__submit:focus-visible {
  background: #2f52d8;
}

.wnot-pdf .wnot-pdf__submit:disabled {
  opacity: .7;
  cursor: wait;
}

.wnot-pdf__status {
  min-height: 1em;
  margin: 12px 0 0;
  color: #206244;
  font-size: 13px;
  line-height: 1.5;
}

.wnot-pdf__status.is-error {
  color: #b02b2b;
}

.wnot-pdf__status.is-warning {
  color: #765711;
}

.wnot-pdf :focus-visible {
  outline: 2px solid #4165e9;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .wnot-pdf {
    align-items: end;
    padding: 8px;
  }

  .wnot-pdf__panel {
    width: 100%;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 24px 20px 20px;
    border-radius: 18px;
  }
}
