/* Keep the enquiry compact, with a continuous colour panel and readable controls. */
body.ap-soft #app-preview .gj-enquiry-inner {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
}
body.ap-soft #app-preview .gj-enquiry-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
}
body.ap-soft #app-preview .gj-enquiry-copy .gj-email {
  align-self: flex-start;
  margin-bottom: 0;
}
body.ap-soft #app-preview .gj-enquiry-copy .gj-free-note {
  margin-top: 24px;
}
body.ap-soft [data-preview-form].mp-preview-form {
  padding: 30px 32px;
}
body.ap-soft .mp-preview-form .mp-form-step > legend {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 8px;
}
body.ap-soft .mp-preview-form .mp-step-help {
  font-size: 13px;
  line-height: 1.7;
  color: #6d5979;
  margin-bottom: 16px;
}
body.ap-soft .mp-preview-form .mp-commercial-note {
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 12px;
  margin-bottom: 18px;
}
body.ap-soft .mp-preview-form .mp-field-grid {
  gap: 16px;
  align-items: end;
}
body.ap-soft .mp-preview-form .mp-field {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: #543664;
  gap: 7px;
  margin-bottom: 18px;
}
body.ap-soft .mp-preview-form .mp-field :is(input, textarea, select) {
  min-height: 52px;
  padding: 12px 14px;
  font: 400 15px/1.5 Inter, sans-serif;
  border: 1px solid #cdb9dd;
  color: #362341;
  background: #fdfbff;
  border-radius: 12px;
  scroll-margin: 120px 0 140px;
}
body.ap-soft .mp-preview-form .mp-field :is(input, textarea)::placeholder {
  color: #796583;
  opacity: 1;
}
body.ap-soft .mp-preview-form .mp-field textarea {
  min-height: 112px;
  resize: vertical;
}
body.ap-soft .mp-preview-form .mp-field select {
  padding-right: 34px;
}
body.ap-soft .mp-preview-form .mp-field :is(input, textarea, select):focus {
  background: #fff;
  border-color: #8650b7;
  outline: 3px solid #8650b72e;
  outline-offset: 2px;
}
body.ap-soft .mp-preview-form .mp-form-progress {
  font-size: 10px;
  margin-bottom: 20px;
}
body.ap-soft .mp-preview-form .mp-progress-track {
  height: 4px;
}
body.ap-soft .mp-preview-form .mp-plan-field > legend {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}
body.ap-soft .mp-preview-form .mp-plan-options {
  gap: 10px;
}
body.ap-soft .mp-preview-form .mp-plan-options span {
  min-height: 70px;
  padding: 12px 12px 12px 32px;
}
body.ap-soft .mp-preview-form .mp-plan-options span::before {
  top: 17px;
  left: 14px;
}
body.ap-soft .mp-preview-form .mp-plan-options b {
  font-size: 13px;
}
body.ap-soft .mp-preview-form .mp-plan-options small,
body.ap-soft .mp-preview-form .mp-plan-field > p,
body.ap-soft .mp-preview-form .mp-privacy,
body.ap-soft .mp-preview-form .mp-form-status {
  font-size: 12px;
  line-height: 1.65;
}
body.ap-soft .mp-preview-form .mp-additional summary {
  min-height: 48px;
  font-size: 13px;
}
body.ap-soft .mp-preview-form .mp-additional summary span {
  font-size: 12px;
}
body.ap-soft .mp-preview-form :is(.mp-next, .mp-submit) {
  min-height: 52px;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.5;
}
body.ap-soft .mp-preview-form .mp-back {
  min-width: 64px;
  min-height: 48px;
  font-size: 13px;
}
body.ap-soft .mp-preview-form :is(.mp-next, .mp-submit, .mp-back):focus-visible {
  outline: 3px solid #8650b7;
  outline-offset: 4px;
}
@media (max-width: 960px) {
  body.ap-soft #app-preview .gj-enquiry-inner { grid-template-columns: minmax(0, 1fr); }
  body.ap-soft #app-preview .gj-enquiry-copy { padding: 32px; justify-content: flex-start; }
  body.ap-soft #app-preview .gj-enquiry-copy .gj-email { margin-bottom: 0; }
  body.ap-soft #app-preview .gj-enquiry-copy .gj-free-note { display: none; }
  body.ap-soft #app-preview .mp-preview-form { border-radius: 0; }
}
@media (max-width: 760px) {
  body.ap-soft [data-preview-form].mp-preview-form { padding: 26px 22px; }
  body.ap-soft #app-preview .gj-enquiry-copy { padding: 28px 24px; }
  body.ap-soft .mp-preview-form .mp-field-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.ap-soft .mp-preview-form .mp-field { margin-bottom: 18px; }
  body.ap-soft .mp-preview-form .mp-field :is(input, textarea, select) { min-height: 52px; padding: 12px 14px; font-size: 16px; }
  body.ap-soft .mp-preview-form .mp-field textarea { min-height: 112px; }
  body.ap-soft .mp-preview-form .mp-plan-options { grid-template-columns: minmax(0, 1fr); }
  body.ap-soft .mp-preview-form .mp-plan-options span { min-height: 70px; }
  body.ap-soft .mp-preview-form .mp-form-progress { gap: 10px; font-size: 10px; }
  body.ap-soft .mp-preview-form .mp-form-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.ap-soft .mp-preview-form :is(.mp-next, .mp-submit) { grid-column: 1; grid-row: 1; width: 100%; }
  body.ap-soft .mp-preview-form .mp-back { grid-column: 1; grid-row: 2; justify-self: start; }
}
