/*
 * Lights on Falcon — viewer host-theme isolation.
 *
 * The viewer renders inside a WordPress page, so the host theme's stylesheets
 * load beside it (wp_head). Hello Elementor and an Elementor kit style bare
 * elements — `button`, `a`, `h1`–`h6`, `p`, `label`, `input`, `textarea` —
 * through selectors such as `.elementor-kit-9 h2` that outrank the viewer's
 * one-class component rules. On the real phone (2026-10-03) that turned the
 * showbill labels into 32px white headings and every action into a padded,
 * nowrap pill.
 *
 * Loaded after lof-viewer.css, this file imports the SAME stylesheet into a
 * cascade layer and then sends every property of every viewer element back to
 * that layer (`all: revert-layer`). Inside the viewer, the authored cascade —
 * its own specificity, layouts, seasons, forced colours and reduced motion —
 * is the only one that applies, and where it says nothing the browser default
 * applies, exactly as on a page with no theme. Nothing outside `.lofx` is
 * touched, and the host theme itself is not changed.
 *
 * Browsers without cascade layers (before 2022) ignore both the layered
 * import and `revert-layer`, and keep rendering lof-viewer.css as before.
 * Inline styles still apply (they sit above every selector). The selector
 * weighs one id through :is() so no class-based theme rule can outrank it;
 * the id names nothing.
 *
 * The import carries ?v= with the first 12 hex digits of lof-viewer.css's
 * SHA-256: hosts cache these files for years, and an unversioned import
 * would keep a corrected stylesheet out of a browser that already has one
 * (tests/suites/c5_10 checks the token against the file).
 */
@import url("lof-viewer.css?v=98f2201b29f4") layer(lofx-authored);
@import url("lof-neighbor-night.css?v=6559411f5c51") layer(lofx-authored);

:is(.lofx, #lofx-host-isolation),
:is(.lofx, #lofx-host-isolation) *,
:is(.lofx, #lofx-host-isolation) *::before,
:is(.lofx, #lofx-host-isolation) *::after {
  all: revert-layer;
}

/* A host `!important` outranks the rule above. The one that reaches the viewer
   is the staging kit's custom `p { margin: 0px !important; }`, which took the
   authored spacing out of every viewer paragraph. Only that property is sent
   back here; a blanket `!important` would also outrank the viewer's own inline
   styles (the queue's move animation). */
:is(.lofx, #lofx-host-isolation) p {
  margin: revert-layer !important;
}
