Kanimir is, as he often is, sitting in his library enjoying a book on magic and pondering theoretical innovation. He has an idea; he writes it down. It probably won't pan out, most of them don't, but it might.
They can go back to the library, then, and Kanimir shows her the book with the light ritual in it, and walks her through the notation and so on.
It takes about half an hour, as advertised, and at the end she has a little bobbing light.
Kanimir explains what parts of the spell count as discrete parts and how to choose sequences to compress--"It helps to know what shows up elsewhere, see--these parts together are used in many spells involving light, so if you have a shortcut for that, you can reuse it there--"
Kanimir has been thoroughly nerd sniped and has very few biological needs which might bring him out of it.
She will break to get more grapes but will have to wait on actual food till more humans are awake.
Eventually that happens and an alert Kanimir set up earlier chimes. "--Ah, I believe someone who can explain the kitchen is awake."