[data-popup-id]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem;overflow-y:auto;outline:none}[data-popup-id][hidden],[data-popup-backdrop][hidden]{display:none}[data-popup-backdrop]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9998;background-color:#00000080}.popup-panel{position:relative;width:100%;max-width:40rem;max-height:calc(100vh - 2rem);overflow-y:auto;padding:3rem 1.5rem 1.5rem;background-color:#fff;color:#000;box-shadow:0 10px 40px #0003}.popup-panel>*+*{margin-top:1rem}.popup-panel--flyout{align-self:stretch;max-width:28rem;max-height:none;margin-inline-start:auto;animation:popup-flyout-in .3s ease-out}[data-popup-id]:has(>.popup-panel--flyout){padding:0}.popup-close{position:absolute;top:.75rem;inset-inline-end:.75rem;display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;margin:0;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.popup-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}@keyframes popup-flyout-in{0%{transform:translate(100%)}to{transform:translate(0)}}@media(prefers-reduced-motion:reduce){.popup-panel--flyout{animation:none}}@media(min-width:768px){.popup-panel{padding:3.5rem 2.5rem 2.5rem}}
