/* Isolated sharing UI; inherits the existing Light / Dark / System palette. */
.share-entry{display:inline-flex;align-items:stretch;gap:2px}
.detail-price-actions .detail-actions .listing-share,.detail-price-actions .detail-actions .share-choose{min-height:44px;padding:8px 10px}
.listing-share{display:inline-flex;align-items:center;gap:7px;min-height:44px}
.listing-share svg,.share-choose svg,.share-target svg{width:20px;height:20px;flex:none}
.detail-price-actions .detail-actions .share-choose{width:44px;padding:10px;min-width:44px}
dialog:has(.share-sheet){width:calc(100% - 28px);max-width:430px;height:auto;max-height:calc(100dvh - 48px);padding:18px;box-sizing:border-box;overflow-y:auto;background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-default)}
dialog:has(.share-sheet) .modal-head{margin-bottom:12px}
.share-targets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.share-target{display:flex;align-items:center;gap:10px;min-width:0;min-height:48px;padding:10px;border:1px solid var(--border-default);border-radius:10px;background:var(--bg-elevated);color:var(--text-primary);font:inherit;font-size:14px;line-height:20px;text-decoration:none;cursor:pointer;text-align:left;box-sizing:border-box}
.share-target span:last-child{min-width:0;overflow-wrap:break-word}
.share-brand{width:20px;height:20px;flex:none;background:currentColor;mask:var(--share-icon) center/contain no-repeat;-webkit-mask:var(--share-icon) center/contain no-repeat}
.share-note,.share-feedback{font-size:13px;line-height:1.45;color:var(--text-secondary);margin:12px 0 0}
.share-feedback:empty{display:none}
.share-manual-url{width:100%;min-width:0;box-sizing:border-box;font-size:16px;margin-top:10px}
.share-copy-buffer{position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
.share-target:focus-visible,.listing-share:focus-visible,.share-choose:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.share-target:active{border-color:var(--focus)}
@media(hover:hover){.share-target:hover{border-color:var(--focus)}}
