#crm-overlay-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;pointer-events:none}.crm-modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:auto}.crm-modal-layer[hidden]{display:none!important}.crm-modal-layer .crm-modal-panel{display:flex;min-height:0;max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);flex-direction:column}.crm-modal-layer .crm-modal-body{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}.crm-modal-layer .crm-modal-header,.crm-modal-layer .crm-modal-footer{flex-shrink:0}.crm-modal-layer .crm-deal-form{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden}.crm-modal-layer .crm-deal-form>.deal-form-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain}.crm-modal-layer .crm-deal-form .owner-modal-footer{flex-shrink:0}.crm-modal-layer .crm-drawer-panel{max-height:100vh;max-height:100dvh}@media(max-width:639px){.crm-modal-layer .crm-modal-panel{max-height:calc(100dvh - 1rem)}}
