#bf-account .ac-auth-head h1 {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
#bf-account .ac-auth-head .ac-mark {
  margin-bottom: 0.25rem;
}
#bf-account .ac-auth-card {
  box-shadow: var(--shadow-lg);
}
#shell-login .bf-login-heading {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}
#shell-login .bf-welcome {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
}
#shell-login .instance-note {
  font: 0.72rem var(--mono);
  margin: 0;
  color: var(--ink-muted);
}
#shell-login .password-title a {
  font-size: 0.76rem;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}
#shell-login .password-title a:hover {
  color: var(--ink);
}
#shell-login .password-wrap input {
  padding-inline-end: 2.5rem;
}
button[aria-pressed="false"] .bf-eye-slash {
  display: none;
}
#bf-account .ac-pass-field button[aria-pressed="true"] svg {
  opacity: 1;
}
#shell-login .social-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font: 0.75rem var(--mono);
  margin: 14px 0 8px;
}
#shell-login .social-line::before,
#shell-login .social-line::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border-hairline);
}
#shell-login .register-link {
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}
#shell-login .register-link:hover {
  color: var(--ink);
}
.bf-auth-otp {
  display: grid;
  gap: 0.9rem;
}
.bf-auth-otp > p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--ink-secondary);
}
.bf-auth-otp > p strong {
  word-break: break-all;
  color: var(--ink);
}
.bf-auth-otp input.bf-auth-code {
  width: 100%;
  font-family: var(--mono) !important;
  font-size: 1.15rem !important;
  text-align: center;
  letter-spacing: 0.4em;
}
.bf-auth-otp-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: center;
}
.bf-auth-link {
  cursor: pointer;
  border: 0;
  padding: 0.15rem 0;
  background: transparent;
  color: var(--ink-secondary);
  text-decoration: underline;
  text-underline-offset: 0.15rem;
  font: 500 0.78rem var(--mono) !important;
}
.bf-auth-link:hover {
  color: var(--ink);
}
.bf-auth-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#shell-login .ac-notice {
  font-size: 0.82rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--alert-border);
  background: var(--alert-bg);
  color: var(--alert-ink);
}
#shell-login .ac-notice[data-kind="success"] {
  border-color: var(--ok-border);
  background: var(--ok-bg);
  color: var(--ok-ink);
}
.bf-auth-challenge {
  min-height: 65px;
  margin: 0.65rem 0;
}
.bf-invalid-reset {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}
.bf-invalid-reset a {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}
.bf-screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bf-auth-otp button:disabled,
#shell-login [type="submit"]:disabled,
#ac-auth-form [type="submit"]:disabled {
  opacity: 0.55;
}
