Cannot apply custom CSS via theme settings
I think the problem is that you forget to add a reference statement in your theme's info file.
like this:

stylesheets[all][] = css/layout.css


After that, need to clean the cache.