/**
 * Canvas Global Styles: wrapper CSS-variable rule set.
 *
 * Consumes the `--cnvs-gs-*` custom properties GlobalStyleRenderer sets
 * inline on a block's `.cnvs-gs-root` wrapper element for a small,
 * conservative whitelist of scalar properties that have a genuinely
 * neutral CSS fallback (see GlobalStyleRenderer::WRAPPER_VAR_MAP). This
 * replaces a per-instance `<style>` rule with ONE static, cacheable rule
 * set shared by every block on the page.
 *
 * Selector specificity is (0,1,0): a single class: identical to the
 * scoped `.cnvs-gs-{id}{...}` rule this replaces, so the cascade is
 * unaffected. Only properties that are safely inherited (or otherwise
 * behave identically whether declared inline or via a class rule on the
 * SAME element) belong here: see the whitelist doc in GlobalStyleRenderer.
 *
 * Currently whitelisted: font-size only. color / background-color /
 * border-radius are NOT wired here yet, no base (non-hover) Canvas
 * global-style attribute emits them as a literal wrapper-level
 * declaration today (see GlobalStyleRenderer::WRAPPER_VAR_MAP docblock
 * for the full reasoning). Add a rule here + a WRAPPER_VAR_MAP entry
 * together if/when such an attribute is introduced.
 *
 * @package Canvas_Core
 * @since   1.0.0
 */

.cnvs-gs-root {
	font-size: var( --cnvs-gs-font-size, inherit );
}
