html, body { min-width: 1180px; min-height: 100%; }
body { overflow-x: hidden; }

.a3-auth {
  min-height: 100vh;
  color: var(--a3-text);
  font-family: var(--a3-font-sans);
  font-size: var(--a3-font-base);
  line-height: var(--a3-line-body);
}
.a3-auth, .a3-auth *, .a3-auth *::before, .a3-auth *::after { box-sizing: border-box; }
.a3-auth button, .a3-auth input, .a3-auth textarea { font: inherit; }
.a3-auth button, .a3-auth a { cursor: pointer; }
.a3-auth a { color: inherit; text-decoration: none; }

.a3-auth-page {
  position: relative;
  min-height: 100vh;
  padding: 14px 18px;
  overflow: hidden;
  background: var(--a3-page);
}
.a3-auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background: radial-gradient(circle at 18% 22%, color-mix(in srgb,var(--a3-brand) 9%,transparent), transparent 34%);
}
.a3-auth-frame {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 28px);
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(470px, .92fr);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.a3-auth-brand {
  --a3-auth-pointer-x: 28%;
  --a3-auth-pointer-y: 22%;
  position: relative;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  padding: 42px 48px 40px;
  overflow: hidden;
}
.a3-auth-brand::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: calc(var(--a3-auth-pointer-x) - 230px);
  top: calc(var(--a3-auth-pointer-y) - 230px);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--a3-brand) 13%, transparent), transparent 67%);
  transition: left 700ms var(--a3-ease-out), top 700ms var(--a3-ease-out);
  pointer-events: none;
}
.a3-auth-logo-link { position: relative; z-index: 2; width: 224px; display: block; }
.a3-auth-logo { width: 224px; height: auto; display: block; object-fit: contain; }
.a3-auth-logo-dark { display: none; }
html[data-aeo03-mode="dark"] .a3-auth-logo-light { display: none; }
html[data-aeo03-mode="dark"] .a3-auth-logo-dark { display: block; }
.a3-auth-brand-copy { position: relative; z-index: 2; max-width: 570px; margin: auto 0; padding: 80px 0 72px; }
.a3-auth-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--a3-brand); font-size: var(--a3-font-sm); font-weight: 800; letter-spacing: .12em; }
.a3-auth-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--a3-lemon); box-shadow: 30px 0 0 color-mix(in srgb, var(--a3-brand) 24%, transparent); }
.a3-auth-brand h1 { max-width: 520px; margin: 22px 0 18px; color: var(--a3-navy); font-size: var(--a3-font-hero); font-weight: 780; line-height: 1.08; letter-spacing: -.045em; }
html[data-aeo03-mode="dark"] .a3-auth-brand h1 { color: var(--a3-text); }
.a3-auth-brand-copy > p { max-width: 460px; margin: 0; color: var(--a3-muted); font-size: var(--a3-font-lg); line-height: 1.9; }
.a3-auth-collage { position: relative; z-index: 2; max-width: 520px; min-height: 54px; display: flex; align-items: center; overflow: hidden; border: 1px solid color-mix(in srgb,var(--a3-navy) 12%,var(--a3-border)); border-radius: 15px; background: color-mix(in srgb,var(--a3-panel) 72%,transparent); }
.a3-auth-collage > span { min-height: 52px; display: flex; align-items: center; border-radius: 0; overflow: hidden; }
.a3-auth-collage-main { flex: 1; padding: 0 20px; background: transparent; color: var(--a3-text); font-size: var(--a3-font-md); font-weight: 700; }
.a3-auth-collage-main i { width: 8px; height: 8px; margin-right: 11px; border: 2px solid var(--a3-success); border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb,var(--a3-success) 9%,transparent); }
.a3-auth-collage-blue { min-width: 118px; justify-content: center; border-left: 1px solid var(--a3-border); background: var(--a3-panel-blue); color: var(--a3-brand); font-size: var(--a3-font-sm); font-weight: 750; }
.a3-auth-collage-yellow,.a3-auth-collage-note { display: none; }
.a3-auth-watermark { position: absolute; z-index: 0; left: 7%; bottom: -9%; width: min(520px,48vw); height: auto; display: block; opacity: .035; transform: rotate(-8deg); filter: saturate(.65) contrast(.9); pointer-events: none; user-select: none; }
html[data-aeo03-mode="dark"] .a3-auth-watermark { opacity: .065; filter: saturate(.72) brightness(1.28); }

.a3-auth-side {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--a3-border);
  border-radius: 24px;
  background: var(--a3-panel);
  box-shadow: 0 18px 48px rgba(21,44,91,.08);
}
html[data-aeo03-mode="dark"] .a3-auth-side { box-shadow: 0 20px 52px rgba(0,0,0,.24); }
.a3-auth-tools { min-height: 68px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 12px 18px; }
.a3-auth-tools button, .a3-auth-tools > a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: var(--a3-muted);
  font-size: var(--a3-font-sm);
  transition: border-color var(--a3-motion-fast) ease, color var(--a3-motion-fast) ease, background var(--a3-motion-fast) ease, transform var(--a3-motion-fast) var(--a3-ease-ui);
}
.a3-auth-tools button:hover, .a3-auth-tools > a:hover { border-color: color-mix(in srgb, var(--a3-brand) 32%, var(--a3-border)); background: var(--a3-panel-blue); color: var(--a3-brand); transform: translateY(-1px); }
.a3-auth-tools .a3-auth-mode { width: 38px; padding: 0; }
.a3-auth-tools .a3-auth-redirect { border-color: transparent; background: var(--a3-navy); color: #fff; font-weight: 700; }
.a3-auth-tools .a3-auth-redirect:hover { border-color: transparent; background: var(--a3-brand); color: #fff; }
.a3-auth-lang { display: flex; align-items: center; gap: 1px; padding: 2px; border: 0; border-radius: 18px; background: var(--a3-panel-soft); }
.a3-auth-lang button { min-height: 32px; padding: 0 11px; border: 0; background: transparent; }
.a3-auth-lang button.is-active { background: var(--a3-panel-blue); color: var(--a3-brand); box-shadow: none; }
.a3-auth-form-wrap { width: min(100%, 510px); margin: auto; padding: 28px 44px 62px; animation: a3-auth-enter 620ms var(--a3-ease-out) both; }
.a3-auth-form-wrap.is-wide { width: min(100%, 600px); }
.a3-auth-heading { margin-bottom: 26px; }
.a3-auth-heading small { display: block; margin-bottom: 9px; color: var(--a3-brand); font-size: var(--a3-font-xs); font-weight: 800; letter-spacing: .12em; }
.a3-auth-heading h2 { margin: 0; color: var(--a3-text); font-size: var(--a3-font-6xl); font-weight: 780; line-height: 1.2; letter-spacing: -.025em; }
.a3-auth-heading p { margin: 10px 0 0; color: var(--a3-muted); font-size: var(--a3-font-md); }
.a3-auth-heading a { margin-left: 5px; color: var(--a3-brand); font-weight: 700; }
.a3-auth-heading a:hover { text-decoration: underline; text-underline-offset: 3px; }

.a3-auth-tabs { display: flex; gap: 22px; margin-bottom: 24px; padding: 0; border-bottom: 1px solid var(--a3-border); background: transparent; }
.a3-auth-tab { position: relative; flex: 0 0 auto; height: 40px; display: grid; place-items: center; padding: 0 2px; border: 0; border-radius: 0; background: transparent; color: var(--a3-muted); font-size: var(--a3-font-md); font-weight: 700; transition: color var(--a3-motion-fast) ease; }
.a3-auth-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--a3-brand); opacity: 0; transform: scaleX(.45); transition: opacity var(--a3-motion-fast) ease,transform var(--a3-motion-fast) var(--a3-ease-out); }
.a3-auth-tab.is-active { color: var(--a3-brand); box-shadow: none; }
.a3-auth-tab.is-active::after { opacity: 1; transform: scaleX(1); }
.a3-auth-field { position: relative; margin-bottom: 14px; }
.a3-auth-field-label { display: block; margin: 0 0 7px 2px; color: var(--a3-text); font-size: var(--a3-font-sm); font-weight: 700; }
.a3-auth .el-input__inner, .a3-auth .el-textarea__inner {
  border: 1px solid var(--a3-border);
  background: var(--a3-panel-soft);
  color: var(--a3-text);
  box-shadow: none;
  transition: border-color var(--a3-motion-fast) ease, background var(--a3-motion-fast) ease, box-shadow var(--a3-motion-fast) ease;
}
.a3-auth .el-input__inner { height: 48px; padding: 0 15px; border-radius: 13px; font-size: var(--a3-font-md); }
.a3-auth .el-textarea__inner { border-radius: 13px; font-size: var(--a3-font-md); }
.a3-auth .el-input__inner:hover, .a3-auth .el-textarea__inner:hover { border-color: color-mix(in srgb, var(--a3-brand) 35%, var(--a3-border)); }
.a3-auth .el-input__inner:focus, .a3-auth .el-textarea__inner:focus { border-color: var(--a3-brand); background: var(--a3-panel); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a3-brand) 9%, transparent); }
.a3-auth .el-input-group__prepend { min-width: 92px; padding: 0; border: 1px solid var(--a3-border); border-right: 0; border-radius: 13px 0 0 13px; background: var(--a3-panel-soft); }
.a3-auth .el-input-group--prepend .el-input__inner { border-radius: 0 13px 13px 0; }
.a3-auth .el-input-group__prepend .el-select { width: 90px; margin: 0; }
.a3-auth .el-input-group__prepend .el-input__inner { padding: 0 24px 0 13px; border: 0; background: transparent; box-shadow: none; }
.a3-auth .a3-auth-phone.el-input-group { height: 48px; display: flex; width: 100%; overflow: hidden; border: 1px solid var(--a3-border); border-radius: 13px; background: var(--a3-panel-soft); transition: border-color var(--a3-motion-fast) ease,background var(--a3-motion-fast) ease,box-shadow var(--a3-motion-fast) ease; }
.a3-auth .a3-auth-phone.el-input-group:hover { border-color: color-mix(in srgb,var(--a3-brand) 35%,var(--a3-border)); }
.a3-auth .a3-auth-phone.el-input-group:focus-within { border-color: var(--a3-brand); background: var(--a3-panel); box-shadow: 0 0 0 4px color-mix(in srgb,var(--a3-brand) 9%,transparent); }
.a3-auth .a3-auth-phone .el-input-group__prepend { width: 92px; min-width: 92px; display: block; padding: 0; overflow: hidden; border: 0; border-right: 1px solid var(--a3-border); border-radius: 0; background: var(--a3-panel-blue); }
.a3-auth .a3-auth-phone .el-input-group__prepend .el-select,
.a3-auth .a3-auth-phone .el-input-group__prepend .el-input { width: 92px; margin: 0; }
.a3-auth .a3-auth-phone .el-input-group__prepend .el-input__inner { height: 46px; padding: 0 30px 0 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.a3-auth .a3-auth-phone > .el-input__inner { min-width: 0; height: 46px; flex: 1 1 auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.a3-auth .a3-auth-phone .el-select__caret { color: var(--a3-muted); }
.a3-auth-code { display: grid; grid-template-columns: minmax(0,1fr) 126px; gap: 10px; }
.a3-auth-code .a3-auth-field { margin: 0; }
.a3-auth .code-btn { width: 126px; height: 48px; margin: 0; border: 1px solid color-mix(in srgb, var(--a3-brand) 24%, var(--a3-border)); border-radius: 13px; background: var(--a3-panel); color: var(--a3-brand); font-size: var(--a3-font-sm); font-weight: 700; }
.a3-auth .code-btn:hover { border-color: color-mix(in srgb, var(--a3-brand) 45%, var(--a3-border)); background: color-mix(in srgb, var(--a3-panel-blue) 76%, var(--a3-panel)); }
.a3-auth-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 17px 1px; color: var(--a3-muted); font-size: var(--a3-font-xs); line-height: 1.65; }
.a3-auth-row > span:first-child { min-width: 0; display: flex; align-items: flex-start; gap: 8px; }
.a3-auth-row a { color: var(--a3-brand); font-weight: 700; }
.a3-auth-row > a { flex: 0 0 auto; }
.a3-auth .el-checkbox { margin-top: 1px; }
.a3-auth .el-checkbox__inner { width: 16px; height: 16px; border-radius: 5px; border-color: var(--a3-border); background: var(--a3-panel); }
.a3-auth .el-checkbox__input.is-checked .el-checkbox__inner { border-color: var(--a3-brand); background: var(--a3-brand); }
.a3-auth-error { margin: 14px 0; }
.a3-auth .el-alert { border: 1px solid color-mix(in srgb, var(--a3-danger) 18%, var(--a3-border)); border-radius: 12px; background: color-mix(in srgb, var(--a3-danger) 7%, var(--a3-panel)); }
.a3-auth-primary { width: 100%; height: 50px; margin: 2px 0 0 !important; border: 0 !important; border-radius: 13px !important; background: var(--a3-brand) !important; color: #fff !important; box-shadow: 0 8px 18px color-mix(in srgb, var(--a3-brand) 18%, transparent); font-size: var(--a3-font-base) !important; font-weight: 800 !important; transition: background var(--a3-motion-fast) ease, transform var(--a3-motion-fast) var(--a3-ease-ui), box-shadow var(--a3-motion-fast) ease !important; }
.a3-auth-primary:hover { background: var(--a3-brand-hover) !important; box-shadow: 0 15px 28px color-mix(in srgb, var(--a3-brand) 29%, transparent); transform: translateY(-2px); }
.a3-auth-primary:active { transform: translateY(0) scale(.99); }
.a3-auth-secondary { width: 100%; height: 42px; margin: 8px 0 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: var(--a3-muted) !important; font-size: var(--a3-font-sm) !important; font-weight: 700 !important; }
.a3-auth-secondary:hover { border-color: color-mix(in srgb, var(--a3-brand) 28%, var(--a3-border)) !important; background: var(--a3-panel-blue) !important; color: var(--a3-brand) !important; }
.a3-auth-divider { margin: 24px 0 17px; }
.a3-auth-divider .el-divider__text { background: var(--a3-panel); color: var(--a3-muted); font-size: var(--a3-font-2xs); }
.a3-auth-oauth { display: flex; justify-content: center; gap: 10px; }
.a3-auth-oauth button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--a3-border); border-radius: 13px; background: var(--a3-panel-soft); transition: border-color var(--a3-motion-fast) ease, background var(--a3-motion-fast) ease, transform var(--a3-motion-fast) var(--a3-ease-ui); }
.a3-auth-oauth button:hover { border-color: color-mix(in srgb, var(--a3-brand) 32%, var(--a3-border)); background: var(--a3-panel-blue); transform: translateY(-2px) rotate(-2deg); }
.a3-auth-oauth img { width: 23px; height: 23px; object-fit: contain; }

.a3-auth-qr-toggle { position: absolute; right: 17px; bottom: 16px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--a3-border); border-radius: 13px; background: var(--a3-panel-soft); color: var(--a3-brand); font-size: var(--a3-font-xl); transition: border-color var(--a3-motion-fast) ease, transform var(--a3-motion-fast) var(--a3-ease-ui); }
.a3-auth-qr-toggle:hover { border-color: color-mix(in srgb, var(--a3-brand) 40%, var(--a3-border)); transform: rotate(-4deg); }
.a3-auth-qr { min-height: 318px; display: grid; place-items: center; align-content: center; gap: 15px; }
.a3-auth-qr-image { position: relative; width: 210px; height: 210px; display: grid; place-items: center; padding: 13px; border: 1px solid var(--a3-border); border-radius: 22px; background: #fff; box-shadow: 0 16px 38px rgba(21,44,91,.1); }
.a3-auth-qr-image img { width: 184px; height: 184px; object-fit: contain; }
.a3-auth-qr-refresh { position: absolute; inset: 13px; display: grid; place-items: center; align-content: center; gap: 6px; border-radius: 13px; background: rgba(255,255,255,.94); color: var(--a3-brand); cursor: pointer; }
.a3-auth-qr > p { color: var(--a3-muted); font-size: var(--a3-font-sm); }
.a3-auth-account-select { display: grid; gap: 18px; }
.a3-auth-back { width: max-content; padding: 0; border: 0; background: transparent; color: var(--a3-brand); font-size: var(--a3-font-sm); }
.a3-auth-account-select h3 { margin: 0; font-size: var(--a3-font-2xl); }

.a3-auth-register .a3-auth-side { justify-content: flex-start; }
.a3-auth-register .a3-auth-form-wrap { margin: 0 auto; padding-top: 12px; }
.a3-auth-empty-input { position: fixed; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.a3-auth-register .a3-auth-frame { min-height: calc(100vh - 36px); }
.a3-auth-register .a3-auth-brand { position: sticky; top: 18px; height: calc(100vh - 36px); min-height: 690px; }
.a3-auth-register .a3-auth-side { min-height: calc(100vh - 52px); }
.a3-auth-custom-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; margin-top: 4px; }
.a3-auth-custom-fields .el-form-item { margin-bottom: 14px; }
.a3-auth-custom-fields .el-form-item__label { padding: 0 0 7px 2px; color: var(--a3-text); font-size: var(--a3-font-sm); font-weight: 700; line-height: 1.4; }
.a3-auth-custom-fields .el-select { width: 100%; }
.a3-auth-password { position: relative; }
.a3-auth-password-popover { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 8px); padding: 13px 15px; border: 1px solid var(--a3-border); border-radius: 13px; background: var(--a3-panel); box-shadow: var(--a3-shadow); }
.a3-auth-password-popover strong { display: block; margin-bottom: 7px; font-size: var(--a3-font-sm); }
.a3-auth-password-popover p { display: flex; align-items: flex-start; gap: 7px; margin: 5px 0; color: var(--a3-muted); font-size: var(--a3-font-xs); }
.a3-auth-password-popover p.is-pass { color: var(--a3-success); }
.a3-auth-sale { margin: 15px 0; padding: 14px; border: 1px solid var(--a3-border); border-radius: 13px; background: var(--a3-panel-warm); }
.a3-auth-sale .el-select { width: 100%; margin-top: 12px; }

.a3-auth-dialog .el-dialog, .security-dialog, .withdraw-dialog { border-radius: 20px; background: var(--a3-panel); color: var(--a3-text); box-shadow: 0 30px 80px rgba(0,0,0,.24); }
.a3-auth .el-dialog__wrapper .el-input__inner { color: var(--a3-text); background: var(--a3-panel-soft); border-color: var(--a3-border); }
.security-dialog .el-dialog__header { display: none; }
.security-dialog .el-dialog__body { padding: 0 !important; color: var(--a3-text); }
.security-dialog .security-title { padding: 20px 24px; margin: 0; border-bottom: 1px solid var(--a3-border); }
.security-dialog .security-content { padding: 16px 24px 4px; }
.security-dialog .security-footer { padding: 8px 24px 24px; background: var(--a3-panel); }
.withdraw-dialog .el-dialog__body { padding: 24px 26px 0; color: var(--a3-text); }
.withdraw-dialog .dialog-main { margin-top: 24px; }
.security-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.security-title .title-text, .withdraw-dialog .dialog-title { color: var(--a3-text); font-size: var(--a3-font-2xl); font-weight: 780; }
.security-title .close-btn { color: var(--a3-muted); cursor: pointer; }
.security-footer { display: flex; gap: 9px; justify-content: flex-end; padding-top: 12px; }
.withdraw-dialog .el-dialog__footer { padding: 0 26px 24px; }

.a3-agreement-page { min-height: 100vh; padding: 18px; background: var(--a3-page); }
.a3-agreement-shell { min-height: calc(100vh - 36px); border: 1px solid var(--a3-border); border-radius: 28px; background: var(--a3-panel); box-shadow: var(--a3-shadow); }
.a3-agreement-top { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid var(--a3-border); }
.a3-agreement-top .a3-auth-logo-link { width: 208px; }
.a3-agreement-top .a3-auth-logo { width: 208px; }
.a3-agreement-actions { display: flex; align-items: center; gap: 8px; }
.a3-agreement-actions a, .a3-agreement-actions button { height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 1px solid var(--a3-border); border-radius: 19px; background: var(--a3-panel-soft); color: var(--a3-muted); font-size: var(--a3-font-sm); }
.a3-agreement-main { width: min(920px, calc(100% - 72px)); margin: 0 auto; padding: 70px 0 90px; }
.a3-agreement-heading { padding-bottom: 28px; border-bottom: 1px solid var(--a3-border); }
.a3-agreement-heading small { color: var(--a3-brand); font-size: var(--a3-font-xs); font-weight: 800; letter-spacing: .1em; }
.a3-agreement-heading h1 { margin: 11px 0 18px; color: var(--a3-text); font-size: var(--a3-font-8xl); line-height: 1.25; letter-spacing: -.025em; }
.a3-agreement-meta { display: flex; gap: 22px; color: var(--a3-muted); font-size: var(--a3-font-sm); }
.a3-agreement-content { padding: 36px 0; color: var(--a3-text); font-size: var(--a3-font-lg); line-height: 2; word-break: break-word; }
.a3-agreement-content img { max-width: 100%; height: auto; border-radius: 12px; }
.a3-agreement-content table { max-width: 100%; border-collapse: collapse; }
.a3-agreement-content td, .a3-agreement-content th { padding: 10px; border: 1px solid var(--a3-border); }
.a3-agreement-attachments { padding: 20px; border-radius: 15px; background: var(--a3-panel-soft); color: var(--a3-muted); font-size: var(--a3-font-sm); }
.a3-agreement-file { display: inline-flex; align-items: center; gap: 6px; margin: 8px 8px 0 0; padding: 8px 11px; border: 1px solid var(--a3-border); border-radius: 10px; background: var(--a3-panel); color: var(--a3-brand); cursor: pointer; }
.a3-agreement-empty { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--a3-muted); }
.a3-agreement-empty i { color: var(--a3-brand); font-size: var(--a3-font-6xl); }

@keyframes a3-auth-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1399px) {
  .a3-auth-frame { grid-template-columns: minmax(470px,.94fr) minmax(500px,1.06fr); }
  .a3-auth-brand { padding: 36px 38px; }
  .a3-auth-brand h1 { font-size: var(--a3-font-10xl); }
  .a3-auth-form-wrap { padding-inline: 38px; }
}
/* Single-card authentication composition */
body:has(.a3-auth) { overflow-y: auto; }
.a3-auth-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; overflow: visible; }
.a3-auth-frame { width: min(1180px,calc(100vw - 64px)); min-height: min(760px,calc(100vh - 64px)); grid-template-columns: minmax(0,46fr) minmax(520px,54fr); overflow: hidden; border: 1px solid var(--a3-border); border-radius: 24px; background: var(--a3-panel); box-shadow: 0 24px 68px rgba(21,44,91,.11),0 4px 14px rgba(21,44,91,.05); }
html[data-aeo03-mode="dark"] .a3-auth-frame { box-shadow: 0 26px 72px rgba(0,0,0,.32),0 5px 16px rgba(0,0,0,.16); }
.a3-auth-brand { height: auto; min-height: 0; padding: 42px 52px; background: color-mix(in srgb,var(--a3-page) 94%,var(--a3-brand)); }
.a3-auth-logo-link,.a3-auth-logo { width: 214px; }
.a3-auth-brand-copy { max-width: 470px; padding: 30px 0 62px; }
.a3-auth-brand h1 { max-width: 460px; font-size: var(--a3-font-hero-compact); }
.a3-auth-brand-copy > p { max-width: 410px; }
.a3-auth-watermark { width: min(520px,42vw); max-height: 620px; opacity: .034; }
.a3-auth-side { height: auto; min-height: 0; overflow: visible; }
.a3-auth-tools { min-height: 66px; padding: 14px 30px; }
.a3-auth-form-wrap,.a3-auth-form-wrap.is-wide { width: min(100%,500px); padding: 34px 42px 70px; }
.a3-auth-heading { margin-bottom: 26px; }
.a3-auth-heading h2 { font-size: var(--a3-font-6xl); }

.a3-auth-register .a3-auth-page { align-items: center; }
.a3-auth-register .a3-auth-frame { min-height: 760px; overflow: hidden; }
.a3-auth-register .a3-auth-brand { position: relative; top: auto; height: auto; min-height: 100%; }
.a3-auth-register .a3-auth-side { height: auto; min-height: 760px; overflow: visible; }
.a3-auth-register .a3-auth-form-wrap { width: min(100%,540px); padding: 28px 42px 72px; }

@media (max-width: 1399px) {
  .a3-auth-page { padding: 28px 32px; }
  .a3-auth-frame { width: min(1120px,calc(100vw - 64px)); min-height: min(720px,calc(100vh - 56px)); grid-template-columns: minmax(0,43fr) minmax(520px,57fr); }
  .a3-auth-brand { padding: 36px 42px; }
  .a3-auth-brand h1 { font-size: var(--a3-font-9xl); }
  .a3-auth-brand-copy { padding-bottom: 50px; }
  .a3-auth-form-wrap,.a3-auth-form-wrap.is-wide { padding-inline: 40px; }
  .a3-auth-register .a3-auth-frame,.a3-auth-register .a3-auth-side { min-height: 720px; }
}
/* AEO03 authentication workspace */
.a3-auth-page { padding: 0; overflow: hidden; background: var(--a3-page); }
.a3-auth-page::before { display: none; }
.a3-auth-frame { min-height: 100vh; grid-template-columns: minmax(0,49fr) minmax(540px,51fr); }
.a3-auth-brand { min-height: 100vh; padding: clamp(34px,3.4vw,58px) clamp(46px,5vw,88px); background: color-mix(in srgb,var(--a3-page) 94%,var(--a3-brand)); }
.a3-auth-brand::before { width: 620px; height: 620px; left: calc(var(--a3-auth-pointer-x) - 310px); top: calc(var(--a3-auth-pointer-y) - 310px); background: radial-gradient(circle,color-mix(in srgb,var(--a3-brand) 8%,transparent),transparent 68%); }
.a3-auth-logo-link { width: 236px; }
.a3-auth-logo { width: 236px; }
.a3-auth-brand-copy { z-index: 2; max-width: 540px; margin: auto 0; padding: 30px 0 56px; }
.a3-auth-eyebrow { font-size: var(--a3-font-xs); letter-spacing: .14em; }
.a3-auth-eyebrow::before { width: 24px; height: 2px; background: var(--a3-lemon); box-shadow: none; }
.a3-auth-brand h1 { max-width: 520px; margin: 22px 0 18px; font-size: var(--a3-font-hero-balanced); font-weight: 790; line-height: 1.07; }
.a3-auth-brand-copy > p { max-width: 455px; font-size: var(--a3-font-base); line-height: 1.8; }
.a3-auth-watermark { z-index: 0; left: 50%; top: 54%; bottom: auto; width: min(620px,46vw); max-height: 72vh; opacity: .032; transform: translate(-50%,-50%); filter: none; object-fit: contain; object-position: center; }
html[data-aeo03-mode="dark"] .a3-auth-brand { background: color-mix(in srgb,var(--a3-page) 93%,var(--a3-brand)); }
html[data-aeo03-mode="dark"] .a3-auth-watermark { opacity: .068; filter: none; }

.a3-auth-side { height: 100vh; min-height: 100vh; overflow-y: auto; border: 0; border-left: 1px solid var(--a3-border); border-radius: 0; background: var(--a3-panel); box-shadow: none; scrollbar-width: thin; scrollbar-color: var(--a3-border) transparent; }
html[data-aeo03-mode="dark"] .a3-auth-side { box-shadow: none; }
.a3-auth-tools { position: relative; z-index: 3; min-height: 72px; flex: 0 0 auto; gap: 2px; padding: 16px clamp(24px,3vw,44px); }
.a3-auth-tools button,.a3-auth-tools > a { min-height: 36px; padding: 0 11px; border-radius: 9px; font-size: var(--a3-font-xs); }
.a3-auth-tools button:hover,.a3-auth-tools > a:hover { background: var(--a3-panel-soft); transform: none; }
.a3-auth-tools .a3-auth-mode { width: 36px; margin-left: 5px; border: 1px solid var(--a3-border); border-radius: 50%; }
.a3-auth-lang { gap: 0; margin-right: 4px; padding: 0; border-radius: 0; background: transparent; }
.a3-auth-lang button { position: relative; min-height: 34px; padding: 0 8px; border-radius: 8px; color: var(--a3-muted); }
.a3-auth-lang button + button::before { content: "/"; position: absolute; left: -2px; color: var(--a3-border); }
.a3-auth-lang button.is-active { background: transparent; color: var(--a3-brand); font-weight: 800; }
.a3-auth-tools .a3-auth-redirect { padding-inline: 13px; border: 1px solid var(--a3-border); background: transparent; color: var(--a3-text); }
.a3-auth-tools .a3-auth-redirect:hover { border-color: color-mix(in srgb,var(--a3-brand) 25%,var(--a3-border)); background: var(--a3-panel-blue); color: var(--a3-brand); }

.a3-auth-form-wrap,.a3-auth-form-wrap.is-wide { width: min(100%,520px); margin: auto; padding: 42px 48px 92px; }
.a3-auth-heading { margin-bottom: 30px; }
.a3-auth-heading small { margin-bottom: 8px; font-size: var(--a3-font-2xs); letter-spacing: .12em; }
.a3-auth-heading h2 { font-size: var(--a3-font-7xl); }
.a3-auth-heading p { margin-top: 9px; font-size: var(--a3-font-sm); }
.a3-auth-field { margin-bottom: 17px; }
.a3-auth-field-label { margin: 0 0 8px; font-size: var(--a3-font-sm); }
.a3-auth .el-input__inner { height: 48px; border-radius: 11px; background: var(--a3-panel); }
.a3-auth .el-input__inner:focus,.a3-auth .el-textarea__inner:focus { box-shadow: 0 0 0 3px color-mix(in srgb,var(--a3-brand) 8%,transparent); }
.a3-auth .a3-auth-phone.el-input-group { border-radius: 11px; background: var(--a3-panel); }
.a3-auth .a3-auth-phone.el-input-group:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb,var(--a3-brand) 8%,transparent); }
.a3-auth .a3-auth-phone .el-input-group__prepend { width: 96px; min-width: 96px; background: var(--a3-panel); }
.a3-auth .a3-auth-phone .el-input-group__prepend .el-select,.a3-auth .a3-auth-phone .el-input-group__prepend .el-input { width: 96px; }
.a3-auth .a3-auth-phone .el-input-group__prepend .el-input__inner { padding-left: 15px; }
.a3-auth-code { grid-template-columns: minmax(0,1fr) 126px; gap: 10px; margin-bottom: 19px; }
.a3-auth .code-btn { border-radius: 11px; background: var(--a3-panel); }
.a3-auth-row { align-items: flex-start; margin: 18px 0 22px; line-height: 1.7; }
.a3-auth-row > span:first-child { gap: 9px; }
.a3-auth .el-checkbox { margin-top: 2px; }
.a3-auth-primary { border-radius: 11px !important; box-shadow: 0 7px 16px color-mix(in srgb,var(--a3-brand) 15%,transparent); }
.a3-auth-primary:hover { box-shadow: 0 10px 22px color-mix(in srgb,var(--a3-brand) 20%,transparent); transform: translateY(-1px); }
.a3-auth-secondary { width: auto; height: 34px; display: flex !important; margin: 12px auto 0 !important; padding: 0 10px !important; color: var(--a3-brand) !important; }
.a3-auth-secondary:hover { background: transparent !important; text-decoration: underline; text-underline-offset: 4px; }
.a3-auth-qr-toggle { right: 28px; bottom: 24px; width: 38px; height: 38px; border-radius: 50%; background: transparent; }

.a3-auth-register .a3-auth-frame { min-height: 100vh; }
.a3-auth-register .a3-auth-brand { position: sticky; top: 0; height: 100vh; min-height: 700px; }
.a3-auth-register .a3-auth-side { height: 100vh; min-height: 100vh; }
.a3-auth-register .a3-auth-form-wrap { width: min(100%,560px); margin: 0 auto; padding: 26px 48px 92px; }
.a3-auth-custom-fields { gap: 0 14px; }

@media (max-width: 1399px) {
  .a3-auth-frame { grid-template-columns: minmax(0,46fr) minmax(540px,54fr); }
  .a3-auth-brand { padding: 36px 48px; }
  .a3-auth-brand h1 { font-size: var(--a3-font-9xl); }
  .a3-auth-brand-copy { padding-bottom: 48px; }
  .a3-auth-watermark { left: 50%; width: 500px; }
  .a3-auth-form-wrap,.a3-auth-form-wrap.is-wide { padding-inline: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .a3-auth *, .a3-auth *::before, .a3-auth *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Final single-card sizing overrides legacy full-screen rules. */
body:has(.a3-auth) { overflow-y: auto; }
.a3-auth-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; overflow: visible; }
.a3-auth-frame { width: min(clamp(1180px,79vw,1520px),calc(100vw - 64px)); min-height: min(clamp(760px,45vw,860px),calc(100vh - 64px)); grid-template-columns: minmax(0,46fr) minmax(520px,54fr); overflow: hidden; border: 1px solid var(--a3-border); border-radius: 24px; background: var(--a3-panel); box-shadow: 0 24px 68px rgba(21,44,91,.11),0 4px 14px rgba(21,44,91,.05); }
html[data-aeo03-mode="dark"] .a3-auth-frame { box-shadow: 0 26px 72px rgba(0,0,0,.32),0 5px 16px rgba(0,0,0,.16); }
.a3-auth-brand { position: relative; top: auto; height: auto; min-height: 0; padding: 42px 52px; }
.a3-auth-logo-link,.a3-auth-logo { width: 214px; }
.a3-auth-brand-copy { max-width: clamp(470px,30vw,590px); padding: 30px 0 62px; }
.a3-auth-brand h1 { max-width: clamp(460px,29vw,570px); font-size: var(--a3-font-hero-wide); }
.a3-auth-brand-copy > p { max-width: clamp(410px,27vw,520px); }
.a3-auth-watermark { width: min(520px,42vw); max-height: 620px; }
.a3-auth-side { height: auto; min-height: 0; overflow: visible; }
.a3-auth-tools { min-height: 66px; padding: 14px 30px; }
.a3-auth-form-wrap,.a3-auth-form-wrap.is-wide { width: min(100%,clamp(500px,32vw,620px)); padding: 34px clamp(42px,3vw,56px) 70px; }
.a3-auth-heading { margin-bottom: 26px; }
.a3-auth-heading h2 { font-size: var(--a3-font-6xl); }
.a3-auth-register .a3-auth-page { align-items: center; }
.a3-auth-register .a3-auth-frame { min-height: 760px; }
.a3-auth-register .a3-auth-brand { position: relative; top: auto; height: auto; min-height: 100%; }
.a3-auth-register .a3-auth-side { height: auto; min-height: 760px; overflow: visible; }
.a3-auth-register .a3-auth-form-wrap { width: min(100%,clamp(540px,34vw,660px)); padding: 28px clamp(42px,3vw,56px) 72px; }
@media (max-width: 1399px) {
  .a3-auth-page { padding: 28px 32px; }
  .a3-auth-frame { width: min(1120px,calc(100vw - 64px)); min-height: min(720px,calc(100vh - 56px)); grid-template-columns: minmax(0,43fr) minmax(520px,57fr); }
  .a3-auth-brand { padding: 36px 42px; }
  .a3-auth-brand h1 { font-size: var(--a3-font-9xl); }
  .a3-auth-brand-copy { padding-bottom: 50px; }
  .a3-auth-form-wrap,.a3-auth-form-wrap.is-wide { padding-inline: 40px; }
  .a3-auth-register .a3-auth-frame,.a3-auth-register .a3-auth-side { min-height: 720px; }
}
