.site-popup{box-sizing:border-box;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #dce3ed;border-radius:12px;background:#fff;color:#172033;box-shadow:0 20px 64px rgb(12 28 53 / 20%)}
.site-popup::backdrop{background:rgb(12 28 53 / 48%)}
.site-popup header{display:flex;align-items:flex-start;gap:20px;margin-bottom:20px}
.site-popup h2{flex:1;min-width:0;margin:0;font-size:22px;line-height:1.5;overflow-wrap:anywhere}
.site-popup header button{flex-shrink:0;border:0;background:transparent;padding:8px;color:#40516c;font:inherit;cursor:pointer}
.site-popup-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;max-height:55dvh;overflow-y:auto}
.site-popup footer{display:flex;justify-content:flex-end;margin-top:24px}
.site-popup button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.site-popup-open{overflow:hidden}
@media(max-width:480px){.site-popup{padding:20px}.site-popup h2{font-size:19px}}
