
/* NUJIZ MOBILE UNSTICKY V4 */

@media(max-width:1099px){

    /* Image and video preview columns */

    html body #toolWorkspace
    .nsw-layout.nsw-enabled > .nsw-preview,

    html body #toolWorkspace
    .nsw-layout > .nsw-preview,

    html body #toolWorkspace
    :is(
        .preview-panel,
        .video-preview-panel,
        .image-preview-panel
    ){

        position:relative!important;
        inset:auto!important;
        top:auto!important;
        bottom:auto!important;
        z-index:auto!important;

        max-height:none!important;
        overflow:visible!important;
        overscroll-behavior:auto!important;
        flex-shrink:0!important;
    }

    /* PDF preview columns */

    html body main
    .npw-enabled > .npw-preview,

    html body main
    .npw-enabled .npw-preview,

    html body main .npw-preview,

    html body #toolWorkspace
    .npw-enabled > .npw-preview {

        position:relative!important;
        inset:auto!important;
        top:auto!important;
        bottom:auto!important;
        z-index:auto!important;

        max-height:none!important;
        overflow:visible!important;
        overscroll-behavior:auto!important;
        flex-shrink:0!important;
    }

    /* Release settings columns */

    html body #toolWorkspace
    .nsw-layout.nsw-enabled > .nsw-controls,

    html body #toolWorkspace
    .nsw-layout.nsw-enabled.nsw-collapsed
    > .nsw-controls,

    html body main
    .npw-enabled .npw-controls,

    html body main .npw-controls {

        position:relative!important;
        inset:auto!important;

        height:auto!important;
        max-height:none!important;

        overflow:visible!important;
        overscroll-behavior:auto!important;
        scroll-padding-bottom:0!important;
    }

    /* Release preview headers and studio toolbars */

    html body #toolWorkspace
    .nsw-enabled
    :is(
        .nsw-preview-label,
        .nsw-actions
    ),

    html body main
    :is(
        .npw-preview-head,
        .npw-toolbar,
        .npw-heading,
        .npw-actions
    ),

    html body #nswToolbar {

        position:relative!important;
        inset:auto!important;
        top:auto!important;
        bottom:auto!important;
        z-index:auto!important;
        transform:none!important;
    }

    /* Release PDF preview areas */

    html body main
    .npw-preview
    :is(
        #rotatePdfGrid,
        #deletePdfGrid,
        #extractPdfGrid,
        #reorderGrid,
        .pti-preview-wrap,
        .nujiz-rwm-stage
    ){

        position:relative!important;
        inset:auto!important;
        max-height:none!important;
        overflow:visible!important;
    }

    /* Preserve hidden image editor */

    html body #toolWorkspace
    #editor:not(.visible){

        display:none!important;
    }

    /* Preserve manually collapsed previews */

    html body #toolWorkspace
    .nsw-enabled.nsw-collapsed
    > .nsw-preview {

        overflow:hidden!important;
    }

    /* Preserve hidden media and results */

    html body #toolWorkspace
    #videoPlayerStage.nsb-hide-original {

        display:none!important;
    }

}
