/* QR sharing uses the existing share and import flows. */
.profile-add-actions #scanProfileButton{flex:0 0 44px;width:44px;min-height:44px;padding:10px;color:var(--blue);display:grid;place-items:center}
#shareDialog .share-actions{display:flex;gap:8px;align-items:stretch}
#shareDialog .share-actions #shareNative{flex:1;width:auto;min-width:0;padding-inline:10px}
#shareDialog .share-actions #copyShare{flex:1.4;min-width:0;padding-inline:10px;white-space:nowrap}
#shareQrButton{flex:0 0 44px;width:44px;padding:10px;display:grid;place-items:center;color:var(--blue)}
#shareQrButton[aria-expanded=true]{background:var(--blue-soft);border-color:var(--blue)}
#shareQrPanel{text-align:center;margin-top:16px}
#shareQrCanvas{width:200px;height:200px;max-width:100%;object-fit:contain;background:white;border-radius:12px;image-rendering:pixelated}
#shareQrPanel .help-text{font-size:14px;line-height:1.6;margin:12px 0 0;color:var(--muted)}
#shareQrError:empty,#qrScanError:empty{display:none}
.qr-camera{position:relative;overflow:hidden;border-radius:16px;background:var(--ink);height:268px;margin:18px 0}
#qrScanVideo{width:100%;height:100%;object-fit:cover;display:block}
.qr-scan-frame{position:absolute;inset:24px;max-width:214px;margin:auto;border:2px solid #fff;border-radius:18px;pointer-events:none}
#qrScanStatus{text-align:center;color:var(--muted);font-size:14px;min-height:21px;margin:12px 0}
@media(max-width:380px){.profile-add-actions{gap:6px}.profile-add-actions .new-profile-button{font-size:12px;padding-inline:6px;gap:4px}#shareDialog .share-actions button{font-size:13px}#shareDialog .share-actions{gap:6px}}
