.pdf-share-dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); }
.pdf-share-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.pdf-share-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pdf-share-heading h2 { margin: 0; font-size: 1.2rem; }
.pdf-share-close { border: 0; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.pdf-share-status { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.pdf-share-name { padding: 12px; border-radius: 10px; background: var(--surface-soft); overflow-wrap: anywhere; font-size: .8rem; line-height: 1.5; }
.pdf-share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pdf-share-actions .button { display: flex; align-items: center; justify-content: center; text-decoration: none; min-height: 44px; margin: 0; }
.pdf-share-actions .pdf-share-native { flex: 0 0 100%; }
.pdf-share-actions .button-secondary { flex: 1; }
.pdf-share-dialog button:disabled { opacity: .6; cursor: wait; }
.pdf-share-actions[hidden], .pdf-share-dialog [hidden] { display: none; }
