.lpe-login {
  --navy: #163A64;
  --navy-700: #102C4C;
  --navy-900: #0A1E36;
  --orange: #E47425;
  --orange-700: #C8631A;
  --teal: #1B7F7C;
  --cream: #F8F8F8;
  --grey: #6C6D6D;
  --grey-200: #E5E5E2;
  --grey-300: #D9D9D7;

  --font-sans: var(--lpe-font-sans, 'Inter'), system-ui, sans-serif;
  --font-script: var(--lpe-font-script, 'Caveat'), cursive;
  --font-mono: var(--lpe-font-mono, 'JetBrains Mono'), monospace;

  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11', 'tnum';

  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.lpe-login *,
.lpe-login *::before,
.lpe-login *::after { box-sizing: border-box; }
.lpe-login a { color: inherit; text-decoration: none; }
.lpe-login button { font-family: inherit; cursor: pointer; }

/* ─── Top banner ─── */
.lpe-login .top-banner {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  padding: 9px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.lpe-login .top-banner .pip { width: 6px; height: 6px; background: var(--orange); flex-shrink: 0; }
.lpe-login .top-banner b { color: white; font-weight: 600; }
.lpe-login .top-banner a { color: var(--orange); font-weight: 600; }

/* ─── Shell ─── */
.lpe-login .login-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
  width: 100%;
}

/* ─── Left column ─── */
.lpe-login .left {
  background: var(--navy);
  color: white;
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.lpe-login .left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,0.018) 22px 23px);
  pointer-events: none;
}
.lpe-login .left::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--orange);
}

.lpe-login .left .brand {
  position: relative;
  z-index: 2;
}
.lpe-login .left .brand img {
  height: 30px;
  width: auto;
  display: block;
}

.lpe-login .editorial {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  max-width: 540px;
}
.lpe-login .editorial .eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lpe-login .editorial .eyebrow .pip {
  width: 6px;
  height: 6px;
  background: var(--orange);
  flex-shrink: 0;
}
.lpe-login .editorial h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.lpe-login .editorial h1 .script {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 64px;
  color: var(--orange);
  letter-spacing: 0;
  font-style: italic;
  display: inline-block;
  transform: translateY(6px);
}
.lpe-login .editorial .lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 460px;
  margin: 0;
}

/* Featured listing teaser */
.lpe-login .featured {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  padding: 22px 24px;
  max-width: 480px;
}
.lpe-login .featured .feat-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lpe-login .featured .feat-eyebrow .live {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(27,127,124,0.25);
  animation: lpe-pulse 2s ease-in-out infinite;
}
@keyframes lpe-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(27,127,124,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(27,127,124,0.05); }
}
@media (prefers-reduced-motion: reduce) {
  .lpe-login .featured .feat-eyebrow .live { animation: none; }
}
.lpe-login .featured .feat-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.lpe-login .featured .feat-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  margin-bottom: 18px;
}
.lpe-login .featured .feat-figs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lpe-login .featured .fig .v {
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1;
}
.lpe-login .featured .fig .l {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-weight: 600;
}

/* Trust row */
.lpe-login .trust-row {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.lpe-login .trust-row .stat .v {
  font-size: 18px;
  font-weight: 700;
  color: white;
  font-variant-numeric: tabular-nums;
}
.lpe-login .trust-row .stat .l {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-top: 2px;
}
.lpe-login .trust-row .div {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.15);
}

/* ─── Right column ─── */
.lpe-login .right {
  background: white;
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.lpe-login .right .topnav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: var(--grey);
  font-size: 13px;
}
.lpe-login .right .topnav a,
.lpe-login .right .topnav .topnav-link {
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  margin-left: 8px;
  border: 0;
  border-bottom: 1.5px solid var(--orange);
  padding: 0 0 1px;
  background: transparent;
  cursor: pointer;
}
.lpe-login .right .topnav a:hover,
.lpe-login .right .topnav .topnav-link:hover { color: var(--orange); }

.lpe-login .right .form-wrap {
  margin: auto 0;
  max-width: 420px;
  width: 100%;
  align-self: center;
  padding: 60px 0;
}

.lpe-login .form-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 14px;
}
.lpe-login .right h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.lpe-login .right .sub {
  color: var(--grey);
  font-size: 14.5px;
  margin: 0 0 36px;
}

/* Role toggle */
.lpe-login .role-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--navy);
  margin-bottom: 28px;
}
.lpe-login .role-toggle button {
  background: white;
  color: var(--navy);
  border: 0;
  padding: 11px 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.15s, color 0.15s;
}
.lpe-login .role-toggle button.active {
  background: var(--navy);
  color: white;
}

/* Register intro copy */
.lpe-login .register-intro {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--grey-200);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lpe-login .register-intro p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--navy);
}
.lpe-login .register-intro b { font-weight: 600; color: var(--navy); }
.lpe-login .register-intro .register-fine {
  font-size: 12px;
  color: var(--grey);
}
.lpe-login .register-intro .register-cta {
  font-weight: 600;
  color: var(--navy);
}

.lpe-login .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Interest radio group */
.lpe-login .interest-group {
  border: 1px solid var(--grey-300);
  background: white;
  padding: 14px 16px 16px;
  margin: 0 0 18px;
}
.lpe-login .interest-group legend {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  padding: 0 6px;
  margin-left: -6px;
}
.lpe-login .interest-group .radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--navy);
  cursor: pointer;
  padding: 6px 0;
}
.lpe-login .interest-group .radio input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}

/* Register terms */
.lpe-login .register-terms {
  font-size: 12px;
  line-height: 1.55;
  color: var(--grey);
  margin: 0 0 8px;
}
.lpe-login .register-terms a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--orange);
}
.lpe-login .register-terms a:hover { color: var(--orange); }
.lpe-login .register-fine {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--grey);
  margin: 0 0 20px;
}

/* Inline alert (auth error) */
.lpe-login .alert {
  border: 1px solid var(--orange-700);
  background: rgba(228,116,37,0.08);
  color: var(--navy);
  font-size: 13px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

/* Form fields */
.lpe-login .field { display: block; margin-bottom: 18px; }
.lpe-login .field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
}
.lpe-login .field label .helper {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--orange);
  cursor: pointer;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.lpe-login .field .input-shell {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--grey-300);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lpe-login .field .input-shell:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22,58,100,0.08);
}
.lpe-login .field .input-shell .icon {
  width: 44px;
  display: flex;
  justify-content: center;
  color: var(--grey);
  flex-shrink: 0;
}
.lpe-login .field input[type="email"],
.lpe-login .field input[type="password"],
.lpe-login .field input[type="text"] {
  flex: 1;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0 14px 0 0;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--navy);
  outline: none;
  font-feature-settings: 'tnum';
}
.lpe-login .field .show-toggle {
  background: transparent;
  border: 0;
  color: var(--grey);
  padding: 0 14px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: stretch;
}
.lpe-login .field .show-toggle:hover { color: var(--navy); }

.lpe-login .field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0 28px;
}
.lpe-login .field-row .check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
}
.lpe-login .field-row .check input {
  width: 14px; height: 14px;
  accent-color: var(--orange);
  cursor: pointer;
}

/* Primary button */
.lpe-login .btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0;
  background: var(--orange);
  color: white;
  transition: background-color 0.15s, opacity 0.15s;
}
.lpe-login .btn-primary:hover { background: var(--orange-700); }
.lpe-login .btn-primary svg { transition: transform 0.2s; }
.lpe-login .btn-primary:hover svg { transform: translateX(3px); }
.lpe-login .btn-primary[disabled] { opacity: 0.85; cursor: default; }
.lpe-login .btn-primary[disabled]:hover { background: var(--orange); }

/* Divider */
.lpe-login .divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.lpe-login .divider::before,
.lpe-login .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-200);
}

/* SSO */
.lpe-login .sso-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lpe-login .sso-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  background: white;
  border: 1px solid var(--grey-300);
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s, border-color 0.15s;
}
.lpe-login .sso-btn:hover {
  border-color: var(--navy);
  background: var(--cream);
}
.lpe-login .sso-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Footer */
.lpe-login .right-foot {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--grey);
  font-size: 12px;
}
.lpe-login .right-foot .badges {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lpe-login .right-foot .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--grey);
}
.lpe-login .right-foot .badge svg { width: 12px; height: 12px; }
.lpe-login .right-foot .legal a { margin-left: 10px; }
.lpe-login .right-foot .legal a:hover { color: var(--navy); }

/* Responsive */
@media (max-width: 980px) {
  .lpe-login .login-shell { grid-template-columns: 1fr; }
  .lpe-login .left { padding: 36px 32px 56px; min-height: auto; }
  .lpe-login .editorial h1 { font-size: 38px; }
  .lpe-login .editorial h1 .script { font-size: 46px; }
  .lpe-login .editorial { margin-top: 48px; }
  .lpe-login .trust-row { margin-top: 40px; padding-top: 32px; }
  .lpe-login .right { padding: 32px 28px; }
  .lpe-login .right .form-wrap { padding: 28px 0; max-width: 100%; }
}
@media (max-width: 520px) {
  .lpe-login .right h2 { font-size: 28px; }
  .lpe-login .sso-row { grid-template-columns: 1fr; }
  .lpe-login .left { padding: 28px 24px 48px; }
}
