/* Core neutraliser — DECLARED differences from core, so the ported pages render on
 * the baseline timchovanec.com was built on (WordPress + Lawyer Base), not on core's
 * Tailwind preflight and demo-theme body. Same mechanism as ministrycatalysts.
 *
 * 1. Tailwind preflight lives in @layer base; this rule sits in the same layer and
 *    rolls every property back past it with `revert-layer`. Unlayered CSS (10-wp.css,
 *    20-port.css) still wins; core blocks' utilities are untouched.
 * 2. Core's body colours/font and film grain, which the site never had.
 * `data-tc-chrome` is on the header, so none of this reaches /admin.
 */
@layer base {
  :root:has([data-tc-chrome]),
  :root:has([data-tc-chrome]) *,
  :root:has([data-tc-chrome]) ::before,
  :root:has([data-tc-chrome]) ::after,
  :root:has([data-tc-chrome]) ::marker,
  :root:has([data-tc-chrome]) ::placeholder,
  :root:has([data-tc-chrome]) ::backdrop,
  :root:has([data-tc-chrome]) ::file-selector-button {
    all: revert-layer;
  }
}

:where(:root:has([data-tc-chrome])) {
  --grain-opacity: 0;
  font-size: 100%;
}
:where(:root:has([data-tc-chrome])) .grain::after {
  content: none;
}
/* WordPress's <body>: margin 0, the theme's #303030 behind the page. */
:where(:root:has([data-tc-chrome])) body {
  margin: 0;
  padding: 0;
  background: #303030;
  color: #808080;
}
