#enquiryApp {
  --blue: #007eaf;
  --deep: #005371;
  --green: #78ad3e;
  --ink: #243e49;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  scroll-margin-top: 140px;
  min-width: 0;
  width: 100%;
}
#enquiryApp *, #enquiryApp *::before, #enquiryApp *::after { box-sizing: border-box; }
#enquiryApp .he-card { background: transparent; border: 0; padding: 0; }
#enquiryApp .he-field { padding: 0; border: 0; margin: 0 0 21px; min-width: 0; }
#enquiryApp .he-field > label, #enquiryApp legend { display: block; padding: 0; margin: 0 0 7px; font-size: 16px; color: var(--ink); font-weight: 650; }
#enquiryApp .he-field-status { color: #66777b; font-size: 13px; font-weight: 400; white-space: nowrap; }
#enquiryApp .he-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
#enquiryApp input:not([type="radio"]), #enquiryApp select, #enquiryApp textarea { display: block; width: 100%; min-width: 0; border: 1px solid #bccdcf; border-radius: 8px; background: #fff; color: var(--ink); padding: 10px 12px; min-height: 46px; font: inherit; font-size: 16px; line-height: 1.4; box-shadow: none; }
#enquiryApp select { padding-right: 28px; }
#enquiryApp textarea { resize: vertical; min-height: 100px; }
#enquiryApp .he-role-options { display: flex; gap: 9px; }
#enquiryApp .he-choice { flex: 1; position: relative; margin: 0; min-width: 0; cursor: pointer; }
#enquiryApp .he-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#enquiryApp .he-choice span { display: flex; align-items: center; justify-content: center; position: relative; min-height: 48px; height: 100%; padding: 10px 8px; border: 1px solid #007fc2; border-radius: 12px; color: #005b8c; background: #fff; text-align: center; line-height: 1.3; font-size: 14px; font-weight: 600; transition: background-color .24s ease, color .24s ease, border-color .24s ease; }
#enquiryApp .he-choice span::after { content: ''; position: absolute; top: 5px; right: 6px; width: 13px; height: 13px; border-radius: 50%; background: transparent; }
#enquiryApp .he-choice input:checked + span { color: #fff; border-color: #007fc2; background: #007fc2; box-shadow: inset 0 0 0 1px #007fc2; }
#enquiryApp .he-choice input:checked + span::after { content: '\2713'; display: grid; place-items: center; color: #fff; font: 700 12px/1 Arial, sans-serif; }
@media (hover: hover) { #enquiryApp .he-choice:hover span { color: #fff; border-color: #007fc2; background: #007fc2; } }
#enquiryApp .he-choice input:focus-visible + span { outline: 3px solid #568d28; outline-offset: 3px; }
#enquiryApp input:focus-visible, #enquiryApp select:focus-visible, #enquiryApp textarea:focus-visible, #enquiryApp button:focus-visible, #enquiryApp a:focus-visible { outline: 3px solid #9dc9d9; outline-offset: 3px; }
#enquiryApp input, #enquiryApp select, #enquiryApp textarea { scroll-margin-top: 160px; }
#enquiryApp input[aria-invalid="true"], #enquiryApp select[aria-invalid="true"] { border: 2px solid #a92e36; }
#enquiryApp fieldset[aria-invalid="true"] .he-choice span { border-color: #a92e36; }
#enquiryApp .he-hint { font-size: 13px; line-height: 1.55; margin: 8px 0 0; color: #596f77; }
#enquiryApp .he-own-details { font-size: 14px; line-height: 1.55; color: #596f77; margin: 16px 0 20px; }
#enquiryApp .he-town { margin: 0; }
#enquiryApp .he-town summary { color: var(--deep); font-size: 15px; cursor: pointer; min-height: 44px; padding: 10px 0; }
#enquiryApp .he-town summary:focus-visible { outline: 3px solid #9dc9d9; outline-offset: 3px; border-radius: 2px; }
#enquiryApp .he-town .he-field { margin-top: 9px; }
#enquiryApp .he-actions { display: flex; margin-top: 25px; }
#enquiryApp button { font: inherit; cursor: pointer; border: 0; min-height: 44px; }
#enquiryApp .he-primary { width: auto; min-width:160px; border-radius: 8px; padding: 14px 28px; background: var(--deep); color: #fff; font-size: 16px; font-weight: 650; line-height: 1.3; text-align: center; transition: background .15s; }
#enquiryApp .he-primary:hover { background: #003f57; }
#enquiryApp .he-error-summary { background: #fff3f2; border-left: 3px solid #a92e36; padding: 12px 15px; margin: 0 0 22px; color: #81232b; font-size: 14px; }
#enquiryApp .he-error-summary ul { padding-left: 18px; margin: 6px 0 0; list-style: disc; }
#enquiryApp .he-error-summary a { color: #81232b; text-decoration: underline; }
#enquiryApp .he-error { color: #a02530; font-size: 14px; line-height: 1.4; margin: 6px 0 0; }
#enquiryApp .he-footnote { text-align: left; color: #617278; font-size: 13px; margin: 12px 0 0; }
#enquiryApp .he-complete { text-align: center; padding: 8px 0 2px; }
#enquiryApp .he-complete-icon { display: grid; place-items: center; margin: 4px auto 13px; width: 48px; height: 48px; background: #ecf3e3; color: #4f7729; border-radius: 50%; font-size: 25px; }
#enquiryApp .he-complete h2 { color: var(--deep); font-size: 25px; margin: 0 0 12px; line-height: 1.25; scroll-margin-top: 150px; }
#enquiryApp .he-complete h2:focus { outline: none; }
#enquiryApp .he-complete p { font-size: 15px; color: #5a6d75; margin: 8px 0; line-height: 1.55; }
#enquiryApp .he-complete .he-complete-message { color: var(--deep); font-size: 18px; font-weight: 700; }
#enquiryApp .he-complete .he-primary { margin-top: 24px; }
@media (min-width: 1000px) {
  #enquiryApp .he-intro-row { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:28px; align-items:start; }
  #enquiryApp .he-support-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; align-items:start; }
  #enquiryApp .he-field-row { gap:28px; }
}
@media (max-width: 560px) {
  #enquiryApp .he-primary { width:100%; }
  #enquiryApp .he-field-row { grid-template-columns: 1fr; gap: 0; }
  #enquiryApp .he-role-options { flex-direction: column; }
  #enquiryApp .he-choice span { padding: 11px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  #enquiryApp *, #enquiryApp *::before, #enquiryApp *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Production submission controls and feedback. */
heroic-referral-form { display:block; }
#enquiryApp [hidden] { display:none !important; }
#enquiryApp .he-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
#enquiryApp .he-form-status { margin:0 0 18px; color:var(--ink); }
#enquiryApp .he-form-status:empty { display:none; }
#enquiryApp .he-primary:disabled { opacity:.6; cursor:wait; }
#enquiryApp textarea[aria-invalid="true"] { border:2px solid #a92e36; }
#enquiryApp .he-error-summary:focus { outline:3px solid #a92e36; outline-offset:3px; }
#enquiryApp .he-complete:focus { outline:3px solid #9dc9d9; outline-offset:5px; }
html[data-theme="dark"] #enquiryApp textarea[aria-invalid="true"] { border-color:#ffa29d; }
