/* Per-page permissions and guests: the Share popover's people list, read-only banners. See assets/js/ext/sharing.js */
.share-people { display: flex; flex-direction: column; gap: 10px; }
.share-people .grow { flex: 1; min-width: 0; }
.share-general, .share-person, .share-invite { display: flex; align-items: center; gap: 10px; }
.share-general-icon { width: 26px; text-align: center; font-size: 16px; flex: none; }
.share-level { width: auto; max-width: 140px; flex: none; padding: 4px 6px; font-size: 13px; }
.share-level-text { flex: none; }
.share-general-level { max-width: 180px; }
.share-invite .input.grow { min-width: 0; }
.share-list { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.share-person .avatar { flex: none; }
.share-who > div:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-who .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-tag { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 4px; background: var(--bg-hover); border: 1px solid var(--border); font-size: 11px; color: var(--fg-muted); vertical-align: 1px; }
.share-invite-link { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-radius: 6px; background: var(--bg-blue); }
.share-note a { color: var(--accent); }
.access-banner { background: var(--bg-hover); color: var(--fg-muted); }

/* view-only people can read comments but not write or resolve them */
.access-view .comment-new, .access-view .comment-actions { display: none; }
