.account-signin {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--surface);
}

.account-brand {
  display: grid;
  align-items: center;
  justify-items: start;
  padding: clamp(36px, 9vw, 132px);
  background: #12382e;
  color: #fff;
}

.account-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.account-wordmark img { width: 42px; height: 42px; }
.account-wordmark small { font-size: 14px; font-weight: 400; letter-spacing: 0; opacity: .8; }
.account-mobile-brand { display: none; }

.account-signin-main {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 36px;
}

.account-signin-content { width: min(100%, 390px); }
.account-signin h1 { font-size: clamp(27px, 4vw, 36px); }
.account-description { color: #586675; font-size: 14px; line-height: 1.6; margin: 9px 0 25px; }
.account-form { display: grid; gap: 16px; }
.account-field { display: grid; gap: 7px; font-weight: 600; font-size: 13px; }

.account-field input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #cdd7d3;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 9px 11px;
  font-size: 16px;
  font-weight: 400;
}

.account-field input[readonly] { font-family: ui-monospace, monospace; background: var(--bg); }
.account-form .button { min-height: 42px; font-size: 13px; }
.account-feedback { color: #a53832; font-size: 13px; line-height: 1.5; }
.account-options { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 19px; }
.account-options .button-link { min-height: 30px; font-size: 13px; }

.account-security {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  color: var(--text);
  background: var(--surface);
}

.account-security::backdrop { background: #192d24a3; }
.account-security-content { padding: 24px; }
.account-security-header { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.account-security h2 { font-size: 20px; }
.account-security .account-options { margin-top: 0; gap: 8px; }
.account-security .button { white-space: normal; }

.account-recovery-codes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  margin: 0 0 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  font: 13px ui-monospace, monospace;
  user-select: all;
}

@media (max-width: 680px) {
  .account-signin { grid-template-columns: 1fr; }
  .account-brand { display: none; }
  .account-mobile-brand { display: block; margin-bottom: 28px; color: #12382e; }
  .account-mobile-brand .account-wordmark { font-size: 26px; }
  .account-mobile-brand img { width: 32px; height: 32px; }
  .account-signin-main { padding: 24px; }
}
