/* log in, create account, reset password, 2-step (views/site/auth/*.php); classes prefixed au- */
.au { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: calc(100vh - 72px); border-top: 1px solid var(--line); }
.au-form { display: flex; flex-direction: column; padding: 28px 56px 72px; background: var(--surface); }
.au-top { width: 100%; max-width: 400px; align-self: center; text-align: right; color: var(--ink-muted); font-size: 14px; }
.au-top a, .au-sub a, .au-alt a, .au-hint a, .au-field label a { color: var(--accent-hover); font-weight: 600; text-decoration: none; }
.au-top a:hover, .au-sub a:hover, .au-alt a:hover, .au-hint a:hover, .au-field label a:hover { text-decoration: underline; }
.au a:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
.au-body { margin: auto 0; width: 100%; max-width: 400px; align-self: center; display: grid; gap: 20px; padding-block: 40px; }
.au-body h1 { font-size: clamp(32px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.04em; }
.au-sub { color: var(--ink-muted); margin-top: -8px; }
.au-body > .btn { width: 100%; }

.au-field { display: grid; gap: 8px; }
.au-field label { font: 600 14px/1.3 var(--body); display: flex; justify-content: space-between; gap: 12px; }
.au-field label a { font-weight: 500; }
.au-in { display: flex; align-items: center; min-height: 52px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); padding: 0 6px 0 16px; }
.au-in:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.au-in input { flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 16px var(--body); }
.au-show { min-width: 52px; min-height: 40px; border: 0; background: none; color: var(--ink-muted); font: 600 13px var(--body); cursor: pointer; border-radius: 10px; }
.au-show:hover { color: var(--ink); background: var(--panel); }
.au-show:focus-visible { outline: none; box-shadow: var(--ring); }

.au-check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-muted); cursor: pointer; }
.au-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.au-check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.au-alt { text-align: center; color: var(--ink-muted); font-size: 15px; }
.au-hint { color: var(--ink-muted); font-size: 13px; }
.au-center { text-align: center; }

.au-social { display: grid; gap: 10px; }
.au-sbtn { width: 100%; gap: 12px; background: var(--surface); }
.au-sbtn svg { width: 20px; height: 20px; }
.au-or { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 13px; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Form::errors() (template in themes/default/init.php) */
.au .alert { padding: 12px 16px; border-radius: var(--r-md); border: 1px solid #F2B8B5; background: #FDF0EF; color: #8C1D18; font-size: 15px; }
.au .alert strong { display: block; font-weight: 600; margin-bottom: 4px; }
.au .alert__close { display: none; }
.au .alert ul { margin: 0; padding-left: 18px; }
.au .alert a { color: inherit; font-weight: 600; }

.au-art { position: relative; overflow: hidden; background: var(--hero); color: var(--on-hero); padding: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; isolation: isolate; }
.au-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 70% 20%, rgba(43,89,240,.35), transparent 70%); }
.au-quote { max-width: 30ch; font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.au-quote small { display: block; margin-top: 14px; font: 500 14px/1.4 var(--body); color: var(--on-hero-muted); letter-spacing: 0; }
.au-shots { position: relative; height: 420px; }
.au-shots .frame { position: absolute; width: 112%; left: 0; top: 0; border-color: rgba(255,255,255,.08); }
.au-shots .phone { position: absolute; width: 170px; right: 4%; top: 90px; }
.au-art ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.au-art li { padding: 8px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); font-size: 14px; }

@media (max-width: 980px) {
  .au { grid-template-columns: 1fr; min-height: 0; }
  .au-art { display: none; }
  .au-form { padding: 20px 16px 64px; }
  .au-body { padding-block: 24px; }
}
