:root {
  color-scheme: light;
  --login-blue-950: #0b1f40;
  --login-blue-900: #102c5c;
  --login-blue-800: #17468f;
  --login-blue-700: #1d5fba;
  --login-blue-600: #2563eb;
  --login-blue-100: #dcecff;
  --login-blue-50: #eef6ff;
  --login-ink: #172237;
  --login-muted: #5b6b80;
  --login-line: #cfdae8;
  --login-surface: #ffffff;
  --login-danger: #a42119;
  --login-danger-bg: #fff3f2;
  --login-success: #17633a;
  --login-success-bg: #eefbf3;
  --login-warning: #7a4d00;
  --login-warning-bg: #fff8e8;
  --login-shadow: 0 28px 75px rgba(36, 68, 112, .18);
  --login-radius: 28px;
  --login-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eff6ff;
}

body[data-al-surface="auth"] {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(16px, 3vw, 42px);
  background:
    radial-gradient(circle at 8% 8%, rgba(75, 151, 255, .17), transparent 28rem),
    radial-gradient(circle at 92% 92%, rgba(37, 99, 235, .10), transparent 30rem),
    linear-gradient(145deg, #f9fcff 0%, #eef6ff 48%, #f7fbff 100%);
  color: var(--login-ink);
  color-scheme: light;
  font-family: var(--login-font);
  isolation: isolate;
  position: relative;
}

body[data-al-surface="auth"]::before,
body[data-al-surface="auth"]::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

body[data-al-surface="auth"]::before {
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, .14) .7px, transparent .7px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(110deg, #000 0, transparent 40%, transparent 68%, #000 100%);
  mask-image: linear-gradient(110deg, #000 0, transparent 40%, transparent 68%, #000 100%);
}

body[data-al-surface="auth"]::after {
  width: 22rem;
  height: 22rem;
  top: -13rem;
  right: -8rem;
  border: 1px solid rgba(37, 99, 235, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(37, 99, 235, .025), 0 0 0 116px rgba(37, 99, 235, .02);
}

button,
input {
  font: inherit;
}

button,
a,
label,
input[type="checkbox"] {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 30;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--login-blue-950);
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.auth-shell {
  width: min(100%, 1060px);
  min-height: min(730px, calc(100dvh - clamp(32px, 6vw, 84px)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(155, 181, 215, .52);
  border-radius: var(--login-radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--login-shadow);
  animation: auth-shell-in .58s cubic-bezier(.2, .7, .2, 1) both;
}

.brand-panel {
  min-width: 0;
  padding: clamp(34px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 6%, rgba(93, 173, 255, .42), transparent 16rem),
    radial-gradient(circle at 8% 92%, rgba(69, 146, 255, .22), transparent 20rem),
    linear-gradient(155deg, #133d80 0%, #0f2e62 52%, #0b244c 100%);
  color: #fff;
  position: relative;
}

.brand-panel::before {
  content: "";
  width: 330px;
  height: 330px;
  position: absolute;
  right: -196px;
  bottom: -168px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, .025), 0 0 0 100px rgba(255, 255, 255, .018);
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image: radial-gradient(rgba(255, 255, 255, .9) .65px, transparent .65px);
  background-size: 23px 23px;
  -webkit-mask-image: linear-gradient(#000, transparent 70%);
  mask-image: linear-gradient(#000, transparent 70%);
  pointer-events: none;
}

.brand-lockup,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.brand-lockup img,
.mobile-brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 15px;
  box-shadow: 0 9px 24px rgba(0, 17, 55, .22);
}

.brand-lockup strong,
.mobile-brand strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.brand-lockup small,
.mobile-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.brand-copy {
  margin: clamp(50px, 8vh, 86px) 0 30px;
  position: relative;
  z-index: 1;
}

.brand-eyebrow,
.form-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brand-eyebrow {
  color: #9fceff;
}

.brand-copy h2 {
  max-width: 450px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.08;
  letter-spacing: -.042em;
}

.brand-copy > p:last-child {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(236, 246, 255, .78);
  font-size: 15px;
  line-height: 1.65;
}

.process-preview {
  width: min(100%, 390px);
  margin: auto 0 32px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 22px 48px rgba(0, 15, 47, .18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 1;
  animation: process-float 6s ease-in-out infinite;
}

.process-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.process-preview__header strong {
  font-size: 13px;
  letter-spacing: .01em;
}

.process-preview__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dff3ff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.process-preview__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 0 rgba(110, 231, 183, .58);
  animation: status-pulse 2.3s ease-out infinite;
}

.process-list {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  position: relative;
}

.process-list::before {
  content: "";
  width: 1px;
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  background: rgba(255, 255, 255, .16);
}

.process-list::after {
  content: "";
  width: 2px;
  height: 42px;
  position: absolute;
  top: 8px;
  left: 16.5px;
  border-radius: 999px;
  background: linear-gradient(transparent, #79baff, transparent);
  animation: process-travel 4.8s ease-in-out infinite;
}

.process-item {
  min-height: 44px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  position: relative;
}

.process-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(9, 35, 78, .76);
  color: #a6d4ff;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.process-icon svg,
.trust-chip svg,
.input-icon svg,
.button-icon,
.message-icon,
.security-note svg,
.back-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-item strong {
  display: block;
  font-size: 12px;
}

.process-item small {
  display: block;
  margin-top: 2px;
  color: rgba(230, 243, 255, .65);
  font-size: 10px;
}

.process-check {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(110, 231, 183, .14);
  color: #8ff0c8;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.brand-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  position: relative;
  z-index: 1;
}

.trust-chip {
  min-height: 32px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(242, 248, 255, .82);
  font-size: 10px;
  font-weight: 650;
}

.trust-chip svg {
  width: 14px;
  height: 14px;
  color: #9fd2ff;
}

.login-panel {
  min-width: 0;
  padding: clamp(34px, 5vw, 64px) clamp(28px, 5vw, 68px) 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, .96);
  position: relative;
}

.login-card {
  width: min(100%, 450px);
  margin: auto;
  position: relative;
}

.mobile-brand {
  display: none;
}

.form-head {
  margin-bottom: 27px;
  animation: auth-item-in .48s .08s cubic-bezier(.2, .7, .2, 1) both;
}

.form-eyebrow {
  color: var(--login-blue-700);
}

.form-head h1,
.mfa-head h2 {
  margin: 0;
  color: var(--login-ink);
  font-size: clamp(29px, 4vw, 37px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.form-head p:last-child,
.mfa-head p:last-child {
  margin: 11px 0 0;
  color: var(--login-muted);
  font-size: 14px;
  line-height: 1.58;
}

#loginForm {
  display: grid;
  gap: 0;
}

.form-step {
  animation: step-in .34s cubic-bezier(.2, .7, .2, 1) both;
}

.form-group {
  margin-bottom: 18px;
  animation: auth-item-in .46s cubic-bezier(.2, .7, .2, 1) both;
}

.form-group:nth-of-type(1) {
  animation-delay: .13s;
}

.form-group:nth-of-type(2) {
  animation-delay: .18s;
}

.form-label-row {
  min-height: 22px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

label {
  color: #293b54;
  font-size: 13px;
  font-weight: 750;
}

.input-shell {
  min-width: 0;
  position: relative;
}

.input-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  color: #778aa2;
  pointer-events: none;
  transform: translateY(-50%);
}

body[data-al-surface="auth"] input[type="text"],
body[data-al-surface="auth"] input[type="password"],
body[data-al-surface="auth"] input[type="tel"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 48px 12px 46px;
  border: 1px solid #bdcbdc !important;
  border-radius: 14px;
  outline: 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  color: var(--login-ink);
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body[data-al-surface="auth"] input::placeholder {
  color: #8492a6;
  opacity: 1;
}

body[data-al-surface="auth"] input:hover {
  border-color: #91a9c7 !important;
}

body[data-al-surface="auth"] input:focus,
body[data-al-surface="auth"] input:focus-visible {
  border-color: var(--login-blue-600) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13) !important;
}

body[data-al-surface="auth"] input[aria-invalid="true"] {
  border-color: #bf3e35 !important;
  box-shadow: 0 0 0 3px rgba(164, 33, 25, .10) !important;
}

body[data-al-surface="auth"] input[readonly] {
  background: #f2f6fb;
  color: #53657c;
  cursor: not-allowed;
}

.password-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #526982;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}

.password-toggle:hover {
  background: var(--login-blue-50);
  color: var(--login-blue-700);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-feedback {
  margin: 7px 2px 0;
  color: var(--login-warning);
  font-size: 12px;
  line-height: 1.4;
}

.options-block {
  margin: -2px 0 18px;
  animation: auth-item-in .46s .23s cubic-bezier(.2, .7, .2, 1) both;
}

.options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.checkbox-inline {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3d5069;
  cursor: pointer;
  user-select: none;
}

.checkbox-inline input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--login-blue-600);
  cursor: pointer;
}

.checkbox-inline span {
  font-size: 13px;
  font-weight: 650;
}

body[data-al-surface="auth"] .recovery-link,
body[data-al-surface="auth"] .footer-links a {
  color: var(--login-blue-700);
}

.recovery-link {
  min-height: 44px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.recovery-link:hover,
.footer-links a:hover {
  color: var(--login-blue-900) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.remember-note {
  margin: -2px 0 0 27px;
  color: #6b7b90;
  font-size: 11px;
  line-height: 1.4;
}

.btn-primary,
.btn-secondary {
  width: 100%;
  min-height: 50px;
  padding: 11px 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 780;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

body[data-al-surface="auth"] .btn-primary {
  border: 1px solid var(--login-blue-600);
  background: linear-gradient(135deg, #2d72ee, #1d5fba);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
  font-size: 15px;
  text-shadow: none;
}

.btn-primary:hover {
  border-color: #174e9d;
  background: linear-gradient(135deg, #2768dc, #174e9d);
  box-shadow: 0 13px 28px rgba(37, 99, 235, .27);
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0) scale(.99);
}

.btn-primary:disabled,
.btn-secondary:disabled {
  box-shadow: none;
  cursor: wait;
  opacity: .68;
  transform: none;
}

body[data-al-surface="auth"] .btn-secondary {
  border: 1px solid #c9d6e5;
  background: #fff;
  color: #2a466c;
  box-shadow: 0 2px 5px rgba(24, 55, 94, .04);
  font-size: 14px;
}

.btn-secondary:hover {
  border-color: #9eb5d1;
  background: #f7fbff;
  color: var(--login-blue-800);
  box-shadow: 0 7px 16px rgba(24, 55, 94, .08);
}

.button-icon {
  flex: 0 0 auto;
}

.spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, .38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .72s linear infinite;
}

.login-actions {
  display: grid;
  gap: 12px;
  animation: auth-item-in .46s .28s cubic-bezier(.2, .7, .2, 1) both;
}

.action-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #7b899b;
  font-size: 11px;
  font-weight: 650;
}

.action-divider::before,
.action-divider::after {
  content: "";
  height: 1px;
  background: #e0e7f0;
}

.security-note {
  margin: 20px 0 0;
  padding: 11px 12px;
  border: 1px solid #dce5ef;
  border-radius: 13px;
  background: #f8fafc;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  color: #53657c;
  animation: auth-item-in .46s .34s cubic-bezier(.2, .7, .2, 1) both;
}

.security-note svg {
  color: var(--login-blue-700);
}

.security-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.message-box {
  margin: 0 0 18px;
  padding: 12px 13px;
  border: 1px solid;
  border-radius: 13px;
  display: none;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.48;
  animation: message-in .26s cubic-bezier(.2, .7, .2, 1) both;
}

.message-box.is-visible {
  display: grid;
}

.message-box.error-box {
  border-color: #e9b9b5;
  background: var(--login-danger-bg);
  color: var(--login-danger);
}

.message-box.success-box {
  border-color: #b6dec6;
  background: var(--login-success-bg);
  color: var(--login-success);
}

.message-box.success-box.is-warning {
  border-color: #ebcf91;
  background: var(--login-warning-bg);
  color: var(--login-warning);
}

.attempt-notice {
  margin: -2px 0 18px;
  padding: 11px 13px;
  border: 1px solid #cbdcf2;
  border-radius: 12px;
  background: #f3f8ff;
  color: #24486f;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  animation: attempt-notice-enter .22s ease-out both;
}

.attempt-notice.is-lock {
  border-color: #edc887;
  background: #fff8e8;
  color: #765418;
}

.attempt-notice__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, .09);
}

.attempt-notice.is-lock .attempt-notice__icon {
  background: rgba(194, 124, 8, .11);
}

.attempt-notice__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.attempt-notice > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.attempt-notice strong,
.attempt-notice small {
  overflow-wrap: anywhere;
}

.attempt-notice strong {
  font-size: 12px;
}

.attempt-notice small {
  font-size: 11px;
  line-height: 1.4;
}

.login-card.is-denied {
  animation: login-denied .3s ease-out;
}

.message-icon {
  margin-top: 1px;
}

.mfa-box {
  min-width: 0;
}

.mfa-head {
  margin-bottom: 23px;
}

.mfa-head h2 {
  font-size: clamp(27px, 4vw, 34px);
}

.step-badge {
  width: max-content;
  margin-bottom: 15px;
  padding: 6px 9px;
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  background: var(--login-blue-50);
  color: var(--login-blue-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mfa-identity {
  margin: -10px 0 18px;
  color: #5d7088;
  font-size: 12px;
}

.mfa-identity strong {
  color: #2f4561;
}

.totp-input {
  padding: 12px 16px !important;
  text-align: center;
  font-size: 23px !important;
  font-weight: 760;
  letter-spacing: .34em;
}

.totp-input.is-backup-code {
  font-size: 18px !important;
  letter-spacing: .08em;
}

.mfa-code-help {
  display: block;
  min-height: 17px;
  margin-top: 7px;
}

.mfa-method-toggle {
  min-height: 44px;
  margin: 3px 0 -8px;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: var(--login-blue-700);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mfa-method-toggle:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .23);
  outline-offset: 2px;
  border-radius: 8px;
}

@keyframes attempt-notice-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes login-denied {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-5px); }
  65% { transform: translateX(4px); }
}

.mfa-options {
  margin: -4px 0 18px;
}

.mfa-actions {
  display: grid;
  gap: 11px;
}

.security-recommendation {
  display: grid;
  gap: 20px;
  text-align: center;
}

.security-recommendation__visual {
  width: 84px;
  height: 84px;
  margin: 0 auto 2px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid #cfe0f5;
  border-radius: 26px;
  background: linear-gradient(145deg, #f7fbff, #e7f2ff);
  color: var(--login-blue-700);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .13);
  animation: security-shield-in .58s cubic-bezier(.2, .8, .2, 1) both;
}

.security-recommendation__visual svg {
  width: 48px;
  height: 48px;
  z-index: 1;
  fill: rgba(37, 99, 235, .08);
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-recommendation__pulse {
  position: absolute;
  inset: 5px;
  border: 2px solid rgba(37, 99, 235, .25);
  border-radius: 22px;
  animation: security-pulse 1.5s .45s ease-out 2 both;
}

.security-recommendation__copy {
  display: grid;
  gap: 8px;
}

.security-recommendation__copy .form-eyebrow,
.security-recommendation__copy h2,
.security-recommendation__copy p {
  margin: 0;
}

.security-recommendation__copy h2 {
  color: var(--login-ink);
  font-size: clamp(27px, 4vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.security-recommendation__copy > p:last-child {
  color: var(--login-muted);
  font-size: 13px;
  line-height: 1.55;
}

.security-benefits {
  margin: 0;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #f8fbff;
  list-style: none;
  text-align: left;
}

.security-benefits li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #405672;
  font-size: 12px;
  line-height: 1.45;
}

.security-benefits span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e0f5e9;
  color: #17633a;
  font-weight: 850;
}

.security-recommendation__actions {
  display: grid;
  gap: 10px;
}

.security-recommendation__note {
  margin: -10px 0 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.45;
}

@keyframes security-shield-in {
  from { opacity: 0; transform: translateY(10px) scale(.88) rotate(-4deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes security-pulse {
  0% { opacity: .65; transform: scale(.92); }
  70%, 100% { opacity: 0; transform: scale(1.2); }
}

.back-button {
  width: max-content;
  min-height: 44px;
  margin: -8px 0 20px -10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--login-blue-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.back-button:hover {
  background: var(--login-blue-50);
}

.footer-links {
  width: min(100%, 450px);
  margin: 27px auto 0;
  color: #77869a;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.footer-links a {
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

body[data-al-surface="auth"] :where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--login-blue-600) !important;
  outline-offset: 3px;
}

body[data-al-surface="auth"] input:focus-visible {
  outline: 0 !important;
}

.login-card.is-busy::before {
  content: "";
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, #5da1ff, transparent);
  transform: translateX(-100%);
  animation: busy-travel 1.15s ease-in-out infinite;
}

@keyframes auth-shell-in {
  from { opacity: 0; transform: translateY(14px) scale(.988); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes auth-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes step-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes message-in {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes process-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, .58); }
  65%, 100% { box-shadow: 0 0 0 7px rgba(110, 231, 183, 0); }
}

@keyframes process-travel {
  0%, 10% { opacity: 0; transform: translateY(0); }
  25% { opacity: 1; }
  75% { opacity: 1; }
  90%, 100% { opacity: 0; transform: translateY(82px); }
}

@keyframes busy-travel {
  to { transform: translateX(100%); }
}

@media (max-width: 860px) {
  body[data-al-surface="auth"] {
    padding: 0;
    background: #fff;
  }

  body[data-al-surface="auth"]::before,
  body[data-al-surface="auth"]::after {
    display: none;
  }

  .auth-shell {
    min-height: 100dvh;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .brand-panel {
    display: none;
  }

  .login-panel {
    min-height: 100dvh;
    padding: max(22px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }

  .mobile-brand {
    width: max-content;
    max-width: 100%;
    margin: 0 0 clamp(38px, 7vh, 64px);
    display: flex;
  }

  .mobile-brand strong {
    color: var(--login-ink);
  }

  .mobile-brand small {
    color: #667890;
  }
}

@media (max-width: 520px) {
  .login-panel {
    justify-content: flex-start;
  }

  .login-card {
    margin: 0 auto;
  }

  .mobile-brand img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .mobile-brand strong {
    font-size: 19px;
  }

  .form-head {
    margin-bottom: 24px;
  }

  .form-head h1 {
    font-size: 30px;
  }

  .options-row {
    align-items: flex-start;
  }

  .footer-links {
    margin-top: 24px;
  }
}

@media (max-height: 610px) and (orientation: landscape) {
  body[data-al-surface="auth"] {
    padding: 12px;
  }

  .auth-shell {
    min-height: auto;
  }

  .brand-panel,
  .login-panel {
    padding-top: 26px;
    padding-bottom: 22px;
  }

  .brand-copy {
    margin-top: 32px;
  }

  .process-preview {
    margin-top: 12px;
    margin-bottom: 18px;
  }

  .mobile-brand {
    margin-bottom: 24px;
  }
}

@media (min-width: 861px) and (max-height: 800px) {
  .auth-shell:not(.auth-shell--recovery) .brand-panel {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .auth-shell:not(.auth-shell--recovery) .brand-copy {
    margin: 34px 0 20px;
  }

  .auth-shell:not(.auth-shell--recovery) .brand-copy > p:last-child {
    margin-top: 13px;
  }

  .auth-shell:not(.auth-shell--recovery) .process-preview {
    margin: 0 0 17px;
    padding: 15px;
  }

  .auth-shell:not(.auth-shell--recovery) .process-list {
    gap: 8px;
  }

  .auth-shell:not(.auth-shell--recovery) .login-panel {
    padding-top: 28px;
    padding-bottom: 18px;
  }

  .auth-shell:not(.auth-shell--recovery) .form-head {
    margin-bottom: 18px;
  }

  .auth-shell:not(.auth-shell--recovery) .form-group {
    margin-bottom: 14px;
  }

  .auth-shell:not(.auth-shell--recovery) .options-block {
    margin-bottom: 14px;
  }

  .auth-shell:not(.auth-shell--recovery) .security-note {
    margin-top: 12px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .auth-shell:not(.auth-shell--recovery) .footer-links {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  .input-icon,
  .process-preview__status::before,
  .process-list::before,
  .process-list::after {
    forced-color-adjust: auto;
  }
}
