/* Вход и регистрация (макет 24 Auth) — карточка формы, справа на десктопе блок о платформе. */
.au-body { min-height: 100vh; margin: 0; background: var(--ui-bg); color: var(--ui-text); font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, sans-serif); }
.au-shell { min-height: 100vh; display: flex; align-items: stretch; }
.au-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; gap: 18px; }
.au-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ui-text); font-size: 17px; font-weight: 800; }
.au-logo__mark { width: 32px; height: 32px; border-radius: var(--ui-r-10); background: var(--ui-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.au-logo span span { color: var(--ui-accent); }
.au-card { width: 100%; max-width: 440px; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-r-18); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--ui-shadow-window); }
.au-card--wide { max-width: 520px; }
.au-title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
.au-sub { margin: -10px 0 0; font-size: 14.5px; color: var(--ui-text-3); line-height: 1.5; }
.au-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-social__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: var(--ui-r-11); border: 1px solid var(--ui-border); background: var(--ui-surface); color: var(--ui-text); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.au-social__btn:hover { border-color: var(--ui-border-strong); color: var(--ui-text); }
.au-social__mark { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; }
.au-social__mark--vk { background: #0077ff; }
.au-social__mark--ya { background: #fc3f1d; }
.au-or { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ui-text-muted); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--ui-border); }
.au-form { display: flex; flex-direction: column; gap: 14px; }
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.au-link { font-size: 13px; font-weight: 600; color: var(--ui-accent); text-decoration: none; }
.au-link:hover { text-decoration: underline; color: var(--ui-accent-dark); }
.au-pass { position: relative; }
.au-pass .ui-input { padding-right: 84px; }
.au-pass__toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ui-text-3); cursor: pointer; padding: 4px 6px; }
.au-error { font-size: 13px; color: var(--ui-danger-text); }
.au-error:empty { display: none; }
.au-foot { text-align: center; font-size: 14px; color: var(--ui-text-3); }
.au-back { font-size: 14px; font-weight: 600; color: var(--ui-text-3); text-decoration: none; }
.au-hint { font-size: 12.5px; color: var(--ui-text-muted); }
.au-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-role { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--ui-r-14); border: 1.5px solid var(--ui-border); background: var(--ui-surface); cursor: pointer; }
.au-role input { position: absolute; opacity: 0; pointer-events: none; }
.au-role__title { font-size: 15px; font-weight: 800; }
.au-role__sub { font-size: 12.5px; color: var(--ui-text-3); line-height: 1.45; }
.au-role:has(input:checked) { border-color: var(--ui-accent); background: var(--ui-accent-bg); }
.au-role:has(input:checked) .au-role__title { color: var(--ui-accent-dark); }
.au-role:has(input:focus-visible) { outline: 2px solid var(--ui-accent); outline-offset: 2px; }
.au-state-icon { width: 52px; height: 52px; border-radius: var(--ui-r-15); display: flex; align-items: center; justify-content: center; background: var(--ui-accent-bg); color: var(--ui-accent-dark); font-size: 22px; font-weight: 800; }
.au-state-icon--warn { background: var(--ui-warning-bg); color: var(--ui-warning-text); }
.au-state-icon--danger { background: var(--ui-danger-bg); color: var(--ui-danger-text); }
.au-aside { width: 44%; max-width: 620px; background: var(--ui-dark); color: #cbd5e1; padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.au-aside__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a5b4fc; }
.au-aside__title { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.025em; color: #fff; line-height: 1.2; }
.au-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.au-aside li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.au-aside li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; flex: none; border-radius: 50%; background: #818cf8; }
.au-code { font-family: 'JetBrains Mono', monospace; font-size: 34px; font-weight: 700; letter-spacing: .12em; text-align: center; padding: 18px; border-radius: var(--ui-r-14); background: var(--ui-sub); color: var(--ui-text); }
.au-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.au-actions .ui-btn { flex: 1; }
@media (max-width: 960px) { .au-aside { display: none; } }
@media (max-width: 640px) {
  .au-main { justify-content: flex-start; padding-top: 24px; }
  .au-card { padding: 22px 18px; border-radius: var(--ui-r-16); box-shadow: none; }
  .au-title { font-size: 22px; }
}
.au-summary.validation-summary-valid { display: none; }
.au-summary ul { margin: 0; padding-left: 18px; }
