.staff-login {
  background: radial-gradient(ellipse at 50% 15%, #e9f1fc, transparent 65%), #f5f8fc;
}

.staff-login-shell {
  width: min(100%, 980px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.staff-login-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 65px #19314d17, 0 3px 8px #19314d08;
}

.staff-login-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  padding: clamp(28px, 4.5vw, 52px);
  background:
    radial-gradient(ellipse at 95% 85%, #2e5989 0%, transparent 65%),
    linear-gradient(145deg, #1e3e65, #13263f 68%);
  color: #fff;
}

.staff-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.staff-login-brand img { display: block; max-width: 100%; max-height: 62px; object-fit: contain; }
.staff-login-brand span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 8px;
  background: #eaf2fd;
  color: var(--blue);
  font-weight: 750;
}

.staff-login-brand-copy p:last-child { margin: 8px 0 0; font-size: 29px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.staff-login-label { margin: 0 !important; color: #c0d7f4; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.staff-login-form { align-self: center; min-width: 0; padding: clamp(28px, 5vw, 60px); }
.staff-login-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.staff-login-meta p { margin: 0; }
.staff-login-env { background: #eaf0f8; color: #395373; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 750; }
.staff-login-form h1 { margin: 10px 0; font-size: clamp(27px, 4vw, 40px); line-height: 1.15; letter-spacing: -.045em; overflow-wrap: anywhere; }
.staff-login-form .staff-login-intro { margin: 0 0 25px; color: var(--muted); }
.staff-login .staff-login-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #bfcee0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
}

.staff-login-google:hover { border-color: #8cabd0; background: #f1f6fd; }
.staff-login-google svg { width: 20px; height: 20px; }
.staff-login-help { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; font-size: 14px; }
.staff-login-help p { margin: 0 0 3px; color: var(--muted); }
.staff-login-help a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 700; text-underline-offset: 3px; }
.staff-login-help svg { width: 16px; height: 16px; }
.staff-login-footer { margin-top: 18px; text-align: center; color: var(--muted); font-size: 12px; }

@media (max-width: 650px) {
  .staff-login-shell { max-width: 500px; padding: 20px 16px; }
  .staff-login-card { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
  .staff-login-brand-panel { padding: 18px 22px; }
  .staff-login-brand-copy { display: none; }
  .staff-login-brand img { max-height: 42px; width: auto; }
  .staff-login-form { padding: 24px 22px 20px; }
  .staff-login-help { margin-top: 20px; padding-top: 12px; }
}
