.klcs-active,
.klcs-active body,
.klcs-active body * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.klcs-active input,
.klcs-active textarea,
.klcs-active select,
.klcs-active option,
.klcs-active [contenteditable="true"],
.klcs-active .klcs-allow-copy,
.klcs-active .klcs-allow-copy * {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.klcs-active img,
.klcs-active a img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none !important;
}

.klcs-active img.klcs-allow-image,
.klcs-active .klcs-allow-image img {
    pointer-events: auto !important;
}

.klcs-protected-value {
    -webkit-user-select: none !important;
    user-select: none !important;
}

.klcs-notice {
    position: fixed;
    z-index: 2147483647;
    left: 50%;
    bottom: max(24px, env(safe-area-inset-bottom));
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    color: #fff;
    background: rgba(18, 22, 30, .96);
    box-shadow: 0 14px 42px rgba(0, 0, 0, .28);
    font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px) scale(.98);
    transition: opacity .2s ease, transform .2s ease;
}

.klcs-notice--visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

@media print {
    .klcs-active body > * {
        display: none !important;
    }

    .klcs-active body::after {
        display: block !important;
        padding: 48px 24px;
        content: "Печать материалов ограничена";
        color: #222;
        font: 600 18px/1.5 Arial, sans-serif;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .klcs-notice {
        transition: none;
    }
}
