/* Sign-in screens and Account page (public/auth.js). Tokens from styles.css. */
.auth-wrap { max-width: 34rem; }
.auth-card { margin: 1rem 0; }
.auth-card h2 { margin-top: 0; }
.auth-card .field + .field { margin-top: 1.1rem; }
.auth-wrap input[type="email"], .auth-card input[type="email"] {
  width: 100%; font: inherit; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid #9d94ad; border-radius: 10px; background: #fff; color: var(--ink);
}
.auth-wrap input[type="email"]:focus-visible { border-color: var(--brand); }
.auth-password { display: flex; gap: 0.5rem; align-items: stretch; }
.auth-password input { flex: 1 1 auto; min-width: 0; }
.auth-show { flex: 0 0 auto; min-width: 4.5rem; }
.auth-submit { min-width: 12rem; }
.auth-facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.25rem; margin: 0 0 1rem; }
.auth-facts dt { font-weight: 650; }
.auth-facts dd { margin: 0; overflow-wrap: anywhere; }
.auth-outbox-list { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.auth-outbox-list p { margin: 0 0 0.35rem; overflow-wrap: anywhere; }
.verify-banner {
  background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid #eed48a;
  padding: 10px 16px; font-size: 0.95rem; font-weight: 600; text-align: center;
}
.verify-banner a { color: inherit; }
.verify-banner[hidden] { display: none; }
@media (max-width: 640px) {
  .auth-submit { width: 100%; }
  .auth-facts { grid-template-columns: 1fr; gap: 0.15rem; }
  .auth-facts dd { margin-bottom: 0.6rem; }
}

/* DMO Account sign-in (dmoSignInPage): the same two-panel look as the DMO Account page people land on next
   (loomcrm docs/DESIGN.md: plum sidebar, ivory ground, soft card, pill buttons). body.auth-split hides the site chrome. */
body.auth-split { background: #f6f1e7; }
body.auth-split .site-header, body.auth-split .site-footer { display: none; }
body.auth-split main.wrap { max-width: none; padding: 0; }
.auth-split-layout { display: grid; grid-template-columns: minmax(18rem, 26rem) 1fr; min-height: 100vh; }
.auth-split-side {
  background: #221640; color: #f1ecfa; padding: 2.25rem 2.25rem 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
}
.auth-split-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #f1ecfa; text-decoration: none; }
.auth-split-brand:focus-visible { outline: 3px solid #f0b400; outline-offset: 4px; border-radius: 6px; }
.auth-split-dmo { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.auth-split-pill {
  background: #3d2c6e; color: #f1ecfa; border-radius: 999px; padding: 0.3rem 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.auth-split-head { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.25; margin: 0 0 0.9rem; color: #f1ecfa; }
.auth-split-pitch p:not(.auth-split-head) { color: #bdb3da; margin: 0; }
.auth-split-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1.5rem; gap: 1.25rem; }
.auth-split-card {
  width: 100%; max-width: 30rem; background: #fffdf8; border: 1px solid #e6dfd1; border-radius: 28px;
  padding: 2.25rem 2rem 2rem; box-shadow: 0 1px 0 rgba(36, 27, 51, 0.04), 0 18px 40px -20px rgba(36, 27, 51, 0.28);
}
.auth-split-card h1 { font-size: 2.1rem; margin: 0 0 0.6rem; }
.auth-split-lead { margin: 0 0 1.4rem; color: #241b33; }
.auth-split-card .notice { margin: 0 0 1.2rem; }
.auth-split-go { display: flex; width: 100%; min-height: 3.75rem; justify-content: center; align-items: center; font-size: 1.05rem; }
.auth-split-links { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.25rem 0 0; font-weight: 600; }
.auth-split-links a { color: var(--brand); }
.auth-split-note { margin: 1rem 0 0; color: #5e566b; font-size: 0.92rem; }
.auth-split-legal { margin: 0; color: #5e566b; font-size: 0.9rem; }
.auth-split-legal a { color: #5e566b; }
@media (max-width: 860px) {
  .auth-split-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-split-side { padding: 1rem 16px; flex-direction: row; align-items: center; }
  .auth-split-pitch { display: none; }
  .auth-split-dmo { font-size: 1.6rem; }
  .auth-split-main { justify-content: flex-start; padding: 1.5rem 16px 2.5rem; }
  .auth-split-card { padding: 1.75rem 1.25rem 1.5rem; border-radius: 22px; }
}
