html.hk-nonadmin app-menu li:has(a[href^="/1/"]){display:none!important}
html.hk-nonadmin app-menu a[href^="/1/"]{display:none!important}
/* Restricted admin: Client /1/14, Event /1/33, User /1/6 and the source User link /1/47.
   Boundaries stop /1/60 and /1/140 matching. Auxiliary routes use /1/14/(modal:...). */
html.hk-restricted-admin app-menu a[href="/1/14"],
html.hk-restricted-admin app-menu a[href^="/1/14/"],
html.hk-restricted-admin app-menu a[href^="/1/14("],
html.hk-restricted-admin app-menu a[href="/1/33"],
html.hk-restricted-admin app-menu a[href^="/1/33/"],
html.hk-restricted-admin app-menu a[href^="/1/33("],
html.hk-restricted-admin app-menu a[href="/1/6"],
html.hk-restricted-admin app-menu a[href^="/1/6/"],
html.hk-restricted-admin app-menu a[href^="/1/6("],
html.hk-restricted-admin app-menu a[href="/1/47"],
html.hk-restricted-admin app-menu a[href^="/1/47/"],
html.hk-restricted-admin app-menu a[href^="/1/47("]{display:none!important}
html.hk-restricted-admin app-menu li:has(a[href="/1/14"]),
html.hk-restricted-admin app-menu li:has(a[href^="/1/14/"]),
html.hk-restricted-admin app-menu li:has(a[href^="/1/14("]),
html.hk-restricted-admin app-menu li:has(a[href="/1/33"]),
html.hk-restricted-admin app-menu li:has(a[href^="/1/33/"]),
html.hk-restricted-admin app-menu li:has(a[href^="/1/33("]),
html.hk-restricted-admin app-menu li:has(a[href="/1/6"]),
html.hk-restricted-admin app-menu li:has(a[href^="/1/6/"]),
html.hk-restricted-admin app-menu li:has(a[href^="/1/6("]),
html.hk-restricted-admin app-menu li:has(a[href="/1/47"]),
html.hk-restricted-admin app-menu li:has(a[href^="/1/47/"]),
html.hk-restricted-admin app-menu li:has(a[href^="/1/47("]){display:none!important}
