/* v1.0.7 — Cabecera proporcionada al CRM: compacto, versión y cuenta; un único menú móvil a la derecha. */
body.solistrix-demo .solistrix-shell > header.erp-header.compact-header {height:58px!important;min-height:58px!important;border-top:2px solid #1453bb!important;}
body.solistrix-demo .solistrix-shell > header.erp-header.compact-header > .erp-header-inner {height:55px!important;min-height:55px!important;max-width:none!important;box-sizing:border-box;padding:0 20px!important;gap:9px!important;justify-content:flex-start!important;flex-wrap:nowrap!important;}
body.solistrix-demo .compact-header .erp-brand {height:38px!important;padding:0 13px 0 0!important;margin:0 1px 0 0!important;}
body.solistrix-demo .compact-header .erp-brand img {width:104px!important;max-width:104px!important;height:35px!important;object-fit:contain;}
body.solistrix-demo .compact-header .erp-nav {display:flex!important;height:55px!important;gap:3px!important;align-items:center!important;flex:0 1 auto!important;margin:0!important;overflow:visible!important;}
body.solistrix-demo .compact-header .erp-nav>a:not(.erp-mobile-account-item),
body.solistrix-demo .compact-header .erp-nav .navdropdown>summary{font-size:12.5px!important;font-weight:650!important;min-height:34px!important;padding:8px 11px!important;line-height:1.2!important;border-radius:6px!important;}
body.solistrix-demo .compact-header .erp-header-version {display:inline-flex;align-items:center;justify-content:center;margin-left:auto;white-space:nowrap;border:1px solid #d9e5f2;background:#edf3fa;color:#4e637a;border-radius:20px;font-weight:700;font-size:11px;padding:4px 9px;line-height:1.1;}
body.solistrix-demo .compact-header .erp-account {margin-left:0!important;flex:0 0 auto;}
body.solistrix-demo .compact-header .erp-account summary {font-size:12.5px!important;font-weight:600!important;padding:8px 10px!important;}
body.solistrix-demo .compact-header .erp-account-menu a {display:block;color:#25445e;text-decoration:none;padding:8px 10px;font-size:12px;border-radius:5px;}
body.solistrix-demo .compact-header .erp-account-menu a:hover {background:#edf4fa;}
body.solistrix-demo .compact-header .erp-mobile-account-separator,
body.solistrix-demo .compact-header .erp-mobile-account-item,
body.solistrix-demo .compact-header .erp-mobile-logout {display:none!important;}
body.solistrix-demo .compact-header .erp-mobile-toggle {display:none!important;}
body.solistrix-demo .compact-header .tenant-identity {flex:0 1 auto;min-width:0;max-width:min(44vw,360px);}
body.solistrix-demo .compact-header .tenant-identity strong {font-size:12.5px!important;}
body.solistrix-demo .erp-main {padding:0 20px!important;}
body.solistrix-demo .erp-context {padding:6px 0 0!important;}
body.solistrix-demo .account-panel{max-width:730px;}
body.solistrix-demo .account-fields{margin:0;display:grid;gap:0;}
body.solistrix-demo .account-fields>div{display:grid;grid-template-columns:minmax(100px,190px) 1fr;gap:12px;border-bottom:1px solid #e4ebf2;padding:13px 0;font-size:14px;}
body.solistrix-demo .account-fields dt{color:#62758a;font-weight:600;}
body.solistrix-demo .account-fields dd{margin:0;color:#1a3552;overflow-wrap:anywhere;}
@media(max-width:780px){
 body.solistrix-demo .solistrix-shell>header.erp-header.compact-header {position:sticky!important;top:0!important;height:56px!important;min-height:56px!important;z-index:300!important;}
 body.solistrix-demo .solistrix-shell>header.erp-header.compact-header>.erp-header-inner{height:53px!important;min-height:53px!important;padding:0 12px!important;gap:8px!important;position:relative!important;}
 body.solistrix-demo .compact-header .erp-brand{margin:0!important;height:33px!important;}
 body.solistrix-demo .compact-header .erp-brand img{width:99px!important;max-width:99px!important;height:32px!important;}
 body.solistrix-demo .compact-header .erp-account,
 body.solistrix-demo .compact-header .erp-header-version {display:none!important;}
 body.solistrix-demo .compact-header .erp-mobile-toggle {display:inline-flex!important;order:20!important;flex:0 0 auto!important;margin-left:auto!important;gap:8px!important;min-height:35px!important;padding:7px 12px!important;border-radius:7px!important;font-size:12.5px!important;white-space:nowrap!important;}
 body.solistrix-demo .compact-header .erp-mobile-toggle span {display:inline!important;}
 body.solistrix-demo .compact-header .erp-mobile-toggle .erp-menu-symbol {font-size:14px!important;line-height:1;}
 body.solistrix-demo .compact-header .erp-nav {display:none!important;position:absolute!important;top:53px!important;left:8px!important;right:8px!important;width:auto!important;max-height:calc(100dvh - 68px)!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;padding:8px!important;margin:0!important;background:#fff!important;border:1px solid #dbe5ef!important;box-shadow:0 14px 26px rgba(16,38,74,.16)!important;border-radius:8px!important;z-index:320!important;}
 body.solistrix-demo .compact-header .erp-nav.mobile-open {display:flex!important;}
 body.solistrix-demo .compact-header .erp-nav>a,
 body.solistrix-demo .compact-header .erp-nav .navdropdown>summary {display:flex!important;width:100%!important;min-height:40px!important;justify-content:space-between!important;align-items:center!important;padding:10px 12px!important;white-space:normal!important;font-size:13px!important;}
 body.solistrix-demo .compact-header .erp-mobile-account-separator{display:block!important;height:1px!important;background:#e1e8f0!important;margin:8px 4px!important;}
 body.solistrix-demo .compact-header .erp-mobile-account-item {display:flex!important;color:#263f59!important;font-weight:650!important;border-radius:6px!important;text-decoration:none!important;}
 body.solistrix-demo .compact-header .erp-mobile-account-item:hover{background:#edf3fa!important;}
 body.solistrix-demo .compact-header .erp-mobile-logout {display:block!important;width:100%!important;margin:0!important;padding:0!important;}
 body.solistrix-demo .compact-header .erp-mobile-logout button {background:transparent!important;display:block!important;width:100%!important;text-align:left!important;padding:10px 12px!important;min-height:40px!important;color:#263f59!important;border-radius:6px!important;font-size:13px!important;font-weight:650!important;}
 body.solistrix-demo .compact-header .erp-mobile-logout button:hover {background:#edf3fa!important;}
 body.solistrix-demo .compact-header .navdropdown>.nav-dropdown-panel {width:calc(100% - 20px)!important;position:static!important;box-shadow:none!important;border:0!important;border-left:2px solid #dbe7f8!important;margin-left:10px!important;}
 body.solistrix-demo .compact-header .tenant-identity {flex:0 1 auto;max-width:calc(100% - 120px)!important;padding-right:0!important;border-right:0!important;}
 body.solistrix-demo .compact-header .tenant-identity strong {max-width:min(45vw,210px)!important;}
 body.solistrix-demo .erp-main {padding:0 12px!important;}
 body.solistrix-demo .account-fields>div{grid-template-columns:1fr!important;gap:3px!important;}
}
@media(max-width:350px){
 body.solistrix-demo .compact-header .erp-mobile-toggle {padding:7px 9px!important;gap:5px!important;}
 body.solistrix-demo .compact-header .tenant-identity strong{max-width:118px!important;}
}
