* { box-sizing: border-box; }
body.brand-auth-page { margin: 0; min-height: 100vh; color: #263549; font: 15px/1.6 "Microsoft YaHei", sans-serif; }
.brand-auth-page header { display: flex; justify-content: space-between; padding: 18px 5%; background: var(--brand-nav); }
.brand-auth-page header a { color: #e7f1ff; text-decoration: none; }
.brand-auth-card { width: min(440px, calc(100% - 32px)); margin: 40px auto; padding: 28px; border: 1px solid #cbd3df; border-radius: 8px; background: var(--brand-paper); box-shadow: var(--brand-raised); }
.brand-auth-card h1 { margin: 0 0 8px; font-size: 24px; }
.brand-auth-card p { color: #5d6f85; }
.brand-auth-card .field { margin: 16px 0; }
.brand-auth-card label { display: block; margin-bottom: 6px; }
.brand-auth-card input:not([type=checkbox]) { width: 100%; min-height: 44px; border: 1px solid #cbd3df; border-radius: 6px; padding: 8px 12px; font: inherit; }
.brand-auth-card button, .brand-auth-card .button { min-height: 42px; border: 1px solid #cbd3df; border-radius: 6px; padding: 8px 14px; background: var(--brand-control); color: #263549; font: inherit; cursor: pointer; }
.brand-auth-card button[type=submit] { background: var(--brand-primary); color: #fff; }
.brand-auth-card button:disabled { opacity: .55; cursor: wait; }
.brand-auth-card .input svg { display: none; }
.brand-auth-card .captcha-row, .brand-auth-card .sms-row { display: flex; gap: 8px; }
.brand-auth-card .captcha-row input, .brand-auth-card .sms-row input { min-width: 0; }
.brand-auth-card .captcha-box, .brand-auth-card .captcha-button { flex: 0 0 130px; }
.brand-auth-card img { max-width: 120px; max-height: 48px; }
.brand-auth-card a { color: #2168bc; }
.brand-auth-card nav { margin-top: 20px; }
.brand-auth-card #msg { color: #a32936; }
.brand-auth-card #msg.ok { color: #087f5b; }
.brand-auth-card [hidden] { display: none !important; }
