/* Hidden is a permission/layout contract, not a hint for toolbar styling. */
html[data-theme] body[class*="cuik-page-"] [hidden],
html[data-theme] body[class*="cuik-page-"] :is(#coreShell,#appShell,#geoApp,#fichasApp,#calShell,#ebShell,#territorialShell,#pushApp) [hidden],
html[data-theme] body[class*="cuik-page-"] :is(#themeToggle,#themeBtn,#themeButton,#geoThemeBtn,#fichasThemeBtn,#pushThemeBtn,#btnTheme,#socTheme)[hidden]{
 display:none!important;
}
/* Knowledge writes and management views are denied until the authenticated
   session/dashboard explicitly supplies the corresponding role state. */
html[data-theme] body.cuik-page-knowledge:not(.is-admin) .admin-only,
html[data-theme] body.cuik-page-knowledge:not(.is-management) .role-management{
 display:none!important;
}
