/* v1.0.5 — Header CRM-style: horizontal, compact and pinned to left edge.
   Important: site.css defines generic header padding that pushed the whole menu to center. */
body.solistrix-demo .solistrix-shell > header.erp-header.compact-header {
  box-sizing:border-box; width:100%; max-width:none; margin:0;
  padding:0 !important; min-height:0; height:57px;
  display:block; border-top:2px solid #1454be; border-bottom:1px solid #e1e6ed;
  background:#fff;
}
body.solistrix-demo .solistrix-shell > header.erp-header.compact-header > .erp-header-inner {
  box-sizing:border-box; width:100%; max-width:none; height:54px; min-height:54px;
  margin:0 !important; padding:0 20px !important;
  display:flex; align-items:center; justify-content:flex-start;
  gap:10px; flex-wrap:nowrap;
}
body.solistrix-demo .compact-header .erp-brand {
  display:flex; align-items:center; flex:0 0 auto;
  height:36px; margin:0; padding:0 12px 0 0; border-right:1px solid #dfe6ee;
}
body.solistrix-demo .compact-header .erp-brand img {
  display:block; width:103px; max-width:103px; height:34px; object-fit:contain;
}
body.solistrix-demo .compact-header .erp-nav {
  margin:0 !important; height:52px; display:flex; flex:0 1 auto;
  gap:3px; align-items:center; justify-content:flex-start;
}
body.solistrix-demo .compact-header .erp-nav > a,
body.solistrix-demo .compact-header .erp-nav .navdropdown > summary {
  min-height:32px; padding:7px 10px; font-size:12px; border-radius:5px;
  color:#2a3d55; font-weight:650; white-space:nowrap;
}
body.solistrix-demo .compact-header .erp-nav > a.current {
  background:#ecf2fc; color:#0652bb;
}
body.solistrix-demo .compact-header .erp-account {
  flex:0 0 auto; margin-left:auto;
}
body.solistrix-demo .compact-header .erp-account summary {
  font-size:12px; padding:6px 9px; border:0; background:transparent;
}
body.solistrix-demo .compact-header .tenant-identity {
  margin:0; max-width:350px; height:34px; padding-right:12px;
}
body.solistrix-demo .compact-header .tenant-identity img {height:30px;max-width:76px}
body.solistrix-demo .erp-main {padding:0 20px; width:100%;max-width:none}
body.solistrix-demo .erp-context {padding:7px 0 0}
body.solistrix-demo .erp-main .solistrix-content {padding-top:9px}
@media (max-width:780px){
 body.solistrix-demo .solistrix-shell > header.erp-header.compact-header > .erp-header-inner{padding:0 9px !important;gap:5px}
 body.solistrix-demo .compact-header .erp-brand img{width:83px;max-width:83px}
 body.solistrix-demo .compact-header .erp-nav{flex:1;overflow-x:auto;scrollbar-width:thin;min-width:0}
 body.solistrix-demo .compact-header .erp-nav > a,
 body.solistrix-demo .compact-header .erp-nav .navdropdown > summary{font-size:11px;padding:6px}
 body.solistrix-demo .compact-header .tenant-identity strong{max-width:115px}
 body.solistrix-demo .erp-main {padding:0 12px}
}
