:root {
  --lu-auth-ink: #080b33;
  --lu-auth-muted: #596179;
  --lu-auth-soft: #f6f7fb;
  --lu-auth-surface: #ffffff;
  --lu-auth-line: #e8eaf2;
  --lu-auth-navy: #090d2e;
  --lu-auth-brand: #5228df;
  --lu-auth-brand-2: #7c3bff;
  --lu-auth-success: #14aa68;
  --lu-auth-info: #0968e8;
  --lu-auth-warning: #ff8a2a;
  --lu-auth-critical: #e24b42;
  --lu-auth-radius: 8px;
  --lu-auth-radius-lg: 12px;
  --lu-auth-shadow: 0 22px 58px rgba(17, 20, 63, 0.12);
  --lu-auth-font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

.lu-ops-auth-body {
  min-height: 100vh;
  margin: 0;
  color: var(--lu-auth-ink);
  background:
    linear-gradient(180deg, rgba(82, 40, 223, 0.06), rgba(9, 13, 46, 0) 34%),
    var(--lu-auth-soft);
  font-family: var(--lu-auth-font);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.lu-ops-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1fr);
}

.lu-ops-auth-panel {
  min-width: 0;
}

.lu-ops-auth-panel--command {
  display: grid;
  align-content: space-between;
  gap: 32px;
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(124, 59, 255, 0.18), rgba(124, 59, 255, 0) 42%),
    radial-gradient(circle at 20% 8%, rgba(20, 170, 104, 0.2), transparent 30%),
    var(--lu-auth-navy);
}

.lu-ops-auth-panel--form {
  display: grid;
  place-items: center;
  padding: 34px;
}

.lu-ops-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lu-ops-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lu-auth-radius);
  background: linear-gradient(135deg, var(--lu-auth-brand), var(--lu-auth-success));
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.lu-ops-brand strong,
.lu-ops-brand span {
  display: block;
}

.lu-ops-brand strong {
  font-size: 15px;
  font-weight: 950;
}

.lu-ops-brand span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.lu-ops-brand--dark span {
  color: var(--lu-auth-muted);
}

.lu-ops-command-copy {
  max-width: 620px;
}

.lu-ops-kicker,
.lu-ops-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lu-ops-kicker {
  color: #cfd7ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lu-ops-pill {
  width: fit-content;
  color: var(--lu-auth-brand);
  background: rgba(82, 40, 223, 0.1);
  border: 1px solid rgba(82, 40, 223, 0.14);
}

.lu-ops-command-copy h1,
.lu-ops-form-header h2,
.lu-ops-pending-card h1 {
  margin: 14px 0 0;
  letter-spacing: 0;
  line-height: 1.04;
  font-weight: 950;
}

.lu-ops-command-copy h1 {
  max-width: 760px;
  font-size: clamp(44px, 6vw, 76px);
}

.lu-ops-command-copy p,
.lu-ops-form-header p,
.lu-ops-boundary-note span,
.lu-ops-pending-card p {
  margin: 14px 0 0;
  line-height: 1.56;
}

.lu-ops-command-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.lu-ops-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lu-ops-signal-grid article,
.lu-ops-pending-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--lu-auth-radius);
  background: rgba(255, 255, 255, 0.06);
}

.lu-ops-signal-grid span,
.lu-ops-pending-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.lu-ops-signal-grid strong,
.lu-ops-pending-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.1;
}

.lu-ops-signal-grid small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
}

.lu-ops-source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lu-ops-source-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--lu-auth-radius);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px;
  font-weight: 850;
}

.lu-ops-auth-card,
.lu-ops-pending-card {
  width: min(100%, 520px);
  padding: 28px;
  border: 1px solid var(--lu-auth-line);
  border-radius: var(--lu-auth-radius-lg);
  background: var(--lu-auth-surface);
  box-shadow: var(--lu-auth-shadow);
}

.lu-ops-form-header h2 {
  font-size: 34px;
}

.lu-ops-form-brand {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lu-ops-form-brand strong,
.lu-ops-form-brand span {
  display: block;
}

.lu-ops-form-brand strong {
  font-size: 15px;
  font-weight: 950;
}

.lu-ops-form-brand span {
  margin-top: 2px;
  color: var(--lu-auth-muted);
  font-size: 12px;
  font-weight: 800;
}

.lu-ops-form-header p,
.lu-ops-boundary-note span,
.lu-ops-pending-card p {
  color: var(--lu-auth-muted);
  font-size: 14px;
}

.lu-ops-auth-methods {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.lu-ops-auth-method,
.lu-ops-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: var(--lu-auth-radius);
  border: 1px solid var(--lu-auth-line);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.lu-ops-auth-method {
  width: 100%;
  color: var(--lu-auth-ink);
  background: #ffffff;
}

.lu-ops-auth-method:disabled,
.lu-ops-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.lu-ops-auth-method:disabled:hover,
.lu-ops-button:disabled:hover {
  transform: none;
}

.lu-ops-auth-method:hover,
.lu-ops-button:hover {
  transform: translateY(-1px);
}

.lu-ops-auth-method:focus-visible,
.lu-ops-button:focus-visible,
.lu-ops-field input:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(82, 40, 223, 0.18);
}

.lu-ops-method-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--lu-auth-brand);
  font-size: 12px;
  font-weight: 950;
}

.lu-ops-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 22px 0 18px;
  color: var(--lu-auth-muted);
  font-size: 12px;
  font-weight: 850;
}

.lu-ops-divider::before,
.lu-ops-divider::after {
  content: "";
  height: 1px;
  background: var(--lu-auth-line);
}

.lu-ops-form {
  display: grid;
  gap: 12px;
}

.lu-ops-field {
  display: grid;
  gap: 7px;
}

.lu-ops-field span {
  color: var(--lu-auth-muted);
  font-size: 12px;
  font-weight: 900;
}

.lu-ops-field input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--lu-auth-ink);
  background: #fbfcff;
  border: 1px solid var(--lu-auth-line);
  border-radius: var(--lu-auth-radius);
  outline: 0;
}

.lu-ops-action-row {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 10px;
}

.lu-ops-button {
  min-height: 44px;
  padding: 0 16px;
}

.lu-ops-button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--lu-auth-brand), var(--lu-auth-brand-2));
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(82, 40, 223, 0.18);
}

.lu-ops-button--ghost {
  color: var(--lu-auth-brand);
  background: rgba(82, 40, 223, 0.08);
  border-color: rgba(82, 40, 223, 0.14);
}

.lu-ops-auth-status {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: var(--lu-auth-radius);
  font-size: 13px;
  line-height: 1.35;
}

.lu-ops-auth-status.ok {
  color: #08784a;
  background: #e7f7ef;
}

.lu-ops-auth-status.error {
  color: #b42318;
  background: #fff0ef;
}

.lu-ops-boundary-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 12px;
  border-radius: var(--lu-auth-radius);
  background: #f8f9ff;
  border: 1px solid var(--lu-auth-line);
}

.lu-ops-boundary-note strong {
  font-size: 13px;
}

.lu-ops-pending-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lu-ops-pending-card {
  display: grid;
  gap: 18px;
}

.lu-ops-pending-card h1 {
  margin-top: 0;
  font-size: 32px;
}

.lu-ops-pending-card p {
  margin-top: 0;
}

.lu-ops-pending-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lu-ops-pending-grid article {
  border-color: var(--lu-auth-line);
  background: #f8f9ff;
}

.lu-ops-pending-grid span {
  color: var(--lu-auth-muted);
}

.lu-ops-pending-grid strong {
  color: var(--lu-auth-ink);
  font-size: 17px;
}

@media (max-width: 980px) {
  .lu-ops-auth-shell {
    grid-template-columns: 1fr;
  }

  .lu-ops-auth-panel--command {
    min-height: auto;
    padding: 26px;
  }

  .lu-ops-auth-panel--form {
    padding: 22px;
  }

  .lu-ops-command-copy h1 {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  .lu-ops-auth-panel--form {
    order: 1;
  }

  .lu-ops-auth-panel--command {
    order: 2;
  }

  .lu-ops-auth-panel--command {
    gap: 22px;
    padding: 22px 16px;
  }

  .lu-ops-auth-panel--form,
  .lu-ops-pending-shell {
    padding: 16px;
  }

  .lu-ops-command-copy h1 {
    font-size: 34px;
  }

  .lu-ops-form-brand {
    display: inline-flex;
  }

  .lu-ops-signal-grid,
  .lu-ops-pending-grid,
  .lu-ops-action-row {
    grid-template-columns: 1fr;
  }

  .lu-ops-auth-card,
  .lu-ops-pending-card {
    padding: 20px;
  }

  .lu-ops-form-header h2,
  .lu-ops-pending-card h1 {
    font-size: 28px;
  }
}
