/* Scope for CSS extracted from templates (frontend/styles/templates/*.css).
   - ":where(body:has(.tpl-X)) .a" = "while template X is on the page" — what an inline
     <style> in X used to mean (it could style other templates on the same page).
   - ":where(.tpl-X) button" = bare element rules stay inside X (they used to restyle
     every button on the page, header included).
   :where() adds no specificity, so every rule keeps its old weight. The wrapper
   generates no box, so it does not change layout. */
.tpl-scope { display: contents; }
