/* Сайт v3 — вход и смена пароля (brandbook 10.1, «Экран входа»). */
:root { --auth-cat: 280px; }
.v3-auth-top { position: fixed; top: 20px; left: 32px; right: 28px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.v3-wordmark { font: 700 var(--fs-block)/1 var(--display); color: var(--text); text-decoration: none; }
.v3-wordmark span { color: var(--purple-deep); }
.v3-preview-note { position: fixed; left: 16px; bottom: 16px; margin: 0; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); font-size: var(--fs-label); color: var(--muted); box-shadow: var(--shadow-soft); z-index: 2; }

.v3-auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(var(--auth-cat) * .5 + 72px) 32px 48px; }
.v3-auth-card { position: relative; width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-soft); padding: calc(var(--auth-cat) * .28) 40px 32px; }
.v3-auth-card__cat { position: absolute; left: 50%; top: calc(var(--auth-cat) * -.48); width: var(--auth-cat); transform: translateX(-50%); }
.v3-auth-card__cat img { display: block; width: 100%; height: auto; }
.v3-auth-card h1 { font: 700 var(--fs-page)/1.2 var(--display); margin: 0 0 8px; text-align: center; text-wrap: balance; }
.v3-auth-card__lead { color: var(--muted); margin: 0 0 28px; text-align: center; }
.v3-auth-card .v3-btn { width: 100%; }
.v3-auth-card .v3-btn--primary { margin-top: 8px; }
.v3-auth-logout { margin-top: 12px; }
.v3-auth-card__note { font-size: var(--fs-secondary); color: var(--muted); margin: 16px 0 0; text-align: center; }

@media (max-width: 640px) {
  :root { --auth-cat: 200px; }
  .v3-auth-top { top: 12px; left: 16px; right: 12px; }
  .v3-auth { padding-left: 16px; padding-right: 16px; }
  .v3-auth-card { padding-left: 20px; padding-right: 20px; }
  .v3-auth-card h1 { font-size: 24px; }
  .v3-preview-note { display: none; }
}
