/* Casing is owned by app-language.js: titles/commands uppercase, subtitle
   content words capitalized, widgets uppercase except "by". Do not re-case
   descendants here: labels can contain a read-only annotation or user value. */
:is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  label,
  legend,
  button,
  summary,
  [role="heading"],
  .label,
  .headtitle,
  .sectiontitle,
  .profile-title,
  .profile-data-heading,
  .pay-dashboard-heading,
  .favorites-profile-title,
  .pass-label,
  .tab-caption,
  .partner-widget-label,
  .virtual-label,
  .favorites-label,
  .partner-template-balance-label,
  .id-pass-photo-title,
  .id-pass-caption,
  .maxit-shortcut-label,
  .partner-search-result strong
) {
  text-transform: none !important;
}
/* Editable values, identifiers and explanatory copy keep their original casing. */
:is(
  input,
  textarea,
  [contenteditable],
  .id-pass-values,
  .pass-number,
  .command-amount,
  p,
  .muted,
  .notice,
  .profile-note
) {
  text-transform: none;
}

/* Commands use capitals in all languages, including body-level dialogs.
   Dedicated widget spans retain their PAY by QR casing from the text formatter. */
:root button,
:root [role="button"],
:root input[type="button"],
:root input[type="submit"],
:root input[type="reset"],
:root button .tab-caption {
  text-transform:uppercase!important;
}

/* Preserve actual account/contact values even inside a command or title. */
:root [data-user-content],
:root [data-user-content] *,
:root [data-me-preserve-case] {
  text-transform:none!important;
}

.app-alert-title-lines{white-space:pre-line}
