:root {
  --crm-ink: #0f1b33;
  --crm-muted: #7b8ba3;
  --crm-accent: #1f6fd1;
  --crm-accent-hot: #1857a8;
  --crm-line: #e4ebf4;
  --crm-panel: #ffffff;
  --crm-field: #ffffff;
  --crm-canvas: #eef2f7;
  --crm-gold: #f5c542;
  --font: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.crm-auth {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--crm-ink);
  background: var(--crm-canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Soft page canvas for login (mockup) */
body.crm-auth--login {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, #f7f9fc 0%, transparent 60%),
    var(--crm-canvas);
}

.crm-auth__stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #0b1220;
  background-image: var(--crm-login-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}
body.crm-auth--login .crm-auth__stage { display: none; }

.crm-auth__stage-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(35, 91, 156, 0.28), transparent 55%),
    linear-gradient(135deg, rgba(8, 15, 28, 0.72) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(251, 251, 251, 0.88) 100%);
}

.crm-auth__frame {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 20px 18px;
}

.crm-auth__shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid rgba(15, 27, 51, 0.06);
  border-radius: 20px;
  overflow: hidden;
  background: var(--crm-panel);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.12);
  animation: crmRise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.crm-auth--login .crm-auth__shell {
  /* Content-sized height — no forced tall box / empty white band */
  height: auto;
  min-height: 0;
  max-height: calc(100dvh - 40px);
}

.crm-auth__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: auto;
  padding: 0;
  background-color: #10233d;
  background-image: var(--crm-aside-bg);
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}
body.crm-auth--login .crm-auth__aside {
  min-height: 100%;
}
.crm-auth__aside-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 34, 0.55) 0%, rgba(8, 18, 34, 0.72) 42%, rgba(6, 14, 28, 0.92) 100%);
}
.crm-auth__aside-inner {
  position: relative;
  z-index: 1;
  padding: 20px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}
.crm-auth__aside-top {
  display: grid;
  gap: 10px;
  justify-items: start;
  flex: 0 0 auto;
}
.crm-auth__aside-hero {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  flex: 0 0 auto;
  padding-bottom: 0;
}

.crm-auth__logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.crm-auth__logo--light {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 6px 10px;
  height: auto;
  max-height: 46px;
}

.crm-auth__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 55, 120, 0.88);
  color: #dbeafe;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-auth__aside h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}
.crm-auth__aside h2 em {
  font-style: normal;
  color: var(--crm-gold);
}

.crm-auth__aside-copy {
  margin: 0;
  max-width: 42ch;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Feature cards — under headline, not pushed to bottom */
.crm-auth__features {
  margin-top: 22px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  flex: 0 0 auto;
}
.crm-auth__features li {
  display: grid;
  justify-items: center;
  text-align: center;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 12px 8px 13px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 14px;
  background: rgba(8, 18, 34, 0.58);
  backdrop-filter: blur(10px);
}
.crm-auth__feat-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f6fd1;
  color: #fff;
  margin-bottom: 2px;
}
.crm-auth__feat-icon svg {
  width: 15px;
  height: 15px;
}
.crm-auth__features strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.crm-auth__features span:last-child {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  max-width: 15ch;
}

.crm-auth__aside-foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.68rem;
  font-weight: 500;
  flex: 0 0 auto;
}
.crm-auth__aside-foot svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #93c5fd;
}

/* Legacy points list (activate / older pages) */
.crm-auth__points {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.crm-auth__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  color: #f8fafc;
}
.crm-auth__points svg {
  width: 14px;
  height: 14px;
  color: #93c5fd;
}

.crm-auth__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  padding: 22px 32px 18px;
  background: #ffffff;
  min-height: 0;
  height: auto;
  overflow: auto;
}

/* Shorter panels (forgot / 2FA): keep same card height, center content vertically */
body.crm-auth--login .crm-auth__card:has([data-panel="forgot"]:not([hidden])),
body.crm-auth--login .crm-auth__card:has([data-panel="twofa"]:not([hidden])) {
  justify-content: center;
}

.crm-auth__card-head {
  margin-bottom: 16px;
}

.crm-auth__card-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin: 0 0 12px;
}

.crm-auth__card h1 {
  margin: 0 0 5px;
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--crm-ink);
}

.crm-auth__lead {
  margin: 0;
  color: var(--crm-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.crm-auth__alert {
  margin: 0 0 12px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}
.crm-auth__alert.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.crm-auth__alert.is-ok {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.crm-auth__form label {
  display: block;
  margin: 0 0 9px;
  font-size: 0.8rem;
  font-weight: 650;
  color: #1e2a44;
}

.crm-auth__field {
  position: relative;
  margin-bottom: 14px;
}

.crm-auth__form input[type="text"],
.crm-auth__form input[type="email"],
.crm-auth__form input[type="password"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7e0ec;
  border-radius: 10px;
  background: var(--crm-field);
  color: var(--crm-ink);
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-text-fill-color: var(--crm-ink);
  caret-color: var(--crm-ink);
}
.crm-auth__form input::placeholder { color: #9aa8b8; }

/* Must beat .crm-auth__form input[type=…] padding shorthand */
.crm-auth__form .crm-auth__field--icon > input[type="text"],
.crm-auth__form .crm-auth__field--icon > input[type="email"],
.crm-auth__form .crm-auth__field--icon > input[type="password"] {
  padding-left: 44px;
  padding-right: 14px;
}
.crm-auth__form .crm-auth__field--pass > input[type="password"],
.crm-auth__form .crm-auth__field--pass > input[type="text"] {
  padding-right: 46px;
}
.crm-auth__field-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
  display: inline-flex;
  z-index: 1;
}
.crm-auth__field-icon svg {
  width: 16px;
  height: 16px;
}
.crm-auth__form input:hover { border-color: #b9c5d4; }
.crm-auth__form input:focus {
  outline: none;
  border-color: rgba(31, 111, 209, 0.75);
  box-shadow: 0 0 0 4px rgba(31, 111, 209, 0.12);
  background: #fff;
}
.crm-auth__form input:-webkit-autofill,
.crm-auth__form input:-webkit-autofill:hover,
.crm-auth__form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--crm-ink);
  caret-color: var(--crm-ink);
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 99999s ease-in-out 0s;
  border-color: #d7e0ec;
}

.crm-auth__eye {
  position: absolute;
  top: 50%;
  inset-inline-end: 2px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7c90;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.crm-auth__eye svg { width: 16px; height: 16px; }
.crm-auth__eye:hover,
.crm-auth__eye.is-on {
  color: var(--crm-accent);
  background: rgba(31, 111, 209, 0.08);
}

.crm-auth__form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 14px;
}

.crm-auth__check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: #475569 !important;
  cursor: pointer;
  user-select: none;
}
.crm-auth__check input {
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 0;
  accent-color: var(--crm-accent);
  border-radius: 4px;
}

.crm-auth__mobile-brand { display: none; }

.crm-auth__actions { margin-top: 0; }

.crm-auth__panel[hidden] {
  display: none !important;
}

.crm-auth__link {
  color: var(--crm-accent);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.crm-auth__link:hover {
  color: var(--crm-accent-hot);
  text-decoration: underline;
}

.crm-auth__submit {
  width: 100%;
  min-height: 44px;
  margin-top: 0;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #2f7fe0 0%, var(--crm-accent) 100%);
  color: #ffffff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 111, 209, 0.24);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.crm-auth__submit svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.crm-auth__submit:hover:not(:disabled) {
  background: linear-gradient(180deg, #1f6fd1 0%, var(--crm-accent-hot) 100%);
  box-shadow: 0 10px 22px rgba(31, 111, 209, 0.3);
  transform: translateY(-1px);
}
.crm-auth__submit:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.crm-auth__secure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f5f8fc;
  border: 1px solid #e8eef6;
}
.crm-auth__secure-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #64748b;
  font-size: 0.74rem;
  line-height: 1.3;
}
.crm-auth__secure-main svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--crm-accent);
}
.crm-auth__mfa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f8ef;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}
.crm-auth__mfa svg {
  width: 12px;
  height: 12px;
}

/* Older secure note class */
.crm-auth__secure-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}
.crm-auth__secure-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--crm-accent);
}

.crm-auth__footnote {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.72rem;
}
.crm-auth__footnote svg {
  width: 12px;
  height: 12px;
}

.crm-auth__copy {
  margin: 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.74rem;
}

.crm-auth__brand-mark {
  margin: 0 0 8px;
  color: var(--crm-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.crm-auth__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.crm-auth__label-row label { margin: 0; }

.crm-auth__shell--narrow {
  width: min(440px, 100%);
  grid-template-columns: 1fr;
}
.crm-auth__card--solo { padding: 36px 32px; }
.crm-auth__logo--inline {
  height: 40px;
  margin-bottom: 18px;
  max-width: 180px;
  object-fit: contain;
}
.crm-auth__back {
  margin: 18px 0 0;
  text-align: center;
}

@keyframes crmRise {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .crm-auth__aside h2 { max-width: none; }
  .crm-auth__card { padding: 28px 26px; }
}

/* Short laptop / laptop browser chrome */
@media (max-height: 760px) {
  body.crm-auth--login .crm-auth__frame {
    padding: 10px 14px;
    gap: 8px;
  }
  body.crm-auth--login .crm-auth__shell {
    height: auto;
    min-height: 0;
    max-height: calc(100dvh - 28px);
  }
  body.crm-auth--login .crm-auth__aside-inner {
    padding: 14px 16px 12px;
  }
  body.crm-auth--login .crm-auth__aside-hero {
    margin-top: 18px;
    padding-bottom: 0;
    gap: 8px;
  }
  body.crm-auth--login .crm-auth__aside h2 {
    font-size: 1.28rem;
  }
  body.crm-auth--login .crm-auth__aside-copy {
    font-size: 0.8rem;
  }
  body.crm-auth--login .crm-auth__features {
    margin-top: 16px;
  }
  body.crm-auth--login .crm-auth__aside-foot {
    margin-top: 12px;
    padding-top: 10px;
  }
  body.crm-auth--login .crm-auth__card {
    padding: 16px 26px 14px;
  }
  body.crm-auth--login .crm-auth__card-logo {
    height: 34px;
    margin-bottom: 10px;
  }
  body.crm-auth--login .crm-auth__card-head {
    margin-bottom: 12px;
  }
  body.crm-auth--login .crm-auth__card h1 {
    font-size: 1.3rem;
  }
}

@media (max-height: 620px) and (min-width: 768px) {
  body.crm-auth--login .crm-auth__aside-copy {
    display: none;
  }
  body.crm-auth--login .crm-auth__aside-hero {
    margin-top: 18px;
    padding-bottom: 0;
  }
  body.crm-auth--login .crm-auth__card-logo {
    display: none;
  }
}

@media (max-width: 900px) {
  .crm-auth__shell {
    grid-template-columns: 1fr;
    width: min(460px, 100%);
  }
  .crm-auth__aside {
    min-height: 0;
  }
  .crm-auth__aside-inner {
    padding: 26px 24px 18px;
  }
  .crm-auth__aside-hero {
    margin-top: 18px;
    padding-bottom: 0;
  }
  .crm-auth__aside h2 {
    font-size: 1.4rem;
    max-width: none;
  }
  .crm-auth__features {
    margin-top: 16px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .crm-auth__features li {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    justify-items: start;
    text-align: start;
    padding: 12px 14px;
  }
  .crm-auth__feat-icon {
    grid-row: 1 / span 2;
    align-self: center;
    margin-bottom: 0;
  }
  .crm-auth__aside-foot { margin-top: 16px; }
  .crm-auth__card { padding: 30px 24px; }
  .crm-auth__card-logo { height: 40px; margin-bottom: 16px; }
}

/* Mobile — match mockup: form only, no marketing panel */
@media (max-width: 767px) {
  html, body.crm-auth,
  body.crm-auth--login {
    overflow-x: clip;
    background: #ffffff;
  }

  .crm-auth__stage { display: none; }
  .crm-auth__frame {
    padding: 0;
    place-items: stretch;
    align-content: stretch;
    gap: 0;
    background: #ffffff;
  }
  .crm-auth__shell,
  .crm-auth__shell--narrow,
  body.crm-auth--login .crm-auth__shell {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    animation: none;
    background: #ffffff;
  }
  .crm-auth__aside { display: none !important; }
  .crm-auth__copy { display: none; }

  .crm-auth__card,
  .crm-auth__card--solo,
  body.crm-auth--login .crm-auth__card:has([data-panel="forgot"]:not([hidden])),
  body.crm-auth--login .crm-auth__card:has([data-panel="twofa"]:not([hidden])) {
    min-height: 100vh;
    min-height: 100dvh;
    padding:
      calc(24px + env(safe-area-inset-top, 0px))
      22px
      calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    justify-content: flex-start;
    height: auto;
  }

  .crm-auth__panel:not([hidden]) {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
  }

  /* Always show logo on mobile (do not hide for short viewports) */
  .crm-auth__card-logo,
  .crm-auth__logo--inline,
  body.crm-auth--login .crm-auth__card-logo {
    display: block !important;
    height: 44px;
    max-width: 170px;
    width: auto;
    margin: 4px auto 18px;
    object-fit: contain;
  }

  .crm-auth__card-head {
    margin-bottom: 22px;
    text-align: center;
  }

  .crm-auth__card h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: #0f1b33;
  }

  .crm-auth__lead {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 32ch;
    margin-inline: auto;
    color: #7b8ba3;
  }

  .crm-auth__alert {
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .crm-auth__form {
    display: flex;
    flex-direction: column;
  }

  .crm-auth__form label {
    font-size: 0.88rem;
    margin-bottom: 8px;
    color: #1e2a44;
  }

  .crm-auth__field { margin-bottom: 14px; }

  .crm-auth__form input[type="text"],
  .crm-auth__form input[type="email"],
  .crm-auth__form input[type="password"] {
    min-height: 50px;
    border-radius: 12px;
    background: #fff;
    border-color: #d9e2ee;
    font-size: 16px; /* avoid iOS zoom */
  }

  .crm-auth__form .crm-auth__field--icon > input[type="text"],
  .crm-auth__form .crm-auth__field--icon > input[type="email"],
  .crm-auth__form .crm-auth__field--icon > input[type="password"] {
    padding-left: 44px;
  }
  .crm-auth__form .crm-auth__field--pass > input[type="password"],
  .crm-auth__form .crm-auth__field--pass > input[type="text"] {
    padding-right: 46px;
  }

  .crm-auth__form-row {
    margin: 0 0 20px;
  }

  .crm-auth__submit {
    min-height: 52px;
    border-radius: 14px;
    font-size: 1rem;
  }

  /* Keep secure block close under Sign in — no giant empty gap */
  .crm-auth__secure {
    margin-top: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px;
    border-radius: 12px;
    background: #f5f8fc;
    border: 1px solid #e8eef6;
  }

  .crm-auth__secure-main {
    font-size: 0.8rem;
  }

  .crm-auth__mfa {
    align-self: flex-start;
  }

  /* Footer pinned to bottom with flanking rules (mockup) */
  .crm-auth__footnote {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    color: #94a3b8;
    font-size: 0.78rem;
  }
  .crm-auth__footnote::before,
  .crm-auth__footnote::after {
    content: "";
    flex: 1 1 0;
    height: 1px;
    background: #e2e8f0;
    max-width: 72px;
  }
  .crm-auth__footnote svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-auth__shell { animation: none; }
  .crm-auth__submit { transition: none; }
}
