.screen-mask{
    position: fixed;
    z-index: 311;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.screen-overlay{
    position: fixed;
    z-index: 312;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.screen-overlay > .pane-wrapper{
    width: auto;
    max-width: 80vw;
    height: auto;
    max-height: 80vh;
    background-color: white;
    border-radius: 2rem;
    padding: 2rem;
    pointer-events: all;
    box-sizing: border-box;

    @media screen and (max-width: 999px) {
        width: 80vw;
        height: 80vh;
    }
}
.screen-overlay > .pane-wrapper > .pane{
    width: auto;
    max-width: calc(80vw - (2rem * 2));
    height: auto;
    max-height: calc(80vh - (2rem * 2));
    overflow: auto;

    @media screen and (max-width: 999px) {
        width: 100%;
        max-width: initial;
        height: 100%;
        max-height: initial;
    }
}
