/**
 * Reguvex Core 4.5.0 — Navigation Simplification
 * Customer-facing information architecture layer.
 */

body.reguvex-dashboard-page .rgd-side-nav,
body.reguvex-application-shell .rgd-side-nav{
    gap:6px!important;
}

body.reguvex-dashboard-page .rgd-side-nav>.rgd-nav-group,
body.reguvex-application-shell .rgd-side-nav>.rgd-nav-group{
    gap:5px!important;
}

body.reguvex-dashboard-page .rgd-side-nav a,
body.reguvex-application-shell .rgd-side-nav a{
    min-height:42px!important;
    padding:8px 10px!important;
    border-radius:10px!important;
    font-size:13px!important;
    font-weight:600!important;
    letter-spacing:0!important;
}

body.reguvex-dashboard-page .rgd-side-nav a .rgd-nav-icon,
body.reguvex-application-shell .rgd-side-nav a .rgd-nav-icon{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    border-radius:9px!important;
}

body.reguvex-dashboard-page .rgd-side-nav a .rgd-nav-label,
body.reguvex-application-shell .rgd-side-nav a .rgd-nav-label{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

body.reguvex-dashboard-page .rgd-side-nav-simple a em,
body.reguvex-application-shell .rgd-side-nav-simple a em{
    display:none!important;
}

body.reguvex-dashboard-page .rgd-nav-group-details,
body.reguvex-application-shell .rgd-nav-group-details{
    margin-top:8px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.045)!important;
    overflow:hidden!important;
}

body.reguvex-dashboard-page .rgd-nav-group-details summary,
body.reguvex-application-shell .rgd-nav-group-details summary{
    min-height:40px!important;
    padding:8px 10px!important;
    font-size:10.5px!important;
    font-weight:650!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
    color:#dbeafe!important;
}

body.reguvex-dashboard-page .rgd-nav-group-details summary em,
body.reguvex-application-shell .rgd-nav-group-details summary em{
    min-width:20px!important;
    height:20px!important;
    font-size:10px!important;
    font-weight:650!important;
}

body.reguvex-dashboard-page .rgd-nav-group-details .rgd-nav-items,
body.reguvex-application-shell .rgd-nav-group-details .rgd-nav-items{
    padding:4px!important;
    gap:3px!important;
}

body.reguvex-dashboard-page .rgd-nav-group-details .rgd-nav-items a,
body.reguvex-application-shell .rgd-nav-group-details .rgd-nav-items a{
    min-height:38px!important;
    padding:6px 8px!important;
    font-size:12.5px!important;
}

body.reguvex-dashboard-page .rgd-sidebar-foot,
body.reguvex-application-shell .rgd-sidebar-foot{
    gap:6px!important;
}

body.reguvex-dashboard-page .rgd-sidebar-tools-link,
body.reguvex-application-shell .rgd-sidebar-tools-link{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-height:40px!important;
    padding:8px 10px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.05)!important;
    color:#dbeafe!important;
    text-decoration:none!important;
    font-size:12.5px!important;
    font-weight:600!important;
}

body.reguvex-dashboard-page .rgd-sidebar-tools-link:hover,
body.reguvex-application-shell .rgd-sidebar-tools-link:hover{
    background:rgba(255,255,255,.10)!important;
    color:#fff!important;
}

body.reguvex-dashboard-page .rgd-account-menu,
body.reguvex-application-shell .rgd-account-menu{
    position:relative!important;
}

body.reguvex-dashboard-page .rgd-account-menu>summary,
body.reguvex-application-shell .rgd-account-menu>summary{
    list-style:none!important;
    cursor:pointer!important;
}

body.reguvex-dashboard-page .rgd-account-menu>summary::-webkit-details-marker,
body.reguvex-application-shell .rgd-account-menu>summary::-webkit-details-marker{
    display:none!important;
}

body.reguvex-dashboard-page .rgd-account-menu-panel,
body.reguvex-application-shell .rgd-account-menu-panel{
    position:absolute!important;
    top:calc(100% + 10px)!important;
    right:0!important;
    z-index:120!important;
    width:min(320px,calc(100vw - 28px))!important;
    padding:8px!important;
    border:1px solid #e3e8f0!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 18px 50px rgba(16,42,86,.16)!important;
}

body.reguvex-dashboard-page .rgd-account-menu-panel a,
body.reguvex-application-shell .rgd-account-menu-panel a{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    min-height:52px!important;
    padding:8px 10px!important;
    border-radius:10px!important;
    color:#111827!important;
    text-decoration:none!important;
}

body.reguvex-dashboard-page .rgd-account-menu-panel a:hover,
body.reguvex-application-shell .rgd-account-menu-panel a:hover{
    background:#f7f9fc!important;
}

body.reguvex-dashboard-page .rgd-account-menu-panel a>.dashicons,
body.reguvex-application-shell .rgd-account-menu-panel a>.dashicons{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:34px!important;
    height:34px!important;
    border-radius:9px!important;
    background:#eef4ff!important;
    color:#2754a6!important;
    font-size:17px!important;
}

body.reguvex-dashboard-page .rgd-account-menu-panel strong,
body.reguvex-application-shell .rgd-account-menu-panel strong{
    display:block!important;
    margin:0!important;
    color:#111827!important;
    font-size:13px!important;
    font-weight:650!important;
    line-height:1.25!important;
}

body.reguvex-dashboard-page .rgd-account-menu-panel small,
body.reguvex-application-shell .rgd-account-menu-panel small{
    display:block!important;
    margin-top:2px!important;
    color:#667085!important;
    font-size:11.5px!important;
    font-weight:400!important;
    line-height:1.35!important;
}

body.reguvex-dashboard-page .rgd-account-menu-panel .rgd-account-signout,
body.reguvex-application-shell .rgd-account-menu-panel .rgd-account-signout{
    margin-top:4px!important;
    border-top:1px solid #eef1f5!important;
    border-radius:0 0 10px 10px!important;
}

body.reguvex-dashboard-page .rgd-account-menu-panel .rgd-account-signout>.dashicons,
body.reguvex-application-shell .rgd-account-menu-panel .rgd-account-signout>.dashicons{
    background:#fff3f2!important;
    color:#d92d20!important;
}

body.reguvex-dashboard-page .rgd-dashboard-footer nav,
body.reguvex-application-shell .rgd-dashboard-footer nav{
    gap:14px!important;
}

@media(max-width:980px){
    body.reguvex-dashboard-page .rgd-topbar-view-menu summary span:last-child,
    body.reguvex-application-shell .rgd-topbar-view-menu summary span:last-child{
        display:none!important;
    }
}

@media(max-width:780px){
    body.reguvex-dashboard-page .rgd-account-menu-panel,
    body.reguvex-application-shell .rgd-account-menu-panel{
        position:fixed!important;
        top:72px!important;
        right:14px!important;
        left:14px!important;
        width:auto!important;
    }

    body.reguvex-dashboard-page .rgd-side-nav a,
    body.reguvex-application-shell .rgd-side-nav a{
        min-height:44px!important;
    }
}

body.reguvex-dashboard-page .rgd-workspace-tabs,
body.reguvex-application-shell .rgd-workspace-tabs{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    margin:0 0 18px!important;
    padding:5px!important;
    width:max-content!important;
    max-width:100%!important;
    border:1px solid #e3e8f0!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(16,42,86,.05)!important;
}

body.reguvex-dashboard-page .rgd-workspace-tabs a,
body.reguvex-application-shell .rgd-workspace-tabs a{
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    min-height:36px!important;
    padding:7px 11px!important;
    border-radius:9px!important;
    color:#475467!important;
    text-decoration:none!important;
    font-size:12.5px!important;
    font-weight:600!important;
}

body.reguvex-dashboard-page .rgd-workspace-tabs a:hover,
body.reguvex-application-shell .rgd-workspace-tabs a:hover{
    background:#f7f9fc!important;
    color:#102a56!important;
}

body.reguvex-dashboard-page .rgd-workspace-tabs a.is-active,
body.reguvex-application-shell .rgd-workspace-tabs a.is-active{
    background:#102a56!important;
    color:#fff!important;
}

body.reguvex-dashboard-page .rgd-workspace-tabs .dashicons,
body.reguvex-application-shell .rgd-workspace-tabs .dashicons{
    width:16px!important;
    height:16px!important;
    font-size:16px!important;
}

@media(max-width:560px){
    body.reguvex-dashboard-page .rgd-workspace-tabs,
    body.reguvex-application-shell .rgd-workspace-tabs{
        width:100%!important;
        display:grid!important;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    body.reguvex-dashboard-page .rgd-workspace-tabs a,
    body.reguvex-application-shell .rgd-workspace-tabs a{
        justify-content:center!important;
        padding-left:7px!important;
        padding-right:7px!important;
    }
}
