/*
 * Restrict ordinary browser selection/copying for report grids when the
 * server marks the current subscription as not paid.  Interaction remains
 * enabled: this deliberately does not change pointer events or click events.
 */
html[data-copy-protection="on"] [data-copy-protected],
html[data-copy-protection="on"] [data-copy-protected] * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Keep form controls usable if a protected grid contains one in the future. */
html[data-copy-protection="on"] [data-copy-protected] input,
html[data-copy-protection="on"] [data-copy-protected] textarea,
html[data-copy-protection="on"] [data-copy-protected] select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
