Whew! That took some work, but I finally got the css working correctly here. I doubt that it validates, but it’ll do for now.
I also learned quite a bit about the template variables while I was mucking with the templates.