No higher, and no longer than a week. Once they are thoroughly dry and active, I'd drop it back a bit. Sometimes if they are lethargic it is because it is a bit warm in the brooder. There is also the problem of ventilation. Something like a fish tank may not allow the ammonia from their poop out well enough. If you can smell ammonia, it is already too high concentration.
It's best to determine temp by their behavior, which means having a large enough brooder that it has a cooler and a warmer end, so they can choose. This should also help the ventilation problem. I raised two groups in my house (I'll never do it indoors again) in a huge brooder made of appliance cartons. I was amazed that even if the temp below the heat lamp was less than recommended, they would always go to the cooler end. Later I raised a group in my coop with a heat lamp which really didn't keep their area all that warm. Outdoor temps were 16C at night. At 3 weeks they wew moving as far from the heat lamp as they could get, almost a meter away, so I just turned it off. They grew up healthy and strong. In other words, except for the first day or two after hatch, or while recovering from shipping stress, I think we often overheat them.