@media (max-width: 680px) {
  body.pb-kbe-density-preview .pb-kbe-form > .pb-kbe-container {
    padding-top: 28px;
    padding-bottom: 42px;
  }

  body.pb-kbe-density-preview .pb-kbe-form__intro {
    padding-bottom: 17px;
  }

  body.pb-kbe-density-preview .pb-kbe-form__intro p {
    margin-bottom: 5px;
    font-size: 11px;
  }

  body.pb-kbe-density-preview .pb-kbe-form__intro h2 {
    font-size: 23px;
    line-height: 1.35;
  }

  body.pb-kbe-density-preview .pb-kbe-form__intro div {
    margin-top: 6px;
    font-size: 12px;
  }

  body.pb-kbe-density-preview .pb-kbe-phase-nav {
    margin-bottom: 12px;
  }

  body.pb-kbe-density-preview .pb-kfw__header {
    margin-bottom: 12px;
  }

  body.pb-kbe-density-preview .pb-kfw__step-heading {
    margin-bottom: 19px;
  }

  body.pb-kbe-density-preview .pb-kfw__step-eyebrow,
  body.pb-kbe-density-preview .pb-kfw__step-position {
    display: none;
  }

  body.pb-kbe-density-preview .pb-kfw__step-title {
    margin-top: 0;
    font-size: 21px;
    line-height: 1.4;
  }

  body.pb-kbe-density-preview .pb-kfw__step-description {
    margin-top: 5px;
    font-size: 11px;
  }

  body.pb-kbe-density-preview .pb-kfw__subsection-title {
    gap: 8px;
    padding-top: 14px;
    margin-top: 25px;
    margin-bottom: 13px;
    font-size: 16px;
  }

  body.pb-kbe-density-preview .pb-kfw__step-heading + .pb-kfw__subsection-title {
    padding-top: 0;
    margin-top: 0;
  }

  body.pb-kbe-density-preview .pb-kfw__subsection-title::before {
    width: 3px;
    height: 18px;
  }

  body.pb-kbe-density-preview .pb-kfw.is-enhanced .form-item,
  body.pb-kbe-density-preview .pb-kfw.is-enhanced .form-consent,
  body.pb-kbe-density-preview .pb-kfw.is-enhanced .form-text {
    margin-bottom: 16px;
  }

  body.pb-kbe-density-preview .pb-kfw.is-enhanced .form-title {
    margin-bottom: 6px;
    font-size: 13px;
  }

  body.pb-kbe-density-preview .pb-kfw.is-enhanced .form-title .small,
  body.pb-kbe-density-preview .pb-kfw.is-enhanced .form-caption {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.5;
  }

  body.pb-kbe-density-preview .pb-kfw.is-enhanced input[type="text"],
  body.pb-kbe-density-preview .pb-kfw.is-enhanced input[type="email"],
  body.pb-kbe-density-preview .pb-kfw.is-enhanced input[type="password"],
  body.pb-kbe-density-preview .pb-kfw.is-enhanced input[type="tel"],
  body.pb-kbe-density-preview .pb-kfw.is-enhanced select,
  body.pb-kbe-density-preview .pb-kfw.is-enhanced textarea {
    min-height: 48px;
    padding: 10px 12px;
    margin-bottom: 7px;
    font-size: 16px;
  }

  body.pb-kbe-density-preview .pb-kfw.is-enhanced .mwform-radio-field label,
  body.pb-kbe-density-preview .pb-kfw.is-enhanced .mwform-checkbox-field label {
    min-height: 54px;
    padding: 11px 14px 13px 44px;
    font-size: 14px;
  }

  body.pb-kbe-density-preview .pb-kfw.is-enhanced .mwform-radio-field input,
  body.pb-kbe-density-preview .pb-kfw.is-enhanced .mwform-checkbox-field input {
    left: 15px;
  }

  body.pb-kbe-density-preview .pb-kfw__branch-note,
  body.pb-kbe-density-preview .pb-kfw__pickup-note {
    padding: 10px 12px;
    margin-top: 13px;
    font-size: 10px;
  }

  body.pb-kbe-density-preview .pb-kfw__nav {
    position: static;
    gap: 8px;
    padding: 12px 0 0;
    margin-top: 20px;
    background: transparent;
    border-top: 0;
    box-shadow: none !important;
  }

  body.pb-kbe-density-preview .pb-kfw__next,
  body.pb-kbe-density-preview .pb-kfw__back {
    min-height: 50px;
    padding: 10px 17px;
  }

  body.pb-kbe-density-preview .pb-kfw__back {
    flex-basis: 68px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: transparent;
    border-color: transparent;
  }

  body.pb-kbe-density-preview .pb-kfw__next {
    flex-basis: 270px;
  }

  body.pb-kbe-density-preview .pb-kfw__step[data-step-id="customer"] > .pb-kfw__step-heading {
    display: none;
  }

  body.pb-kbe-density-preview .pb-kfw__step[data-step-id="customer"] .required.badge {
    display: none;
  }

  body.pb-kbe-density-preview .pb-kbe-density__paired > p {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }

  body.pb-kbe-density-preview .pb-kbe-density__paired > p > input {
    min-width: 0;
    margin-bottom: 0 !important;
  }

  body.pb-kbe-density-preview .pb-kbe-density__required-note {
    margin: -5px 0 13px;
    color: #71767e;
    font-size: 10px;
    line-height: 1.55;
  }

  body.pb-kbe-density-preview .pb-kbe-density__address-summary {
    min-height: 45px;
    padding: 9px 11px;
    margin-bottom: 7px;
    color: #555a61;
    font-size: 12px;
    line-height: 1.45;
    background: #fff;
    border: 1px solid #d5d8dd;
    border-radius: 5px;
  }

  body.pb-kbe-density-preview .pb-kbe-density__address-summary strong {
    color: #23262b;
    font-size: 13px;
  }

  body.pb-kbe-density-preview .pb-kbe-density__address-item:not(.is-address-expanded) .pb-kbe-density__autofilled-address,
  body.pb-kbe-density-preview .pb-kbe-density__address-item:not(.is-address-expanded) .pb-kbe-density__legacy-address-wrapper,
  body.pb-kbe-density-preview .pb-kbe-density__address-item:not(.is-address-expanded) p > br {
    display: none !important;
  }

  body.pb-kbe-density-preview .pb-kbe-density__substep[hidden],
  body.pb-kbe-density-preview .pb-kbe-density__substep-heading[hidden] {
    display: none !important;
  }

  body.pb-kbe-density-preview .pb-kbe-density__error {
    margin: 7px 0 0;
    color: #c0000f;
    font-size: 11px;
    font-weight: 750;
  }

  body.pb-kbe-density-preview .pb-kbe-density__legal-consent--locked {
    opacity: 0.5;
  }

  body.pb-kbe-density-preview .pb-kbe-density__legal-consent--locked label {
    cursor: not-allowed;
  }

  body.pb-kbe-density-preview .pb-kbe-density__legal-consent--unlocked {
    transition: opacity 160ms ease;
  }

  body.pb-kbe-density-preview .pb-kbe-density__submit--locked {
    cursor: not-allowed !important;
    filter: grayscale(0.45);
    opacity: 0.48 !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pb-kbe-density-preview .pb-kbe-density__legal-consent--unlocked {
    transition: none;
  }
}
