/* First-paint form lock. Inlined into the shortcode so the card is correct
   before theme CSS, Google Fonts, or dmc-app.css arrive. Scoped to .dm-embed. */

.dm-embed,
.dm-embed .dm-form-shell,
.dm-embed .dm-form-card,
.dm-embed .dm-form-card__body,
.dm-embed .dm-form-card__head,
.dm-embed .dm-dob,
.dm-embed .dm-dob__box,
.dm-embed .dm-field,
.dm-embed .dm-input,
.dm-embed .dmc-date-input,
.dm-embed #get_the_answer,
.dm-embed .dm-cta {
  box-sizing: border-box;
}

.dm-embed {
  color-scheme: light;
}

.dm-embed .dm-form-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 28px;
}

.dm-embed .dm-form-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
  background: #fff !important;
  border: 1px solid #e7e2d9 !important;
  border-radius: 22px !important;
}

.dm-embed .dm-form-card__head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: #f4f1ec !important;
  border-bottom: 1px solid #f0ece4;
  border-radius: 22px 22px 0 0;
}

.dm-embed .dm-form-card__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #13151a !important;
}

.dm-embed .dm-form-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf3f1 !important;
  color: #1e5147 !important;
  -webkit-text-fill-color: #1e5147 !important;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dm-embed .dm-form-card__body {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px;
  padding: 20px 22px 4px;
}

.dm-embed .dm-form-card__body > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  float: none !important;
}

.dm-embed .dm-field,
.dm-embed .dm-field--name,
.dm-embed .dm-field--dob {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  width: 100% !important;
  float: none !important;
}

.dm-embed .dm-field > label {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 0 8px !important;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #13151a !important;
  -webkit-text-fill-color: #13151a !important;
}

.dm-embed .dm-field--dob .dm-field__legend {
  display: none !important;
}

.dm-embed .dm-dob {
  display: grid !important;
  grid-template-columns: minmax(6.5rem, 0.75fr) minmax(10.25rem, 1.7fr) minmax(6.25rem, 0.95fr) !important;
  gap: 10px;
  width: 100%;
  overflow: visible !important;
}

.dm-embed .dm-dob__box {
  position: relative;
  display: block !important;
  max-width: 100%;
  overflow: visible;
}

.dm-embed .dm-dob__box:nth-child(1) { min-width: 6.5rem; }
.dm-embed .dm-dob__box:nth-child(2) { min-width: 10.25rem; }
.dm-embed .dm-dob__box:nth-child(3) { min-width: 6.25rem; }

.dm-embed .dm-dob__box > span {
  position: absolute;
  top: 7px;
  left: 12px;
  z-index: 1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #868c9a !important;
  pointer-events: none;
}

.dm-embed input,
.dm-embed select,
.dm-embed .dm-input,
.dm-embed input#name,
.dm-embed .dmc-date-input {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  min-height: 52px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  overflow: visible;
  background: #fff !important;
  background-color: #fff !important;
  color: #13151a !important;
  -webkit-text-fill-color: #13151a !important;
  border: 1px solid #e7e2d9 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color-scheme: light;
}

.dm-embed .dm-input,
.dm-embed input#name {
  padding: 10px 14px !important;
}

.dm-embed .dmc-date-input {
  padding: 1.15rem 0.75rem 0.35rem !important;
}

.dm-embed select.dmc-date-input {
  padding-right: 2rem !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231E5147' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;
}

.dm-embed select.dmc-date-input::-ms-expand {
  display: none;
}

.dm-embed .dmc-hidden-input,
.dm-embed input#date {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
}

.dm-embed .dm-form-card__trust {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px;
  margin: 0 !important;
  padding: 14px 22px 18px !important;
  list-style: none !important;
  border-top: 1px solid #f0ece4;
  background: #f4f1ec !important;
  border-radius: 0 0 22px 22px;
}

.dm-embed .dm-form-card__trust li {
  list-style: none !important;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #d9e4e0;
  background: #fff !important;
  color: #1e5147 !important;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.dm-embed #get_the_answer,
.dm-embed .dm-cta,
.dm-embed button#get_the_answer {
  position: relative;
  z-index: 3;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  background: #1e5147 !important;
  background-color: #1e5147 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(30, 81, 71, 0.18);
  -webkit-user-select: none;
  user-select: none;
}

.dm-embed #get_the_answer .dm-cta__label,
.dm-embed #get_the_answer .dm-cta__arrow {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  pointer-events: none;
}

.dm-embed .errorOutput:not(:empty) {
  display: block;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #e8b4ad;
  border-left: 4px solid #c45c4a;
  border-radius: 12px;
  background: #fdf6f5;
  color: #8a2e24;
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .dm-embed .dm-form-card__body {
    display: grid !important;
    grid-template-columns: minmax(10rem, 1.2fr) minmax(18.5rem, 1.55fr) max-content !important;
    justify-items: stretch !important;
    align-items: end !important;
    gap: 16px 12px;
  }

  .dm-embed .dm-field--name,
  .dm-embed .dm-field--dob {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-self: end !important;
    justify-content: flex-end !important;
    height: auto !important;
  }

  .dm-embed .dm-field--dob .dm-field__legend {
    display: none !important;
  }

  .dm-embed #get_the_answer,
  .dm-embed .dm-cta,
  .dm-embed button#get_the_answer {
    width: auto !important;
    min-width: 11.5rem !important;
    max-width: 100%;
    height: 52px !important;
    min-height: 52px !important;
    align-self: end !important;
    justify-self: end !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 899px) {
  .dm-embed .dm-form-card__body {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .dm-embed .dm-field--dob .dm-field__legend {
    display: block !important;
    margin: 0 0 8px !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #13151a !important;
  }

  .dm-embed #get_the_answer,
  .dm-embed .dm-cta,
  .dm-embed button#get_the_answer {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 720px) {
  .dm-embed .dm-dob {
    grid-template-columns: minmax(5.5rem, 0.8fr) minmax(8.5rem, 1.6fr) minmax(5.75rem, 0.95fr) !important;
  }

  .dm-embed .dm-dob__box:nth-child(1) { min-width: 5.5rem; }
  .dm-embed .dm-dob__box:nth-child(2) { min-width: 8.5rem; }
  .dm-embed .dm-dob__box:nth-child(3) { min-width: 5.75rem; }
}
