.share-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 28px; color: var(--ct-ink); background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: 12px; overflow-y: auto; }
.share-dialog::backdrop { background: #080b1099; }
.share-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.share-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.share-heading button { padding: 8px 14px; }
.share-name { color: var(--ct-muted); margin: 4px 0 24px; overflow-wrap: anywhere; }
.share-dialog form { gap: 14px; }
.share-dialog p { font-size: 14px; }
.share-dialog .muted { font-size: 13px; margin: 7px 0; }
.share-dialog input, .share-dialog select, .share-dialog textarea { width: 100%; min-width: 0; }
.share-note { background: var(--ct-surface-subtle); padding: 12px 15px; border-radius: 7px; margin: 0; }
.share-link { border-top: 1px solid var(--ct-line); padding-top: 24px; margin-top: 24px; }
.share-link input { font-size: 13px; }
.share-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.share-link details { margin-top: 22px; }
.share-dialog [data-share-status] { margin-bottom: 0; overflow-wrap: anywhere; }

.share-dialog{box-sizing:border-box;font-family:Inter,system-ui,sans-serif;background:var(--ct-card,#fffdf7);color:var(--ct-ink,#20231e);border-color:var(--ct-line,#d3cfc2)}
.share-dialog *{box-sizing:border-box}
.share-dialog .share-heading h2{font-size:1.5rem}
.share-dialog form{display:grid;gap:18px}
.share-dialog label{display:grid;gap:8px;font-size:.875rem;font-weight:550}
.share-dialog :is(input,select,textarea){border:1px solid var(--ct-line,#d3cfc2);border-radius:7px;padding:11px 12px;background:#fff;color:#20231e;font:inherit;font-size:.875rem;max-width:100%}
.share-dialog textarea{resize:vertical;min-height:84px}
.share-dialog :is(button,.button){font:inherit;font-size:.875rem;min-height:44px;padding:10px 14px;border:1px solid var(--ct-line,#d3cfc2);border-radius:7px;background:#fffdf7;color:#20231e;text-decoration:none;cursor:pointer}
.share-dialog button.primary{background:var(--ct-orange,#ff8a45);border-color:#20231e;font-weight:600;justify-self:end}
.share-dialog .share-heading button{border:0;background:none;min-width:44px;padding:8px}
.share-dialog .share-report{display:flex;align-items:center;gap:12px;border:1px solid var(--ct-line,#d3cfc2);border-radius:9px;padding:14px 16px;margin:22px 0}
.share-dialog .share-report-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:8px;background:#20231e;color:#fffdf7;font-size:1.3rem}
.share-dialog .share-report strong{display:block;font-size:.9375rem;overflow-wrap:anywhere}
.share-dialog .share-report div>span{display:block;font-size:.8125rem;color:var(--ct-muted,#64675f);margin-top:4px}
.share-dialog .share-people-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.875rem}
.share-dialog .share-viewer-role{border-radius:4px;padding:4px 8px;background:#efeee6;color:#545c50;font-size:.75rem}
.share-dialog .share-note{font-size:.8125rem;line-height:1.6;background:#f0eee5}
.share-dialog .muted{color:var(--ct-muted,#64675f);font-size:.8125rem;line-height:1.6;margin:0}
.share-dialog .share-link{border-top:1px solid var(--ct-line,#d3cfc2)}
.share-dialog details{font-size:.8125rem;line-height:1.6}
.share-dialog .danger{color:#963b25}
.share-dialog [data-share-status]{font-size:.8125rem;line-height:1.5}
.share-dialog [data-share-status]:empty{display:none}
.share-dialog :focus-visible{outline:2px solid #a33d05;outline-offset:3px}
.share-dialog [hidden]{display:none!important}
.share-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:760px){.share-dialog{padding:20px}}
@media print{.share-dialog{display:none!important}}
