/* Keep the original contact card intact. This square frames its QR with quiet space. */
#consult-dialog .whatsapp-contact[data-channel="wechat"] .whatsapp-qr{width:min(280px,100%);aspect-ratio:1;margin:8px auto}
.whatsapp-contact[data-channel="wechat"] .whatsapp-qr img{position:absolute;width:100%;height:auto;max-width:none;left:0;top:-44.057377%;object-fit:initial}
.whatsapp-contact[data-channel="wechat"] .whatsapp-auto-note{display:none}
.whatsapp-contact[data-channel="wechat"] .contact-qr-disclosure>summary{font-size:14px}
#wechat-handoff{grid-column:1 / -1;min-width:0}
#wechat-handoff[hidden],#wechat-copy-fallback[hidden]{display:none}
.wechat-qr-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
#wechat-handoff .wechat-qr-actions .button{width:auto;flex:1;justify-content:center;min-height:48px;font-size:14px}
.wechat-image-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px;text-decoration:underline;text-underline-offset:4px;font-size:14px}
#wechat-copy-status{font-size:14px;line-height:1.8;overflow-wrap:anywhere;color:var(--green)}
#wechat-copy-status:empty{display:none}
#wechat-copy-fallback label{display:block;font-size:14px;line-height:1.8}
#wechat-message-fallback{display:block;width:100%;min-width:0;margin-block:10px;padding:12px;border:1px solid var(--line);background:var(--white);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.75;resize:vertical}
