.app-modal.app-modal{max-width:calc(100vw - 40px);max-height:90vh}.app-modal__slot{display:contents}:where(.app-modal--sm){--dialog-width:min(480px, calc(100vw - 40px))}:where(.app-modal--md){--dialog-width:min(660px, calc(100vw - 40px))}:where(.app-modal--lg){--dialog-width:min(820px, calc(100vw - 40px))}:where(.app-modal--xl){--dialog-width:min(1100px, calc(100vw - 40px))}:where(.app-modal--full){--dialog-width:94vw}:where(.app-modal--page){--dialog-width:calc(100vw - 24px)}.app-modal--page.app-modal--page{max-width:calc(100vw - 24px);height:calc(100vh - 24px);max-height:calc(100vh - 24px)}:where(.app-modal--fit){--dialog-width:fit-content}.app-modal--fit.app-modal--fit{min-width:360px}:where(.app-modal--plain){--dialog-width:fit-content}.app-modal--plain.app-modal--plain{max-width:min(800px,100vw - 40px)}:where(.app-modal--screen){--dialog-width:80vw}.app-modal--screen.app-modal--screen{background:var(--bg-secondary);height:90vh}:where(.app-modal--bare){--dialog-width:fit-content}.app-modal--bare.app-modal--bare{box-shadow:none;background:0 0;border:none}@media (width<=600px){.app-modal--fit.app-modal--fit{width:calc(100vw - 32px);min-width:0}}
