/* Standalone fallback dialog shared by both public entry points. */
.ef-share-dialog{box-sizing:border-box;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #dedfe4;border-radius:18px;background:#fff;color:#172033;font: .9rem/1.5 "Segoe UI",system-ui,sans-serif;overflow:hidden;box-shadow:0 16px 48px #0003}
.ef-share-dialog[open]{display:flex;flex-direction:column}.ef-share-dialog::backdrop{background:#0009}body:has(.ef-share-dialog[open]){overflow:hidden}
.ef-share-dialog *{box-sizing:border-box}.ef-share-body{min-height:0;overflow-y:auto;padding:22px;overscroll-behavior:contain}
.ef-share-dialog h2{margin:0;font-size:1.15rem}.ef-share-dialog p{margin:10px 0;color:#667085}.ef-share-dialog label{display:block;margin:14px 0 6px;font-size:.8rem;font-weight:600}
.ef-share-dialog textarea{display:block;width:100%;min-height:240px;padding:12px;border:1px solid #dedfe4;border-radius:10px;background:#f8f9fb;color:inherit;resize:vertical;font:inherit;line-height:1.6}
.ef-share-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:14px 22px;border-top:1px solid #dedfe4;flex-shrink:0}
.ef-share-actions button{max-width:100%;padding:10px 14px;border:1px solid #dedfe4;border-radius:8px;color:inherit;background:transparent;font:inherit;font-weight:650;cursor:pointer}
.ef-share-actions [data-share-copy]{border-color:#c7a000;background:#f2c400;color:#171717}
.ef-share-dialog :focus-visible{outline:3px solid #c7a000;outline-offset:3px}
body.darkmode .ef-share-dialog{background:#191b1f;color:#f5f5f5;border-color:#373a40}body.darkmode .ef-share-dialog textarea{background:#222429;border-color:#373a40}body.darkmode .ef-share-dialog p{color:#b0b3b8}body.darkmode .ef-share-actions,body.darkmode .ef-share-actions button{border-color:#373a40}
@media(prefers-color-scheme:dark){.ef-event-page .ef-share-dialog{background:#191b1f;color:#f5f5f5;border-color:#373a40}.ef-event-page .ef-share-dialog textarea{background:#222429;border-color:#373a40}.ef-event-page .ef-share-dialog p{color:#b0b3b8}.ef-event-page .ef-share-actions,.ef-event-page .ef-share-actions button{border-color:#373a40}}
@media(max-width:360px){.ef-share-body{padding:16px}.ef-share-actions{padding:12px 16px}.ef-share-actions button{padding:9px 10px;font-size:.8rem}}
