/* Sign-in and set-password screens. Large Chairman sizing: the Chairman sees these too. */
html { height: 100%; }
body.auth { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 560px); grid-template-rows: 1fr; background: var(--c-bg); }

.auth-hero { background: var(--grad-hero); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; position: relative; overflow: hidden; }
.auth-hero::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.auth-brand { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 20px; }
.auth-brand .brand-mark { background: rgba(255, 255, 255, .2); color: #fff; }
.auth-hero h1 { font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; max-width: 14ch; }
.auth-hero p { font-size: 20px; line-height: 1.5; opacity: .95; max-width: 34ch; margin-top: 16px; }
.auth-companies { font-size: 16px; opacity: .9; line-height: 1.7; position: relative; z-index: 1; }

.auth-main { display: grid; align-content: center; padding: 48px 56px; }
.auth-card { display: grid; gap: 8px; max-width: 440px; width: 100%; margin: 0 auto; }
.auth-card h2 { font-size: 32px; letter-spacing: -0.02em; }
.auth-card .lead { color: var(--c-muted); font-size: 18px; margin-bottom: 20px; }
.auth-card .field { margin-bottom: 20px; }
.auth-card .input { min-height: 56px; font-size: 18px; width: 100%; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 96px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 44px; padding: 0 14px; font-size: 16px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 18px; min-height: 48px; cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--c-primary-hover); }
.auth-card .btn-primary { width: 100%; min-height: 56px; font-size: 19px; background: var(--c-primary-hover); border-color: var(--c-primary-hover); }
.auth-card .btn-primary:hover { background: #1e3a8a; }
.auth-error { min-height: 28px; color: var(--c-red-ink); font-size: 17px; font-weight: 600; }
.auth-foot { margin-top: 24px; color: var(--c-muted); font-size: 16px; }

@media (max-width: 900px) {
  body.auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-hero { padding: 28px 24px; gap: 16px; }
  .auth-hero h1 { font-size: 28px; max-width: none; }
  .auth-hero p, .auth-companies { display: none; }
  .auth-main { padding: 28px 20px 40px; align-content: start; }
  .auth-card h2 { font-size: 28px; }
}
