/* COLORJET v81: reserve native header slots before runtime tools mount. */
.top-header{display:grid!important;grid-template-columns:36px 80px 65px 20px minmax(0,1fr) 20px 32px 26px 196px 72px;gap:0!important;overflow:visible!important}
.top-header>.mobile-toggle{grid-column:1}.top-header>.dashboard-tile{grid-column:2}.top-header>.modules-tile{grid-column:3}
.top-header>.menu-scroll-btn{grid-column:4}.top-header>.top-menu{grid-column:5}.top-header>.top-menu~.menu-scroll-btn{grid-column:6}
.top-header>.header-search-btn{grid-column:7}.top-header>.header-branch-btn{grid-column:8}.top-header>.cj-header-tools{grid-column:9}.top-header>.header-logout-btn{grid-column:10}
.top-header>*{grid-row:1;min-width:0!important;margin-left:0!important;margin-right:0!important}
.top-header>.top-menu-tile,.top-header>.header-logout-btn,.top-header>.header-search-btn,.top-header>.header-branch-btn{justify-content:center;width:100%}
.cj-header-tools{position:relative;min-width:0}.cj-header-tool-items{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.cj-more-trigger{display:none}.cj-header-tool-items .cj-theme-control,.cj-header-tool-items .cj-quick-control,.cj-header-tool-items .cj-ai-launcher{margin:0!important}
#cj-startup-cover{position:fixed;inset:0;z-index:2147483000;background:#f4f6f9;min-height:100dvh}
#cj-startup-cover button{padding:10px 18px;border:1px solid #073e76;border-radius:6px;background:#fff;cursor:pointer}
@media(max-width:992px){
 .top-header{grid-template-columns:36px 80px 65px minmax(0,1fr) 32px 26px 196px 40px}
 .top-header>.top-menu,.top-header>.menu-scroll-btn{display:none!important}
 .top-header>.header-search-btn{grid-column:5}.top-header>.header-branch-btn{grid-column:6}.top-header>.cj-header-tools{grid-column:7}.top-header>.header-logout-btn{grid-column:8}
}
@media(max-width:600px){
 .top-header{grid-template-columns:36px minmax(58px,1fr) minmax(54px,1fr) 32px 26px 44px 36px;padding:0 4px!important}
 .top-header>.header-search-btn{grid-column:4}.top-header>.header-branch-btn{grid-column:5}.top-header>.cj-header-tools{grid-column:6}.top-header>.header-logout-btn{grid-column:7;width:36px!important}
 .top-header>.top-menu-tile{padding:4px 2px!important}.top-header>.top-menu-tile .menu-text{font-size:10px}
 .cj-more-trigger{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;color:#fff;background:transparent;font-size:14px;cursor:pointer}
 .cj-header-tool-items{display:none;position:absolute;top:50px;right:0;width:260px;max-width:calc(100vw - 16px);padding:10px;gap:8px;background:#073e76;border-radius:6px;box-shadow:0 6px 20px #0003;z-index:1500}
 .cj-header-tools.is-open .cj-header-tool-items{display:flex;justify-content:space-between}
 .cj-header-tool-items .cj-theme-trigger,.cj-header-tool-items .cj-quick-trigger,.cj-header-tool-items .cj-ai-launcher{min-height:44px!important}
 .cj-header-tool-items .cj-theme-menu,.cj-header-tool-items .cj-quick-menu{position:fixed!important;top:120px!important;right:8px!important;left:auto!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 140px);overflow:auto}
 .cj-header-tool-items .cj-ai-launcher{width:auto!important}.cj-header-tool-items .cj-ai-launcher span:last-child{display:inline!important}
 .logout-text{display:none!important}
}
@media(prefers-reduced-motion:reduce){.page-modal-window,.page-modal-overlay{animation:none!important}.mobile-sidebar{transition:none!important}}
