.project-share-dialog { width: min(540px, calc(100% - 28px)); max-height: min(92dvh, 1000px); margin: auto; padding: 32px; overflow-y: auto; border: 1px solid #e1d5de; border-radius: 22px; background: var(--bg-surface); color: var(--text-main); box-shadow: 0 30px 100px #21172438; }
.project-share-dialog::backdrop { background: #261c2b99; backdrop-filter: blur(6px); }
.project-share-close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #6f5a69; font-size: 1.6rem; cursor: pointer; }
.project-share-close:hover { background: var(--brand-tint); }
.project-share-eyebrow { display: block; margin: 0 36px 8px 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 1.8px; color: var(--primary); }
.project-share-dialog h2 { font: 700 1.45rem/1.35 var(--font-heading); letter-spacing: -.7px; padding-right: 20px; }
#projectShareIntro { margin: 10px 0 20px; color: var(--text-muted); font-size: .9rem; line-height: 1.75; }
.project-share-document { display: flex; align-items: center; justify-content: center; min-height: 170px; height: 260px; padding: 12px; background: var(--bg-surface-elevated); border: 1px solid #e6dce3; border-radius: 12px; overflow: hidden; }
.project-share-document img { display: block; min-height: 0; max-width: 100%; max-height: 100%; height: 100%; width: auto; object-fit: contain; box-shadow: 0 3px 12px #33232e12; }
.project-share-document p { font-size: .9rem; color: var(--text-muted); text-align: center; }
.project-share-dialog [hidden] { display: none !important; }
.project-share-hint { margin: 8px 0 18px; color: var(--text-muted); font-size: .76rem; line-height: 1.75; }
.project-share-actions { display: grid; gap: 10px; }
.project-share-actions .btn-primary { min-height: 48px; width: 100%; font-size: .85rem; border-radius: 10px; }
.project-share-actions .btn-primary:disabled { opacity: .55; cursor: wait; }
.project-share-chat { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 16px; border: 1px solid #d7ccd3; border-radius: 10px; background: var(--bg-surface-hover); color: var(--primary-hover); font-size: .8rem; font-weight: 700; text-align: center; }
body:has(.project-share-dialog[open]) .ds-mobile-sticky-bar { display: none !important; }
@media (max-width: 500px) {
  .project-share-dialog { padding: 26px 20px 20px; border-radius: 18px; }
  .project-share-dialog h2 { font-size: 1.2rem; }
  .project-share-document { height: 210px; }
}
