/* NUJIZ WORDPRESS PDF DESKTOP V7.4 */

@media screen and (min-width:1100px){

    /* PDF editor */

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace
    :is(.pdf-editor-toolbar,.pdf-editor-stage){
        min-width:0!important;
        box-sizing:border-box!important;
    }

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace
    :is(.pdf-editor-stage):not([hidden]){
        width:100%!important;
        max-width:100%!important;
        overflow:auto!important;
    }

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace:not([hidden])
    :is(.pdf-editor-toolbar):not([hidden]){
        display:flex!important;
        flex-direction:row!important;
        flex-wrap:wrap!important;
        align-content:flex-start!important;
        align-items:center!important;
        justify-content:center!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        gap:10px!important;
        overflow:visible!important;
        position:relative!important;
        inset:auto!important;
    }

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace:not([hidden])
    :is(.pdf-editor-toolbar) > *{
        max-width:100%!important;
    }

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace:not([hidden])
    :is(.pdf-editor-stage){
        grid-column:1!important;
        grid-row:1!important;
    }

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace:not([hidden])
    :is(.pdf-editor-toolbar){
        grid-column:2!important;
        grid-row:1!important;
    }

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace:not([hidden])
    :is(.pdf-editor-toolbar,.pdf-editor-stage){
        align-self:start!important;
    }

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace:not([hidden])
    :is(.pdf-editor-toolbar) button{
        min-height:42px;
    }

    html body
    #pdfEditorWorkspace#pdfEditorWorkspace:not([hidden]):has(>.pdf-editor-toolbar):has(>.pdf-editor-stage){
        display:grid!important;
        grid-template-columns:
            minmax(0,1.65fr)
            minmax(0,1fr)!important;
        grid-template-rows:auto!important;
        align-items:start!important;
        gap:16px!important;
        width:100%!important;
        max-width:100%!important;
    }

    /* Shared PDF workspace */

    html body .pdf-workspace
    .npw-enabled:not(#pdfEditorWorkspace)
    :is(.npw-preview,.npw-controls){
        min-width:0!important;
        max-width:100%!important;
        box-sizing:border-box!important;
    }

    html body .pdf-workspace
    .npw-enabled:not(#pdfEditorWorkspace)
    > .npw-preview:not([hidden]){
        grid-column:1!important;
    }

    html body .pdf-workspace
    .npw-enabled:not(#pdfEditorWorkspace)
    > .npw-controls:not([hidden]){
        grid-column:2!important;
    }

    html body .pdf-workspace
    .npw-enabled:not(#pdfEditorWorkspace)
    > :is(.npw-preview-head,.npw-heading,.npw-actions,.npw-toolbar){
        grid-column:1/-1!important;
    }

    html body .pdf-workspace
    .npw-enabled:not(#pdfEditorWorkspace):has(>.npw-preview:not([hidden])):has(>.npw-controls:not([hidden])){
        display:grid!important;
        grid-template-columns:
            minmax(0,1.65fr)
            minmax(0,1fr)!important;
        align-items:start!important;
        gap:14px!important;
    }

    /* PDF single workspace */

    html body .nsw-pdf-root
    .nsw-pdf-single.nsw-enabled:has(>.nsw-preview:not([hidden])):has(>.nsw-controls:not([hidden])){
        display:grid!important;
        grid-template-columns:
            minmax(0,1.65fr)
            minmax(0,1fr)!important;
        align-items:start!important;
        gap:14px!important;
    }

    html body .nsw-pdf-root
    .nsw-pdf-single.nsw-enabled
    > :is(.nsw-preview,.nsw-controls){
        min-width:0!important;
        width:100%!important;
        max-width:100%!important;
        order:0!important;
    }

    html body .nsw-pdf-root
    .nsw-pdf-single.nsw-enabled
    > .nsw-preview{
        grid-column:1!important;
    }

    html body .nsw-pdf-root
    .nsw-pdf-single.nsw-enabled
    > .nsw-controls{
        grid-column:2!important;
    }

    /* Preserve hidden states */

    html body #pdfEditorWorkspace [hidden],
    html body .pdf-workspace [hidden]{
        display:none!important;
    }
}

/* END NUJIZ WORDPRESS PDF DESKTOP V7.4 */
