.share-trigger{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:12px;min-width:44px;min-height:44px;padding:10px;color:var(--ink,#191a18);background:transparent;border:0;border-radius:4px;line-height:1.3;cursor:pointer;transition:background-color .18s ease}
.share-trigger svg{display:block;width:19px;height:19px;flex-shrink:0}
.share-trigger-labeled{justify-content:flex-start;padding:10px 0;font-size:15px;text-align:left}
.share-trigger:disabled{opacity:.35;cursor:default}
.share-trigger:focus-visible,.share-dialog button:focus-visible,.share-dialog a:focus-visible,.share-dialog summary:focus-visible,.share-dialog input:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.share-dialog{position:fixed;inset:0;width:min(400px,calc(100vw - 32px));max-width:400px;max-height:calc(100svh - 32px);margin:auto;padding:24px;color:var(--ink,#191a18);background:var(--paper,#f6f6f4);border:1px solid var(--line,#d6d7d1);border-radius:8px;box-shadow:0 20px 80px #00000020;overflow:auto;overscroll-behavior:contain;font-family:inherit;text-align:left;animation:share-appear .16s ease-out}
.share-dialog::backdrop{background:#00000032;animation:share-backdrop .16s ease-out}
.share-dialog,.share-dialog *{box-sizing:border-box}
.share-dialog:not([open]){display:none}
.share-fallback-backdrop{position:fixed;inset:0;z-index:999;background:#00000032}
.share-dialog-fallback{z-index:1000;height:fit-content}
.share-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-8px -8px 0 0}
.share-heading h2{margin:0;font-size:26px;font-weight:400;line-height:1.15;letter-spacing:-.04em}
.share-close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;padding:12px;color:inherit;background:transparent;border:0;border-radius:4px;cursor:pointer}
.share-close svg{width:20px;height:20px}
.share-target{margin:11px 0 24px;color:var(--muted,#70716c);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.share-copy{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;width:100%;padding:12px 16px;color:var(--paper,#f6f6f4);background:var(--ink,#191a18);border:1px solid var(--ink,#191a18);border-radius:4px;font:inherit;font-size:15px;line-height:1.3;cursor:pointer;transition:opacity .18s ease}
.share-copy svg{width:19px;height:19px;flex-shrink:0}
.share-copy[aria-busy="true"]{opacity:.6;cursor:wait}
.share-copy-icon{display:inline-grid;width:19px;height:19px;flex:none}
.share-copy-icon svg{grid-area:1 / 1}
.share-copy:not(.is-copied) .share-copy-icon svg:last-child,
.share-copy.is-copied .share-copy-icon svg:first-child{visibility:hidden}
.share-copy-buffer{position:fixed;inset:0 auto auto 0;width:1px;height:1px;padding:0;opacity:0;pointer-events:none}
.share-options{display:flex;flex-direction:column;margin-top:18px}
.share-options a,.share-options button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:49px;width:100%;padding:12px 0;color:inherit;background:transparent;border:0;border-bottom:1px solid var(--line,#d6d7d1);border-radius:0;font:inherit;font-size:15px;line-height:1.3;text-align:left;text-decoration:none;cursor:pointer}
.share-options a span{color:var(--muted,#70716c);font-size:12px}
.share-options button svg{width:17px;height:17px;color:var(--muted,#70716c)}
.share-options button:disabled{opacity:.5;cursor:wait}
.share-manual{margin-top:13px;font-size:13px;line-height:1.5}
.share-manual summary{display:flex;align-items:center;min-height:44px;width:fit-content;color:var(--muted,#70716c);cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px}
.share-manual summary::-webkit-details-marker{display:none}
.share-link-label{display:block;margin:4px 0 7px;font-size:12px;color:var(--muted,#70716c)}
.share-url{display:block;width:100%;min-width:0;min-height:44px;padding:10px 11px;color:var(--ink,#191a18);background:transparent;border:1px solid var(--line,#d6d7d1);border-radius:3px;font:inherit;font-size:16px;line-height:1.3;text-overflow:ellipsis}
.share-manual p{margin:8px 0 0;color:var(--muted,#70716c);font-size:12px;line-height:1.5}
.share-status{margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.share-status:not(:empty){margin-top:14px}
@media(hover:hover) and (pointer:fine){.share-trigger:not(:disabled):hover,.share-close:hover{background:#00000008}.share-trigger-labeled:hover{background:transparent}.share-trigger-labeled:hover span{text-decoration:underline;text-underline-offset:4px}.share-copy:not(:disabled):hover{opacity:.83}.share-options a:hover,.share-options button:not(:disabled):hover{color:var(--muted,#70716c)}.share-manual summary:hover{color:var(--ink,#191a18)}}
@media(max-width:480px){.share-dialog{padding:21px;width:calc(100vw - 28px);max-height:calc(100svh - 28px)}.share-heading h2{font-size:25px}.share-target{margin-bottom:20px}.share-trigger-labeled{max-width:100%;font-size:14px}}
@media(prefers-reduced-motion:reduce){.share-trigger,.share-copy{transition:none}.share-dialog,.share-dialog::backdrop{animation:none}}
@keyframes share-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes share-backdrop{from{opacity:0}to{opacity:1}}
