dialog{display:block;position:fixed;left:50%;top:50%;transform:translate3d(-50%,-50%,0);background-color:#fff;max-height:calc(100vh - 6.25rem);max-height:calc(100dvh - 2.5rem);overflow:auto}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;width:100%;height:100%;left:0;background:rgba(37,60,73,.8)}