/* REH approved V5 component candidate. Central-owned; local only. */
.reh-enquiry-forms,.reh-enquiry-forms *{box-sizing:border-box}
.reh-enquiry-forms{color:#0b183f;font:16px/1.5 "DejaVu Sans",Arial,sans-serif}
.reh-enquiry-forms *{box-sizing:border-box}
.reh-enquiry-forms .enquiry-card{width:100%;max-width:760px;margin:32px auto;padding:24px 24px 32px;background:#fff;border:1px solid #bdcbd8;border-radius:14px;position:relative}
.reh-enquiry-forms .brand-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}
.reh-enquiry-forms .brand-row svg{width:132px;height:81px;display:block}
.reh-enquiry-forms .close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #bdcbd8;border-radius:7px;background:#fff;color:#0b183f;font:26px/1 Arial;cursor:pointer}
.reh-enquiry-forms .enquiry-card h2{margin:0 0 4px;font-size:21px;line-height:1.4}
.reh-enquiry-forms .intro{margin:0 0 20px;color:#59667e;font-size:15px}
.reh-enquiry-forms .fields{display:grid;grid-template-columns:1fr;gap:20px}
.reh-enquiry-forms .field-label{display:block;margin:0;color:#0b183f;font-size:15px;font-weight:700}
.reh-enquiry-forms .label-text{display:block;margin-bottom:8px}
.reh-enquiry-forms .field-control{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #bdcbd8;border-radius:7px;background:#fff;color:#0b183f;font:16px/1.5 "DejaVu Sans",Arial,sans-serif}
.reh-enquiry-forms .field-control::placeholder{color:#59667e;opacity:1}
.reh-enquiry-forms textarea.field-control{min-height:84px;resize:vertical}
.reh-enquiry-forms .full-row{grid-column:1/-1}
.reh-enquiry-forms .permission{display:flex;align-items:flex-start;gap:12px;padding:14px;min-height:48px;margin-top:20px;border:1px solid #bdcbd8;border-radius:8px;background:#edf8f8;font-size:15px;line-height:1.5;cursor:pointer}
.reh-enquiry-forms .permission input{flex:0 0 24px;width:24px;height:24px;margin:4px 0 0;accent-color:#00666d}
.reh-enquiry-forms .permission strong{display:block;font-size:14px;margin-bottom:6px}
.reh-enquiry-forms .sender,.reh-enquiry-forms .optional-hint{margin:10px 0 0;color:#59667e;font-size:12px;line-height:1.5}
.reh-enquiry-forms .optional-hint{font-size:13px}
.reh-enquiry-forms .submit{display:block;width:100%;min-height:52px;margin:18px 0 0;padding:14px 20px;border:0;border-radius:8px;background:#00666d;color:#fff;font:700 16px/1.5 "DejaVu Sans",Arial,sans-serif;cursor:pointer}
.reh-enquiry-forms .privacy{margin:16px 0 0;color:#59667e;font-size:13px}
.reh-enquiry-forms .privacy a{color:#00666d;text-decoration:underline}
.reh-enquiry-forms .enquiry-card :is(input,select,textarea,button,a):focus-visible{outline:3px solid #00666d;outline-offset:3px}
.reh-enquiry-forms .reference-feedback{font-size:13px;color:#59667e}
.reh-enquiry-forms .reference-feedback:empty{display:none}
@media(min-width:640px){.reh-enquiry-forms .fields{grid-template-columns:1fr 1fr}}
@media(min-width:700px) and (max-width:1100px) and (orientation:portrait){.reh-enquiry-forms .enquiry-card{max-width:560px}
.reh-enquiry-forms .fields{grid-template-columns:1fr}}
@media(max-width:639px){.reh-enquiry-forms .enquiry-card{max-width:390px;margin:20px auto;padding:24px 23px 32px}}
@media(prefers-reduced-motion:reduce){.reh-enquiry-forms *{scroll-behavior:auto}}

/* Compatibility candidate v1; NOT part of the immutable approved reference.
   Only marked popup components are affected. Existing trigger/visibility stays owned by legacy logic. */
.reh-enquiry-forms.reh__mobileForm{padding:0;border:0;background:transparent;width:100%;max-width:760px;max-height:100dvh;overflow-y:auto;text-align:left}
.leave-popup .leave-pop-inner.reh-enquiry-forms{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;max-width:760px;margin:0;text-align:left}
.reh-enquiry-forms .brand-row img{display:block;width:132px;height:81px;object-fit:contain}
.reh-enquiry-forms .close{position:static;top:auto;right:auto;transition:none;opacity:1}
.reh-enquiry-forms .close:hover,.reh-enquiry-forms .close:focus{color:#0b183f!important;background:#fff;opacity:1;font-weight:400}
.reh-enquiry-forms .close.leave-popup-close::before,.reh-enquiry-forms .close.leave-popup-close::after{content:none;display:none}
.reh-enquiry-forms #leave-popup-submit,.reh-enquiry-forms #reh__welcome-popup-submit{max-width:none;margin:0}
.reh-enquiry-forms #leave-popup-submit .field-control,.reh-enquiry-forms #reh__welcome-popup-submit .field-control{width:100%;min-width:0;height:auto;min-height:48px;padding:12px!important;border:1px solid #bdcbd8;border-radius:7px;-webkit-border-radius:7px;background:#fff;color:#0b183f;font:16px/1.5 "DejaVu Sans",Arial,sans-serif;font-size:16px!important;margin:0;caret-color:auto}
.reh-enquiry-forms #leave-popup-submit textarea.field-control,.reh-enquiry-forms #reh__welcome-popup-submit textarea.field-control{min-height:84px;resize:vertical}
.reh-enquiry-forms #leave-popup-submit select.field-control,.reh-enquiry-forms #reh__welcome-popup-submit select.field-control{appearance:auto;background-image:none}
.reh-enquiry-forms #leave-popup-submit .field-control::placeholder,.reh-enquiry-forms #reh__welcome-popup-submit .field-control::placeholder{color:#59667e;opacity:1;padding:0;font-family:inherit}
.reh-enquiry-forms #leave-popup-submit .submit,.reh-enquiry-forms #reh__welcome-popup-submit .submit{display:block;width:100%;max-width:none;min-height:52px;margin:18px 0 0;padding:14px 20px!important;border:0;border-radius:8px;-webkit-border-radius:8px;background:#00666d;color:#fff;font:700 16px/1.5 "DejaVu Sans",Arial,sans-serif;font-size:16px!important;text-transform:none;transform:none;box-shadow:none;transition:none}
.reh-enquiry-forms #leave-popup-submit .submit:hover,.reh-enquiry-forms #reh__welcome-popup-submit .submit:hover,.reh-enquiry-forms #leave-popup-submit .submit:active,.reh-enquiry-forms #reh__welcome-popup-submit .submit:active{background:#00666d;transform:none;box-shadow:none}
.reh-enquiry-forms .intro{color:#59667e!important;text-align:left}
.reh-enquiry-forms .privacy{color:#59667e!important;text-align:left;font-size:13px;margin:16px 0 0}
.reh-enquiry-forms .privacy a{color:#00666d!important;text-decoration:underline}
.reh-enquiry-forms #leave-popup-submit :is(input,select,textarea,button,a):focus-visible,.reh-enquiry-forms #reh__welcome-popup-submit :is(input,select,textarea,button,a):focus-visible{outline:3px solid #00666d;outline-offset:3px}
/* Do not add display rules to the welcome host or concern textarea: eligibility and question state remain unchanged. */

/* Concern-row state v2: default hidden before JS and without JS; only existing subject handlers expose it. */
.reh-enquiry-forms label.reh-enquiry-concern-row{display:none}
.reh-enquiry-forms label.reh-enquiry-concern-row.is-visible{display:block}

/* Compatibility candidate v3: retain approved privacy underline despite legacy global !important reset. */
.reh-enquiry-forms .privacy a{text-decoration:underline!important}
