.profile-photo-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 16px}
.photo-preview{width:64px!important;height:64px!important;flex:0 0 64px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:var(--green-50)}
.photo-preview img{width:100%;height:100%;object-fit:cover}
.photo-error{flex-basis:100%;color:var(--danger);font-size:12px}
.pin-input-wrap{position:relative}.pin-input-wrap input{padding-right:48px}
.pin-visibility{position:absolute;right:4px;top:4px;width:38px;height:36px;border:0;background:transparent;font-size:22px;color:var(--green-900)}
.profile-camera-dialog{width:min(480px,92vw);border:1px solid var(--line);border-radius:8px;padding:16px}
.profile-camera-dialog::backdrop{background:rgba(0,0,0,.55)}
.profile-camera-dialog video{width:100%;max-height:65vh;object-fit:contain;background:#111}
.profile-camera-dialog>div{display:flex;gap:8px;margin-top:12px}
.photo-control-avatar{position:relative;display:inline-block;flex:none;width:64px;height:64px}
.photo-control-avatar[hidden]{display:none}
.photo-plus{position:absolute;right:-3px;bottom:-3px;width:32px;height:32px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;padding:0;background:var(--green-800);color:#fff;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 2px 8px #0002}
.photo-plus[hidden]{display:none!important}
.sheet-photo-control{width:112px;height:112px}
.sheet-photo-control .profile-avatar{width:112px!important;height:112px!important;min-width:112px;max-width:112px;object-fit:cover}
.photo-action-buttons{display:grid;gap:3px}
.photo-action-buttons button{border:0;background:transparent;color:var(--ink);padding:11px 12px;border-radius:8px;text-align:left;font:inherit;font-size:14px}
.photo-action-buttons button:hover,.photo-action-buttons button:focus-visible{background:var(--green-50)}
