Currently the print_header() function in cvs:/moodle/lib/weblib.php that prints the header that loads the style sheet makes the $course object global. Thus within this function you can simply get at the category from $course->category. You can then use this information to decide which stylesheet to load.
General developer forum
Custom themes by course category
This discussion has been locked so you can no longer reply to it.