/* Align authentication choices independently of status text. */
html body .ra-contact-auth-options{align-items:start}
html body .ra-contact-auth-options .ra-contact-google{margin-top:0!important;padding-top:0!important}
html body .ra-contact-auth-options .ra-contact-email{margin-top:0!important;padding-top:0!important}
html body .ra-contact-auth-options [data-contact-google-button]{height:44px;min-height:44px;align-items:center;justify-content:flex-start}
html body .ra-contact-auth-options .ra-contact-email-choice{height:44px;min-height:44px;margin:0;box-sizing:border-box}
html body .ra-contact-auth-options [data-contact-account-status]{font-size:12px;line-height:1.45;margin:10px 0 0}
html body .ra-contact-form [data-contact-send-row]:not([hidden]){display:flex;justify-content:flex-end;margin-top:18px}
/* Signed-in customers need one compact send row, not two login panels. */
.ra-contact-form.ra-contact-is-authenticated .ra-contact-auth-options{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #cbd6e5;border-radius:12px;background:#f0f4fa}
.ra-contact-form.ra-contact-is-authenticated .ra-contact-auth-option{padding:0;border:0;background:transparent;margin:0}
.ra-contact-form.ra-contact-is-authenticated .ra-contact-google{flex:1;min-width:0}
.ra-contact-form.ra-contact-is-authenticated [data-contact-account-status]{margin:0;font-size:14px;line-height:1.5}
.ra-contact-form.ra-contact-is-authenticated .ra-contact-email{flex:0 0 auto}
.ra-contact-form.ra-contact-is-authenticated .ra-contact-email h3,.ra-contact-form.ra-contact-is-authenticated .ra-contact-code-help{display:none}
.ra-contact-form.ra-contact-is-authenticated .ra-contact-actions .ra-btn{width:auto;min-height:44px;font-size:15px;padding:10px 22px}
.ra-contact-field [data-contact-field-error]{display:block;margin:6px 0 0;color:#943931;font-size:13px;line-height:1.4}
@media(max-width:640px){.ra-contact-form.ra-contact-is-authenticated .ra-contact-auth-options{flex-direction:column;align-items:stretch}.ra-contact-form.ra-contact-is-authenticated .ra-contact-actions .ra-btn{width:100%}}
/* Two balanced authentication choices; stack on smaller screens. */
.ra-contact-auth-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.ra-contact-auth-options .ra-contact-auth-option{min-width:0;padding:20px;border:1px solid #cbd6e5;border-radius:14px;background:#f0f4fa;text-align:left;margin:0}
.ra-contact-auth-options .ra-contact-google-divider,.ra-contact-auth-options .ra-contact-email h3{display:block;margin:0 0 14px;font-size:16px;line-height:1.4;font-weight:700;color:#102B55}
.ra-contact-auth-options .ra-contact-google-divider:before,.ra-contact-auth-options .ra-contact-google-divider:after{display:none}
.ra-contact-auth-options .ra-contact-actions{margin:0}
.ra-contact-auth-options .ra-contact-actions .ra-btn{width:100%;min-height:44px;justify-content:center}
.ra-contact-auth-options .ra-contact-google-help,.ra-contact-auth-options .ra-contact-code-help{margin:10px 0 0;font-size:13px;line-height:1.5;color:#62766a}
.ra-contact-account-help{margin:12px 0 0;font-size:12px;line-height:1.5;color:#62766a}
@media(max-width:640px){.ra-contact-auth-options{grid-template-columns:1fr}.ra-contact-auth-options .ra-contact-auth-option{padding:16px}}
/* Google is an alternative to email verification at the end of the contact form. */
.ra-contact-google{margin-top:16px;text-align:center}
.ra-contact-google-divider{display:flex;align-items:center;gap:14px;margin:0 0 14px;color:#6b7d73;font-size:13px}
.ra-contact-google-divider:before,.ra-contact-google-divider:after{content:"";height:1px;flex:1;background:#cbd6e5}
.ra-contact-google [data-contact-google-button]{display:flex;justify-content:center;min-height:44px}
.ra-contact-google .ra-contact-google-help{margin:8px 0 0;font-size:12px;line-height:1.5;color:#667b70}
.ra-contact-google [data-contact-account-status]{margin:8px 0 0;font-size:13px;color:#102B55;overflow-wrap:anywhere}
.ra-contact-google [data-contact-account-status]:empty{display:none}
.ra-contact-google [hidden]{display:none!important}
/* Compact Google / email choice with progressive email fields. */
.ra-contact-form [hidden]{display:none!important}
.ra-contact-auth-options{gap:20px;align-items:start}
.ra-contact-auth-options .ra-contact-auth-option{padding:0;background:transparent;border:0}
.ra-contact-auth-options .ra-contact-google-divider,.ra-contact-auth-options .ra-contact-google-help{display:none}
.ra-contact-email-choice{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;padding:10px 16px;border:1px solid #cbd6e5;border-radius:24px;background:#fff;color:#102B55;font-family:inherit;font-weight:600;font-size:15px;line-height:1.4;cursor:pointer;box-shadow:0 2px 4px #123d2310}
.ra-contact-email-choice svg{width:21px;height:21px}
.ra-contact-password-control{display:flex;align-items:center;border:1px solid #cbd6e5;border-radius:8px;background:#fff;overflow:hidden}
.ra-contact-password-control input[name="contact_password"]{flex:1;width:0;min-width:0;min-height:46px;border:0!important;box-shadow:none!important;background:transparent;padding:10px 12px}
.ra-contact-password-control button{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;min-height:46px;padding:0;border:0;background:transparent;color:#102B55;cursor:pointer}
.ra-contact-password-control button:hover,.ra-contact-password-control button[aria-pressed=true]{background:#f0f4fa}
.ra-contact-password-control:focus-within{outline:2px solid #7eab95;outline-offset:2px}
.ra-contact-password-control button:focus-visible{outline:2px solid #102B55;outline-offset:-3px}
.ra-contact-password-field [data-contact-password-status]{display:block;margin-top:7px;color:#102B55;font-size:12px}
.ra-contact-password-field [data-contact-password-status]:empty{display:none}
.ra-contact-email-choice:hover,.ra-contact-email-choice[aria-expanded=true]{background:#f0f4fa;border-color:#102B55}
.ra-contact-email-choice:focus-visible{outline:2px solid #102B55;outline-offset:3px}
.ra-contact-email-panel{margin-top:18px;padding:20px;background:#f0f4fa;border:1px solid #cbd6e5;border-radius:14px}
.ra-contact-email-panel .ra-contact-consent{margin:14px 0;font-size:13px}
.ra-contact-email-panel [data-contact-code-panel]{margin-bottom:14px}
.ra-contact-email-panel [data-contact-code]{display:block;max-width:220px;padding:10px;border:1px solid #cbd6e5;border-radius:8px;font-size:16px}
.ra-contact-email-panel [data-contact-email-status]{margin:10px 0 0;font-size:13px;color:#873b31}
.ra-contact-email-panel [data-contact-email-status]:empty{display:none}
.ra-contact-form.ra-contact-is-authenticated .ra-contact-auth-options{display:block;padding:12px 16px}
.ra-contact-form [data-contact-send-row]{margin-top:14px}
@media(max-width:640px){.ra-contact-auth-options{gap:12px}.ra-contact-email-panel{padding:14px}}
/* Contact VTF: the same field order and compact rhythm as RADE. */
html body .ra-contact-form .ra-contact-grid{gap:12px 16px!important}
html body .ra-contact-form .ra-contact-field>label{font-size:13px!important;min-height:20px;line-height:1.5!important;margin:0 0 6px!important}
html body .ra-contact-form .ra-contact-field>input,html body .ra-contact-form .ra-contact-field>select,html body .ra-contact-form .ra-phone-row>input,html body .ra-contact-form .ra-flag-trigger{height:44px!important;min-height:44px!important;padding:8px 11px!important;box-sizing:border-box;font-size:14px!important;border-radius:8px!important}
html body .ra-contact-form .ra-contact-password-control{height:44px;box-sizing:border-box}
html body .ra-contact-form .ra-contact-password-control input[name="contact_password"]{min-height:42px;height:42px;padding:8px 11px;font-size:14px}
html body .ra-contact-form .ra-contact-password-control button{min-height:42px;height:42px;flex-basis:34px;width:34px}
html body .ra-contact-form .ra-contact-field textarea{min-height:100px!important;font-size:14px!important;padding:10px 12px!important}
html body .ra-contact-form .ra-contact-consent{font-size:12px!important;line-height:1.6!important;margin-top:10px!important}
html body .ra-contact-form .ra-contact-help{margin-bottom:14px!important}
html body .ra-contact-form .ra-contact-auth-options{gap:16px;margin-top:18px;align-items:center}
html body .ra-contact-form .ra-contact-email-choice{min-height:44px;height:44px}
html body .ra-contact-form .ra-contact-email-panel{padding:16px;margin-top:14px}
html body .ra-contact-form .ra-contact-account-help{font-size:12px;color:#64748b}
html body .ra-contact-form .ra-contact-actions .ra-btn{min-height:44px;padding:9px 18px}
@media(max-width:700px){html body .ra-contact-form .ra-contact-field>input,html body .ra-contact-form .ra-contact-field>select,html body .ra-contact-form .ra-phone-row>input,html body .ra-contact-form .ra-contact-password-control input[name="contact_password"]{font-size:16px!important}}
