/* v1.0.4: header delgado, navegación desde izquierda, identidad por ámbito */
.erp-header.compact-header{height:auto;border-top:2px solid #1453bb;box-shadow:0 2px 12px rgba(22,42,71,.045);position:sticky;top:0;z-index:100}
.compact-header .erp-header-inner{max-width:none;min-height:48px;padding:0 20px;gap:14px;justify-content:flex-start;flex-wrap:nowrap}
.compact-header .erp-brand{flex:0 0 auto;gap:0;margin:0;padding:0 13px 0 0;border-right:1px solid #dde5ef}
.compact-header .erp-brand img{width:94px;max-width:94px;height:34px;display:block;object-fit:contain}
.compact-header .erp-nav{flex:0 1 auto;display:flex;align-items:center;gap:3px;margin:0;min-width:0;height:47px}
.compact-header .erp-nav>a,.compact-header .navdropdown>summary{display:flex;align-items:center;gap:6px;border:0;border-radius:5px;cursor:pointer;padding:7px 10px;color:#34475f;font-size:12px;font-weight:670;text-decoration:none;white-space:nowrap;line-height:1.2}
.compact-header .erp-nav>a:hover,.compact-header .navdropdown>summary:hover,.compact-header .erp-nav .current{background:#eaf1fc;color:#084db6;text-decoration:none}
.compact-header details>summary{list-style:none}.compact-header details>summary::-webkit-details-marker{display:none}
.compact-header .navdropdown{position:relative}.compact-header .nav-dropdown-panel{position:absolute;top:34px;left:0;min-width:195px;display:grid;gap:2px;padding:7px;background:white;border:1px solid #dce5ef;border-radius:8px;box-shadow:0 10px 20px rgba(16,38,74,.13);z-index:110}
.compact-header .nav-dropdown-panel a{display:block;text-decoration:none;padding:8px 10px;color:#263f59;font-size:12px;border-radius:5px}.compact-header .nav-dropdown-panel a:hover{background:#eef3fa}
.compact-header .erp-account{margin-left:auto;flex:0 0 auto}
.compact-header .erp-account summary{font-size:12px;font-weight:600;color:#38516a;border:0;padding:8px 9px;border-radius:5px}
.compact-header .erp-account summary:hover{background:#f1f5fb}.compact-header .erp-account-menu{top:34px}
.erp-main .solistrix-content{max-width:none;padding:10px 0 28px}.erp-main{max-width:none;width:100%;margin:0;padding:0 20px;min-height:calc(100vh - 60px)}.erp-context{max-width:none;padding:8px 0 0;font-size:11px}
.tenant-header .tenant-identity{display:flex;align-items:center;gap:8px;color:#213751;text-decoration:none;border-right:1px solid #dce5ef;padding-right:13px;font-size:12px;max-width:360px}.tenant-identity img{height:32px;width:auto;max-width:70px;object-fit:contain}.tenant-identity strong{max-width:245px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tenant-workspace .solistrix-content{max-width:none}
@media(max-width:750px){.compact-header .erp-header-inner{min-height:48px;padding:0 10px;gap:5px}.compact-header .erp-brand img{width:80px}.compact-header .erp-nav{width:auto;order:initial;overflow-x:auto;flex:1}.compact-header .erp-nav>a,.compact-header .navdropdown>summary{padding:6px;font-size:11px}.compact-header .erp-account summary{font-size:11px;padding:6px}.compact-header .tenant-identity strong{max-width:115px}.erp-main{padding:0 12px}}
