/* One public sharing sheet for home and every module. */
dialog.fnx-share{box-sizing:border-box;width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line,#e4dfea);border-radius:28px;background:var(--card,#fff);color:var(--ink,#241632);box-shadow:0 24px 90px #100a2433;overflow:auto}
dialog.fnx-share::backdrop{background:#15101f66;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.fnx-share .fnx-share-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fnx-share .fnx-share-heading h2{font-size:24px;line-height:1.2;letter-spacing:-.035em;margin:0;font-weight:700}
.fnx-share button{font:inherit;cursor:pointer;touch-action:manipulation}
.fnx-share .fnx-share-close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:50%;background:var(--soft,#f3f1f6);color:var(--muted,#65596f)}
.fnx-share svg{display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}
.fnx-share .fnx-share-name{margin:8px 0 20px;font-size:14px;color:var(--muted,#65596f);overflow-wrap:anywhere}
.fnx-share #qr{width:min(224px,100%);min-height:160px;display:block;margin:0 auto;padding:8px;background:#fff;border:1px solid #eee;border-radius:16px}
.fnx-share #qr svg{width:100%;height:auto;aspect-ratio:1;stroke:none;border-radius:0;display:block}
.fnx-share .fnx-share-caption{text-align:center;font-size:13px;color:var(--muted,#65596f);margin:12px 0 22px}
.fnx-share .fnx-share-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.fnx-share .fnx-share-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:80px;min-width:0;padding:12px 8px;border:1px solid var(--line,#e4dfea);border-radius:18px;background:var(--soft,#f3f1f6);color:var(--purple,#6433d4);font-size:13px;font-weight:600;line-height:1.35}
.fnx-share [hidden]{display:none!important}
.fnx-share .fnx-share-status{font-size:13px;line-height:1.4;text-align:center;margin:16px 0 0;min-height:18px;color:var(--muted,#65596f)}
.fnx-share button:focus-visible{outline:2px solid var(--purple,#6433d4);outline-offset:3px}
.fnx-share .fnx-share-copy-buffer{position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
@media(max-height:640px){dialog.fnx-share{padding:18px}.fnx-share #qr{width:160px}.fnx-share .fnx-share-name{margin-bottom:12px}.fnx-share .fnx-share-caption{margin:8px 0 12px}}

.fnx-share .fnx-share-actions{flex-wrap:wrap}.fnx-share #save-qr{flex-basis:100%}.fnx-share button:disabled{opacity:.55;cursor:wait}
