/* learndirect sign-in (light). Scoped to .ldl so nothing else on Atom changes.
   Tokens follow the learndirect Learner Design System (Momentum, light theme). */

html, body { background: #F3F5FD !important; margin: 0; }

.ldl {
  --navy: #001052;
  --royal: #1E56D9;
  --mint: #01FCC2;
  --bg: #F3F5FD;
  --surface: #ffffff;
  --surface-2: #EEF1F9;
  --border: #E6E9F3;
  --border-strong: #CBD2E3;
  --text: #0c1330;
  --text-2: #334155;
  --text-3: #5b6478;
  --text-4: #8a93a6;
  --danger: #C8243F;
  --danger-soft: #FFE4E9;
  --info-soft: #E3ECFF;
  --success: #007a5e;
  --success-soft: #d6fff4;
  --warning: #8A5A00;
  --warning-soft: #FFF3D6;
  --focus: 0 0 0 3px #ffffff, 0 0 0 6px #2F6BFF;
  --e-2: 0 8px 24px -10px rgba(12, 19, 48, .22);
  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hero: radial-gradient(60% 90% at 0% 0%, rgba(47, 107, 255, .95) 0%, rgba(47, 107, 255, 0) 60%),
          radial-gradient(50% 80% at 100% 10%, rgba(124, 92, 255, .85) 0%, rgba(124, 92, 255, 0) 60%),
          radial-gradient(45% 60% at 85% 100%, rgba(1, 252, 194, .55) 0%, rgba(1, 252, 194, 0) 65%),
          radial-gradient(40% 50% at 30% 100%, rgba(34, 211, 238, .35) 0%, rgba(34, 211, 238, 0) 60%),
          #001052;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.ldl *, .ldl *::before, .ldl *::after { box-sizing: border-box; }
.ldl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ldl a { color: var(--royal); font-weight: 700; text-decoration: none; }
.ldl a:hover { color: var(--navy); text-decoration: underline; }
.ldl a:focus-visible, .ldl button:focus-visible, .ldl input:focus-visible { outline: none; box-shadow: var(--focus); }

/* ---------- brand panel ---------- */
.ldl-brand {
  position: relative;
  overflow: hidden;
  background: var(--hero);
  color: #fff;
  padding: 44px 56px 30px;
  display: flex;
  flex-direction: column;
}
.ldl-brand::after {
  content: "";
  position: absolute;
  left: -120px; bottom: -200px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(1, 252, 194, .30), rgba(1, 252, 194, 0));
  pointer-events: none;
}
.ldl-brand > * { position: relative; z-index: 1; }
.ldl-lockup { width: 300px; max-width: 70%; height: auto; display: block; }
.ldl-brand-body { margin: auto 0; padding: 28px 0 24px; }
.ldl .ldl-headline {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 14px;
  max-width: 13ch;
}
.ldl .ldl-headline em {
  font-style: normal;
  background: linear-gradient(90deg, #01FCC2, #22D3EE 50%, #B8A6FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.ldl .ldl-lede { font-size: 17px; color: rgba(255, 255, 255, .84); max-width: 40ch; margin: 0 0 22px; }
.ldl-home { display: inline-block; width: 300px; max-width: 70%; border-radius: 8px; }
.ldl-home:hover { text-decoration: none; }
.ldl-home .ldl-lockup { width: 100%; max-width: none; }
.ldl-quote {
  margin: 0;
  max-width: 460px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-radius: 20px;
  padding: 10px 6px 4px;
  min-height: 120px;
}
.ldl-quote .trustpilot-widget { min-height: 24px; }
.ldl-quote .ldl-tp-fallback { display: block; padding: 14px 16px 18px; color: #fff; font-size: 14px; }
.ldl .ldl-brand-foot { margin: 0; font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ldl .ldl-brand-foot a { color: rgba(255, 255, 255, .78); font-weight: 600; }
.ldl .ldl-brand-foot a:hover { color: #fff; }

/* ---------- form side ---------- */
.ldl-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 32px 100px;
  gap: 22px;
}
.ldl .ldl-toplink {
  position: absolute; top: 20px; right: 28px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--text-2);
  padding: 6px 10px; border-radius: 999px;
}
.ldl .ldl-toplink:hover { color: var(--navy); background: var(--surface-2); text-decoration: none; }
.ldl .ldl-toplink svg { width: 15px; height: 15px; }
.ldl .ldl-center { text-align: center; margin-top: 6px; }
.ldl .ldl-center .ldl-link { font-size: 13px; }
.ldl-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--e-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ldl .ldl-card h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
  text-align: left;
}
.ldl .ldl-sub { font-size: 14.5px; color: var(--text-3); margin: -6px 0 2px; }
.ldl .ldl-sub strong { color: var(--text); font-weight: 700; overflow-wrap: anywhere; word-break: normal; }
.ldl-stepper { display: flex; align-items: center; gap: 6px; margin-bottom: -4px; }
.ldl-stepper i { width: 22px; height: 4px; border-radius: 2px; background: var(--border); display: block; }
.ldl-stepper i.on { background: linear-gradient(120deg, #01FCC2 0%, #22D3EE 100%); }
.ldl-stepper span {
  margin-left: 6px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3);
}

.ldl-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ldl .ldl-form label, .ldl-label-row label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  color: var(--text-2);
  display: block;
  margin: 4px 0 -2px;
}
.ldl-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.ldl-label-row a { font-size: 13px; }
.ldl .ldl-input {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  margin: 0;
}
.ldl .ldl-input:focus { border-color: var(--royal); box-shadow: 0 0 0 4px var(--info-soft); outline: none; }
.ldl .ldl-textarea { height: auto; min-height: 88px; padding: 12px 16px; line-height: 1.5; resize: vertical; font-size: 15px; }
.ldl-select { position: relative; display: block; }
.ldl-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ldl .ldl-select select {
  width: 100%; height: 52px;
  border: 1.5px solid var(--border-strong); border-radius: 14px;
  background: var(--surface); color: var(--text);
  padding: 0 44px 0 16px; margin: 0;
  font-family: var(--font-body); font-size: 15px;
  -webkit-appearance: none; appearance: none;
}
.ldl .ldl-select select:focus { border-color: var(--royal); box-shadow: 0 0 0 4px var(--info-soft); outline: none; }
.ldl-pass { position: relative; }
.ldl-pass .ldl-input { padding-right: 76px; }
.ldl .ldl-show {
  position: absolute; right: 8px; top: 8px; height: 36px;
  border: 0; background: transparent; border-radius: 10px;
  padding: 0 12px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--royal); cursor: pointer;
}

.ldl .ldl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  padding: 0 22px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  margin: 6px 0 0;
}
.ldl .ldl-btn:active { transform: scale(.985); }
.ldl .ldl-btn-primary { background: var(--navy); color: #fff; }
.ldl .ldl-btn-primary:hover { background: var(--royal); color: #fff; text-decoration: none; }
.ldl .ldl-btn-quiet { background: var(--surface); color: var(--navy); border-color: var(--border-strong); }
.ldl .ldl-btn-quiet:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.ldl .ldl-btn[disabled] { opacity: .55; cursor: progress; }

.ldl-or { display: flex; align-items: center; gap: 12px; color: var(--text-4); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin: 2px 0 -4px; }
.ldl-or::before, .ldl-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- code boxes ----------
   Without JavaScript this is one ordinary input. With JavaScript (.ldl-js)
   the input goes invisible on top of six boxes that mirror it, so paste,
   autofill (one-time-code) and screen readers all use the real input. */
.ldl-otp { position: relative; margin-top: 4px; }
.ldl .ldl-otp-input {
  width: 100%; height: 56px;
  border: 1.5px solid var(--border-strong); border-radius: 14px;
  background: var(--surface); color: var(--navy);
  padding: 0 16px; margin: 0;
  font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: .4em;
}
.ldl .ldl-otp-input:focus { border-color: var(--royal); box-shadow: 0 0 0 4px var(--info-soft); outline: none; }
.ldl-otp-cells { display: none; }
.ldl-js .ldl-otp { height: 60px; }
.ldl.ldl-js .ldl-otp-input {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0; border: 0; padding: 0;
  font-size: 16px; letter-spacing: 0;
  color: transparent; background: transparent; caret-color: transparent;
  z-index: 2; cursor: text; box-shadow: none;
}
.ldl-js .ldl-otp-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; height: 100%; }
.ldl-otp-cells span {
  display: grid; place-items: center;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  transition: border-color .15s, box-shadow .15s;
}
.ldl-otp-cells span.filled { border-color: var(--navy); }
.ldl-otp.focus .ldl-otp-cells span.next { border-color: var(--royal); box-shadow: 0 0 0 4px var(--info-soft); }
.ldl-otp.focus .ldl-otp-cells span.next::after { content: ""; width: 2px; height: 26px; background: var(--royal); animation: ldl-blink 1s steps(1) infinite; }
.ldl-otp.error .ldl-otp-cells span, .ldl-otp.error .ldl-otp-input { border-color: var(--danger); }
@keyframes ldl-blink { 50% { opacity: 0; } }

.ldl .ldl-help { font-size: 13px; color: var(--text-3); margin: 0; }
.ldl-resend { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: 13.5px; color: var(--text-3); }
.ldl-resend p { margin: 0; }
.ldl-resend form { margin: 0; display: flex; align-items: center; gap: 8px; }
.ldl .ldl-link { border: 0; background: none; padding: 0; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--royal); cursor: pointer; }
.ldl .ldl-link:hover { color: var(--navy); text-decoration: underline; }
.ldl .ldl-link[disabled] { color: var(--text-4); cursor: default; text-decoration: none; }
.ldl-wait { font-size: 12.5px; color: var(--text-4); font-variant-numeric: tabular-nums; }
.ldl .ldl-sent { margin: -6px 0 0; font-size: 13px; color: var(--success); font-weight: 600; }
.ldl-alt { margin: 0; }

/* ---------- notices ---------- */
.ldl-notice, .ldl-system .alert {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  border: 1px solid transparent;
}
.ldl-notice-error { background: var(--danger-soft); color: #8a1129; border-color: #f6c2cc; }
.ldl-notice-info { background: var(--info-soft); color: #13398f; border-color: #c7d7ff; }
.ldl-system .alert { background: var(--danger-soft); color: #8a1129; border-color: #f6c2cc; }
.ldl-system .alert-success { background: var(--success-soft); color: #005741; border-color: #a6f0dc; }
.ldl-system .alert ul { margin: 8px 0 0; padding-left: 18px; }
.ldl-system .alert li { list-style: disc; padding-top: 4px; }
.ldl-system .alert a { color: inherit; text-decoration: underline; }
.ldl-system .close { display: none; }
.ldl-dev { background: var(--warning-soft); color: var(--warning); border: 1px dashed #e3b44a; border-radius: 12px; padding: 8px 12px; font-size: 13px; }
.ldl-dev strong { letter-spacing: .2em; font-size: 15px; }

/* ---------- account chooser ---------- */
.ldl-accounts { display: grid; gap: 10px; margin: 0; }
.ldl .ldl-account {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.ldl .ldl-account:hover { border-color: var(--navy); box-shadow: var(--e-2); }
.ldl-account-ini { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, #7C5CFF 0%, #2A3480 55%, #001052 100%); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; flex: none; }
.ldl-account-txt { flex: 1; min-width: 0; }
.ldl-account-txt b { display: block; font-family: var(--font-display); font-size: 15px; color: var(--navy); }
.ldl-account-txt small { display: block; font-size: 12.5px; color: var(--text-3); overflow-wrap: anywhere; }
.ldl-account svg { color: var(--text-4); }

/* ---------- footer ---------- */
.ldl-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; font-size: 12px; color: var(--text-3); }
.ldl-secure { display: inline-flex; align-items: center; gap: 6px; }
.ldl-secure svg { width: 14px; height: 14px; }

/* ---------- Need help? pill and panel (learndirect CRS) ---------- */
@property --ldl-hpa { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ldl .ldl-hp {
  position: fixed; right: 26px; bottom: 26px; z-index: 40;
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 22px 0 8px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(140deg, #7C5CFF 0%, #2A3480 55%, #001052 100%) padding-box,
              conic-gradient(from var(--ldl-hpa), #22D3EE, #7C5CFF, #FF4FD8, #01FCC2, #22D3EE) border-box;
  color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  box-shadow: 0 18px 44px -14px rgba(124, 92, 255, .7);
  text-decoration: none;
  animation: ldl-hpspin 5s linear infinite;
  line-height: 1.1;
}
.ldl .ldl-hp:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }
@keyframes ldl-hpspin { to { --ldl-hpa: 360deg; } }
.ldl-orb { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(120deg, #22D3EE 0%, #2F6BFF 45%, #7C5CFF 100%); display: grid; place-items: center; position: relative; flex: none; }
.ldl .ldl-hp .ldl-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(1, 252, 194, .5); animation: ldl-hppulse 2.4s ease-out infinite; }
@keyframes ldl-hppulse { 70% { box-shadow: 0 0 0 12px rgba(1, 252, 194, 0); } 100% { box-shadow: 0 0 0 0 rgba(1, 252, 194, 0); } }
.ldl-orb svg { width: 22px; height: 22px; color: #fff; }
.ldl-hp-lb { display: flex; flex-direction: column; align-items: flex-start; }
.ldl-hp-t { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.ldl .ldl-hp small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11.5px; opacity: .8; margin-top: 2px; }
.ldl-newtag { display: inline-flex; align-items: center; height: 18px; padding: 0 8px; border-radius: 999px; background: linear-gradient(120deg, #FFB84D 0%, #FF4FD8 100%); color: #1a0b00; font-family: var(--font-display); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.ldl-js .ldl-hp[aria-expanded="true"] { opacity: 0; pointer-events: none; }

.ldl-hpanel {
  display: none;
  position: fixed; right: 26px; bottom: 26px; z-index: 50;
  width: 400px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 52px);
  max-height: calc(100dvh - 52px);
  background: var(--surface); color: var(--text);
  border-radius: 24px;
  box-shadow: 0 24px 60px -20px rgba(12, 19, 48, .45), 0 0 0 1px var(--border);
  overflow: hidden;
  flex-direction: column;
  font-size: 14px;
}
.ldl-hpanel:target, .ldl-hpanel.open { display: flex; }
.ldl-hpanel-top { background: linear-gradient(140deg, #7C5CFF 0%, #2A3480 55%, #001052 100%); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; flex: none; }
.ldl-hpanel-top::after { content: ""; position: absolute; right: -60px; top: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 252, 194, .35), rgba(1, 252, 194, 0)); pointer-events: none; }
.ldl-hpanel-top > * { position: relative; z-index: 1; }
.ldl-hpanel-top .ldl-orb { width: 40px; height: 40px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.ldl-hpanel-top .ldl-orb svg { width: 20px; height: 20px; }
.ldl-hpanel-top div { flex: 1; min-width: 0; }
.ldl-hpanel-top b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ldl-hpanel-top span { display: block; font-size: 12px; opacity: .85; }
.ldl .ldl-hpanel-close { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: #fff; flex: none; }
.ldl .ldl-hpanel-close:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.ldl .ldl-hpanel-close svg { width: 16px; height: 16px; }
.ldl-hpanel-body { padding: 18px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ldl-hp-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ldl-hp-field label { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text-2); display: block; margin: 0 0 6px; }
.ldl-hp-field .ldl-opt { font-family: var(--font-body); font-weight: 500; color: var(--text-4); }
.ldl-hp-field.error .ldl-input, .ldl-hp-field.error select { border-color: var(--danger); }
.ldl .ldl-hp-err { margin: 6px 0 0; font-size: 12.5px; color: var(--danger); font-weight: 600; }
.ldl .ldl-hp-msg { margin: 0; background: var(--danger-soft); color: #8a1129; border: 1px solid #f6c2cc; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.ldl-hp-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ldl .ldl-hp-foot { margin: 2px 0 0; font-size: 12px; color: var(--text-3); }
.ldl-hp-done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 2px 4px; }
.ldl .ldl-hidden { display: none !important; }
.ldl-hp-tick { width: 44px; height: 44px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.ldl-hp-tick svg { width: 22px; height: 22px; }
.ldl .ldl-hp-done h2 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -.01em; line-height: 1.25; }
.ldl .ldl-hp-done h2 strong { white-space: nowrap; }
.ldl .ldl-hp-done p { margin: 0; color: var(--text-2); font-size: 14px; }
.ldl .ldl-hp-done p strong { overflow-wrap: anywhere; }
.ldl .ldl-hp-done .ldl-btn { width: auto; min-height: 44px; padding: 0 22px; margin-top: 6px; }
.ldl .ldl-hp-done .ldl-btn:focus-visible { box-shadow: var(--focus); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ldl-brand { padding: 44px 40px 32px; }
  .ldl .ldl-headline { font-size: 40px; }
}
@media (max-height: 820px) and (min-width: 861px) {
  .ldl-brand { padding-top: 40px; }
  .ldl-brand-body { padding: 28px 0; }
}
@media (max-width: 860px) {
  .ldl { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ldl-brand { padding: 26px 22px 26px; border-radius: 0 0 28px 28px; }
  .ldl-lockup { width: 200px; }
  .ldl-brand-body { padding: 0; margin: 20px 0 0; }
  .ldl .ldl-headline { font-size: 27px; line-height: 1.1; margin: 0; max-width: 18ch; }
  .ldl .ldl-headline br { display: none; }
  .ldl .ldl-lede, .ldl-quote, .ldl .ldl-brand-foot, .ldl-foot { display: none; }
  .ldl-home { width: 200px; }
  .ldl-main { justify-content: flex-start; padding: 18px 16px 110px; }
  .ldl .ldl-toplink { position: static; align-self: flex-end; margin: -6px 0 -10px; }
  .ldl .ldl-hp { right: 14px; bottom: 16px; height: 56px; font-size: 14px; padding-right: 18px; }
  .ldl .ldl-hp small { display: none; }
  .ldl-hpanel { right: 0; bottom: 0; left: 0; width: auto; max-width: none; border-radius: 24px 24px 0 0; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .ldl-card { padding: 24px 20px; border-radius: 24px; gap: 14px; }
  .ldl .ldl-card h1 { font-size: 24px; }
  .ldl-js .ldl-otp { height: 56px; }
  .ldl-js .ldl-otp-cells { gap: 6px; }
  .ldl-otp-cells span { font-size: 22px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ldl * { transition: none !important; animation: none !important; }
  .ldl .ldl-hp { background: linear-gradient(140deg, #7C5CFF 0%, #2A3480 55%, #001052 100%) padding-box, linear-gradient(120deg, #22D3EE, #7C5CFF) border-box; }
}


/* ---- Equal choice: code or password ---- */
.ldl .ldl-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin: 0 0 4px;
}
.ldl .ldl-switch-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-3);
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.ldl .ldl-switch-opt svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ldl .ldl-switch-opt:hover { color: var(--navy); }
.ldl .ldl-switch-opt.is-on { background: var(--navy); color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 16, 82, .6); }
.ldl .ldl-switch-opt:focus-visible { outline: none; box-shadow: var(--focus); }
@media (max-width: 480px) {
  .ldl .ldl-switch-opt { font-size: 12.5px; gap: 6px; padding: 8px 6px; }
  .ldl .ldl-switch-opt svg { width: 15px; height: 15px; }
}
@media (max-width: 374px) {
  .ldl .ldl-switch-opt svg { display: none; }
}

/* ---- Step 2: where the code went ---- */
.ldl .ldl-dest-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--info-soft);
  border: 1px solid #CFDCFF;
}
.ldl .ldl-dest-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: #fff; }
.ldl .ldl-dest-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ldl .ldl-dest-box p { margin: 0; }
.ldl .ldl-dest-lead { font-size: 13.5px; color: var(--text-2); }
.ldl .ldl-dest { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: .01em; word-break: break-all; margin: 2px 0 !important; font-variant-numeric: tabular-nums; }
.ldl .ldl-dest-note { font-size: 12.5px; color: var(--text-3); }
.ldl .ldl-dest-note a { color: var(--royal); font-weight: 700; }
