.facebook-link-dialog{box-sizing:border-box;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #bacbd7;border-radius:16px;padding:28px;color:#253746;background:#fff;font:inherit;line-height:1.7}
.facebook-link-dialog::backdrop{background:#162d4766}
.facebook-link-dialog h2{font-size:1.2em;margin:0 48px 16px 0;line-height:1.5}
.facebook-link-close{position:absolute;right:12px;top:12px;width:44px;height:44px}
.facebook-link-actions{display:flex;flex-wrap:wrap;gap:12px}
.facebook-link-dialog button,.facebook-link-actions a,.facebook-link-toast button{box-sizing:border-box;font:inherit;cursor:pointer;min-height:48px;padding:10px 16px;border-radius:8px;border:1px solid #7894ab;background:#fff;color:#174b74;line-height:1.5}
.facebook-link-actions a{background:#174b74;color:#fff;text-decoration:none}
.facebook-link-actions button:disabled{opacity:.65;cursor:wait}
.facebook-link-dialog [data-facebook-status]{font-size:.9em;overflow-wrap:anywhere}
.facebook-link-toast{position:fixed;z-index:1000;bottom:16px;right:16px;max-width:min(500px,calc(100% - 32px));padding:16px;background:#fff;color:#253746;border:1px solid #7894ab;border-radius:10px;box-shadow:0 4px 20px #0003;box-sizing:border-box}
.facebook-link-toast[hidden]{display:none}
@media(max-width:420px){.facebook-link-dialog{padding:24px 18px}.facebook-link-actions{flex-direction:column}.facebook-link-actions>*{text-align:center;width:100%}}
