.auth-page { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; box-sizing: border-box; background: var(--smg-gray-100, #f2f3f5); color: var(--smg-ink, #212121); font-family: var(--smg-font-body, sans-serif); }
.auth-panel { box-sizing: border-box; width: min(100%, 440px); padding: 40px; background: white; border-radius: 16px; }
.auth-logo { display: block; margin-bottom: 24px; }
.auth-product { color: #594b75; font-size: 15px; margin: 0 0 12px; }
.auth-panel h1 { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; margin: 0 0 16px; }
.auth-description { color: #514b5b; font-size: 16px; line-height: 1.5; margin: 0 0 28px; }
.auth-primary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; background: var(--smg-violet, #6228ff); color: white; text-decoration: none; border-radius: 12px; font-size: 16px; font-weight: 500; }
.auth-primary:hover { background: #5120d6; }
.auth-primary:focus-visible, .auth-logout:focus-visible { outline: 3px solid #816dff; outline-offset: 4px; }
.auth-note { font-size: 14px; line-height: 1.5; color: #62586f; margin: 20px 0 0; }
.auth-error { font-size: 15px; line-height: 1.5; background: #fff0f0; color: #92242c; padding: 16px; border-radius: 8px; margin: 0 0 24px; }
.auth-logout { display: block; background: transparent; border: 0; padding: 12px 16px; color: #6228ff; cursor: pointer; font: inherit; text-align: left; width: 100%; }
.auth-logout:hover { background: #f6f1ff; }
.rail-user { flex-wrap: wrap; }
.rail-user .auth-logout-form { flex-basis: 100%; }
@media (max-width: 480px) { .auth-panel { padding: 28px 24px; } }
