html.nct-admin-mobile .page:has(.login-card) {
  min-height: 100svh;
  box-sizing: border-box;
  background: #f5f7f2;
  padding: max(env(safe-area-inset-top), 24px) 16px max(env(safe-area-inset-bottom), 24px);
  display: grid;
  place-items: center;
}
html.nct-admin-mobile .login-card {
  width: min(100%, 420px);
  box-sizing: border-box;
  border: 1px solid #d9e2d9;
  border-radius: 20px;
  padding: 30px 24px 22px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(26 65 48 / 7%);
  --blue: #174e43;
  --muted: #51675f;
  color: #172e28;
}
html.nct-admin-mobile .login-title::before {
  content: '奶茶通告 · 手机中台';
  display: block;
  color: #426458;
  font: 600 14px/1.5 system-ui, sans-serif;
  margin-bottom: 6px;
}
html.nct-admin-mobile .login-card .field input { font-size: 16px; }
html.nct-admin-mobile .login-card .field:focus-within {
  border-color: #387965;
  box-shadow: 0 0 0 3px #e0eee5;
}
html.nct-admin-mobile .login-card button { min-height: 44px; touch-action: manipulation; }
html.nct-admin-mobile .login-card .submit {
  background: #174e43;
  color: white;
  box-shadow: none;
}
html.nct-admin-mobile .login-card .tab.active { color: #174e43; }
html.nct-admin-mobile .login-card .tab.active::after { background: #174e43; }
html.nct-admin-mobile .login-card .agreement input { accent-color: #174e43; }
@media (max-height: 530px) {
  html.nct-admin-mobile .page:has(.login-card) { align-items: start; }
}
