.signature-share-preview{box-sizing:border-box;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #ded4c9;border-radius:20px;padding:26px;background:#fffdf9;color:#30271f;font-family:Vazirmatn,Tahoma,sans-serif;box-shadow:0 24px 70px #21160b40}
.signature-share-preview::backdrop{background:#201b1680}
.signature-share-preview h2{font-size:21px;margin:0 0 10px;line-height:1.6}
.signature-share-preview p{font-size:13px;line-height:1.9;margin:0 0 14px;color:#6d6258}
.signature-share-preview label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
.signature-share-preview textarea{box-sizing:border-box;width:100%;min-height:260px;max-height:45dvh;resize:vertical;padding:16px;border:1px solid #d8cec3;border-radius:12px;background:#f6f3ed;color:#30271f;font:inherit;font-size:14px;line-height:2;direction:rtl;text-align:right}
.signature-share-preview-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 12px}
.signature-share-preview button{font:inherit;font-size:13px;font-weight:700;padding:11px 16px;border:1px solid #1e5847;border-radius:10px;background:#1e5847;color:#fff;cursor:pointer}
.signature-share-preview [data-copy]{background:#245b83;border-color:#245b83}
.signature-share-preview [data-close]{background:#ede7df;border-color:#d7cdc1;color:#493c30}
.signature-share-preview button:focus-visible,.signature-share-preview textarea:focus-visible{outline:3px solid #c29c46;outline-offset:3px}
.signature-share-preview button:disabled{opacity:.6;cursor:wait}
.signature-share-preview [data-status]{margin:0;min-height:1.9em}
@media(max-width:540px){.signature-share-preview{padding:20px}.signature-share-preview h2{font-size:18px}.signature-share-preview-actions button{flex:1}.signature-share-preview textarea{min-height:240px}}
