.hc-share-dialog { box-sizing:border-box; width:min(calc(100% - 24px),520px); max-height:calc(100svh - 24px); padding:20px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:var(--paper); overflow:auto; }
.hc-share-dialog::backdrop { background:#34312d80; }
.hc-share-dialog header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.hc-share-dialog h2 { min-width:0; margin:0; font-size:1.125rem; line-height:1.5; letter-spacing:0; overflow-wrap:anywhere; }
.hc-share-dialog [data-close] { flex:none; width:44px; height:44px; padding:0; font-size:24px; border-radius:4px; }
.hc-share-dialog [data-share-status] { margin:12px 0; font-size:.8125rem; line-height:1.6; overflow-wrap:anywhere; }
.hc-share-dialog [data-share-status]:empty { display:none; }
.hc-share-dialog img { display:block; width:100%; height:auto; aspect-ratio:4/5; margin-top:14px; border:1px solid var(--line); }
.hc-share-dialog .hc-share-actions { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.hc-share-dialog .hc-share-actions button { flex:1 1 8rem; display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px; border-radius:4px; white-space:normal; font-size:.8125rem; line-height:1.5; }
.hc-share-dialog .hc-share-actions svg { width:18px; height:18px; flex:none; }
.hc-share-dialog [data-send] { background:var(--ink); color:var(--paper); }
.hc-share-dialog label { display:block; font-size:.75rem; margin:14px 0 8px; }
.hc-share-dialog textarea { box-sizing:border-box; display:block; width:100%; max-width:100%; padding:12px; border:1px solid var(--line); border-radius:4px; color:var(--ink); background:var(--surface); font-family:inherit; font-size:.75rem; font-weight:400; line-height:1.7; resize:vertical; overflow-wrap:anywhere; }
.hc-share-dialog [hidden] { display:none!important; }
body[data-hc-mode=practice] #share { display:inline-flex; }
