.wm-profile-share,.wm-profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.75rem 0;max-width:100%;min-width:0}
.wm-profile-share .button,.wm-profile-actions .button,.map-profile-popup .wm-view-profile{min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:center}
.wm-profile-share-status{display:block;flex-basis:100%;font-size:.9rem;color:#5b5264;overflow-wrap:anywhere}
.wm-profile-share input{width:100%;min-width:0;box-sizing:border-box;padding:.6rem;border:1px solid #ddd2df;border-radius:.65rem}
.wm-shared-profile{width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 32px);box-sizing:border-box;border:1px solid #eadde7;border-radius:24px;padding:0;box-shadow:0 24px 75px #31203a30;color:#352b3d;background:#fff}
.wm-shared-profile::backdrop{background:#251d3459}.wm-shared-profile-panel{padding:22px;overflow-wrap:anywhere}.wm-shared-profile-panel>button{display:block;margin-left:auto}.wm-shared-profile h2{margin:.5rem 0;color:#69305e}.wm-shared-profile p{white-space:pre-wrap}.wm-shared-profile img{max-width:120px;max-height:120px;object-fit:cover;border-radius:18px}.wm-profile-dog{padding:14px;background:#fcf4f9;border-radius:18px;margin:12px 0}.wm-profile-dog h3{margin:.5rem 0}.wm-profile-handle{color:#765f7d}.wm-profile-arrival{margin:1rem;padding:1rem;border-radius:18px;background:#fff2f9;box-shadow:0 2px 12px #51273f12}.wm-profile-arrival a{margin:.25rem}.map-profile-popup .wm-view-profile{margin-top:.65rem;width:100%}
@media(max-width:420px){.wm-shared-profile-panel{padding:15px}.wm-profile-actions>.button{width:100%}.wm-profile-share{width:100%}}

/* Compact public-listing share controls keep the primary Contact action clear. */
.wm-profile-share-compact{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;vertical-align:middle}
.wm-profile-share-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;box-sizing:border-box;padding:10px;margin:0;border:1px solid #e7bfd1;border-radius:9px;background:#fff3f8;color:var(--accent-dark,#962f61);cursor:pointer;touch-action:manipulation;box-shadow:none}
.wm-profile-share-icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.wm-profile-share-icon:hover:not(:disabled){background:#f9e1ec;border-color:var(--accent-dark,#962f61)}
.wm-profile-share-icon:focus-visible,.wm-profile-copy-dialog :focus-visible{outline:3px solid var(--accent-dark,#962f61);outline-offset:3px}
.wm-profile-share-icon:disabled{opacity:.55;cursor:default}
.wm-profile-copy-dialog{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;padding:20px;border:1px solid #e7bfd1;border-radius:16px;background:#fff;color:#352b3d;box-shadow:0 20px 65px #31203a30}
.wm-profile-copy-dialog::backdrop{background:#251d3459}.wm-profile-copy-dialog h2{margin:0 0 16px;font-size:22px;line-height:1.3;overflow-wrap:anywhere}.wm-profile-copy-dialog .wm-profile-copy-close{display:block;margin:0 0 12px auto;min-height:44px}.wm-profile-copy-dialog input{display:block;box-sizing:border-box;width:100%;min-width:0;padding:12px;border:1px solid #d8bdcc;border-radius:8px;background:#fff;color:#352b3d;font:inherit;font-size:16px}.wm-profile-copy-actions{display:flex;gap:10px;margin-top:14px}.wm-profile-copy-actions .button{min-height:44px}.wm-profile-copy-status{margin:12px 0 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.wm-profile-copy-status:empty{display:none}
.wm-shared-profile-panel{position:relative}.wm-shared-profile-panel>button{position:absolute;right:16px;top:14px;min-height:44px;margin:0}.wm-shared-profile-identity{padding-right:76px;min-width:0}.wm-shared-profile-identity h2{margin:4px 0 6px;line-height:1.2}.wm-shared-profile-identity p{margin:5px 0;line-height:1.35}.wm-shared-business-heading{display:flex;align-items:center;gap:14px;min-width:0;min-height:70px}.wm-shared-business-heading .wm-shared-profile-identity{flex:1}.wm-shared-profile img.wm-shared-business-photo{width:76px;height:76px;flex:0 0 76px;object-fit:cover;border-radius:16px}.wm-shared-profile .wm-profile-actions{margin:18px 0 14px;gap:8px;align-items:stretch}.wm-shared-profile .wm-profile-actions>.button{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;font-size:14px;line-height:1.3;text-decoration:none}.wm-shared-profile .wm-profile-share-compact{align-self:center}.wm-shared-profile .wm-view-sitter-profile{background:var(--accent-dark,#962f61);border-color:var(--accent-dark,#962f61);color:#fff}
@media(max-width:420px){.wm-shared-profile-panel>button{right:10px;top:10px}.wm-shared-profile-identity{padding-right:62px}.wm-shared-business-heading{gap:10px}.wm-shared-profile img.wm-shared-business-photo{width:60px;height:60px;flex-basis:60px}.wm-shared-profile .wm-profile-actions>.button{flex:1 1 170px}.wm-shared-profile .wm-profile-share-compact{flex:0 0 44px}}
