dialog.ps-dialog:not([open]) { display: none; }
dialog.ps-dialog { box-sizing: border-box; position: fixed; inset: 0; margin: auto; width: min(var(--ps-width, 600px), calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: 14px; padding: 36px; color: inherit; background: #fff; box-shadow: 0 20px 80px #0004; font-family: inherit; text-align: left; }
dialog.ps-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.ps-dialog .ps-title { margin: 0 36px 20px 0; overflow-wrap: anywhere; }
.ps-dialog .ps-content { overflow-wrap: anywhere; }
.ps-dialog .ps-content p { margin: 0 0 1em; }
.ps-dialog .ps-content ul, .ps-dialog .ps-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.ps-dialog .ps-content img { max-width: 100%; height: auto; }
.ps-dialog .ps-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font: 28px/1 sans-serif; cursor: pointer; }
.ps-dialog .ps-close:hover { background: #0000000d; }
.ps-dialog .ps-action { margin-top: 12px; white-space: normal; overflow-wrap: anywhere; }
.ps-dialog .ps-action:not(.qbutton) { display: inline-block; padding: 10px 22px; border: 1px solid currentColor; border-radius: 4px; text-decoration: none; }
.ps-dialog :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 480px) { dialog.ps-dialog { padding: 28px 22px; } }
