/* One regular text weight for native buttons and links styled as buttons.
   Important keeps page-specific and active-state styles from adding bold text. */
:is(
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  a[class*="-btn"],
  a[class*="-button"],
  a.cta,
  a.small-link,
  a.action,
  a.nav-item,
  a.calendar-day,
  a.daily-detail,
  a.detail-primary-action,
  a.auth-create-link,
  .segmented-options label
) {
  font-weight: 400 !important;
}

:is(
  button,
  [role="button"],
  a.btn,
  a[class*="-btn"],
  a[class*="-button"],
  a.cta,
  a.small-link,
  a.action,
  a.nav-item,
  a.calendar-day,
  a.daily-detail,
  a.detail-primary-action,
  a.auth-create-link,
  .segmented-options label
) * {
  font-weight: inherit !important;
}

input[type="file"]::file-selector-button {
  font-weight: 400 !important;
}
