Not a teacher.
The bottom line always means profits. When the math is done, there is one figure left at the bottom of the page: did you make money or lose money?
"Top line" I can't say I have heard. I think they mean the initial investment in modernizing stuff.
Student or Learner