:root{
  --usys-green:#0B563D;
  --usys-green-deep:#063D2E;
  --usys-green-progress:#1D7A57;
  --usys-charcoal:#222222;
  --usys-surface:#F4F6F5;
  --usys-white:#FFFFFF;
  --usys-soft-border:#D8E3EA;
}

/* BR1A: authentication-surface harmonization only.
   Clinical/status semantic colors are intentionally untouched. */
.login-screen{
  background:linear-gradient(135deg,var(--usys-green-deep) 0%,var(--usys-green) 58%,var(--usys-green-progress) 100%) !important;
}
.login-brand{color:var(--usys-white) !important;}
.login-brand p,.login-brand small,.login-brand .security-note{color:#E5F2EC !important;}
.login-card{
  background:var(--usys-white) !important;
  box-shadow:0 18px 50px rgba(6,61,46,.18) !important;
}
.login-card h1,.login-card h2,.login-card h3{color:var(--usys-green-deep) !important;}
.login-card a,.login-card [role="button"],.login-card .link,.login-card .language-toggle,.login-card .lang-toggle{
  color:var(--usys-green-progress) !important;
}
.login-card button[type="submit"],.portal-login button[type="submit"],.login-card .primary,.login-card .btn-primary{
  background:var(--usys-green) !important;
  border-color:var(--usys-green) !important;
  color:var(--usys-white) !important;
}
.login-card button[type="submit"]:hover,.portal-login button[type="submit"]:hover,.login-card .primary:hover,.login-card .btn-primary:hover{
  background:var(--usys-green-deep) !important;
  border-color:var(--usys-green-deep) !important;
}
.login-card input:focus,.login-card select:focus,.login-card textarea:focus{
  border-color:var(--usys-green-progress) !important;
  box-shadow:0 0 0 3px rgba(29,122,87,.14) !important;
  outline:none !important;
}
.login-lock-policy{color:#536B61 !important;}
.login-brand .login-official-logo{filter:none !important;}
