.sn-overlay[hidden] { display:none !important; }
.sn-overlay { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.68); padding:20px; box-sizing:border-box; }
.sn-dialog { width:100%; max-width:520px; max-height:calc(100vh - 40px); overflow:auto; box-sizing:border-box; background:#fff; color:#202124; padding:28px; border-radius:12px; box-shadow:0 14px 50px rgba(0,0,0,.3); }
.sn-dialog h2 { font-size:24px; line-height:1.25; margin:0 0 18px; }
.sn-body { line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; margin-bottom:22px; }
.sn-dialog button { width:100%; border:0; border-radius:7px; background:#166534; color:white; padding:13px; font-size:16px; cursor:pointer; }
.sn-dialog button:focus-visible { outline:3px solid #f59e0b; outline-offset:3px; }
@media(max-width:500px) { .sn-dialog {padding:22px 18px;} .sn-dialog h2{font-size:21px;} }
