/* Nexo Perfil — standalone red actions, scoped to profile only.
   Match the 17px corner language of the guest email confirmation. */
html body #app .profile-settings.nexo-visitor-profile #visitor-email-form > button.primary {
  box-sizing: border-box !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  justify-self: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 43px !important;
  height: auto !important;
  padding: 11px 19px !important;
  border-radius: 17px !important;
  text-align: center !important;
  line-height: 1.3 !important;
}
/* All four named one-action buttons share the same border, sizing and text alignment. */
html body #app .profile-settings [data-nexo-profile-action="install"] > button.nexo-profile-detail-button.primary,
html body #app .profile-settings [data-nexo-profile-action="cache"] > button.nexo-profile-detail-button.primary,
html body #app .profile-settings [data-nexo-profile-action="logout"] > button.nexo-profile-detail-button.primary,
html body .nexo-profile-bottom-sheet .nexo-bottom-body[data-nexo-profile-action="install"] > button.nexo-profile-detail-button.primary,
html body .nexo-profile-bottom-sheet .nexo-bottom-body[data-nexo-profile-action="cache"] > button.nexo-profile-detail-button.primary,
html body .nexo-profile-bottom-sheet .nexo-bottom-body[data-nexo-profile-action="logout"] > button.nexo-profile-detail-button.primary {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 43px !important;
  height: auto !important;
  padding: 11px 19px !important;
  border-radius: 17px !important;
  text-align: center !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}
/* Install action: centered for both the owner and the visitor. */
html body #app .profile-settings [data-nexo-profile-action="install"] > button.nexo-profile-detail-button.primary,
html body .nexo-profile-bottom-sheet .nexo-bottom-body[data-nexo-profile-action="install"] > button.nexo-profile-detail-button.primary {
  justify-self: center !important;
  align-self: center !important;
  margin-inline: auto !important;
}
/* Cache and logout remain in their original left-aligned position. */
html body #app .profile-settings [data-nexo-profile-action="cache"] > button.nexo-profile-detail-button.primary,
html body #app .profile-settings [data-nexo-profile-action="logout"] > button.nexo-profile-detail-button.primary,
html body .nexo-profile-bottom-sheet .nexo-bottom-body[data-nexo-profile-action="cache"] > button.nexo-profile-detail-button.primary,
html body .nexo-profile-bottom-sheet .nexo-bottom-body[data-nexo-profile-action="logout"] > button.nexo-profile-detail-button.primary {
  justify-self: start !important;
  align-self: flex-start !important;
  margin-inline: 0 !important;
}
