/* 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,
  .button:not(:disabled), .brand-btn--secondary, .brand-btn-feel--secondary,
  .pricing-cta, .integration-button, .download-action:not(:disabled),
  .desktop-card-secondary, .copy-code, .guide-copy, .ai-summary-copy, .site-download-button, .destination-button, .article-download-button, [data-download-action],
  .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,
  .button:not(:disabled), .brand-btn--secondary, .brand-btn-feel--secondary,
  .pricing-cta, .integration-button, .download-action:not(:disabled),
  .desktop-card-secondary, .copy-code, .guide-copy, .ai-summary-copy, .site-download-button, .destination-button, .article-download-button, [data-download-action],
  .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,
  .button:not(:disabled), .brand-btn--secondary, .brand-btn-feel--secondary,
  .pricing-cta, .integration-button, .download-action:not(:disabled),
  .desktop-card-secondary, .copy-code, .guide-copy, .ai-summary-copy, .site-download-button, .destination-button, .article-download-button, [data-download-action],
  .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,
  .button:not(:disabled), .brand-btn--secondary, .brand-btn-feel--secondary,
  .pricing-cta, .integration-button, .download-action:not(:disabled),
  .desktop-card-secondary, .copy-code, .guide-copy, .ai-summary-copy, .site-download-button, .destination-button, .article-download-button, [data-download-action],
  .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(.site-download-button,.destination-button,.article-download-button,[data-download-action],.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;
}

/* Primary downloads use the same neutral surface in all interaction states. */
html body #main :is(.site-download-button,.destination-button,.article-download-button,[data-download-action]):active{
 background:#171717!important;background-image:none!important;border-color:#171717!important;color:#fff!important;
}

/* Keep every enabled action CTA in the same neutral palette. */
html body #main :is(.button:not(:disabled),.pricing-cta,.integration-button,.brand-btn--secondary,.brand-btn-feel--secondary,.download-action:not(:disabled),.desktop-card-secondary,.copy-code,.guide-copy,.ai-summary-copy):active{
 background:#171717!important;background-image:none!important;border-color:#171717!important;color:#fff!important;
}
