.baa-qh-shell {
  --baa-gold: #e4b446;
  --baa-gold-dark: #d3a238;
  --baa-bronze: #916342;
  --baa-bronze-deep: #704a30;
  --baa-ink: #111111;
  --baa-cream: #faf8f2;
  --baa-sand: #f4eee6;
  --baa-white: #ffffff;
  --baa-line: #e3d7c8;
  --baa-muted: #5b564f;
  --baa-error: #8a2424;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 1px 0 20px;
  border: 1px solid var(--baa-line);
  border-top: 3px solid var(--baa-gold);
  background: var(--baa-cream);
  box-shadow: 0 22px 46px rgba(72, 50, 31, .08);
  color: var(--baa-ink);
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

.baa-qh-live-anchor {
  width: calc(100% - 64px);
  max-width: 900px;
  margin: 0 auto;
  scroll-margin-top: 32px;
}

.baa-qh-shell *,
.baa-qh-shell *::before,
.baa-qh-shell *::after {
  box-sizing: border-box;
}

/* Join the existing cream certification close directly to the application. */
.baa-site.baa-certification .bc-final .bc-profession-buttons,
.baa-site.baa-certification .bc-final .bc-directory-prompt {
  display: none !important;
}

.baa-site.baa-certification .bc-final.baa-qh-integrated {
  padding-bottom: 0;
}

.baa-site.baa-certification .bc-final.baa-qh-integrated .baa-qh-introduction {
  padding-bottom: 30px;
  border-bottom: 0;
  box-shadow: none;
}

.baa-site.baa-certification .bc-final .bc-button-note {
  max-width: 680px;
  margin: 8px auto 0;
}

.baa-qh-hero {
  position: relative;
  padding: 34px 40px 30px;
  border-top: 1px solid var(--baa-line);
  background: linear-gradient(108deg, rgba(255, 255, 255, .94) 0%, rgba(250, 248, 242, .98) 58%, rgba(247, 237, 216, .78) 100%);
  text-align: center;
}

.baa-qh-hero::before {
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto 17px;
  background: var(--baa-gold);
  content: "";
}

.baa-qh-kicker {
  margin: 0 0 7px;
  color: var(--baa-bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.baa-qh-hero h2,
.baa-qh-form legend,
.baa-qh-complete h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: normal;
}

.baa-qh-hero h2 {
  margin: 0 0 10px;
  color: var(--baa-bronze-deep);
  font-size: clamp(34px, 4.5vw, 44px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.02em;
}

.baa-qh-hero p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: var(--baa-muted);
  font-size: 16px;
  line-height: 1.6;
}

.baa-qh-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--baa-line);
  border-bottom: 1px solid var(--baa-line);
  background: var(--baa-white);
}

.baa-qh-overview span {
  display: flex;
  min-width: 0;
  padding: 17px 18px;
  flex-direction: column;
  color: #69625a;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.baa-qh-overview span + span {
  border-left: 1px solid var(--baa-line);
}

.baa-qh-overview strong {
  margin-bottom: 3px;
  color: var(--baa-ink);
  font-size: 13px;
}

.baa-qh-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--baa-line);
  border-bottom: 1px solid var(--baa-line);
  background: var(--baa-white);
  list-style: none;
}

.baa-qh-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 16px 20px;
  color: #77716a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.baa-qh-progress li + li {
  border-left: 1px solid var(--baa-line);
}

.baa-qh-progress span {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #b8afa4;
  border-radius: 50%;
  background: var(--baa-white);
  color: #6e675f;
}

.baa-qh-progress .is-active {
  color: var(--baa-ink);
}

.baa-qh-progress .is-active span {
  border-color: var(--baa-gold);
  background: var(--baa-gold);
  color: var(--baa-ink);
}

.baa-qh-prefill-note,
.baa-qh-alert {
  margin: 22px 32px 0;
  padding: 15px 18px;
  border-left: 4px solid var(--baa-gold);
  background: #fff8e7;
  line-height: 1.55;
  text-align: left;
}

.baa-qh-alert-success {
  border-color: #4e7b52;
  background: #eef7ef;
}

.baa-qh-alert-warning {
  border-color: var(--baa-bronze);
  background: #fff8e7;
}

.baa-qh-alert-error {
  border-color: var(--baa-error);
  background: #fff0f0;
  color: #641919;
}

.baa-qh-alert p { margin-top: 0; }
.baa-qh-alert ul { margin-bottom: 0; }

.baa-qh-form {
  padding: 0 32px 8px;
  text-align: left;
}

.baa-qh-form [hidden] {
  display: none !important;
}

.baa-qh-form fieldset {
  margin: 26px 0;
  padding: 28px;
  border: 1px solid var(--baa-line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(72, 50, 31, .035);
}

.baa-qh-form legend {
  padding: 0 11px;
  color: var(--baa-bronze-deep);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

.baa-qh-subheading {
  margin: 0 0 17px;
  color: var(--baa-bronze-deep);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

.baa-qh-subheading-spaced {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--baa-line);
}

.baa-qh-form-block {
  margin: 0;
}

.baa-qh-form-block-divided {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--baa-line);
}

.baa-qh-grid { display: grid; gap: 21px; }
.baa-qh-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.baa-qh-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.baa-qh-span-2 { grid-column: 1 / -1; }

.baa-qh-experience-grid > label {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.baa-qh-experience-grid .baa-qh-field-label {
  display: block;
  min-height: 42px;
}

.baa-qh-experience-grid select {
  margin-top: auto;
}

.baa-qh-form label {
  display: block;
  color: var(--baa-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.baa-qh-form input[type="text"],
.baa-qh-form input[type="email"],
.baa-qh-form input[type="tel"],
.baa-qh-form input:not([type]),
.baa-qh-form select,
.baa-qh-form textarea {
  width: 100%;
  min-height: 47px;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #bbaa91;
  border-radius: 2px;
  background: var(--baa-white);
  color: var(--baa-ink);
  font: inherit;
  font-weight: 400;
}

.baa-qh-form textarea {
  min-height: 112px;
  resize: vertical;
}

.baa-qh-form input:focus,
.baa-qh-form select:focus,
.baa-qh-form textarea:focus {
  outline: 3px solid rgba(228, 180, 70, .3);
  outline-offset: 1px;
  border-color: var(--baa-bronze);
}

.baa-qh-form input[readonly] {
  background: #f1eee8;
  color: #55504a;
}

.baa-qh-honeypot {
  position: fixed !important;
  top: 0 !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.baa-qh-help,
.baa-qh-source {
  display: block;
  margin-top: 6px;
  color: #69625a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.baa-qh-source { color: var(--baa-bronze-deep); }

.baa-qh-help-prominent {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--baa-muted);
  font-size: 13px;
}

.baa-qh-shell .baa-qh-form p.baa-qh-question-copy {
  max-width: 76ch;
  margin: 0 0 10px;
  color: var(--baa-ink);
  line-height: 1.6;
  text-wrap: pretty;
}

.baa-qh-license-panel {
  padding: 22px;
  border: 1px solid var(--baa-line);
  background: var(--baa-cream);
}

.baa-qh-address-field {
  position: relative;
}

.baa-qh-address-field > label {
  display: block;
}

.baa-qh-address-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.baa-qh-address-suggestions {
  position: absolute;
  z-index: 40;
  top: 77px;
  right: 0;
  left: 0;
  max-height: 245px;
  overflow-y: auto;
  border: 1px solid #bbaa91;
  background: var(--baa-white);
  box-shadow: 0 12px 30px rgba(46, 31, 19, .16);
}

.baa-qh-address-option {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--baa-line);
  background: var(--baa-white);
  color: var(--baa-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.baa-qh-address-option:last-child {
  border-bottom: 0;
}

.baa-qh-address-option:hover,
.baa-qh-address-option:focus,
.baa-qh-address-option.is-active {
  outline: 0;
  background: #fff6df;
  color: var(--baa-bronze-deep);
}

.baa-qh-address-field [data-address-attribution] a {
  color: var(--baa-bronze-deep);
}

.baa-qh-address-attribution {
  margin-top: 2px;
}

.baa-qh-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.baa-qh-form .baa-qh-category-card {
  display: flex;
  min-height: 132px;
  padding: 18px 16px;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #cdbda8;
  border-radius: 3px;
  background: var(--baa-white);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.baa-qh-form .baa-qh-category-card:hover,
.baa-qh-form .baa-qh-category-card:focus-within,
.baa-qh-form .baa-qh-category-card.is-selected {
  border-color: var(--baa-gold-dark);
  background: #fff9ea;
  box-shadow: 0 0 0 2px rgba(228, 180, 70, .16);
}

.baa-qh-category-card input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.baa-qh-category-card span {
  display: block;
}

.baa-qh-category-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--baa-ink);
  font-size: 14px;
  line-height: 1.3;
  text-wrap: balance;
}

.baa-qh-category-card small {
  display: block;
  color: #69625a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-wrap: pretty;
}

.baa-qh-category-context {
  display: flex;
  margin-top: 17px;
  padding: 14px 16px;
  flex-direction: column;
  border-left: 4px solid #cdbda8;
  background: var(--baa-cream);
  color: var(--baa-muted);
  font-size: 13px;
  line-height: 1.5;
}

.baa-qh-category-context.is-selected {
  border-left-color: var(--baa-gold);
}

.baa-qh-category-context strong {
  margin-bottom: 2px;
  color: var(--baa-ink);
}

.baa-qh-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 12px 0 20px;
}

.baa-qh-choice-row label,
.baa-qh-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
}

.baa-qh-choice-row input,
.baa-qh-check input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.baa-qh-conditional[hidden] { display: none !important; }

.baa-qh-consent-check {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #d3b372;
  background: #fff9ea;
}

.baa-qh-shell .baa-qh-form .baa-qh-guidance {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  column-gap: 20px;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 17px 22px 17px 18px;
  background: var(--baa-cream);
  color: var(--baa-muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.baa-qh-guidance-after-grid {
  margin-top: 22px !important;
}

.baa-qh-shell .baa-qh-form .baa-qh-guidance-before-submit {
  margin: 30px 0 0;
}

.baa-qh-guidance-before-submit + .baa-qh-actions {
  margin-top: 18px;
}

.baa-qh-guidance-bar {
  align-self: stretch;
  min-height: 46px;
  background: var(--baa-gold);
}

.baa-qh-guidance-copy {
  min-width: 0;
}

.baa-qh-shell .baa-qh-form .baa-qh-guidance strong {
  color: var(--baa-ink);
}

.baa-qh-shell .baa-qh-brand-star {
  color: var(--baa-gold);
}

.baa-qh-attestation {
  margin: 0 0 20px;
  padding: 19px;
  border: 1px solid var(--baa-line);
  background: var(--baa-cream);
  line-height: 1.65;
  text-wrap: pretty;
}

.baa-qh-shell .baa-qh-form .baa-qh-attestation p { margin: 0; }

.baa-qh-submit-summary {
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid #d3b372;
  background: #fff9ea;
  line-height: 1.6;
}

.baa-qh-submit-summary strong {
  color: var(--baa-bronze-deep);
}

.baa-qh-shell .baa-qh-form .baa-qh-submit-summary p {
  margin: 4px 0 0;
}

.baa-qh-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin: 30px 0 28px;
}

.baa-qh-actions-split { justify-content: space-between; }

.baa-qh-button {
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--baa-gold);
  border-radius: 3px;
  background: var(--baa-gold);
  color: var(--baa-ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.baa-qh-button:hover,
.baa-qh-button:focus {
  border-color: var(--baa-ink);
  background: var(--baa-ink);
  color: var(--baa-gold);
  transform: translateY(-1px);
}

.baa-qh-button:focus-visible,
.baa-qh-back:focus-visible {
  outline: 2px solid var(--baa-gold);
  outline-offset: 3px;
}

.baa-qh-button:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.baa-qh-button-secondary {
  border: 1px solid var(--baa-gold);
  background: transparent;
  color: var(--baa-ink);
  text-decoration: none;
}

.baa-qh-back {
  color: var(--baa-bronze-deep);
  font-weight: 700;
}

.baa-qh-complete {
  margin: 28px 32px 36px;
  padding: 40px;
  border: 1px solid var(--baa-line);
  background: var(--baa-white);
  text-align: center;
}

.baa-qh-complete-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: #4e7b52;
  color: var(--baa-white);
  font-size: 30px;
}

.baa-qh-complete h2 {
  margin: 0 0 10px;
  color: var(--baa-bronze-deep);
  font-size: 38px;
}

.baa-qh-complete ul {
  display: inline-block;
  margin: 18px auto;
  text-align: left;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .baa-qh-live-anchor {
    width: calc(100% - 28px);
  }

  .baa-qh-shell {
    margin-bottom: 34px;
  }

  .baa-qh-hero {
    padding: 28px 20px 25px;
  }

  .baa-qh-hero h2 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .baa-qh-overview,
  .baa-qh-category-grid {
    grid-template-columns: 1fr;
  }

  .baa-qh-overview span {
    padding: 13px 16px;
  }

  .baa-qh-overview span + span {
    border-top: 1px solid var(--baa-line);
    border-left: 0;
  }

  .baa-qh-form .baa-qh-category-card {
    min-height: 0;
  }

  .baa-qh-progress li {
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    padding: 13px 7px;
    font-size: 11px;
    text-align: center;
  }

  .baa-qh-progress span {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .baa-qh-prefill-note,
  .baa-qh-alert {
    margin: 18px 14px 0;
  }

  .baa-qh-form {
    padding: 0 14px 6px;
  }

  .baa-qh-grid-2,
  .baa-qh-grid-3 {
    grid-template-columns: 1fr;
  }

  .baa-qh-experience-grid .baa-qh-field-label {
    min-height: 0;
  }

  .baa-qh-form-block-divided {
    margin-top: 28px;
    padding-top: 25px;
  }

  .baa-qh-license-panel {
    padding: 18px 15px;
  }

  .baa-qh-shell .baa-qh-form .baa-qh-guidance {
    column-gap: 15px;
    padding: 15px 16px 15px 13px;
  }

  .baa-qh-span-2 { grid-column: auto; }

  .baa-qh-form fieldset {
    margin: 22px 0;
    padding: 22px 17px;
  }

  .baa-qh-form legend {
    font-size: 26px;
  }

  .baa-qh-actions,
  .baa-qh-actions-split {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .baa-qh-button { width: 100%; }

  .baa-qh-complete {
    margin: 22px 14px 28px;
    padding: 30px 20px;
  }
}
.baa-qh-inline-error {
  color: #8b1e1e;
  font-weight: 700;
}
