Factor out CSS length to Au conversion