.side-nav-item.gex-business-rail-entry { display:none!important; }
.side-nav-item.gex-top-todo-source { display:none!important; }
body.gex-proto-nav .sub-menu-item.gex-workbench-hidden { display:none!important; }
body.gex-proto-nav .gex-top-todo { display:inline-flex; align-items:center; height:34px; padding:0 12px; margin-left:6px; border:1px solid #dce3ef; border-radius:6px; color:#536bc0; font-size:13px; white-space:nowrap; text-decoration:none; }
body.gex-proto-nav .gex-top-todo:hover { background:#f3f6fd; border-color:#b9c9eb; }
body.gex-proto-nav .gex-top-todo.has-pending { background:#fff5f5; border-color:#f1c5ca; color:#b83a49; gap:7px; }
.gex-todo-count { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 5px; border-radius:10px; background:#de4758; color:#fff; font-size:11px; font-weight:600; line-height:1; }
.gex-business-picker-host { display:flex; align-items:center; gap:8px; margin-left:14px; padding-left:16px; border-left:1px solid #edf0f4; }
.gex-business-picker-label { font-size:12px; color:#596b80; white-space:nowrap; }
body.gex-proto-nav .gex-business-picker { width:134px; max-width:35vw; height:34px; padding:4px 28px 4px 12px; border:1px solid #586fc0; border-radius:6px; appearance:none; background:#586fc0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center; color:#fff; font-size:13px; font-weight:600; cursor:pointer; transition:background-color .15s,border-color .15s; }
body.gex-proto-nav .gex-business-picker:hover { background-color:#485dac; border-color:#485dac; }
.gex-business-dropdown { position:relative; }
.gex-business-menu { position:absolute; left:0; top:calc(100% + 8px); z-index:1100; width:168px; padding:6px; background:#fff; border:1px solid #e3e8f1; border-radius:9px; box-shadow:0 6px 22px #263b5a22; }
.gex-business-menu[hidden] { display:none!important; }
body.gex-proto-nav .gex-business-menu a { display:flex; align-items:center; justify-content:space-between; height:36px; padding:0 10px; border-radius:5px; color:#344563; font-size:13px; text-decoration:none; }
body.gex-proto-nav .gex-business-menu a:hover,body.gex-proto-nav .gex-business-menu a:focus-visible { background:#f3f5fa; outline:none; }
body.gex-proto-nav .gex-business-menu a.is-selected { background:#edf2ff; color:#536bc0; font-weight:600; }
.gex-business-menu a.is-selected::after { content:'✓'; font-size:13px; }
body.gex-proto-nav .sub-menu-item .has-treeview>a.sub-link { pointer-events:auto!important; cursor:pointer!important; }
body.gex-proto-nav .main-sidebar .sub-menu-item .sub-item.has-treeview>a.sub-link,
body.gex-proto-nav .main-sidebar .sub-menu-item .sub-item.has-treeview>a.sub-link p,
body.gex-proto-nav .main-sidebar .sub-menu-item .sub-item.has-treeview>a.sub-link span { color:#1f2937!important; font-weight:400!important; }
body.gex-proto-nav .sub-menu-item .has-treeview>a.sub-link>i.fa-angle-left { display:inline-block!important; margin-left:auto; transform:rotate(180deg); color:#86909c; }
body.gex-proto-nav .sub-menu-item .has-treeview.menu-open>a.sub-link>i.fa-angle-left { transform:rotate(-90deg); }
body.gex-proto-nav .sub-menu-item .has-treeview:not(.menu-open)>ul.nav-treeview { display:none!important; }
body.gex-proto-nav .sub-menu-item .has-treeview.menu-open>ul.nav-treeview { display:block!important; }
body.gex-proto-nav .gex-business-picker:focus-visible { outline:2px solid #586fc0; outline-offset:2px; }
@media(min-width:992px) {
    body.gex-proto-nav .side-scroll { display:flex!important; flex-direction:column; height:100vh!important; box-sizing:border-box;overflow-y:auto;overflow-x:hidden; }
    body.gex-proto-nav .side-scroll>.side-navbar-header { flex:0 0 64px;height:64px;min-height:64px; }
    body.gex-proto-nav .side-scroll>.side-nav-item:not(.gex-business-rail-entry):not(.gex-top-todo-source) { flex:0 0 64px; display:flex; min-height:64px; }
    body.gex-proto-nav .side-scroll>.side-nav-item>.side-nav-link { width:100%; justify-content:center; }
    html.gex-initial-direct-page .main-sidebar,html.gex-initial-direct-page .main-sidebar .sidebar,html.gex-initial-direct-page .nav-sidebar { width:var(--gxn-rail,72px)!important; }
    html.gex-initial-direct-page .sub-menu { display:none!important; }
    html.gex-initial-direct-page .header-navbar.fixed-top { left:var(--gxn-rail,72px)!important; }
    html.gex-initial-direct-page .content-wrapper,html.gex-initial-direct-page .main-footer,html.gex-initial-direct-page .main-header { margin-left:var(--gxn-rail,72px)!important; }
}
@media(max-width:600px) { .gex-business-picker-label { display:none; } .gex-business-picker-host { margin-left:6px; padding-left:8px; } }

@media(min-width:992px){
    html.gex-initial-direct-page{--gxn-rail:72px}
    body.gex-proto-nav{--gxn-rail:72px;--gxn-panel:240px}
    body.gex-proto-nav .side-nav-item>.side-nav-link{min-height:64px;padding:8px 4px!important;gap:5px;font-size:11px;justify-content:center}
    body.gex-proto-nav .side-nav-item>.side-nav-link p{max-width:64px}
    body.gex-proto-nav .side-nav-item>.side-nav-link i{font-size:19px}
    body.gex-proto-nav .sub-menu-item h4{font-size:20px!important}
}
@media(min-width:992px) and (max-width:1366px){
    html.gex-initial-direct-page{--gxn-rail:64px}
    body.gex-proto-nav{--gxn-rail:64px;--gxn-panel:224px}
    body.gex-proto-nav .side-nav-item>.side-nav-link p{max-width:58px;font-size:10px}
}
@media(min-width:992px) and (max-height:700px){
    body.gex-proto-nav .side-scroll>.side-navbar-header{flex-basis:56px;height:56px;min-height:56px}
    body.gex-proto-nav .side-scroll>.side-nav-item:not(.gex-business-rail-entry):not(.gex-top-todo-source){flex-basis:56px;min-height:56px}
    body.gex-proto-nav .side-nav-item>.side-nav-link{min-height:56px;gap:4px}
}

@media(min-width:992px){
    body.gex-proto-nav .side-scroll>.side-navbar-header{flex-basis:80px;height:80px;min-height:80px;margin-bottom:12px}
}
@media(min-width:992px) and (max-height:700px){
    body.gex-proto-nav .side-scroll>.side-navbar-header{flex-basis:72px;height:72px;min-height:72px;margin-bottom:8px}
}
