body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 0;
  color: #16202a;
  background: linear-gradient(135deg, #fff, #f4f7fb);
  font-family: Inter, Arial, sans-serif;
}
.button-ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(10,19,23,.12);
  border-radius: 100px;
  background: transparent;
  color: #0a1317;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.auth-shell {
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth {
  width: min(520px, 100%);
  border: 1px solid rgba(22,32,42,.12);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: rgba(20,22,26,.12) 0 22px 60px;
}
.kicker {
  margin: 0 0 12px;
  color: #637083;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.08;
}
p {
  margin: 14px 0 0;
  color: #637083;
  line-height: 1.5;
}
form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}
input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(22,32,42,.12);
  border-radius: 999px;
  padding: 0 18px;
  font-size: 15px;
  outline: none;
}
input:focus { border-color: #16202a; }
button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #101820;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.notice {
  display: none;
  margin-top: 16px;
  border-radius: 18px;
  padding: 14px;
  background: #f4f7fb;
  color: #16202a;
  line-height: 1.45;
}
.notice.is-visible { display: block; }
.code-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.resend-code {
  min-height: 44px;
  border: 1px solid rgba(22,32,42,.12);
  background: #fff;
  color: #16202a;
  font-size: 14px;
}
.resend-code:disabled {
  cursor: wait;
  opacity: .62;
}
@media (max-width: 640px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 10px 0;
  }
  .topbar-actions,
  .button-ghost { width: 100%; }
}
