.lp-selection,
  .lp-selection * {
    box-sizing: border-box;
  }

  .lp-selection {
    --lp-selection-ink: #2f251d;
    --lp-selection-muted: #6d6056;
    --lp-selection-line: #e5d8ca;
    --lp-selection-soft: #fffaf3;
    --lp-selection-warm: #f3e4d3;
    --lp-selection-accent: #9b5b2e;
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 24px;
    overflow-y: auto;
    background: rgba(22, 22, 22, .72);
    color: var(--lp-selection-ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    text-align: left;
  }

  .lp-selection[hidden] {
    display: none !important;
  }

  html.lp-selection-lock,
  body.lp-selection-lock {
    overflow: hidden !important;
  }

  .lp-selection__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    margin: auto;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--lp-selection-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(47, 37, 29, .1);
  }

  .lp-selection__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    background: #fff;
    color: #333;
    cursor: pointer;
    font: 400 28px/1 Arial, Helvetica, sans-serif;
  }

  .lp-selection__close:hover {
    border-color: var(--lp-selection-accent);
    color: var(--lp-selection-accent);
  }

  .lp-selection__intro,
  .lp-selection__form-wrap {
    min-width: 0;
    padding: 32px;
  }

  .lp-selection__intro {
    background:
      radial-gradient(circle at 100% 0, rgba(255, 255, 255, .12), transparent 34%),
      linear-gradient(145deg, #2f251d 0%, #6f4930 100%);
    color: #fff;
  }

  .lp-selection__eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }

  .lp-selection h2,
  .lp-selection h3,
  .lp-selection p {
    overflow-wrap: break-word;
  }

  .lp-selection h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 30px;
    line-height: 1.18;
  }

  .lp-selection h3 {
    margin: 0 0 8px;
    color: var(--lp-selection-ink);
    font-size: 24px;
    line-height: 1.2;
  }

  .lp-selection__intro>p {
    margin: 0 0 22px;
    color: #eadfd2;
    font-size: 17px;
  }

  .lp-selection__steps {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .lp-selection__steps li {
    position: relative;
    margin: 0 0 14px;
    padding: 0 0 0 34px;
    color: #fff;
    font-size: 15px;
  }

  .lp-selection__steps li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: var(--lp-selection-warm);
    color: #6f4327;
    content: '\2713';
    font-size: 14px;
    font-weight: 700;
  }

  .lp-selection__response-note {
    margin: 24px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 14px;
  }

  .lp-selection__response-note strong {
    display: block;
    margin-bottom: 3px;
  }

  .lp-selection__lead {
    margin: 0 0 22px;
    color: var(--lp-selection-muted);
    font-size: 16px;
  }

  .lp-selection__required-note {
    margin: -10px 0 18px;
    color: var(--lp-selection-muted);
    font-size: 13px;
  }

  .lp-selection__context {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--lp-selection-warm);
    color: var(--lp-selection-accent);
    font-size: 13px;
    font-weight: 700;
  }

  .lp-selection__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .lp-selection__field {
    min-width: 0;
  }

  .lp-selection__field--wide {
    grid-column: 1 / -1;
  }

  .lp-selection__label,
  .lp-selection__legend {
    display: block;
    margin: 0 0 7px;
    padding: 0;
    color: var(--lp-selection-ink);
    font-size: 14px;
    font-weight: 700;
  }

  .lp-selection__optional {
    color: var(--lp-selection-muted);
    font-size: 12px;
    font-weight: 400;
  }

  .lp-selection input[type='text'],
  .lp-selection input[type='tel'],
  .lp-selection input[type='email'],
  .lp-selection select,
  .lp-selection textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 13px;
    border: 1px solid #cfbda9;
    border-radius: 9px;
    background: #fff;
    color: var(--lp-selection-ink);
    font: 16px/1.35 Arial, Helvetica, sans-serif;
    appearance: auto;
    transition: border-color .2s ease, box-shadow .2s ease;
  }

  .lp-selection textarea {
    min-height: 112px;
    resize: vertical;
  }

  .lp-selection input::placeholder,
  .lp-selection textarea::placeholder {
    color: #94867a;
    opacity: 1;
  }

  .lp-selection input:focus,
  .lp-selection select:focus,
  .lp-selection textarea:focus,
  .lp-selection button:focus-visible,
  .lp-selection a:focus-visible {
    outline: 3px solid rgba(155, 91, 46, .25);
    outline-offset: 2px;
    border-color: var(--lp-selection-accent);
  }

  .lp-selection input[aria-invalid='true'],
  .lp-selection select[aria-invalid='true'],
  .lp-selection textarea[aria-invalid='true'] {
    border-color: #b23a2b;
    box-shadow: 0 0 0 3px rgba(178, 58, 43, .12);
  }

  .lp-selection fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .lp-selection__contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .lp-selection__contact-option {
    position: relative;
    display: inline-flex;
    cursor: pointer;
  }

  .lp-selection__contact-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
  }

  .lp-selection__contact-option span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid var(--lp-selection-line);
    border-radius: 999px;
    background: var(--lp-selection-soft);
    color: var(--lp-selection-ink);
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }

  .lp-selection__contact-option input:checked+span {
    border-color: var(--lp-selection-accent);
    background: var(--lp-selection-warm);
    color: #744422;
  }

  .lp-selection__contact-option input:focus-visible+span {
    outline: 3px solid rgba(155, 91, 46, .25);
    outline-offset: 2px;
  }

  .lp-selection__upload {
    display: block;
    padding: 14px;
    border: 1px dashed #c8ad95;
    border-radius: 10px;
    background: var(--lp-selection-soft);
  }

  .lp-selection__upload input {
    display: block;
    width: 100%;
    color: var(--lp-selection-muted);
    font-size: 14px;
  }

  .lp-selection__hint,
  .lp-selection__file-list {
    display: block;
    margin: 7px 0 0;
    color: var(--lp-selection-muted);
    font-size: 12px;
  }

  .lp-selection__file-list:empty {
    display: none;
  }

  .lp-selection__agreement {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--lp-selection-muted);
    cursor: pointer;
    font-size: 13px;
  }

  .lp-selection__agreement input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--lp-selection-accent);
  }

  .lp-selection__agreement a {
    color: #744422;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .lp-selection__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
  }

  .lp-selection__footer {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .lp-selection__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin: 0;
    padding: 13px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--lp-selection-accent);
    color: #fff;
    cursor: pointer;
    font: 700 15px/1.25 Arial, Helvetica, sans-serif;
    transition: background .2s ease, transform .2s ease;
  }

  .lp-selection__submit:hover {
    background: #7e4825;
    transform: translateY(-1px);
  }

  .lp-selection__submit:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
  }

  .lp-selection__security {
    color: var(--lp-selection-muted);
    font-size: 12px;
  }

  .lp-selection__status {
    display: none;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 14px;
  }

  .lp-selection__status.is-visible {
    display: block;
  }

  .lp-selection__status.is-error {
    border: 1px solid #e2aaa2;
    background: #fff1ef;
    color: #7c281e;
  }

  .lp-selection__status.is-success {
    border: 1px solid #b8cfb4;
    background: #f2f8f0;
    color: #31572e;
  }

  @media (max-width: 860px) {

    .lp-selection__layout,
    .lp-selection__grid {
      grid-template-columns: 1fr;
    }

    .lp-selection__field--wide {
      grid-column: auto;
    }

    .lp-selection__intro,
    .lp-selection__form-wrap {
      padding: 24px;
    }

    .lp-selection__layout {
      max-height: none;
    }
  }

  @media (max-width: 520px) {
    .lp-selection {
      padding: 8px;
    }

    .lp-selection__layout {
      border-radius: 12px;
    }

    .lp-selection__intro,
    .lp-selection__form-wrap {
      padding: 20px 16px;
    }

    .lp-selection__form-wrap {
      padding-top: 54px;
    }

    .lp-selection h2 {
      font-size: 25px;
    }

    .lp-selection h3 {
      font-size: 21px;
    }

    .lp-selection__contact-options,
    .lp-selection__footer {
      align-items: stretch;
      flex-direction: column;
    }

    .lp-selection__contact-option,
    .lp-selection__contact-option span,
    .lp-selection__submit {
      width: 100%;
      justify-content: center;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .lp-selection *,
    .lp-selection *::before,
    .lp-selection *::after {
      scroll-behavior: auto !important;
      transition: none !important;
    }
  }