/* Site-wide button treatment, including hover, active and disabled states.
   Match the theme's important rules without changing button size or color. */
:root body :is(
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  #chtl-open-chat-icon,
  #chtl-close-chat-icon,
  a[class*="button"],
  .quote-upload-button,
  .quote-admin-shortcut,
  .quotes-action-link,
  .news-feed-item,
  .mh-header-quote,
  .mobile-site-quote,
  .mh-bottom-bar a,
  .page-login-link
) {
  box-shadow: none !important;
}

/* These backgrounds surround groups of navigation buttons. */
:root body :is(.mh-bottom-bar, .main-page-dots) {
  box-shadow: none !important;
}

/* Keep keyboard focus visible where the original button used a shadow ring. */
:root body :is(
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a[class*="button"],
  .quote-upload-button,
  .quote-admin-shortcut,
  .quotes-action-link,
  .news-feed-item,
  .mh-header-quote,
  .mobile-site-quote,
  .mh-bottom-bar a,
  .page-login-link
):focus-visible {
  outline: 2px solid #1f2933;
  outline-offset: 3px;
}
