/* GENERATED from design-tokens.json styles.buttons — do not edit by hand. */

/* The React reference runs Tailwind preflight (border-box everywhere); WP does
   not, so padded flex/grid children compute different widths. Match it. */
[class*="qb-pattern-"],
[class*="qb-pattern-"] *,
[class*="qb-pattern-"] *::before,
[class*="qb-pattern-"] *::after {
  box-sizing: border-box;
}

/* Assembled pages: WP's block-gap injects 24px between root-level blocks
   (site header and footer, main wrapper, and each section) — the React site stacks
   sections flush. !important because these fight theme layout rules whose
   cascade position varies. */
.wp-site-blocks > * ,
[class*="qb-pattern-"] {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 0;
  border-radius: 6px;
  padding: 0.75rem 1.5rem 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.is-style-outline .wp-block-button__link {
  border: 1px solid #3C444C;
}

/* The contract palette has a color slugged "text", so WP's has-text-color MARKER
   class doubles as a real color rule and (loading later) beats every specific
   preset color class. Reassert each specific class with double specificity. */
.has-primary-color.has-text-color { color: var(--wp--preset--color--primary) !important; }
.has-secondary-color.has-text-color { color: var(--wp--preset--color--secondary) !important; }
.has-base-color.has-text-color { color: var(--wp--preset--color--base) !important; }
.has-accent-color.has-text-color { color: var(--wp--preset--color--accent) !important; }
.has-text-muted-color.has-text-color { color: var(--wp--preset--color--text-muted) !important; }
.has-border-color.has-text-color { color: var(--wp--preset--color--border) !important; }
.has-surface-color.has-text-color { color: var(--wp--preset--color--surface) !important; }
.has-heading-color.has-text-color { color: var(--wp--preset--color--heading) !important; }
.has-cyan-50-color.has-text-color { color: var(--wp--preset--color--cyan-50) !important; }
.has-cyan-100-color.has-text-color { color: var(--wp--preset--color--cyan-100) !important; }
.has-cyan-200-color.has-text-color { color: var(--wp--preset--color--cyan-200) !important; }
.has-cyan-300-color.has-text-color { color: var(--wp--preset--color--cyan-300) !important; }
.has-cyan-500-color.has-text-color { color: var(--wp--preset--color--cyan-500) !important; }
.has-cyan-600-color.has-text-color { color: var(--wp--preset--color--cyan-600) !important; }
.has-cyan-700-color.has-text-color { color: var(--wp--preset--color--cyan-700) !important; }
.has-cyan-800-color.has-text-color { color: var(--wp--preset--color--cyan-800) !important; }
.has-charcoal-50-color.has-text-color { color: var(--wp--preset--color--charcoal-50) !important; }
.has-charcoal-100-color.has-text-color { color: var(--wp--preset--color--charcoal-100) !important; }
.has-charcoal-200-color.has-text-color { color: var(--wp--preset--color--charcoal-200) !important; }
.has-charcoal-400-color.has-text-color { color: var(--wp--preset--color--charcoal-400) !important; }
.has-charcoal-500-color.has-text-color { color: var(--wp--preset--color--charcoal-500) !important; }
.has-charcoal-600-color.has-text-color { color: var(--wp--preset--color--charcoal-600) !important; }
.has-charcoal-800-color.has-text-color { color: var(--wp--preset--color--charcoal-800) !important; }
.has-charcoal-900-color.has-text-color { color: var(--wp--preset--color--charcoal-900) !important; }
.has-text-subtle-color.has-text-color { color: var(--wp--preset--color--text-subtle) !important; }
.has-success-color.has-text-color { color: var(--wp--preset--color--success) !important; }
.has-warning-color.has-text-color { color: var(--wp--preset--color--warning) !important; }
.has-error-color.has-text-color { color: var(--wp--preset--color--error) !important; }
.has-error-border-color.has-text-color { color: var(--wp--preset--color--error-border) !important; }

/* NOTE — recurring WP defaults (inner block-gap margins, has-background
   paragraph padding, cover's 1em padding and forced white text) are deliberately
   NOT neutralised here. Hoisting them was measured against the full suite and
   regressed six already-passing patterns: the existing pattern CSS was authored
   *against* these defaults, so removing them changes spacing the patterns rely on.
   New conversions should zero them per pattern (see the runbook), and a
   from-scratch site can adopt a stricter baseline before any pattern is written. */
