**To reproduce:** ποΈ [Playground link](https://lesscss.org/less-preview/#eyJjb2RlIjoiQGxheWVyIGZvby5iYXoge1xuICAgLmJhciB7XG4gICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICB9XG59IiwiYWN0aXZlVmVyc2lvbiI6IjQuNC4wIiwibWF0aCI6InBhcmVucy1kaXZpc2lvbiIsInN0cmljdFVuaXRzIjpmYWxzZX0=) ποΈ 1. Write a CSS `@layer` rule in a `.less` stylesheet addressing a nested layer using dotted notation: ```less @layer foo.baz { .bar { font-weight: bold; } } ``` 2. Process it: ``` npx less stylesheet.less ``` 3. Bang: > `Error: [less] at-rule options not recognised` **Current behavior:** `lessc` throws an error on the dotted syntax. **Expected behavior:** The dotted syntax should pass through `lessc` the same way as a non-dotted rule. **Environment information:** <!-- Provide the `less` and `nodejs` packages versions --> - `less` version: 4.4.0 - `nodejs` version: 22.17.0 - `operating system`: Linux <!-- feel free to add additional comments --> ### Other links [MDN Link about nested CSS layers](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer#nesting_layers) [Playground example of a non-dotted layer name working great in 4.4.0](https://lesscss.org/less-preview/#eyJjb2RlIjoiQGxheWVyIGZvbyB7XG4gICAuYmFyIHtcbiAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgIH1cbn0iLCJhY3RpdmVWZXJzaW9uIjoiNC40LjAiLCJtYXRoIjoicGFyZW5zLWRpdmlzaW9uIiwic3RyaWN0VW5pdHMiOmZhbHNlfQ==) [Playground example of the dotted notation working in 4.3.0](https://lesscss.org/less-preview/#eyJjb2RlIjoiQGxheWVyIGZvby5iYXoge1xuICAgLmJhciB7XG4gICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICB9XG59IiwiYWN0aXZlVmVyc2lvbiI6IjQuMy4wIiwibWF0aCI6InBhcmVucy1kaXZpc2lvbiIsInN0cmljdFVuaXRzIjpmYWxzZX0=)