/* FlowOps v37.3.54 — application-wide green button contrast
 * Any green primary/action button uses near-black text in every interaction state.
 * This layer intentionally targets buttons and button-like links only; status badges
 * and decorative green elements are not changed.
 */
:root{--flowops-green-button-text:#050805}

/* Shared primary button system. */
.flowops-btn-primary,
.flowops-btn--primary,
button.flowops-btn-primary,
a.flowops-btn-primary,
input.flowops-btn-primary,
.flowops-btn.flowops-btn-primary,
.flowops-btn.flowops-btn--primary,
.flowops-app .flowops-btn-primary,
.flowops-app-shell .flowops-btn-primary,
.flowops-workspace-shell .flowops-btn-primary,
.flowops-app-v2519 .flowops-btn-primary,
.flowops-v33-bookings .flowops-btn-primary,
.flowops-schedule .flowops-btn--primary,
.flowops-auth-shell .flowops-btn-primary,
.flowops-auth-card .flowops-btn-primary,
.flowops-admin-shell .flowops-btn-primary,
.flowops-admin-console .flowops-btn-primary,
.flowops-track-action-btn.is-primary,
.flowops-dash18-btn.is-primary,
button.is-primary.flowops-btn,
a.is-primary.flowops-btn,
button[class*="flowops"][class*="btn"][class*="primary"],
a[class*="flowops"][class*="btn"][class*="primary"],
input[class*="flowops"][class*="btn"][class*="primary"],
button[class*="flowops"][class*="button"][class*="primary"],
a[class*="flowops"][class*="button"][class*="primary"]{
  color:var(--flowops-green-button-text)!important;
  -webkit-text-fill-color:var(--flowops-green-button-text)!important;
  text-shadow:none!important;
}

/* Preserve the same contrast through all browser and interaction states. */
.flowops-btn-primary:hover,
.flowops-btn-primary:focus,
.flowops-btn-primary:focus-visible,
.flowops-btn-primary:active,
.flowops-btn-primary:visited,
.flowops-btn-primary:disabled,
.flowops-btn-primary[disabled],
.flowops-btn-primary[aria-disabled="true"],
.flowops-btn--primary:hover,
.flowops-btn--primary:focus,
.flowops-btn--primary:focus-visible,
.flowops-btn--primary:active,
.flowops-btn--primary:visited,
.flowops-btn--primary:disabled,
.flowops-btn--primary[disabled],
.flowops-btn--primary[aria-disabled="true"],
.flowops-track-action-btn.is-primary:hover,
.flowops-track-action-btn.is-primary:focus,
.flowops-track-action-btn.is-primary:active,
.flowops-dash18-btn.is-primary:hover,
.flowops-dash18-btn.is-primary:focus,
.flowops-dash18-btn.is-primary:active,
.flowops-dash18-btn.is-primary:visited,
button[class*="flowops"][class*="btn"][class*="primary"]:hover,
button[class*="flowops"][class*="btn"][class*="primary"]:focus,
button[class*="flowops"][class*="btn"][class*="primary"]:active,
a[class*="flowops"][class*="btn"][class*="primary"]:hover,
a[class*="flowops"][class*="btn"][class*="primary"]:focus,
a[class*="flowops"][class*="btn"][class*="primary"]:active,
a[class*="flowops"][class*="btn"][class*="primary"]:visited{
  color:var(--flowops-green-button-text)!important;
  -webkit-text-fill-color:var(--flowops-green-button-text)!important;
  text-shadow:none!important;
}

/* Some page layers colour nested labels/icons independently. */
.flowops-btn-primary *,
.flowops-btn--primary *,
.flowops-track-action-btn.is-primary *,
.flowops-dash18-btn.is-primary *,
button[class*="flowops"][class*="btn"][class*="primary"] *,
a[class*="flowops"][class*="btn"][class*="primary"] *{
  color:var(--flowops-green-button-text)!important;
  -webkit-text-fill-color:var(--flowops-green-button-text)!important;
  text-shadow:none!important;
}

.flowops-btn-primary svg,
.flowops-btn--primary svg,
.flowops-track-action-btn.is-primary svg,
.flowops-dash18-btn.is-primary svg{
  color:var(--flowops-green-button-text)!important;
  fill:none;
  stroke:currentColor!important;
}

/* Explicit workflow actions, including Start work and Finish work. */
.flowops-myjob-start-work-btn,
.flowops-myjob-start-work-btn:hover,
.flowops-myjob-start-work-btn:focus,
.flowops-myjob-start-work-btn:active,
[data-flowops-myjob-open-action="complete"],
[data-flowops-myjob-open-action="complete"]:hover,
[data-flowops-myjob-open-action="complete"]:focus,
[data-flowops-myjob-open-action="complete"]:active,
[data-flowops-action="finish"],
[data-flowops-action="complete"],
[data-flowops-action="start"]{
  color:var(--flowops-green-button-text)!important;
  -webkit-text-fill-color:var(--flowops-green-button-text)!important;
  text-shadow:none!important;
}

/* Dashboard Business health preview modal: exact final selector. */
html body.flowops-page-dashboard #flowops-score-explain .flowops-modal-footer > a.flowops-dashboard-ai-review-btn,
html body.flowops-page-dashboard #flowops-score-explain .flowops-modal-footer > a.flowops-dashboard-ai-review-btn:hover,
html body.flowops-page-dashboard #flowops-score-explain .flowops-modal-footer > a.flowops-dashboard-ai-review-btn:focus,
html body.flowops-page-dashboard #flowops-score-explain .flowops-modal-footer > a.flowops-dashboard-ai-review-btn:focus-visible,
html body.flowops-page-dashboard #flowops-score-explain .flowops-modal-footer > a.flowops-dashboard-ai-review-btn:active,
html body.flowops-page-dashboard #flowops-score-explain .flowops-modal-footer > a.flowops-dashboard-ai-review-btn:visited {
  color:#050805!important;
  -webkit-text-fill-color:#050805!important;
  text-shadow:none!important;
}

/* FlowOps v37.3.59 — shared top-bar New booking control is an icon button, not a green action label. Keep its plus glyph white on every device and state. */
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn,
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn:hover,
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn:focus,
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn:focus-visible,
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn:active,
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn:visited,
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn .flowops-shell-glyph,
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn .flowops-shell-glyph svg,
html body.flowops-app-body.flowops-workspace-shell a.flowops-workspace-quick-add.flowops-shell-icon-btn .flowops-shell-glyph path {
  color:var(--fo-white)!important;
  -webkit-text-fill-color:var(--fo-white)!important;
  stroke:var(--fo-white)!important;
  text-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
}
