/* WB-130 / #164. Adapted from Faces FC-012, released source 0757b505.
   One Web-owned treatment; product embeds, tabs and navigation are not CTAs.
   Important declarations replace historical route-specific button treatments. */
:root { --cta-backing: #29323f; --cta-offset: 6px; }
body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a) {
  --cta-offset: 6px;
  appearance: none;
  box-sizing: border-box;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-width: 0;
  max-width: calc(100% - 14px) !important;
  min-height: 46px !important;
  height: auto !important;
  margin-inline: 4px 10px !important;
  margin-bottom: 10px !important;
  padding: 12px 16px !important;
  border: 1px solid var(--rule) !important;
  border-radius: 0;
  outline: 1px solid var(--text-primary) !important;
  outline-offset: 3px !important;
  color: var(--text-primary) !important;
  background: transparent !important;
  box-shadow: var(--cta-offset) var(--cta-offset) 0 var(--cta-backing),
    var(--cta-offset) var(--cta-offset) 0 3px var(--surface-page),
    var(--cta-offset) var(--cta-offset) 0 4px var(--text-secondary) !important;
  font: 600 12px/1.3 var(--font-utility) !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transform: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease !important;
}
body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions [data-analytics-choice="allow"], .error-actions a:first-child) {
  color: var(--surface-page) !important;
  background: var(--text-primary) !important;
  border-color: var(--text-primary) !important;
}
body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a):is(:hover, :focus-visible):not(:disabled):not([aria-disabled="true"]),
body .product-entry:is(:hover, :focus-visible) .text-action {
  --cta-offset: 8px;
  transform: translate(-2px, -2px) !important;
}
body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a):active:not(:disabled):not([aria-disabled="true"]),
body .product-entry:active .text-action {
  --cta-offset: 2px;
  transform: translate(4px, 4px) !important;
}
body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a):focus-visible,
body .product-entry:focus-visible .text-action { outline-width: 2px !important; }
body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a):is(:disabled, [aria-disabled="true"], .text-action--disabled) {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
}
body.issue-73-shell-rhythm.issue-59-contact-close .contact-form__submit-row {
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 60px;
}
body .contact-form__submit { width: calc(100% - 14px) !important; justify-content: space-between; }
body .analytics-consent__actions button { width: calc(100% - 14px) !important; }
body :is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a)[hidden] { display: none !important; }
body .analytics-consent__actions { gap: 16px; }
body .error-actions { gap: 18px; }
html[data-motion="reduce"] body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a) {
  --cta-offset: 6px !important;
  transition: none !important;
  transform: none !important;
}
html[data-motion="reduce"] body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a):is(:hover, :focus-visible, :active):not(:disabled):not([aria-disabled="true"]),
html[data-motion="reduce"] body .product-entry:is(:hover, :focus-visible, :active) .text-action { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a) {
    --cta-offset: 6px !important;
    transition: none !important;
    transform: none !important;
  }
  body :not([data-bootstrap-root] *):is(.contact-form__submit, .analytics-consent__actions button, .text-action, .error-actions a):is(:hover, :focus-visible, :active):not(:disabled):not([aria-disabled="true"]),
  body .product-entry:is(:hover, :focus-visible, :active) .text-action { transform: none !important; }
}
