Susan F.
Keep a notepad and pen by your bedside table. Write down your ideas and what you need to research. Make enough notes for you to use in the morning. Then do some deep breathing to go back to sleep. Using paper and pen pr pencil will keep you from the blue screen blues.