/* PE-Class v1.20.43 — restore Fold7 cover sizing and stabilize password masking */

/*
 * Keep the password control on an OS system stack. Site-level display fonts
 * can lack the secure-disc glyph that Safari/WebKit paints after blur or
 * submit, which makes the masked password appear as square/tofu characters.
 * The native password type and password-manager contract remain untouched.
 */
#loginScreen.peLoginScreen #loginPw[type="password"] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Apple SD Gothic Neo", "Helvetica Neue", Arial, sans-serif !important;
}

/*
 * Restore the pre-12022 Fold7 cover geometry exactly. The 12022 layer filled
 * the available height; these later declarations return the shell and its two
 * sections to their natural compact sizing without touching other devices.
 */
@media (max-width: 480px) and (min-height: 768px) and (pointer: coarse) {
  html.pe-android.pe87FoldDevice:not(.pe87FoldWide)[data-pe-device="compact"][data-pe-fold-wide="false"]
  #loginScreen.peLoginScreen .peLoginShell {
    align-self: auto;
  }

  html.pe-android.pe87FoldDevice:not(.pe87FoldWide)[data-pe-device="compact"][data-pe-fold-wide="false"]
  #loginScreen.peLoginScreen .peLoginIntro,
  html.pe-android.pe87FoldDevice:not(.pe87FoldWide)[data-pe-device="compact"][data-pe-fold-wide="false"]
  #loginScreen.peLoginScreen #loginForm.loginCard.peLoginAuth {
    justify-content: flex-start;
  }
}
