.share-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.project-sharing h2, .share-mode-label { display: flex; align-items: center; gap: 8px; }
.project-sharing h2 { margin: 0 0 12px; }
.copy-link { min-width: 0; }
.copy-link-field { position: relative; }
.copy-link .copy-link-field input { width: 100%; padding-inline-end: 52px !important; cursor: copy; }
.copy-link-field button { position: absolute; inset: 2px 2px 2px auto; width: 42px; padding: 0; background: var(--bg); justify-content: center; border-color: transparent; }
.copy-link-field button:focus-visible { outline-offset: -3px; }
.copy-link-field button.copied { background: var(--button); color: var(--button-ink); animation: qs-copy-confirm .4s ease-out; }
@keyframes qs-copy-confirm { 0%, 60% { opacity: .65; } 35%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .copy-link-field button.copied { animation: none; } }
.copy-link-status { display: block; min-height: 1.35em; color: var(--muted); overflow-wrap: anywhere; }
.primary-link-status { color: var(--muted); overflow-wrap: anywhere; }
.primary-link-status:empty { display: none; }
.primary-link-manage { margin-top: 10px; }
.project-sharing .share-email, .additional-share-links { margin-top: 22px; padding-top: 18px; border: 0; border-top: 1px solid var(--line); }
.dashboard > aside .project-sharing .share-email { border: 0; border-top: 1px solid var(--line); }
.additional-share-links h3, .project-sharing .share-email h3 { margin: 0 0 12px; }
.additional-link { margin-top: 14px; }
.additional-link .share-mode-label { margin-bottom: 6px; font-size: 14px; }
#share-actions > [role=status] { flex-basis: 100%; overflow-wrap: anywhere; color: var(--muted); }
#share-actions > [role=status]:empty { display: none; }
.share-mode-options { min-width: 0; padding: 0; margin: 12px 0; border: 0; }
.share-mode-options legend { margin-bottom: 8px; }
.share-mode-options label { display: flex; align-items: center; gap: 8px; padding: 9px 10px; margin: 0 0 6px; min-height: 44px; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.share-mode-options label:has(input:checked) { background: var(--soft); border-color: var(--accent); }
.share-mode-options label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.share-mode-options label input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; }
.share-send-details > button { width: 100%; justify-content: center; }
.share-access-label { display: inline-flex; gap: 7px; align-items: center; font-weight: 600; }
