/* 登录与扫码共用样式；限定 auth 前缀，避免影响薪资业务页面。 */
.auth-body { margin: 0; }
.auth-shell, .auth-confirmation { font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, sans-serif; color: #243a34; font-size: 14px; line-height: 1.6; }
.auth-shell *, .auth-confirmation * { box-sizing: border-box; }
.auth-shell { min-height: 100vh; min-height: 100dvh; display: flex; justify-content: center; align-items: center; padding: 40px 20px; background: radial-gradient(ellipse at 14% 12%, #e8f1ec 0, transparent 50%), radial-gradient(ellipse at 90% 90%, #eaf0f2 0, transparent 48%), #f6f8f7; }
.auth-layout { width: 440px; max-width: 100%; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 26px; color: #245c49; font-size: 19px; font-weight: 650; letter-spacing: .1px; }
.auth-brand img { width: 32px; height: 32px; border-radius: 9px; }
.auth-brand b { font-size: 13px; font-weight: 400; color: #647b71; border-left: 1px solid #c9d6cf; padding-left: 12px; margin-left: 10px; }
.auth-card { padding: 36px 38px 28px; background: #fff; border: 1px solid #e2e9e4; border-radius: 20px; box-shadow: 0 16px 60px -28px #294b3d40, 0 2px 8px #294b3d04; }
.auth-step { display: flex; justify-content: space-between; align-items: center; color: #628173; font-size: 12px; letter-spacing: 1px; margin-bottom: 18px; }
.auth-step span { color: #85968f; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: 2px; }
.auth-card h1 { margin: 0; font-size: 27px; line-height: 1.4; font-weight: 650; letter-spacing: -.5px; color: #213b30; }
.auth-subtitle { margin: 10px 0 0; color: #708078; font-size: 14px; }
.auth-form { margin-top: 30px; }
.auth-form label { display: block; margin: 20px 0 8px; color: #354d42; font-size: 13px; font-weight: 550; }
.auth-form input:not([type=hidden]) { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d8e2db; border-radius: 8px; background: #fcfdfc; color: #243a34; font: inherit; transition: border-color .15s, box-shadow .15s; }
.auth-form input::placeholder { color: #98a49d; font-size: 13px; }
.auth-form input:hover { border-color: #a5bdaf; }
.auth-form input:focus { outline: none; border-color: #397b5e; box-shadow: 0 0 0 3px #397b5e15; background: #fff; }
.auth-primary { width: 100%; height: 48px; margin-top: 28px; padding: 0 18px; display: flex; justify-content: center; align-items: center; gap: 10px; background: #216a50; color: #fff; border: 1px solid #216a50; border-radius: 8px; font: inherit; font-weight: 550; cursor: pointer; transition: background .15s; }
.auth-primary:hover { background: #19543f; }
.auth-primary span { font-size: 19px; line-height: 1; }
.auth-primary:focus-visible, .auth-link:focus-visible { outline: 3px solid #8bb7a1; outline-offset: 3px; }
.auth-login-note { border-top: 1px solid #edf1ee; padding-top: 22px; margin: 26px 0 0; color: #89958e; font-size: 12px; text-align: center; line-height: 1.9; }
.auth-footer { margin: 22px 0 0; text-align: center; font-size: 12px; color: #8a9990; letter-spacing: .5px; }
.auth-card-scan { padding-top: 28px; }
.auth-qr { position: relative; width: 300px; max-width: 100%; height: 400px; margin: 10px auto 0; background: white; }
.auth-qr-frame { width: 100%; height: 400px; border: 0; display: block; }
.auth-qr-status { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; }
.auth-qr-status strong { font-size: 14px; font-weight: 500; }
.auth-qr-status span:not(.auth-spinner) { color: #819086; font-size: 12px; }
.auth-qr-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #819086; }
.auth-spinner { display: inline-block; width: 24px; height: 24px; border: 2px solid #e5ede7; border-top-color: #367c5f; border-radius: 50%; animation: auth-spin .85s linear infinite; }
.auth-hint { margin: 8px 0 20px; text-align: center; font-size: 12px; color: #849289; }
.auth-actions { display: flex; align-items: center; justify-content: center; gap: 28px; border-top: 1px solid #edf1ee; padding-top: 16px; }
.auth-actions form { margin: 0; }
.auth-link { padding: 6px 2px; border: 0; background: none; color: #216a50; font: inherit; font-size: 13px; cursor: pointer; }
.auth-link:hover { color: #124a35; text-decoration: underline; text-underline-offset: 4px; }
.auth-link-muted { color: #819086; }
.auth-link:disabled { color: #a5afa9; cursor: wait; text-decoration: none; }
.auth-error { margin: 18px 0 0; padding: 12px 14px; border: 1px solid #f0d9d4; border-radius: 8px; background: #fff8f6; color: #a34436; font-size: 13px; line-height: 1.7; }
.auth-confirmation .auth-subtitle { margin-top: 16px; text-align: center; }
.auth-operation { padding: 10px 14px; border-radius: 8px; background: #f5f8f6; color: #5d7567; text-align: center; overflow-wrap: anywhere; font-size: 12px; margin: 16px 0 0; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .auth-spinner { animation: none; } }
@media (max-width: 480px) { .auth-shell { padding: 24px 16px; } .auth-card { padding: 26px 22px 22px; border-radius: 16px; } .auth-brand { margin-bottom: 20px; } .auth-card h1 { font-size: 25px; } }
