/* Scoped to the login root. Existing authenticated pages retain their styles. */
html.mtl-on, .mtl-on body, .mtl-on #app { min-height: 100%; height: auto; }
.mtl-page, .mtl-page * { box-sizing: border-box; }
html.mtl-on .login.mtl-page {
  --mtl-blue: var(--site-primary,#1765ff);
  --mtl-ink: #132846;
  --mtl-muted: #637b9d;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 480px);
  grid-template-rows: auto 1fr auto;
  align-items: center;
  column-gap: clamp(32px, 5vw, 90px);
  row-gap: 18px;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  padding: 24px max(32px, calc((100vw - 1300px) / 2)) 20px;
  color: var(--mtl-ink);
  background: radial-gradient(ellipse at 30% 45%, #e6f1ff 0, transparent 65%), linear-gradient(125deg, #f5f9ff, #eff6ff 55%, #f9fbff);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  isolation: isolate;
}
.mtl-header { grid-column: 1 / -1; grid-row: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mtl-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--mtl-ink); text-decoration: none; }
.mtl-brand img { width: 48px; height: 48px; }
.mtl-brand strong { display: block; font-size: 24px; font-weight: 750; line-height: 1.25; letter-spacing: 1.4px; }
.mtl-brand small { display: block; margin-top: 4px; font-size:12px; letter-spacing: 1.6px; font-weight: 700; }
.mtl-back { display: inline-flex; gap: 9px; align-items: center; color: #526e96; font-size: 14px; padding: 12px 0 12px 12px; text-decoration: none; }
.mtl-back span { font-size: 22px; line-height: 1; }
.mtl-back:hover, .mtl-footer a:hover { color: var(--mtl-blue); }
.mtl-page a:focus-visible, .mtl-captcha-refresh:focus-visible { outline: 3px solid #81adff; outline-offset: 4px; border-radius: 5px; }
.mtl-hero { grid-column: 1; grid-row: 2; min-width: 0; padding: 24px 0 10px; }
.mtl-eyebrow { margin: 0 0 19px; color: #718ab1; font-size: 12px; letter-spacing: 3px; font-weight: 650; }
.mtl-hero h2 { color: #10213d; margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.35; font-weight: 750; letter-spacing: -1px; }
.mtl-intro { margin: 21px 0 0; font-size: clamp(14px, 1.35vw, 18px); color: #5b7397; line-height: 1.8; }
.mtl-illustration { display: block; width: 110%; max-width: none; height: auto; max-height: 330px; object-fit: contain; margin: 0 0 -4px -5%; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 65% 61% at 50% 52%, #000 48%, transparent 91%); mask-image: radial-gradient(ellipse 65% 61% at 50% 52%, #000 48%, transparent 91%); }
.mtl-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; color: #58749c; text-align: center; font-size: 15px; letter-spacing: 1px; }
.mtl-services li::before { content: ''; display: block; width: 24px; height: 2px; margin: 0 auto 12px; background: #aac6f0; }
html.mtl-on .login.mtl-page .login-form {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 38px 38px 28px;
  border: 1px solid #fff;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 70px #397dde0c;
  z-index: 1;
  --el-color-primary: var(--site-primary,#1765ff);
  --el-color-primary-light-3: #4a86ff;
  --el-color-primary-dark-2: #0951dc;
  --el-border-radius-base: 8px;
  --el-text-color-regular: #314766;
}
.mtl-page .title-box, .mtl-page .el-login-footer { display: none !important; }
.mtl-form-heading { margin-bottom: 30px; }
.mtl-form-heading h1 { margin: 0 0 9px; font-size: 36px; line-height: 1.25; font-weight: 750; color: #10213d; letter-spacing: -.5px; }
.mtl-form-heading p { margin: 0; font-size: 16px; line-height: 1.6; color: #6b83a4; }
html.mtl-on .login.mtl-page .login-form .el-form-item { margin-bottom: 25px; }
html.mtl-on .login.mtl-page .login-form .mtl-field { display: block; }
.mtl-field-label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 600; line-height: 1.5; color: #243b5d; }
html.mtl-on .login.mtl-page .login-form .el-form-item__content { min-width: 0; width: 100%; line-height: normal; }
html.mtl-on .login.mtl-page .login-form .el-input { height: 50px; min-width: 0; width: 100%; }
html.mtl-on .login.mtl-page .login-form .el-input__wrapper { padding: 0 14px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px #d8e2f0 inset; transition: box-shadow .18s; }
html.mtl-on .login.mtl-page .login-form .el-input__wrapper:hover { box-shadow: 0 0 0 1px #9dbbe8 inset; }
html.mtl-on .login.mtl-page .login-form .el-input__wrapper.is-focus { box-shadow: 0 0 0 1px #1765ff inset, 0 0 0 3px #1765ff12; }
html.mtl-on .login.mtl-page .login-form .el-input input { height: 48px; font-size: 15px; color: #1b3152; }
html.mtl-on .login.mtl-page .login-form .el-input input::placeholder { color: #93a3ba; }
html.mtl-on .login.mtl-page .login-form .input-icon { width: 17px; height: 20px; margin-left: 0; color: #7c94b5; }
html.mtl-on .login.mtl-page .login-form .el-input__prefix { margin-right: 5px; }
html.mtl-on .login.mtl-page .login-form .el-input__suffix { color: #7089ad; }
html.mtl-on .login.mtl-page .login-form .mtl-captcha-field .el-form-item__content > div:first-child { width: 100%; min-width: 0; display: flex; gap: 10px; align-items: center; }
html.mtl-on .login.mtl-page .login-form .mtl-captcha-field .el-input { flex: 1 1 0 !important; }
.mtl-page .login-code { flex: 0 0 100px; height: 50px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #d8e2f0; border-radius: 8px; background: #f8faff; }
.mtl-page .login-code .login-code-img { display: block; max-width: 100%; width: 100%; height: 42px; object-fit: contain; padding: 0; cursor: pointer; }
.mtl-captcha-refresh { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; min-width: 28px; height: 48px; padding: 0; border: 0; border-radius: 6px; color: #6380a9; background: transparent; cursor: pointer; }
.mtl-captcha-refresh:hover { color: var(--site-primary,#1765ff); background: #eef5ff; }
html.mtl-on .login.mtl-page .login-form > .el-checkbox { height: 26px; margin: -2px 0 24px !important; }
html.mtl-on .login.mtl-page .login-form .el-checkbox__inner { width: 17px; height: 17px; border-radius: 4px; border-color: #bdcce0; }
html.mtl-on .login.mtl-page .login-form .el-checkbox__inner::after { left: 5px; top: 2px; }
html.mtl-on .login.mtl-page .login-form .el-checkbox__label { color: #6a81a0; font-size: 14px; padding-left: 9px; }
html.mtl-on .login.mtl-page .login-form .el-checkbox__input.is-checked .el-checkbox__inner { border-color: var(--site-primary,#1765ff); }
html.mtl-on .login.mtl-page .login-form .el-button--primary { min-height: 52px; width: 100%; border-radius: 9px; font-size: 16px; font-weight: 600; letter-spacing: 3px; border-color: var(--site-primary,#1765ff); background: linear-gradient(110deg, #1872ff, #0758f6); box-shadow: 0 6px 16px #1765ff1a; }
html.mtl-on .login.mtl-page .login-form .el-button--primary:hover { filter: brightness(1.05); }
html.mtl-on .login.mtl-page .login-form .el-form-item__error { font-size: 12px; padding-top: 5px; line-height: 16px; }
.mtl-form-note { margin: 4px 0 0; display: flex; gap: 14px; align-items: center; text-align: center; font-size: 12px; line-height: 1.5; color: #8b9cb5; }
.mtl-form-note::before, .mtl-form-note::after { content: ''; flex: 1; height: 1px; background: #e3eaf4; }
.mtl-footer { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 12px; line-height: 1.7; text-align: center; color: #788da9; padding-top: 10px; }
.mtl-footer a { color: inherit; text-decoration: none; }
.mtl-on .el-dialog { max-width: calc(100vw - 32px); border-radius: 16px; }
@media (min-width: 1500px) { html.mtl-on .login.mtl-page { padding-left: max(60px, calc((100vw - 1340px) / 2)); padding-right: max(60px, calc((100vw - 1340px) / 2)); } }
@media (max-width: 1050px) { html.mtl-on .login.mtl-page { grid-template-columns: minmax(0, 1fr) minmax(340px, 410px); gap: 28px; padding: 24px 30px 20px; } html.mtl-on .login.mtl-page .login-form { padding: 32px 28px 25px; } .mtl-hero h2 { font-size: 38px; } .mtl-intro { max-width: 300px; } }
@media (max-width: 800px) {
  html.mtl-on .login.mtl-page { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; row-gap: 0; padding: 24px 24px 20px; align-content: start; }
  .mtl-header { grid-row: 1; margin-bottom: 42px; }
  .mtl-brand img { width: 42px; height: 42px; }
  .mtl-brand strong { font-size: 21px; }
  .mtl-brand small { font-size:12px; letter-spacing: 1.3px; }
  .mtl-back { font-size: 13px; gap: 5px; }
  html.mtl-on .login.mtl-page .login-form { grid-column: 1; grid-row: 2; max-width: 470px; justify-self: center; padding: 28px 26px 24px; border-radius: 20px; }
  .mtl-form-heading { margin-bottom: 28px; }
  .mtl-form-heading h1 { font-size: 34px; }
  .mtl-form-heading p { font-size: 15px; }
  .mtl-hero { grid-column: 1; grid-row: 3; justify-self: center; width: 100%; max-width: 390px; padding: 8px 0 22px; }
  .mtl-hero-copy { display: none; }
  .mtl-illustration { width: 100%; margin: -8px 0 -16px; }
  .mtl-services { font-size: 12px; letter-spacing: 0; }
  .mtl-services li::before { display: none; }
  .mtl-services li + li { border-left: 1px solid #bed0e8; }
  .mtl-footer { grid-column: 1; grid-row: 4; flex-direction: column; gap: 0; font-size:12px; line-height: 1.8; padding: 0; }
}
@media (max-width: 430px) {
  html.mtl-on .login.mtl-page { padding: 20px 18px 18px; }
  .mtl-header { margin-bottom: 30px; }
  .mtl-brand { gap: 7px; }
  .mtl-brand img { width: 37px; height: 37px; }
  .mtl-brand strong { font-size: 19px; letter-spacing: 1px; }
  .mtl-brand small { font-size:12px; margin-top: 3px; }
  .mtl-back { font-size: 12px; }
  html.mtl-on .login.mtl-page .login-form { padding: 27px 22px 22px; }
  .mtl-form-heading h1 { font-size: 31px; }
  html.mtl-on .login.mtl-page .login-form .el-input input { font-size: 16px; }
  .mtl-page .login-code { flex-basis: 84px; }
  html.mtl-on .login.mtl-page .login-form .mtl-captcha-field .el-form-item__content > div:first-child { gap: 7px; }
  .mtl-captcha-refresh { flex-basis: 25px; min-width: 25px; }
  .mtl-hero { max-width: 330px; }
}
@media (max-width: 360px) {
  html.mtl-on .login.mtl-page { padding-left: 12px; padding-right: 12px; }
  html.mtl-on .login.mtl-page .login-form { padding-left: 18px; padding-right: 18px; }
  .mtl-page .login-code { flex-basis: 72px; }
  html.mtl-on .login.mtl-page .login-form .mtl-captcha-field .el-input__prefix { display: none; }
  html.mtl-on .login.mtl-page .login-form .el-input__wrapper { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .mtl-page *, .mtl-page *::before, .mtl-page *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Unified 2026 workspace login refinement. */
html.mtl-on .login.mtl-page{background:radial-gradient(ellipse at 25% 40%,#e4edff 0,transparent 56%),linear-gradient(120deg,#f3f7ff,#fafcff);font-size:14px}.mtl-brand small{letter-spacing:.7px;color:#607794}.mtl-form-note{color:#637792;font-size:13px}.mtl-footer{color:#627791;font-size:13px}.mtl-form-heading h1{font-size:32px}.mtl-eyebrow{color:#4f6b92}.mtl-back{min-height:44px}.mtl-captcha-refresh{min-width:36px;flex-basis:36px}.mtl-page .mtl-hero h2{font-weight:650}.mtl-page .mtl-intro{color:#58708e}.mtl-page .mtl-services{color:#496586}html.mtl-on .login.mtl-page .login-form{border:1px solid #dfe8f7;border-radius:18px;box-shadow:0 24px 80px #2a558e10}html.mtl-on .login.mtl-page .login-form .el-input input::placeholder{color:#73859c}html.mtl-on .login.mtl-page .login-form .el-button--primary{letter-spacing:1px;background:var(--site-primary,#245eea);border-color:var(--site-primary,#245eea)}@media(max-width:800px){.mtl-header{margin-bottom:28px}.mtl-brand small{font-size:12px;letter-spacing:0}.mtl-brand strong{font-size:20px}.mtl-footer{font-size:12px}.mtl-form-note{font-size:13px}.mtl-illustration{max-height:200px}.mtl-services{font-size:13px}.mtl-page .mtl-hero{padding-bottom:24px}}@media(max-width:430px){html.mtl-on .login.mtl-page .login-form{padding-inline:18px}.mtl-back{font-size:13px}.mtl-form-heading h1{font-size:29px}.mtl-brand img{width:34px;height:34px}.mtl-page .login-code{flex-basis:78px}.mtl-captcha-refresh{min-width:32px;flex-basis:32px}}
@media(min-width:801px) and (max-height:820px){html.mtl-on .login.mtl-page{padding-top:16px;padding-bottom:12px;row-gap:12px;column-gap:44px}.mtl-header{min-height:42px}.mtl-brand img{width:40px;height:40px}.mtl-brand strong{font-size:22px}.mtl-brand small{font-size:12px;margin-top:2px}.mtl-hero{padding:10px 0}.mtl-hero h2{font-size:42px}.mtl-eyebrow{margin-bottom:15px}.mtl-intro{margin-top:16px;font-size:16px}.mtl-illustration{max-height:220px;margin-top:6px}.mtl-services{font-size:14px}html.mtl-on .login.mtl-page .login-form{padding:24px 30px 20px}.mtl-form-heading{margin-bottom:20px}.mtl-form-heading h1{font-size:28px;margin-bottom:6px}.mtl-form-heading p{font-size:14px}html.mtl-on .login.mtl-page .login-form .el-form-item{margin-bottom:17px}.mtl-field-label{margin-bottom:6px;font-size:14px;line-height:20px}html.mtl-on .login.mtl-page .login-form .el-input{height:44px}html.mtl-on .login.mtl-page .login-form .el-input input{height:42px}.mtl-page .login-code{height:44px}.mtl-captcha-refresh{height:44px}html.mtl-on .login.mtl-page .login-form>.el-checkbox{height:22px;margin:0 0 17px!important}html.mtl-on .login.mtl-page .login-form .el-button--primary{min-height:46px}.mtl-form-note{font-size:13px;margin:0}.mtl-footer{font-size:12px;padding-top:0}}
