/* Black action buttons. Brand-blue text, focus rings and selection highlights stay unchanged. */
html body :is(
  .brand-btn--primary, .button-blue, .button-dark, .fx-button--primary,
  .home-hero-download, .home-download, .home-phone-approve, .workspace-send, .home-week-confirm,
  .orlino-floating-download, .header-menu-download,
  .model-download-button, .article-summary-download,
  .pricing-cta--primary, .pricing-card.is-selected .pricing-cta,
  .pricing-card:has(.pricing-plan-radio:checked) .pricing-cta,
  .download-card-live .download-action:not(:disabled),
  .cookie-consent__save, .ih-send, .ih-mobile-download, .ig-copy,
  .ih-template-live, .ih-template-mac, #ih-template-use, #ih-journey-download,
  .studio-download
),
html body header.orlino-header .header-download .orlino-header-button,
html body .home-mode button[aria-pressed="true"] {
  background: #171717 !important;
  background-image: none !important;
  border-color: #171717 !important;
  color: #fff !important;
  box-shadow: none !important;
}
html body :is(
  .brand-btn--primary, .button-blue, .button-dark, .fx-button--primary,
  .home-hero-download, .home-download, .workspace-send, .home-week-confirm, .orlino-floating-download,
  .header-menu-download, .model-download-button, .article-summary-download,
  .pricing-cta--primary, .pricing-card.is-selected .pricing-cta,
  .pricing-card:has(.pricing-plan-radio:checked) .pricing-cta,
  .download-card-live .download-action:not(:disabled),
  .cookie-consent__save, .ih-send, .ih-mobile-download, .ig-copy,
  .ih-template-live, .ih-template-mac, #ih-template-use, #ih-journey-download,
  .studio-download
):hover,
html body header.orlino-header .header-download:hover .orlino-header-button {
  background: #333 !important;
  background-image: none !important;
  border-color: #333 !important;
  color: #fff !important;
}
html body #main :is(
  .brand-btn--primary, .button-blue, .button-dark, .fx-button--primary,
  .home-hero-download, .home-download, .home-phone-approve, .workspace-send, .home-week-confirm,
  .orlino-floating-download, .header-menu-download,
  .model-download-button, .article-summary-download,
  .pricing-cta--primary, .pricing-card.is-selected .pricing-cta,
  .pricing-card:has(.pricing-plan-radio:checked) .pricing-cta,
  .download-card-live .download-action:not(:disabled),
  .cookie-consent__save, .ih-send, .ih-mobile-download, .ig-copy,
  .ih-template-live, .ih-template-mac, #ih-template-use, #ih-journey-download,
  .studio-download
),
html body header.orlino-header .header-download .orlino-header-button,
html body .home-mode button[aria-pressed="true"] {
  background: #171717 !important;
  background-image: none !important;
  border-color: #171717 !important;
  color: #fff !important;
  box-shadow: none !important;
}
html body #main :is(
  .brand-btn--primary, .button-blue, .button-dark, .fx-button--primary,
  .home-hero-download, .home-download, .workspace-send, .home-week-confirm, .orlino-floating-download,
  .header-menu-download, .model-download-button, .article-summary-download,
  .pricing-cta--primary, .pricing-card.is-selected .pricing-cta,
  .pricing-card:has(.pricing-plan-radio:checked) .pricing-cta,
  .download-card-live .download-action:not(:disabled),
  .cookie-consent__save, .ih-send, .ih-mobile-download, .ig-copy,
  .ih-template-live, .ih-template-mac, #ih-template-use, #ih-journey-download,
  .studio-download
):hover,
html body header.orlino-header .header-download:hover .orlino-header-button {
  background: #333 !important;
  background-image: none !important;
  border-color: #333 !important;
  color: #fff !important;
}
/* Keep keyboard focus visible, including buttons whose old focus ring used box-shadow. */
html body :is(.brand-btn--primary,.button-blue,.button-dark,.fx-button--primary,.home-hero-download,.home-download,.orlino-floating-download,.header-menu-download,.model-download-button,.article-summary-download,.pricing-cta--primary,.download-card-live .download-action,.cookie-consent__save,.ih-send,.ih-mobile-download,.ig-copy,.ih-template-live,.ih-template-mac,#ih-template-use,#ih-journey-download,.studio-download):focus-visible,
html body header.orlino-header .header-download .orlino-header-button:focus-visible {
  outline:2px solid var(--brand-blue) !important;
  outline-offset:4px !important;
}
/* The legacy hero has its own two-ID theme selectors. */
html[data-home] body #main > #top .premium-hero-actions .home-hero-download,
html[data-home] body #main > #top .workspace-send {
  background:#171717 !important;
  background-image:none !important;
  border-color:#171717 !important;
  color:#fff !important;
  box-shadow:none !important;
}
html[data-home] body #main > #top .premium-hero-actions .home-hero-download:hover {
  background:#333 !important;
  border-color:#333 !important;
}
