/* [GOJD:CSS 12] Compact surface: the panel grows with content instead of creating an empty viewport. */
.gojd-overlay-backdrop:not(.modal-mode){align-items:flex-start;padding:14px}
.gojd-drawer{height:auto;max-height:calc(100dvh - 28px);flex:0 1 auto}
.gojd-panel-scroll{flex:0 1 auto;overflow:auto;overscroll-behavior:contain}
.gojd-drawer-foot{flex:none}
@media(max-width:760px){
 .gojd-overlay-backdrop:not(.modal-mode){align-items:flex-end;padding:0}
 .gojd-drawer{max-width:100vw;max-height:93dvh;width:100%;box-shadow:0 -16px 45px rgba(0,0,0,.18)}
 .gojd-panel-scroll{flex:0 1 auto}
}


