/* Sign in, sign up and password pages. Builds on site.css tokens. */
.auth { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.auth.single { grid-template-columns: minmax(0, 440px); justify-content: center; }
.auth-pitch { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.auth-pitch h1 { margin: 0; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.auth-pitch h1 b { color: var(--blue); font-weight: 600; }
.auth-pitch p { margin: 0; color: var(--muted); font-size: 18px; max-width: 52ch; }
.auth-ticks { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.auth-ticks div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; max-width: 420px; }
.auth-ticks .k { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.auth-ticks .v { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.auth-ticks .up { color: var(--gain); } .auth-ticks .down { color: var(--watch); }
.auth-list { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 16px; }
.auth-list li { display: flex; gap: 10px; align-items: flex-start; }
.auth-list li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 9px; background: var(--gain-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E7A4E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.auth-card h2 { margin: 0; font-size: 26px; letter-spacing: -0.02em; font-weight: 600; }
.auth-card .sub { margin: -10px 0 0; color: var(--muted); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field .row a { font-size: 14px; }
.field .hint { font-size: 13px; color: var(--soft); }
.input { position: relative; }
.input input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: 16px var(--sans); }
.input input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.input input[aria-invalid="true"] { border-color: var(--loss); }
.input .eye { position: absolute; right: 6px; top: 7px; height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 14px var(--sans); cursor: pointer; }
.input .eye:hover { background: var(--surface-2); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.msg { padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.msg.err { background: var(--loss-tint); color: var(--loss); }
.msg.ok { background: var(--gain-tint); color: var(--gain); }
.btn-block { width: 100%; min-height: 48px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.auth-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); padding: 12px; border-radius: 10px; background: var(--surface-2); }
.auth-note svg { flex-shrink: 0; margin-top: 1px; color: var(--gain); }
@media (max-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; } .auth-pitch { order: 2; } }
@media (max-width: 560px) { .auth-card { padding: 24px 20px; } }
