button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.login-shell { padding: 32px; }
.auth-frame {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  background: #fff;
  box-shadow: 0 30px 90px #07130d66;
}
.auth-brand {
  min-height: 620px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: #0f2118;
}
.auth-brand .wordmark { color: var(--lime); font-size: 36px; }
.auth-brand > strong { margin-top: 8px; font-size: 18px; }
.auth-brand p { margin: 46px 0 24px; color: #c1cec5; font-size: 17px; }
.auth-brand ol { margin: 0; padding-left: 20px; display: grid; gap: 13px; color: #dce6df; }
.auth-panels { min-height: 620px; display: grid; place-items: center; }
.auth-panel.login-card { width: min(480px, 100%); padding: 48px 52px; border-top: 0; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.auth-panel h1 { margin: 8px 0 12px; }
.auth-panel > p { margin: 0 0 24px; color: var(--muted); }
.auth-panel label { margin: 14px 0 6px; }
.auth-panel > .primary { width: 100%; margin-top: 20px; }
.auth-actions { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; }
.auth-actions button,
.text-button { padding: 8px 0 !important; border: 0 !important; color: var(--green); background: transparent !important; }
.inline-fields { margin: 14px 0; padding-left: 14px; border-left: 3px solid var(--lime); }
.code-input { text-align: center; font: 700 24px/1 ui-monospace, monospace; letter-spacing: .28em; }
.form-status { min-height: 24px; margin-top: 14px; color: var(--red); }
.form-status.success { color: var(--green); }
button:disabled { cursor: not-allowed; opacity: .55; }

@media (max-width: 720px) {
  .login-shell { padding: 0; background: #fff; }
  .auth-frame { min-height: 100vh; display: block; box-shadow: none; }
  .auth-brand { min-height: auto; padding: 24px; }
  .auth-brand p, .auth-brand ol { display: none; }
  .auth-brand .wordmark { font-size: 26px; }
  .auth-panels { min-height: 0; }
  .auth-panel.login-card { padding: 34px 24px; }
  .auth-panel h1 { font-size: 30px; }
  .auth-actions { align-items: flex-start; }
}
