export function fmt(v, unit = '') { return v == null ? '—' : v + unit }