        /* Declares the page as natively dark so browser auto-dark features do not recolour it. */
        html { color-scheme: dark; }
        /* Defence in depth: admin navigation and pages stay hidden unless an allow-listed admin is signed in,
           even if Tailwind (CDN) or other styles fail to load. */
        body:not(.is-admin) #nav-admin-group,
        body:not(.is-admin) [id^="section-admin-"],
        body:not(.is-admin) #admin-global-search { display: none !important; }
        /* Staff get the same layout as owners; only the owner-only tools are removed. */
        body.is-staff #nav-admin-builder, body.is-staff #nav-admin-logs, body.is-staff #nav-admin-deleted,
        body.is-staff #section-admin-builder, body.is-staff #section-admin-logs, body.is-staff #section-admin-deleted { display: none !important; }
