/* Front-end copy protection: no text selection, no image drag, no long-press save. */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img,
svg,
picture {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

/* Editable fields keep normal selection, caret and mobile paste menus.
   !important is deliberate: some browsers ignore the allow rule when an
   ancestor (body) is user-select:none, which made calculator fields refuse
   the caret and typed input. */
input,
textarea,
select,
option,
button,
[contenteditable="true"],
[contenteditable=""],
[contenteditable="plaintext-only"],
.anpcb-stackup input,
.anpcb-stackup textarea,
.anpcb-stackup select,
.anpcb-imp input,
.anpcb-imp textarea,
.anpcb-imp select,
.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}
