.auth-body { --primary: #2563eb; --primary-light: #eff6ff; --text: #172b4d; --muted: #5e6c84; --border: #e5e7eb; --bg: #f6f7f9; min-width: 320px; min-height: 100dvh; color: var(--text); background: var(--bg); }
.auth-body :focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.auth-layout { width: min(420px,calc(100% - 32px)); margin: 72px auto 40px; }
.auth-panel { padding: 32px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 8px 28px #0f172a0d; }
.auth-panel h1 { margin: 0 0 28px; font-size: 20px; line-height: 1.4; font-weight: 600; }
.auth-form { display: grid; gap: 20px; }
.auth-field { display: block; }
.auth-field > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; }
.auth-field .input { height: 44px; padding: 10px 12px; border-color: #d8dee7; border-radius: 7px; color: var(--text); background: #fff; font-size: 14px; }
.auth-field .input::placeholder { color: #64748b; }
.auth-field .input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px #2563eb14; }
.auth-field .input[aria-invalid="true"] { border-color: #b42318; }
.auth-field small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.auth-body .auth-submit { width: 100%; min-height: 44px; margin-top: 4px; border-radius: 7px; color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: none; font-size: 14px; font-weight: 500; }
.auth-body .auth-submit:hover:not(:disabled) { background: #1d4ed8; }
.auth-status { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.auth-status-ready { color: #15803d; }
.auth-status-error { color: #b42318; }
.auth-assistance { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 600px) { .auth-layout { margin-top: 32px; } .auth-panel { padding: 24px; } }
