/* Explicit paint colour is needed as the portal shell sets text-fill separately
   from color. Scope this to existing solid actions, not white secondary buttons. */
html body :is(
  .selan-manual-tracking button,
  .selan-manual-body button,
  .selan-hbl-editor > button,
  .selan-hbl-edit-body button,
  .selan-bill-editor button,
  .selan-container-messaging > button,
  .selan-msg-popup button.selan-msg-primary,
  .selan-xl-dialog button.selan-xl-primary,
  .selan-active-editor-form > button,
  .selan-document-card button,
  button.selan-completed-view-hbl
),
html body :is(
  .selan-manual-tracking button,
  .selan-manual-body button,
  .selan-hbl-editor > button,
  .selan-hbl-edit-body button,
  .selan-bill-editor button,
  .selan-container-messaging > button,
  .selan-msg-popup button.selan-msg-primary,
  .selan-xl-dialog button.selan-xl-primary,
  .selan-active-editor-form > button,
  .selan-document-card button,
  button.selan-completed-view-hbl
) * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* These are intentionally light secondary controls (Close, Cancel, etc.). */
html body .selan-msg-popup > header button,
html body .selan-msg-content button:not(.selan-msg-primary),
html body .selan-xl-dialog button:not(.selan-xl-primary),
html body .selan-active-editor-header button {
  color: #432568 !important;
  -webkit-text-fill-color: #432568 !important;
}
