/* Immediate contact feedback, including before JavaScript is ready. */
:root {
  --wf-press-background: #d8e7c4;
  --wf-press-foreground: #23351d;
  --wf-press-border: #6f8c58;
}
html[data-theme="dark"] {
  --wf-press-background: #405937;
  --wf-press-foreground: #ffffff;
  --wf-press-border: #b5d79b;
}
:where(button, a[href], summary, [role="button"], label.chip) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
html :is(button, a[href], summary, [role="button"], label.chip):not(:disabled):not([aria-disabled="true"]):not(:where([aria-disabled="true"] *, [inert], [inert] *)):not(:has(input:disabled)):is(:active, [data-wedfit-press="true"]) {
  background-color: var(--wf-press-background) !important;
  color: var(--wf-press-foreground) !important;
  border-color: var(--wf-press-border) !important;
  box-shadow: inset 0 0 0 2px var(--wf-press-border) !important;
  filter: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  html :is(button, a.btn, summary, [role="button"], label.chip):not(:disabled):not([aria-disabled="true"]):not(:where([aria-disabled="true"] *, [inert], [inert] *)):not(:has(input:disabled)):is(:active, [data-wedfit-press="true"]) {
    scale: .98;
  }
}
@media (prefers-reduced-motion: reduce) {
  html :is(button, a[href], summary, [role="button"], label.chip):is(:active, [data-wedfit-press="true"]) { scale: none !important; }
}
