/* Navigation integration only; original panels, sidebars and their dimensions remain. */
[data-project] .project-switcher-host { flex-shrink:0; min-width:0; }
[data-project] .project-context { display:flex; gap:13px; align-items:center; min-width:0; }
[data-project] .page-topbar { flex-wrap:wrap; }
[data-project="ace"] .cx-header nav a { display:flex; align-items:center; padding:0 3px; border-bottom:2px solid transparent; font-size:12px; color:var(--text-muted); }
[data-project="ace"] .cx-header nav a:hover { color:var(--text-primary); }
[data-project="ace"] .cx-header .project-switcher-host { order:0; }
[data-project="communities"] .cc-topbar-community .project-switcher-host { margin-right:5px; }
[data-project="standard"] .demo-login-shell > .project-switcher-host { margin-bottom:15px; }
@media(max-width:900px) { [data-project] .project-context .page-meta { display:none; } }
@media(max-width:639px) {
  [data-project="ace"] .cx-header nav a { flex:1; justify-content:center; }
  [data-project="ace"] .cx-header .cx-brand { margin-right:auto; }
  [data-project="communities"] .cc-topbar-community .project-switcher-host { margin-right:0; }
  [data-project="communities"] .cc-topbar-community strong { max-width:105px; }
  [data-project="communities"] .cc-topbar-community small { max-width:105px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}
@media(max-width:360px) { [data-project="communities"] .cc-topbar-community strong,[data-project="communities"] .cc-topbar-community small { max-width:65px; } }

.project-navigation-footer { padding:20px 24px; border-top:1px solid var(--border-subtle,#29313b); }
footer > .project-switcher-host { display:inline-flex; align-items:center; margin:0; }
footer .project-switcher .ps-trigger { min-height:44px; }
@media(max-width:760px) {
 footer > .project-switcher-host { flex:0 0 auto; }
}
