/* Closed invitation sits in the free left column. The same form replaces it when open. */
body.enquiry-space .hero.wrap{
  align-items:start;
  overflow:visible;
}
body.enquiry-space .hero-sample{align-self:start}
body.enquiry-space .hero-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:visible;
  height:auto;
  max-height:none;
}
body.enquiry-space .hero-copy>.eyebrow,
body.enquiry-space .hero-copy>.home-message-frame{flex:0 0 auto}
body.enquiry-space .enquiry-region{
  flex:1 0 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:100%;
  min-height:min-content;
  max-height:none;
  margin:0;
  padding:12px 0 4px;
  overflow:visible;
  box-sizing:border-box;
}
body.enquiry-space .enquiry-invitation{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  width:100%;
  max-width:100%;
  text-align:center;
}
body.enquiry-space .enquiry-invitation .hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin:0;
}
body.enquiry-space .help-button-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:13px 22px;
  border:1px solid #3156d9;
  border-radius:7px;
  background:#3156d9;
  color:#fff;
  font-size:15px;
  font-weight:600;
  line-height:1.2;
}
body.enquiry-space .help-button-toggle:hover,
body.enquiry-space .help-button-toggle:focus-visible{
  background:#2445bc;
  border-color:#2445bc;
  color:#fff;
}
body.enquiry-space .enquiry-invitation .hero-notes,
body.enquiry-space .enquiry-invitation .launch-availability{
  margin:0;
  text-align:center;
}
body.enquiry-space .enquiry-region.is-open{
  align-items:stretch;
  justify-content:flex-start;
}
body.enquiry-space .enquiry-region.is-open .enquiry-invitation{display:none}
body.enquiry-space #contact.contact-section{
  width:100%;
  max-width:none;
  height:auto;
  max-height:none;
  margin:0!important;
  padding:20px 22px 18px!important;
  border:1px solid #dce3ee!important;
  border-radius:9px!important;
  background:#fafbfe!important;
  box-shadow:none!important;
  overflow:visible!important;
  container-type:inline-size;
  container-name:enquiry-card;
}
body.enquiry-space #enquiry-form,
body.enquiry-space #enquiry-challenge,
body.enquiry-space #enquiry-status{
  height:auto;
  max-height:none;
  overflow:visible;
}
body.enquiry-space .enquiry-space-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
}
body.enquiry-space #contact-title{
  position:static;
  flex:1 1 auto;
  width:auto;
  height:auto;
  min-width:0;
  margin:0;
  overflow:visible;
  clip:auto;
  white-space:normal;
}
body.enquiry-space .enquiry-space-close{
  flex:0 0 44px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  margin:0;
  padding:0;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#3156d9;
  transform:none;
  cursor:pointer;
}
body.enquiry-space .enquiry-space-close svg{display:block;width:20px;height:20px}
body.enquiry-space .enquiry-space-close:hover,
body.enquiry-space .enquiry-space-close:focus-visible{
  background:#f3f6fd;
  border-color:#d5def3;
  color:#2445bc;
  transform:none;
}
@media(max-width:760px){
  /* Homepage and every fixed ad page stack at the approved 760px boundary. */
  body.c:not([data-ad-opening]) .hero.wrap,
  body.c[data-ad-opening] .hero.wrap{grid-template-columns:minmax(0,1fr)}
  body.c:not([data-ad-opening]) .hero-copy,
  body.c:not([data-ad-opening]) .hero-notes,
  body.c:not([data-ad-opening]) .hero-sample,
  body.c:not([data-ad-opening]) .hero-sample-action,
  body.c[data-ad-opening] .hero-copy,
  body.c[data-ad-opening] .hero-notes,
  body.c[data-ad-opening] .hero-sample,
  body.c[data-ad-opening] .hero-sample-action{grid-area:auto}
  body.enquiry-space .enquiry-region{
    flex:0 0 auto;
    justify-content:flex-start;
    padding:20px 0 8px;
  }
  body.enquiry-space #contact.contact-section{padding:16px 16px 14px!important}
  body.enquiry-space .help-button-toggle{min-height:48px;padding:12px 16px;font-size:14px}
}
@media(forced-colors:active){
  body.enquiry-space .help-button-toggle,
  body.enquiry-space .enquiry-space-close{
    border-color:ButtonText;
    color:ButtonText;
    background:ButtonFace;
  }
}

/* Open form layout only. Gallery type, frame, and hero columns stay on their closed rules. */
body.enquiry-space.enquiry-form-open #enquiry-challenge{
  margin-top:8px;
  overflow:visible;
}
@media(min-width:761px){
  body.enquiry-space.enquiry-form-open .enquiry-region.is-open{padding:0}
  body.enquiry-space.enquiry-form-open #contact.contact-section{
    padding:12px 20px calc(10px + var(--form-slack, 0px))!important;
  }
  body.enquiry-space.enquiry-form-open .enquiry-space-toolbar{margin-bottom:8px}
  body.enquiry-space.enquiry-form-open #contact label{
    line-height:1.3;
    margin:6px 0 4px;
  }
  body.enquiry-space.enquiry-form-open #contact .enquiry-field label{margin-top:0}
  body.enquiry-space.enquiry-form-open #contact .enquiry-security,
  body.enquiry-space.enquiry-form-open #contact p.enquiry-privacy{
    font-size:13px;
    line-height:1.4;
    margin:6px 0 0;
  }
  body.enquiry-space.enquiry-form-open #enquiry-submit{
    margin-top:8px;
    padding:11px 16px;
  }
  /* Both report surfaces share the measured open height. The former 15% cap is not applied. */
  body.enquiry-space.enquiry-form-open .hero-sample .comparison,
  body.enquiry-space.enquiry-form-open .hero-sample .report-document{
    min-height:calc(var(--report-closed-h, 0px) + var(--report-boost, 0px))!important;
  }
}

/* Same challenge, status, and submit. Status stays visible on its own row. */
body.enquiry-space .enquiry-footer{margin:0;padding:0}
body.enquiry-space.enquiry-form-open .enquiry-footer #enquiry-status{
  display:block;
  font-size:13px;
  line-height:1.5;
}
@media(min-width:1001px){
  @container enquiry-card (min-width:472px){
    body.enquiry-space.enquiry-form-open .enquiry-footer{
      display:grid;
      grid-template-columns:minmax(300px,1fr) max-content;
      column-gap:12px;
      align-items:center;
      margin-top:8px;
    }
    body.enquiry-space.enquiry-form-open .enquiry-footer #enquiry-challenge{
      grid-column:1;
      grid-row:1;
      width:100%;
      min-width:300px;
      margin:0;
    }
    body.enquiry-space.enquiry-form-open .enquiry-footer #enquiry-submit{
      grid-column:2;
      grid-row:1;
      width:auto;
      min-width:124px;
      max-width:160px;
      min-height:44px;
      margin:0;
      justify-self:end;
      white-space:nowrap;
    }
    body.enquiry-space.enquiry-form-open .enquiry-footer #enquiry-status{
      grid-column:1 / -1;
      grid-row:2;
      width:100%;
      min-width:0;
      margin:8px 0 0;
    }
  }
}
