/* Shared by the React SSO entry and standalone test-account entry. */
.auth-page { box-sizing: border-box; min-height: 100vh; min-height: 100svh; padding: 72px 32px 64px; display: flex; flex-direction: column; justify-content: center; color: var(--app-text-primary, #1e293b); background: var(--app-body-bg, #f6f8fb); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; }
.auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
.auth-layout { width: 100%; max-width: 960px; margin: auto; display: grid; grid-template-columns: 1fr 420px; align-items: center; gap: 96px; }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 64px; }
.auth-brand-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: #2563eb; font-size: 22px; }
.auth-brand-icon img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.auth-brand strong { font-size: 20px; font-weight: 650; letter-spacing: -.6px; }
.auth-eyebrow { font-size: 11px; color: #2563eb; letter-spacing: 2px; }
.auth-story h2 { margin: 20px 0; font-size: 44px; font-weight: 650; line-height: 1.4; letter-spacing: -1.8px; }
.auth-story > p { margin: 0; color: var(--app-text-secondary, #64748b); line-height: 1.9; font-size: 14px; }
.auth-features { display: grid; gap: 13px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--app-card-border, #e5eaf1); }
.auth-features > span { display: flex; align-items: center; gap: 10px; color: var(--app-text-secondary, #64748b); font-size: 12px; }
.auth-features .anticon, .auth-features b { color: #2563eb; font-weight: 500; }
.auth-panel { padding: 40px; background: var(--app-card-bg, #fff); border: 1px solid var(--app-card-border, #e8ecf2); border-radius: 16px; box-shadow: 0 16px 60px -24px #233b5a1f; }
.auth-panel-label { display: inline-flex; align-items: center; gap: 6px; color: var(--app-text-secondary, #64748b); font-size: 11px; }
.auth-test-badge { gap: 7px; }
.auth-test-badge i { width: 6px; height: 6px; border-radius: 50%; background: #d19b34; }
.auth-panel h1 { margin: 19px 0 8px; font-size: 27px; line-height: 1.4; letter-spacing: -.7px; font-weight: 650; }
.auth-panel-description { margin: 0 0 30px; color: var(--app-text-secondary, #64748b); line-height: 1.8; font-size: 12px; }
.auth-panel label { display: block; margin: 19px 0 8px; font-size: 12px; font-weight: 500; }
.auth-panel input { width: 100%; height: 44px; padding: 10px 12px; border: 1px solid #dce2eb; border-radius: 7px; color: #1e293b; background: #fff; font: inherit; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.auth-panel input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px #2563eb12; }
.auth-submit { width: 100%; display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 26px; border: 0; border-radius: 7px; color: #fff; background: #2563eb; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .15s; }
.auth-submit:hover { background: #1d4ed8; }
.auth-submit:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.auth-submit:disabled { cursor: wait; opacity: .6; }
.auth-panel .auth-sso-button { height: 44px; font-size: 13px; }
.auth-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; color: var(--app-text-secondary, #64748b); font-size: 10px; line-height: 1.7; text-align: center; }
.auth-error { color: #b42318; margin-top: 14px; line-height: 1.6; font-size: 12px; }
.auth-error:empty { display: none; }
.auth-footer { margin-top: 64px; text-align: center; color: var(--app-text-secondary, #64748b); font-size: 10px; letter-spacing: .5px; }
@media (max-width: 860px) {
 .auth-layout { max-width: 740px; grid-template-columns: 1fr 360px; gap: 40px; }
 .auth-panel { padding: 30px; }
 .auth-story h2 { font-size: 36px; }
}
@media (max-width: 640px) {
 .auth-page { padding: 32px 20px; }
 .auth-layout { display: block; max-width: 400px; }
 .auth-brand { justify-content: center; margin-bottom: 28px; }
 .auth-eyebrow, .auth-story h2, .auth-story > p, .auth-features { display: none; }
 .auth-panel { padding: 30px 24px; }
 .auth-panel h1 { font-size: 25px; }
 .auth-footer { margin-top: 32px; }
}
