body.account-page {
  background: #101820;
  color: #eaf1f8;
  font-family: system-ui, sans-serif;
  padding: 24px;
  box-sizing: border-box;
}

.cs1-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(960px, 100%);
  border: 1px solid #3b4b5c;
  background: #18232e;
  box-shadow: 0 24px 64px #0005;
}

.cs1-login-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(24px, 5vw, 56px);
  background: linear-gradient(145deg, #24394d, #172634 75%);
  border-right: 1px solid #3b4b5c;
}

.cs1-wordmark {
  width: fit-content;
  color: #f3f7fb;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-decoration: none;
}

.cs1-wordmark span, .cs1-kicker { color: #a8cdef; }
.cs1-wordmark { display: grid; gap: 2px; letter-spacing: .02em; }
.cs1-wordmark span { font-size: .85em; font-weight: 550; }
.cs1-kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.cs1-login-brand h2 { margin: 12px 0; max-width: 16ch; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.1; letter-spacing: -.04em; }
.cs1-login-brand p:last-child { margin: 0; color: #bdcddd; }

.cs1-login .login-card {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 5vw, 56px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cs1-login .login-card .cs1-kicker { margin: 0; color: #a8cdef; }
.cs1-login .login-card h1 { color: #f3f7fb; }
.cs1-login .login-card p, .cs1-login .login-card label { color: #bdcddd; }
.cs1-login .login-card input { background: #101a24; color: #f3f7fb; border-color: #53697d; border-radius: 2px; }
.cs1-login .login-card button { border-radius: 2px; }
.cs1-login .login-card button[type=submit] { background: #b8d8f6; color: #142334; }
.cs1-login .login-card .account-text { color: #b8d8f6; text-decoration: underline; text-underline-offset: 3px; }
.cs1-login .login-card .account-invitation { border-color: #3b4b5c; }
.cs1-login #account-status:empty { display: none; }
.cs1-login :is(a, button, input):focus-visible { outline: 2px solid #b8d8f6; outline-offset: 3px; }
.mfa-setup { display: grid; gap: 12px; margin: 18px 0; padding: 16px; border: 1px solid #53697d; background: #101a24; }
.mfa-setup[hidden], .recovery-panel[hidden] { display: none; }
#mfa-qr { width: fit-content; max-width: 100%; margin-inline: auto; padding: 10px; background: #fff; }
#mfa-qr img { display: block; width: min(220px, 100%); height: auto; image-rendering: pixelated; }
.mfa-setup p, .recovery-panel p { margin: 0; }
.mfa-setup details { color: #bdcddd; }
#mfa-secret { display: block; margin-top: 8px; padding: 8px; overflow-wrap: anywhere; color: #f3f7fb; background: #0a121a; font: 600 .9rem/1.4 ui-monospace, monospace; letter-spacing: .08em; user-select: all; }
.remember-device { display: flex!important; align-items: center; gap: 9px; margin: 14px 0; }
.remember-device[hidden] { display: none!important; }
.remember-device input { width: 18px; height: 18px; margin: 0; }
.recovery-panel { margin: 16px 0; padding: 16px; border: 1px solid #8eb89b; background: #14251e; }
#recovery-codes { margin: 12px 0 0; color: #f3f7fb; font: 600 .9rem/1.65 ui-monospace, monospace; columns: 2; user-select: all; }
#skip-mfa { margin-top: 12px; }

@media (max-width: 700px) {
  .cs1-login { grid-template-columns: minmax(0, 1fr); }
  .cs1-login-brand { border-right: 0; border-bottom: 1px solid #3b4b5c; }
  .cs1-login-brand > div { display: none; }
}
