/*
 * Casual-copy deterrents. Public browser content can still be recovered by a
 * determined visitor because the browser must receive it in order to render it.
 */
html.content-protection-active body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

html.content-protection-active input,
html.content-protection-active textarea,
html.content-protection-active select,
html.content-protection-active [contenteditable="true"] {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

html.content-protection-active img,
html.content-protection-active video,
html.content-protection-active svg {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Prevent the browser's print-to-PDF path from reproducing page content. */
@media print {
    html.content-protection-active body {
        display: none !important;
    }
}
