/* Local additions; preserve the existing NEXA theme and desktop layout. */
.nexa-auth-screen {
  padding-top:max(.75rem, env(safe-area-inset-top));
  padding-right:max(.75rem, env(safe-area-inset-right));
  padding-bottom:max(.75rem, env(safe-area-inset-bottom));
  padding-left:max(.75rem, env(safe-area-inset-left));
}
@media(max-width:767px) {
  .nexa-auth-screen > section:first-child {min-height:clamp(6rem, 18svh, 10rem)}
  .nexa-auth-screen > section:last-child {padding:1.25rem 1.5rem}
  .nexa-auth-screen input, .nexa-auth-screen select, .nexa-auth-screen textarea {font-size:16px}
  .nexa-auth-screen form {min-width:0}
}
@media(max-width:767px) and (max-height:740px) {
  .nexa-auth-screen > section:first-child {min-height:5.5rem}
  .nexa-auth-screen > section:last-child {padding:1rem 1.25rem}
  .nexa-auth-screen > section:last-child > div > div:first-child {margin-bottom:1rem}
}
