/* Discourage ordinary page copying, not a security or access-control boundary. */
:root body,
:root body * {
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Native forms and rich-text editors must keep their normal editing behavior. */
:root body :is([contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]),
:root body :is([contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]) * {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Noneditable editor toolbars/labels remain protected. */
:root body [contenteditable="false"],
:root body [contenteditable="false"] * {
  -webkit-user-select: none !important;
  user-select: none !important;
}

:root body input,
:root body textarea {
  -webkit-user-select: text !important;
  user-select: text !important;
}
