#registerForm.qc-registration { display:grid; gap:14px; min-width:0; }
#registerForm.qc-registration.hidden { display:none; }
#registerForm.qc-registration label { display:grid; gap:6px; margin:0; min-width:0; }
#registerForm.qc-registration input { width:100%; min-width:0; box-sizing:border-box; }
#registerForm.qc-registration input[aria-invalid="true"] { border-color:#b42318; }
#registerForm.qc-registration input[readonly] { background:#f5f7fa; color:#4b5563; }
#registerForm .qc-reg-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(100px,auto); align-items:end; gap:8px; }
#registerForm .qc-reg-row .btn { min-height:40px; height:auto; white-space:normal; max-width:150px; padding:9px 12px; }
#registerForm .qc-reg-hint, #registerForm .qc-reg-error, #registerForm .qc-reg-help { font-size:12px; line-height:1.55; margin:0; overflow-wrap:anywhere; font-weight:400; }
#registerForm .qc-reg-hint, #registerForm .qc-reg-help { color:#526176; }
#registerForm .qc-reg-error { color:#b42318; }
#registerForm .qc-reg-suggestion { padding:10px; border:1px solid #dbe5ef; border-radius:6px; background:#f7f9fc; font-size:13px; overflow-wrap:anywhere; }
#registerForm .qc-reg-actions { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:6px; }
#registerForm .qc-reg-link { padding:0; border:0; background:none; color:#165bb8; cursor:pointer; text-align:left; font:inherit; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
#registerForm button:disabled { cursor:wait; opacity:.6; }
#registerForm .qc-reg-help summary { cursor:pointer; color:#165bb8; padding:3px 0; }
#registerForm .qc-reg-help p { margin:6px 0; }
#registerForm #registerMessage { margin:0; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
#registerForm #registerMessage:empty { display:none; }
#registerForm [hidden] { display:none !important; }
#authModal .modal { max-height:calc(100dvh - 32px); overflow-y:auto; overscroll-behavior:contain; }
@media(max-width:480px) {
  #registerForm .qc-reg-row { grid-template-columns:minmax(0,1fr) 116px; }
  #registerForm .qc-reg-row .btn { font-size:12px; padding:9px 8px; }
  #registerForm.qc-registration input { font-size:16px; }
}
