.profile-image-button{display:block;padding:0;border:0;border-radius:14px;background:none;color:inherit;cursor:zoom-in;font:inherit}
.profile-image-button:focus-visible,.profile-image-preview-target:focus-visible{outline:3px solid var(--primary,#2563eb);outline-offset:4px}
.profile-image-preview-target{cursor:zoom-in}
.profile-image-viewer{position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:54px 16px 18px;border:0;background:rgba(4,12,24,.94);color:#fff;overflow:hidden;overscroll-behavior:contain}
.profile-image-viewer::backdrop{background:transparent}
.profile-image-viewer[open]{display:flex;align-items:center;justify-content:center}
.profile-image-viewer .profile-image-full{display:block;width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;border-radius:16px;object-fit:contain;cursor:zoom-out}
.profile-image-viewer .profile-image-full[alt="Signature"]{width:min(900px,100%);height:auto;max-height:100%;background:#fff;border-radius:4px}
.profile-image-viewer-close{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#ffffff18;color:#fff;font:32px/1 sans-serif;cursor:pointer}
.profile-image-viewer-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media print{.profile-image-viewer{display:none!important}}

.profile-image-viewer .profile-image-motion{position:fixed;display:block;margin:0;max-width:none;max-height:none;object-fit:cover;pointer-events:none;z-index:1}
.profile-image-viewer-close{z-index:2}
