/* =========================================================================
   AUTH PAGE — UNDP / ESD 360
   -------------------------------------------------------------------------
   Blue and white only. Institutional navy shell, Blue 170 CTAs.
   Principal font: Arial (UNDP web annex).
   ========================================================================= */

/* ------------------------------------------------------------------ tokens */
:root {
  --auth-app-bg: #f4f7fb;
  --auth-surface: #ffffff;
  --auth-surface-alt: var(--portal-accent-tint, #E8F4F3);
  --auth-ink: var(--primary-dark, #0F1F23);
  --auth-ink-soft: var(--ink-soft, #1A4544);
  --auth-muted: #64748b;
  --auth-border: var(--undp-border, #d5dce4);
  --auth-border-strong: var(--undp-blue-grey, #94A3A8);

  --auth-navy: var(--ref-navy, #0F1F23);
  --navy-deep: #0A1417;
  --auth-teal: var(--portal-accent, #2F7C7B);
  --auth-teal-deep: var(--primary-dark, #0F1F23);
  --auth-teal-tint-10: var(--brand-tint-10, color-mix(in srgb, var(--portal-accent) 10%, transparent));
  --auth-teal-tint-12: var(--brand-tint-12, color-mix(in srgb, var(--portal-accent) 12%, transparent));
  --auth-gold: var(--portal-accent, #2F7C7B);

  --auth-success: var(--portal-accent, #2F7C7B);
  --auth-warning: var(--interactive, #256665);
  --auth-error: var(--primary-dark, #0F1F23);
  --auth-info: var(--portal-accent, #2F7C7B);

  /* Bridge legacy inline styles — do not hard-lock palette over branding */
  --error: var(--auth-error);

  --auth-font-sans: Arial, Helvetica, "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --auth-font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --auth-font-serif: Arial, Helvetica, "Helvetica Neue", system-ui, sans-serif;

  --auth-shadow-card: 0 4px 16px -6px color-mix(in srgb, var(--ref-navy) 8%, transparent);
  --auth-shadow-lift: 0 12px 40px -12px color-mix(in srgb, var(--ref-navy) 16%, transparent);
  --auth-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --auth-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --auth-radius: 10px;
  --auth-radius-sm: 8px;
}

/* Soft radius for premium UNDP auth (override legacy zero-radius rule) */
.auth-container,
.auth-container *,
.auth-container *::before,
.auth-container *::after {
  box-sizing: border-box;
}

.auth-form-container,
.auth-container .input-field,
.auth-container .btn,
.auth-container .feature-icon,
.auth-container .search-input-wrapper {
  border-radius: var(--auth-radius) !important;
}

body:has(> .auth-container) {
  margin: 0;
  font-family: var(--auth-font-sans);
  color: var(--auth-ink);
  background: var(--auth-app-bg);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   SPLIT LAYOUT
   ========================================================================== */
.auth-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  font-family: var(--auth-font-sans);
  color: var(--auth-ink);
  background: var(--auth-app-bg);
}
@media (max-width: 980px) {
  .auth-container { grid-template-columns: 1fr; }
  .auth-right { display: none; }
}

/* ==========================================================================
   LEFT — FORM PANEL
   ========================================================================== */
.auth-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.75rem clamp(1.5rem, 5vw, 4rem) 4.75rem;
  overflow: hidden;
  background: #ffffff;
}

.auth-left-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.auth-left-atmosphere__wash {
  position: absolute;
  inset: 0;
  background: #ffffff;
}

.auth-left-atmosphere__pattern {
  display: none;
}

.auth-left-atmosphere__icons {
  display: none;
  position: absolute;
  top: 4.5rem;
  bottom: 2.25rem;
  width: 84px;
  opacity: 0.32;
  background-color: var(--auth-teal, var(--primary-brand));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='168' viewBox='0 0 84 168'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' opacity='0.75'%3E%3Ccircle cx='42' cy='24' r='8'/%3E%3Cpath d='M34 58h16M42 50v16'/%3E%3Cpath d='M28 88h28v20H28z'/%3E%3Cpath d='M34 120c0-6 4-10 8-10s8 4 8 10'/%3E%3Ccircle cx='42' cy='106' r='4'/%3E%3Cpath d='M30 146h24M42 136v20'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='168' viewBox='0 0 84 168'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' opacity='0.75'%3E%3Ccircle cx='42' cy='24' r='8'/%3E%3Cpath d='M34 58h16M42 50v16'/%3E%3Cpath d='M28 88h28v20H28z'/%3E%3Cpath d='M34 120c0-6 4-10 8-10s8 4 8 10'/%3E%3Ccircle cx='42' cy='106' r='4'/%3E%3Cpath d='M30 146h24M42 136v20'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-y;
  mask-repeat: repeat-y;
  -webkit-mask-size: 84px 168px;
  mask-size: 84px 168px;
  background-image: none;
  background-repeat: repeat-y;
  background-size: 84px 168px;
}

.auth-left-atmosphere__icons--left {
  left: 1rem;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.85) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.85) 82%, transparent 100%);
}

.auth-left-atmosphere__icons--right {
  right: 1rem;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 14%, rgba(0, 0, 0, 0.55) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 14%, rgba(0, 0, 0, 0.55) 78%, transparent 100%);
}

.auth-left-atmosphere__fade {
  display: none;
}

.auth-left > *:not(.auth-left-atmosphere):not(.auth-brand-link) {
  position: relative;
  z-index: 1;
}

.auth-brand-link {
  position: absolute;
  top: 1.5rem;
  left: clamp(1.25rem, 4vw, 2.5rem);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--auth-muted);
  transition: color 0.2s var(--auth-ease), opacity 0.2s var(--auth-ease);
}

.auth-brand-link:hover {
  color: var(--auth-navy);
  opacity: 1;
}

.auth-brand-link__arrow {
  color: var(--auth-teal);
  font-weight: 700;
}

.auth-brand-link__logo {
  height: 36px;
  width: auto;
}

.auth-form-wrapper {
  display: flex;
  justify-content: center;
}

.auth-form-container {
  display: block;
  width: 100%;
  max-width: 440px;
  min-height: min(620px, calc(100vh - 8rem));
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  box-shadow:
    0 4px 16px -6px color-mix(in srgb, var(--ref-navy) 8%, transparent),
    0 18px 48px -18px color-mix(in srgb, var(--ref-navy) 20%, transparent);
  overflow: hidden;
  animation: authRiseIn 0.7s var(--auth-ease-out) both;
}

/* Password-reset / legacy auth shells without body */
.auth-form-container:not(:has(.auth-form-body)) {
  padding: 2.15rem 1.9rem 1.85rem;
}

.auth-form-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding: clamp(2.5rem, 4.5vh, 3.25rem) clamp(1.75rem, 3vw, 2.25rem);
  box-sizing: border-box;
}

@keyframes authRiseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.auth-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-form-brand {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  margin: 0 0 1.15rem;
}

.auth-form-header .auth-undp-brand {
  justify-content: center;
}

.auth-form-header__logo {
  display: block;
  margin: 0 auto 1.15rem;
  height: 44px;
  width: auto;
}

.auth-focal-title {
  font-size: clamp(1.45rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: var(--auth-navy);
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0;
  animation: authRiseIn 0.7s var(--auth-ease-out) 0.18s both;
}

.font-serif { font-family: var(--auth-font-serif); }

.auth-support-copy {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--auth-muted);
  animation: authRiseIn 0.7s var(--auth-ease-out) 0.26s both;
}

.auth-forgot-link {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.auth-apply-hint {
  margin: 1.75rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--auth-border);
  font-size: 0.84rem;
  color: var(--auth-muted);
  text-align: center;
  line-height: 1.5;
}

.auth-apply-hint a {
  color: var(--auth-teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.auth-apply-hint a:hover {
  color: var(--auth-teal);
  text-decoration: underline;
}

/* staggered form fields */
.auth-form-container form .input-group { animation: authRiseIn 0.6s var(--auth-ease-out) both; }
.auth-form-container form .input-group:nth-of-type(1) { animation-delay: 0.32s; }
.auth-form-container form .input-group:nth-of-type(2) { animation-delay: 0.4s; }
.auth-form-container form .auth-primary-action { animation: authRiseIn 0.6s var(--auth-ease-out) 0.48s both; }

/* ---------------------------------------------------------------- messages */
.auth-messages { margin-bottom: 1rem; }
.auth-message {
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  background: var(--auth-surface-alt);
  border: 1px solid var(--auth-border-strong);
  border-left: 3px solid var(--auth-info);
  color: var(--auth-ink-soft);
  animation: authRiseIn 0.4s var(--auth-ease-out) both;
}
.auth-message--error {
  border-left-color: var(--auth-navy);
  background: var(--auth-surface-alt);
  color: var(--auth-navy);
  animation: authShake 0.4s var(--auth-ease) both;
}
.auth-message--success {
  border-left-color: var(--auth-teal);
  background: var(--auth-surface-alt);
  color: var(--auth-teal-deep);
}
.auth-message--warning {
  border-left-color: var(--auth-info);
  background: var(--auth-surface-alt);
  color: var(--auth-info);
}
.auth-message--info { border-left-color: var(--auth-info); color: var(--auth-info); }

.auth-form-error,
.auth-field-error {
  padding: 0.55rem 0.75rem;
  margin: 0.4rem 0 0.75rem;
  font-size: 0.8rem;
  background: var(--auth-surface-alt);
  border: 1px solid var(--auth-border);
  border-left: 3px solid var(--auth-navy);
  color: var(--auth-navy);
  animation: authShake 0.4s var(--auth-ease) both;
}
.auth-error-list { list-style: none; margin: 0; padding: 0; }
.auth-error-list li + li { margin-top: 0.25rem; }
@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

/* ------------------------------------------------------------------- form */
.auth-container .input-group { margin-bottom: 1.35rem; }
.auth-container .auth-trust-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--auth-ink-soft);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}
.auth-container .auth-trust-label input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--auth-teal-deep, var(--primary-brand));
}
.auth-container .auth-otp-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--auth-border);
}
.auth-container .auth-otp-actions__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.1rem 0.35rem;
  margin: 0;
}
.auth-container .auth-otp-actions__hint {
  font-size: 0.84rem;
  color: var(--auth-muted);
}
.auth-container .auth-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--auth-teal-deep);
  background: none;
  border: 0;
  border-radius: var(--auth-radius-sm);
  cursor: pointer;
  transition: color 0.2s var(--auth-ease), background 0.2s var(--auth-ease);
}
.auth-container .auth-link-btn:hover {
  color: var(--auth-teal);
  background: var(--auth-teal-tint-10);
}
.auth-container .auth-link-btn:focus-visible {
  outline: 2px solid var(--auth-teal);
  outline-offset: 2px;
}
.auth-container .auth-link-btn:disabled {
  color: var(--auth-muted);
  background: none;
  cursor: not-allowed;
  opacity: 0.65;
}
.auth-container .auth-link-btn__icon { flex-shrink: 0; }
.auth-container .auth-link-btn--muted {
  font-weight: 600;
  color: var(--auth-muted);
}
.auth-container .auth-link-btn--muted:hover { color: var(--auth-teal-deep); }
.auth-container .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--auth-ink-soft);
  margin-bottom: 0.4rem;
}
.auth-container .flex-between {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.auth-container .text-link {
  color: var(--auth-teal-deep);
  text-decoration: none;
  transition: color 0.2s var(--auth-ease);
}
.auth-container .text-link:hover { color: var(--auth-teal); text-decoration: underline; }
.auth-container .text-sm { font-size: 0.8rem; }
.auth-container .text-muted { color: var(--auth-muted); }
.auth-container .hidden { display: none !important; }

.auth-container .search-input-wrapper { position: relative; }
.auth-container .auth-input-leading-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--auth-muted);
  pointer-events: none;
  transition: color 0.2s var(--auth-ease);
}
.auth-container .search-input-wrapper:focus-within .auth-input-leading-icon { color: var(--auth-teal); }

.auth-container .input-field {
  display: block;
  width: 100%;
  padding: 0.75rem 0.9rem 0.75rem 2.6rem;
  font-family: var(--auth-font-sans);
  font-size: 0.92rem;
  color: var(--auth-ink);
  background: var(--auth-surface);
  border: 1.5px solid var(--auth-border-strong);
  transition: border-color 0.2s var(--auth-ease), box-shadow 0.2s var(--auth-ease),
              background 0.2s var(--auth-ease);
}
.auth-container .input-field::placeholder { color: #A6B2C0; }
.auth-container .input-field:focus {
  outline: none;
  border-color: var(--auth-teal);
  box-shadow: 0 0 0 4px var(--auth-teal-tint-12);
}
.auth-container .search-input-wrapper--password .input-field { padding-right: 2.9rem; }

.auth-container .password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--auth-muted);
  cursor: pointer;
  transition: color 0.2s var(--auth-ease), background 0.2s var(--auth-ease);
}
.auth-container .password-toggle { border-radius: var(--auth-radius-sm); }
.auth-container .password-toggle:hover { color: var(--auth-teal-deep); background: var(--auth-teal-tint-10); }
.auth-container .password-toggle:focus-visible { outline: 2px solid var(--auth-teal); outline-offset: 2px; }
.auth-container .password-toggle__icon { display: grid; place-items: center; }

/* primary action */
.auth-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--auth-font-sans);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
}

.auth-container .auth-primary-action,
.auth-container .btn.btn-primary.auth-primary-action {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: #fff;
  background: var(--auth-teal);
  border-color: var(--auth-teal);
  box-shadow: 0 4px 14px var(--brand-tint-25, color-mix(in srgb, var(--portal-accent) 22%, transparent));
  transition: background 0.2s var(--auth-ease), border-color 0.2s var(--auth-ease),
              box-shadow 0.2s var(--auth-ease), transform 0.2s var(--auth-ease),
              color 0.2s var(--auth-ease);
}

/* Kill global style.css teal hover overlay (#246B6A via ::before) */
.auth-container .auth-primary-action::before,
.auth-container .btn.btn-primary.auth-primary-action::before {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: none !important;
}

.auth-container .auth-primary-action:hover:not(:disabled),
.auth-container .btn.btn-primary.auth-primary-action:hover:not(:disabled) {
  color: #fff !important;
  background: var(--auth-navy) !important;
  border-color: var(--auth-navy) !important;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ref-navy) 28%, transparent);
  transform: translateY(-1px);
  filter: none;
}

.auth-container .auth-primary-action:active:not(:disabled),
.auth-container .btn.btn-primary.auth-primary-action:active:not(:disabled) {
  color: #fff !important;
  background: var(--navy-deep, var(--navy-deep, #0A1417)) !important;
  border-color: var(--navy-deep, var(--navy-deep, #0A1417)) !important;
  transform: none;
}

.auth-container .auth-primary-action:focus-visible {
  outline: none;
  color: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--auth-teal);
}

.auth-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  text-align: center;
  font-size: 0.74rem;
  color: var(--auth-muted);
}

/* ==========================================================================
   RIGHT — INSTITUTIONAL EDITORIAL PANEL
   ========================================================================== */
.auth-right {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--auth-navy, var(--navy-deep, #0A1417));
  color: #e7eff6;
}

.auth-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--auth-navy, var(--primary-dark));
  z-index: 0;
}

.auth-right-bg { display: none; }

.auth-right-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.auth-right-atmosphere__glow {
  position: absolute;
  width: 85%;
  height: 70%;
  top: -18%;
  right: -28%;
  background: radial-gradient(ellipse at center, var(--brand-tint-34, color-mix(in srgb, var(--portal-accent) 34%, transparent)) 0%, transparent 70%);
}

.auth-right-atmosphere__orbit {
  position: absolute;
  width: min(520px, 90%);
  height: min(520px, 90%);
  top: 50%;
  left: 55%;
  border: 1px solid color-mix(in srgb, var(--accent-bright, var(--auth-teal)) 12%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 0 0 40px color-mix(in srgb, var(--accent-bright, var(--auth-teal)) 2%, transparent),
    inset 0 0 0 80px color-mix(in srgb, var(--accent-bright, var(--auth-teal)) 1.5%, transparent);
}

.auth-right-atmosphere__mark {
  position: absolute;
  right: -4%;
  bottom: -6%;
  font-size: clamp(8rem, 18vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
  pointer-events: none;
}

.auth-right-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(2.25rem, 4.5vw, 3.5rem) clamp(1.6rem, 4vw, 2.75rem);
}

.auth-right__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.auth-right__org {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--portal-accent, var(--auth-teal)) 55%, #ffffff);
}

.auth-right__signal {
  flex: 1;
  max-width: 4.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--auth-teal), transparent);
}

.auth-right__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.auth-right__title-line {
  color: #fff;
}

.auth-right__title-accent {
  /* Prefer a light brand tint on the deep shell — never muddy mid-tones on CTA red */
  color: color-mix(in srgb, var(--portal-accent, var(--auth-teal)) 42%, #ffffff);
}

.auth-right__lede {
  margin: 1.15rem 0 0;
  max-width: 38ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(231, 239, 246, 0.8);
}

.auth-right__figure {
  margin: 1.5rem 0 0;
  padding: 0.85rem 0.5rem 0.35rem;
  background: color-mix(in srgb, var(--navy-deep, var(--auth-navy)) 35%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-bright, var(--auth-teal)) 16%, transparent);
  border-radius: 2px;
}

.auth-right__constellation {
  display: block;
  width: 100%;
  height: auto;
}

.auth-orbit-spin {
  transform-origin: 190px 110px;
  animation: authOrbitDash 28s linear infinite;
}

@keyframes authOrbitDash {
  to { stroke-dashoffset: -120; }
}

.auth-right__spine {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  position: relative;
}

.auth-right__spine::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 1px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-bright, var(--auth-teal)) 55%, transparent), color-mix(in srgb, var(--accent-bright, var(--auth-teal)) 8%, transparent));
}

.auth-right__spine li {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
}

.auth-right__spine li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-right__spine-num {
  position: relative;
  z-index: 1;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff !important;
  background: var(--auth-teal);
  border: 2px solid color-mix(in srgb, var(--portal-accent, var(--auth-teal)) 45%, #ffffff);
  border-radius: 2px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--auth-navy) 35%, transparent);
}

.auth-right__spine strong {
  display: block;
  margin: 0.1rem 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}

.auth-right__spine li > div > span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(231, 239, 246, 0.68);
}

.auth-right__motto {
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--portal-accent, var(--auth-teal)) 40%, rgba(231, 239, 246, 0.85));
}

/* ==========================================================================
   SMALL SCREENS
   ========================================================================== */
@media (max-width: 560px) {
  .auth-left { padding: 5.25rem 1rem 4.25rem; }
  .auth-brand-link { left: 1rem; }
  .auth-form-container { min-height: 0; }
  .auth-form-body { padding: 1.85rem 1.25rem 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-container *,
  .auth-container *::before,
  .auth-container *::after {
    animation: none !important;
    transition: none !important;
  }

  .auth-left-atmosphere__pattern,
  .auth-orbit-spin {
    animation: none;
  }
}


/* Shared brand mark on auth */
.auth-form-header .brand-mark {
  justify-content: center;
  margin: 0 auto 1.15rem;
}
.auth-form-header .brand-mark--custom .brand-mark__plate,
.auth-form-header .brand-mark--custom .brand-mark-plate {
  margin: 0 auto;
}
.auth-form-brand .brand-mark {
  margin-bottom: 0;
}
