/* v4.3-RC5 — outer-shell ERD declutter only */
body.workspace-erd #mfUsabilityBar,
body.workspace-erd .mf-skip-links,
body.workspace-erd #ai2NarrationBar,
body.workspace-erd .header-ai-controls,
body.workspace-erd .header-review-controls,
body.workspace-erd #print{display:none!important}

body.workspace-erd .topbar{
  grid-template-columns:minmax(180px,max-content) max-content minmax(260px,1fr) max-content!important;
  gap:12px!important;
  height:64px!important;
  padding:0 14px!important;
}
body.workspace-erd .header-brand{min-width:0!important}
body.workspace-erd .header-brand strong{font-size:15px!important}
body.workspace-erd .workspace-switch{margin:0!important}
body.workspace-erd .header-search{min-width:240px!important;max-width:none!important}
body.workspace-erd .header-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
body.workspace-erd .header-action-group{flex:0 0 auto!important}
body.workspace-erd .header-utilities,
body.workspace-erd .header-user-controls{
  background:transparent!important;
  box-shadow:none!important;
}
@media(max-width:1180px){
  body.workspace-erd .topbar{grid-template-columns:minmax(150px,max-content) max-content minmax(180px,1fr) max-content!important}
  body.workspace-erd .header-search{min-width:180px!important}
}
@media(max-width:900px){
  body.workspace-erd .topbar{grid-template-columns:minmax(140px,max-content) 1fr auto!important}
  body.workspace-erd .workspace-switch{order:2!important}
  body.workspace-erd .header-search{order:3!important;grid-column:1/-1;min-width:140px!important}
}
