/* Local-only native dialog; the top layer preserves Elementor's scoped styles. */
.ss-popup:not([open]){display:none!important}
dialog.ss-popup{box-sizing:border-box;position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:var(--ss-radius,16px);width:var(--ss-popup-width,640px);max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;background:var(--ss-surface,#fff);color:var(--ss-text,#17354b);box-shadow:0 16px 60px #0005;font:inherit;text-align:start;word-wrap:break-word;isolation:isolate}
dialog.ss-popup::backdrop{background:rgb(0 0 0 / .55)}
.ss-popup .ss-popup-toolbar{position:sticky;top:0;z-index:10;display:flex;justify-content:flex-end;padding:8px;background:var(--ss-surface,#fff)}
.ss-popup .ss-popup-close{appearance:none;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;margin:0;padding:0;border:1px solid currentColor;border-radius:8px;background:var(--ss-surface,#fff);color:var(--ss-text,#17354b);font:28px/1 sans-serif;box-shadow:none;cursor:pointer}
.ss-popup .ss-popup-close:hover{background:#edf3f7;color:#17354b}
.ss-popup :focus-visible,.ss-popup-root>[data-ss-popup-open]:focus-visible{outline:3px solid var(--ss-primary,#087db8);outline-offset:2px}
.ss-popup-content{min-width:0;padding:0 16px 16px}
dialog.ss-popup-right,dialog.ss-popup-left{margin:0;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;max-width:100vw;border-radius:0;inset-block:0}
dialog.ss-popup-right{inset-inline:auto;left:auto;right:0}
dialog.ss-popup-left{inset-inline:auto;left:0;right:auto}
dialog.ss-popup-top,dialog.ss-popup-bottom{margin-inline:auto;border-radius:0 0 var(--ss-radius,16px) var(--ss-radius,16px)}
dialog.ss-popup-top{top:0;bottom:auto;margin-block:0}
dialog.ss-popup-bottom{top:auto;bottom:0;margin-block:0;border-radius:var(--ss-radius,16px) var(--ss-radius,16px) 0 0}
@media(prefers-reduced-motion:no-preference){dialog.ss-popup[open]{animation:ss-popup-enter .16s ease-out}@keyframes ss-popup-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
