/* Shared action hierarchy for Design Explorer and Enquiry. */
html[data-theme] .workflow-button {
  --action-bg: #f5f5f5;
  --action-hover: #e3e3e3;
  --action-ink: #1c1c1c;
  --action-border: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: none;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid var(--action-border);
  border-radius: 0;
  background: var(--action-bg);
  color: var(--action-ink);
  font: 700 12px/1.4 var(--font-body);
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
html[data-theme="light"] .workflow-button {
  --action-bg: #fff;
  --action-hover: #eee;
  --action-border: #cdcdcd;
}
html[data-theme] .workflow-button--secondary {
  --action-bg: transparent;
  --action-hover: var(--theme-surface);
  --action-ink: var(--theme-ink);
  --action-border: var(--theme-line);
}
html[data-theme] .workflow-button--primary {
  --action-bg: #0069e8;
  --action-hover: #005dcc;
  --action-ink: #fff;
  --action-border: #0069e8;
}
html[data-theme] .workflow-button:not(:disabled):hover {
  background: var(--action-hover);
  color: var(--action-ink);
  border-color: var(--action-hover);
  transform: translateY(-1px);
}
html[data-theme] .workflow-button:not(:disabled):active { transform: translateY(0); }
html[data-theme] .workflow-button:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 4px; }
html[data-theme] .workflow-button:disabled {
  background: var(--theme-raised);
  color: var(--theme-muted);
  border-color: var(--theme-line);
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}
.enquiry-form-actions .workflow-button { margin-left: auto; }
.enquiry-form-actions .workflow-button:disabled { cursor: wait; }
@media (max-width: 600px) {
  .enquiry-form-actions .workflow-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] .workflow-button { transition: none; }
  html[data-theme] .workflow-button:not(:disabled):hover { transform: none; }
}
