.auth-shell {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
  overflow: hidden;
}
.auth-card .titlebar {
  margin: 0;
  height: 40px;
}
.auth-body {
  padding: 28px 32px 32px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.auth-brand .logo-tile {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 18px;
}
.auth-brand .logo-tile img {
  width: 46px;
  height: 46px;
}
.auth-brand h1 {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
}
.auth-brand .sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.auth-lead {
  font-size: 14px;
  color: #3d4658;
  margin-bottom: 18px;
  line-height: 1.55;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.auth-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.auth-field input {
  border: 1px solid #e3e6ef;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--navy);
  background: #fbfbfe;
  outline: none;
  width: 100%;
}
.auth-field input:focus {
  border-color: #9bb7e8;
  background: #fff;
}
.auth-error {
  min-height: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--danger);
  margin: 0 0 10px;
}
.auth-actions { margin-top: 4px; }
.auth-actions .btn.primary {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 10px;
}
.auth-foot {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.auth-foot a { color: var(--navy); font-weight: 700; text-decoration: none; }
.btn-logout {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.btn-logout:hover { background: #f5f6fb; }
.titlebar .btn-logout { margin-left: 8px; }

.auth-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
