/* Classic registration form. */
.qmt-phone-username-form .el-form-item { margin-bottom: 14px; }
.qmt-phone-username-form .el-form-item__label { display:block; float:none; text-align:left; line-height:24px; color:#34433d; }
.qmt-phone-username-form .el-input { width:100%; }
.qmt-register-math { display:flex; align-items:center; gap:8px; }
.qmt-register-math > span { flex:0 0 90px; text-align:center; }
.qmt-register-math > .el-input { flex:1; min-width:0; }
.qmt-register-secondary { min-width:64px; min-height:44px; border:1px solid #087e65; border-radius:8px; color:#087e65; background:white; cursor:pointer; padding:6px 10px; }
.qmt-register-secondary:disabled { opacity:.55; cursor:default; }
.qmt-register-secondary:focus-visible { outline:2px solid #087e65; outline-offset:2px; }
.qmt-register-agreement { display:flex; align-items:center; gap:8px; font-size:14px; line-height:22px; color:#34433d; }
.qmt-register-agreement input { width:20px; height:20px; margin:12px 0; }
.qmt-register-agreement a { color:#087e65; text-decoration:underline; }
.qmt-register-agreement a:focus-visible { outline:2px solid #087e65; outline-offset:2px; }
.qmt-register-error { color:#ae2828; min-height:22px; font-size:14px; line-height:22px; margin:6px 0; }
/* Only the new phone-username registration screen leaves the legacy 885px
   two-column login canvas. In short windows the same real form scrolls rather
   than centering its title and submit button outside the visible viewport. */
@media (max-width: 960px), (max-height: 700px) {
  .tioimcontainer.qmt-phone-username-root {
    display:block !important; width:100% !important; height:100vh !important;
    height:100dvh !important; min-height:0 !important;
    overflow-x:hidden !important; overflow-y:auto !important;
  }
  .qmt-phone-username-root .bodycontent {
    position:relative !important; inset:auto !important; left:0 !important;
    display:block !important; width:100% !important; height:auto !important;
    min-height:100% !important; margin:0 !important; padding:24px 16px !important;
    box-sizing:border-box; transform:none !important;
  }
  .qmt-phone-username-root .form-content {
    display:block !important; width:100% !important; max-width:430px;
    min-width:0 !important; height:auto !important; min-height:0 !important;
    margin:0 auto !important; padding:0 !important; transform:none !important;
  }
  .qmt-phone-username-root .form-content-left { display:none !important; }
  .qmt-phone-username-root .login-content {
    display:block !important; width:100% !important; min-width:0 !important;
    height:auto !important; min-height:0 !important; margin:0 !important;
    padding:24px !important; border-radius:20px !important;
    box-sizing:border-box; transform:none !important;
    animation:none !important;
  }
  .qmt-phone-username-root .login-content > .title {
    margin:0 0 24px !important; padding:0 !important; font-size:28px;
    line-height:1.4; max-width:100%;
  }
  .qmt-phone-username-root .login-content > .img,
  .qmt-phone-username-root .qmt-phone-username-form {
    width:100% !important; min-width:0 !important; height:auto !important;
    min-height:0 !important; margin:0 !important; padding:0 !important;
    box-sizing:border-box;
  }
  .qmt-phone-username-root .qmt-phone-username-form .el-input__inner {
    height:44px; line-height:44px; font-size:16px;
  }
  .qmt-phone-username-root .qmt-phone-username-form .el-form-item:nth-child(2) .el-form-item__content {
    display:flex; align-items:center; gap:8px;
  }
  .qmt-phone-username-root .qmt-phone-username-form .el-form-item:nth-child(2) .el-input {
    flex:1; min-width:0;
  }
  .qmt-phone-username-root .qmt-register-agreement input { flex-shrink:0; }
  .qmt-phone-username-root .qmt-phone-username-form .primarybtn {
    width:100% !important; min-height:48px; margin:12px 0 !important;
  }
}

