/*
 * Hidden means hidden (16 Oct 2026).
 *
 * A control the page has hidden (the `hidden` attribute) must never paint.
 * Bootstrap's `[hidden] { display: none !important }` is unlayered, so any
 * unlayered `display: … !important` rule with more ids beat it — the chapter
 * footer ⋯ (20 Sep), the dashboard and import buttons, Translate's "Resume
 * translation" and the Story Wizard's "Reset step" (16 Oct) all painted while
 * hidden.
 *
 * An !important declaration inside a cascade layer beats every unlayered
 * !important one, whatever its selector, and an earlier layer beats a later
 * one. This sheet is printed straight after CoreUI on every shell, so
 * et-hidden is the first layer declared (before et-wizard and et-type).
 *
 * Only [hidden]: `.d-none` is left alone, because `d-none d-lg-flex` relies on
 * a later rule showing it. Nothing in this tree shows a [hidden] element on
 * purpose (checked: no CSS rule sets a display on [hidden]; the 16 Oct sweep of
 * 20 pages and all 21 Author's tools at 1440 and 390 found none painting).
 */
@layer et-hidden {
    [hidden]:not([hidden="until-found"]) {
        display: none !important;
    }
}
