/* v2.9.540: isolated modal viewport alignment and sidebar interaction safety. */
html body > .modal:not(.hidden){position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:12000!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:auto!important;padding:clamp(8px,2vw,20px)!important;box-sizing:border-box!important;}
html body > .modal:not(.hidden) > .modal-box{flex:0 1 auto!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;margin:auto!important;width:min(1080px,100%)!important;max-width:100%!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;box-sizing:border-box!important;}
html body > .modal:not(.hidden) > .modal-box > .modal-body{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;}
@media(max-width:700px){html body > .modal:not(.hidden){padding:6px!important;align-items:flex-start!important}html body > .modal:not(.hidden) > .modal-box{max-height:calc(100dvh - 12px)!important}}
