.auth-section { max-width:520px; margin:32px auto 64px; }
.auth-card { padding:30px; }
.auth-card h1 { font-size:30px; line-height:1.2; margin:0 0 14px; letter-spacing:-.025em; }
.auth-intro { color:var(--text-secondary); line-height:1.55; margin:0 0 24px; overflow-wrap:anywhere; }
.auth-form { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
.auth-form label { font-weight:600; font-size:14px; margin-top:6px; }
.auth-form input:not([type=hidden]) { width:100%; min-width:0; min-height:48px; padding:12px; border:1px solid var(--border); border-radius:8px; font:inherit; background:white; color:var(--text); }
.auth-form .btn { min-height:48px; margin-top:10px; }
.auth-recover { justify-self:end; font-size:14px; padding:4px 0; }
.auth-help,.auth-small { color:var(--text-secondary); font-size:13px; line-height:1.55; }
.auth-help { margin:0; }
.auth-small { margin:20px 0 0; }
.auth-signup { font-size:14px; margin:20px 0; text-align:center; }
.auth-signup a { font-weight:650; }
.auth-divider { display:flex; align-items:center; gap:14px; color:var(--text-muted); font-size:13px; margin:24px 0; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background:var(--border); }
.auth-yandex { gap:10px; min-height:48px; }
.auth-error,.auth-notice { padding:14px; border-radius:8px; font-size:14px; line-height:1.5; margin:16px 0; overflow-wrap:anywhere; }
.auth-error { background:#fff1ee; color:#8c3022; border:1px solid #edc9bf; }
.auth-notice { background:#eef5ec; color:#345530; border:1px solid #cbdcc7; }
.auth-back { display:inline-flex; min-height:44px; align-items:center; margin-bottom:12px; font-size:14px; }
.auth-restart { margin:24px 0; font-size:14px; }
.auth-restart summary { cursor:pointer; padding:10px 0; }
@media(max-width:600px) { .auth-section { margin:16px auto 40px; } .auth-card { padding:22px 18px; } .auth-card h1 { font-size:27px; } }
