/* ============================================================
   CoreRoom — Sign-in screen
   Full-screen split: brand panel (left) + sign-in form (right).
   Shown on load; dismissed on sign-in. Matches app tokens.
   ============================================================ */
.auth-ov { position: fixed; inset: 0; z-index: 9000; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--surface); }
.auth-ov.hide { display: none; }

/* ---- brand panel ---- */
.auth-brand { position: relative; overflow: hidden; background: linear-gradient(150deg, #2A2620 0%, #45392B 60%, #5A4631 100%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 46px 52px; }
.auth-topo { position: absolute; inset: 0; opacity: 0.16; pointer-events: none; }
.auth-brand-top { position: relative; display: flex; align-items: center; gap: 12px; }
.auth-logo { width: 38px; height: 38px; }
.auth-wordmark { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.auth-brand-mid { position: relative; max-width: 460px; }
.auth-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.auth-head { font-size: 36px; font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance; }
.auth-head em { font-style: normal; color: #E8A36A; }
.auth-sub { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.72); margin-top: 20px; max-width: 420px; text-wrap: pretty; }
.auth-brand-foot { position: relative; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.auth-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,0.72); }
.auth-pill .d { width: 6px; height: 6px; border-radius: 50%; background: #E8A36A; }
.auth-logos { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.auth-logos-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.auth-logo-chip { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: -0.01em; }

/* ---- form panel ---- */
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-form { width: 100%; max-width: 360px; }
.auth-form-h { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; }
.auth-form-sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.auth-field { margin-top: 16px; }
.auth-label { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.auth-input { width: 100%; font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--surface-warm); border: 1px solid var(--hairline); border-radius: 10px; padding: 11px 13px; transition: 0.15s; }
.auth-input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-input::placeholder { color: var(--faint); }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.auth-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); cursor: pointer; user-select: none; white-space: nowrap; }
.auth-check input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
.auth-forgot { font-size: 12.5px; color: var(--accent-ink); cursor: pointer; }
.auth-forgot:hover { text-decoration: underline; }
.auth-submit { width: 100%; margin-top: 20px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: #fff; background: var(--accent); border: none; border-radius: 10px; padding: 12px; cursor: pointer; transition: 0.15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.auth-submit:hover { background: var(--accent-ink); }
.auth-submit svg { width: 16px; height: 16px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--faint); font-size: 11.5px; font-family: var(--mono); letter-spacing: 0.06em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.auth-sso { width: 100%; font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; padding: 11px; cursor: pointer; transition: 0.15s; display: flex; align-items: center; justify-content: center; gap: 9px; }
.auth-sso:hover { border-color: var(--faint); background: var(--surface-warm); }
.auth-sso svg { width: 16px; height: 16px; color: var(--muted); }
.auth-foot { margin-top: 26px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--accent-ink); cursor: pointer; font-weight: 500; }
.auth-foot a:hover { text-decoration: underline; }
.auth-legal { margin-top: 22px; font-size: 11px; color: var(--faint); text-align: center; line-height: 1.5; }

@media (max-width: 820px) {
  .auth-ov { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
}

/* ---- auth status messages + disabled invite email (P0.1c) ---- */
.auth-msg { min-height: 18px; margin-top: 12px; font-size: 12.5px; line-height: 1.45; }
.auth-err { color: #B42828; }
.auth-ok { color: var(--accent-ink); }
.auth-input:disabled { color: var(--muted); background: var(--soft, #f2efe9); cursor: not-allowed; opacity: 0.85; }
