/* Xypheron screen lock - XYP_VIEWLOCK_V1 (2026-10-15). Classes are only added by xyp-viewlock.js. */

html.xyp-vl {
    overflow: hidden !important;
    overscroll-behavior: none;
}

html.xyp-vl:not(.xyp-vl-body) > body {
    overflow: visible !important;
    overscroll-behavior: none;
}

html.xyp-vl.xyp-vl-body > body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

html.xyp-vl .xyp-vl-scroll {
    overflow-y: auto !important;
    min-height: 0 !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

html.xyp-vl .xyp-vl-sticky {
    position: sticky !important;
    z-index: 60;
}

@media print {
    html.xyp-vl,
    html.xyp-vl > body {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    html.xyp-vl .xyp-vl-scroll {
        overflow: visible !important;
        max-height: none !important;
    }

    html.xyp-vl .xyp-vl-sticky {
        position: static !important;
    }
}
