html,
body.qimah-native-shell-frame {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

body.qimah-native-shell-frame > :not(#page):not(#main-header):not(.pagelayout):not(script):not(.tooltip):not(.popover):not([data-region="right-hand-drawer"]):not(.modal-backdrop):not(:has(> .modal-backdrop)) {
    display: none !important;
}

body.qimah-native-shell-frame #page.qimah-native-shell-page {
    margin: 0;
    padding: 0;
    background: transparent;
}

body.qimah-native-shell-frame #main-header {
    pointer-events: auto;
}

body.qimah-native-shell-frame .pagelayout {
    position: static;
    min-height: 0;
    pointer-events: none;
}

body.qimah-native-shell-frame .qimah-native-shell-content {
    display: none !important;
}


body.qimah-native-shell-frame [data-region="right-hand-drawer"] {
    z-index: 1100 !important;
    top: var(--qimah-shell-header-bottom, 72px) !important;
    height: calc(100% - var(--qimah-shell-header-bottom, 72px)) !important;
}

body.qimah-native-shell-frame .modal-backdrop[data-region="modal-backdrop"] {
    z-index: 1099 !important;
    top: var(--qimah-shell-header-bottom, 72px) !important;
    height: calc(100% - var(--qimah-shell-header-bottom, 72px)) !important;
}

body.qimah-native-shell-frame :is(.toggle-sidebar, .tgsdb_btn) {
    pointer-events: auto;
}
