{
 "version": "2.2",
 "instance": {
  "msifi-efp24052_485bpos.htm": {
   "nsprefix": "stanley",
   "nsuri": "http://stanley/20260430",
   "dts": {
    "inline": {
     "local": [
      "msifi-efp24052_485bpos.htm"
     ]
    },
    "schema": {
     "local": [
      "stanley-20260430.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025_def.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025.xsd",
      "https://xbrl.sec.gov/oef/2025/oef-2025.xsd",
      "https://xbrl.sec.gov/oef/2025/oef-2025_cal.xsd",
      "https://xbrl.sec.gov/oef/2025/oef-2025_lab.xsd",
      "https://xbrl.sec.gov/oef/2025/oef-rr-2025.xsd",
      "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd"
     ]
    },
    "definitionLink": {
     "local": [
      "stanley-20260430_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "stanley-20260430_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "stanley-20260430_pre.xml"
     ]
    }
   },
   "keyStandard": 74,
   "keyCustom": 0,
   "axisStandard": 5,
   "axisCustom": 0,
   "memberStandard": 5,
   "memberCustom": 190,
   "hidden": {
    "total": 4,
    "http://xbrl.sec.gov/dei/2025": 4
   },
   "contextCount": 1483,
   "entityCount": 1,
   "segmentCount": 195,
   "elementCount": 372,
   "unitCount": 2,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/oef/2025": 4376,
    "http://xbrl.sec.gov/dei/2025": 6
   },
   "report": {
    "R1": {
     "role": "http://xbrl.sec.gov/rr/role/N1aCover",
     "longName": "010000 - Disclosure - Form N-1A Cover",
     "shortName": "Form N-1A Cover",
     "isDefault": "true",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "1",
     "firstAnchor": {
      "contextRef": "default",
      "name": "dei:EntityRegistrantName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "default",
      "name": "dei:EntityRegistrantName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://xbrl.sec.gov/rr/role/RiskReturn",
     "longName": "010002 - Disclosure - Investment Objectives and Goals",
     "shortName": "Investment Objectives and Goals",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "2",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolioMember",
      "name": "oef:ObjectiveHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolioMember",
      "name": "oef:ObjectiveHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R3": {
     "role": "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
     "longName": "010003 - Disclosure - Fees and Expenses",
     "shortName": "Fees and Expenses",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "3",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolioMember",
      "name": "oef:ExpenseHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolioMember",
      "name": "oef:ExpenseHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R4": {
     "role": "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
     "longName": "010004 - Disclosure - Investment Strategy",
     "shortName": "Investment Strategy",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "4",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolioMember",
      "name": "oef:StrategyHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolioMember",
      "name": "oef:StrategyHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R5": {
     "role": "http://xbrl.sec.gov/rr/role/InvestmentRisks",
     "longName": "010005 - Disclosure - Investment Risks",
     "shortName": "Investment Risks",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "5",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_157Member",
      "name": "oef:RiskTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_157Member",
      "name": "oef:RiskTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://xbrl.sec.gov/rr/role/PerformanceManagement",
     "longName": "010006 - Disclosure - Performance Management",
     "shortName": "Performance Management",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "6",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolioMember",
      "name": "oef:BarChartAndPerformanceTableHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolioMember",
      "name": "oef:BarChartAndPerformanceTableHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://xbrl.sec.gov/rr/role/ShareholderFeesData",
     "longName": "020010 - Disclosure - Shareholder Fees",
     "shortName": "Shareholder Fees",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "7",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassIMember",
      "name": "oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice",
      "unitRef": "RATIO",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:ShareholderFeesTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassIMember",
      "name": "oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice",
      "unitRef": "RATIO",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:ShareholderFeesTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
     "longName": "020020 - Disclosure - Annual Fund Operating Expenses",
     "shortName": "Annual Fund Operating Expenses",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "8",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassIMember",
      "name": "oef:ManagementFeesOverAssets",
      "unitRef": "RATIO",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:AnnualFundOperatingExpensesTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassIMember",
      "name": "oef:ManagementFeesOverAssets",
      "unitRef": "RATIO",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:AnnualFundOperatingExpensesTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://xbrl.sec.gov/rr/role/ExpenseExample",
     "longName": "020030 - Disclosure - Expense Example",
     "shortName": "Expense Example",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "9",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassIMember",
      "name": "oef:ExpenseExampleYear01",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:ExpenseExampleWithRedemptionTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassIMember",
      "name": "oef:ExpenseExampleYear01",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:ExpenseExampleWithRedemptionTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
     "longName": "020040 - Disclosure - Expense Example, No Redemption",
     "shortName": "Expense Example, No Redemption",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "10",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassIMember",
      "name": "oef:ExpenseExampleNoRedemptionYear01",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:ExpenseExampleNoRedemptionTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassIMember",
      "name": "oef:ExpenseExampleNoRedemptionYear01",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:ExpenseExampleNoRedemptionTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://xbrl.sec.gov/rr/role/BarChartData",
     "longName": "020050 - Disclosure - Annual Total Returns",
     "shortName": "Annual Total Returns",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "11",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassI_2025_12_30_2025_12_31Member",
      "name": "oef:AnnlRtrPct",
      "unitRef": "RATIO",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_ClassI_2025_12_30_2025_12_31Member",
      "name": "oef:AnnlRtrPct",
      "unitRef": "RATIO",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://xbrl.sec.gov/rr/role/PerformanceTableData",
     "longName": "020060 - Disclosure - Average Annual Total Returns",
     "shortName": "Average Annual Total Returns",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "12",
     "firstAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_2025_01_01_2025_12_31_67Member",
      "name": "oef:AvgAnnlRtrPct",
      "unitRef": "RATIO",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:PerformanceTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c_17308_AdvantagePortfolio_2025_01_01_2025_12_31_67Member",
      "name": "oef:AvgAnnlRtrPct",
      "unitRef": "RATIO",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "oef:PerformanceTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "msifi-efp24052_485bpos.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "oef_AcquiredFundFeesAndExpensesBasedOnEstimates": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AcquiredFundFeesAndExpensesBasedOnEstimates",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Based on Estimates [Text]"
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "oef_AcquiredFundFeesAndExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AcquiredFundFeesAndExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses"
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "oef_AfterTaxesOnDistributionsAndSalesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AfterTaxesOnDistributionsAndSalesMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "After Taxes on Distributions and Sales"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_AfterTaxesOnDistributionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AfterTaxesOnDistributionsMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "After Taxes on Distributions"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_AllCoregistrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AllCoregistrantsMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Coregistrants [Member]"
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "oef_AllRisksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AllRisksMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks [Member]"
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "dei_AmendmentDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentDescription",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Description",
        "documentation": "Description of changes contained within amended document."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "oef_AnnlRtrPct": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AnnlRtrPct",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return [Percent]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_AnnualFundOperatingExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AnnualFundOperatingExpensesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Fund Operating Expenses [Table]"
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "oef_AnnualReturnCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AnnualReturnCaption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return Caption [Text]"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "oef_AnnualReturnColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AnnualReturnColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return, Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_AnnualReturnInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AnnualReturnInceptionDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return, Inception Date"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_AverageAnnualReturnAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AverageAnnualReturnAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return:"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_AverageAnnualReturnCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AverageAnnualReturnCaption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_AverageAnnualReturnColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AverageAnnualReturnColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Column Name [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_AverageAnnualReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AverageAnnualReturnLabel",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Label [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_AvgAnnlRtrPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AvgAnnlRtrPct",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Percent"
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "oef_BarChartAndPerformanceTableHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartAndPerformanceTableHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart and Performance Table [Heading]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "oef_BarChartClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartClosingTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Closing [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartDoesNotReflectSalesLoads": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartDoesNotReflectSalesLoads",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Does Not Reflect Sales Loads [Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartFootnotesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Footnotes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_BarChartHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart [Heading]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartHighestQuarterlyReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartHighestQuarterlyReturn",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartHighestQuarterlyReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartHighestQuarterlyReturnDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return, Date"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartLowestQuarterlyReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartLowestQuarterlyReturn",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartLowestQuarterlyReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartLowestQuarterlyReturnDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return, Date"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartNarrativeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartReasonSelectedClassDifferentFromImmediatelyPrecedingPeriod": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartReasonSelectedClassDifferentFromImmediatelyPrecedingPeriod",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Reason Selected Class Different from Immediately Preceding Period [Text]"
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "oef_BarChartReturnsForClassNotOfferedInProspectus": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartReturnsForClassNotOfferedInProspectus",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Returns for Class Not Offered in Prospectus [Text]"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "oef_BarChartTableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartTableAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Table:"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart [Table]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartYearToDateReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartYearToDateReturn",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Year to Date Return"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_BarChartYearToDateReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BarChartYearToDateReturnDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Year to Date Return, Date"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "stanley_C000007736Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007736Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000007736",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007737Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007737Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000007737",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007744Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007744Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000007744",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007745Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007745Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000007745",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007746Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007746Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000007746",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007747Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007747Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000007747",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007750Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007750Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000007750",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007751Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007751Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000007751",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007754Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007754Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000007754",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007755Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007755Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000007755",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007758Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007758Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000007758",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000007759Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000007759Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000007759",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085087Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085087Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000085087",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085088Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085088Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000085088",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085089Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085089Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000085089",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085091Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085091Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000085091",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085092Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085092Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000085092",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085093Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085093Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000085093",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085098Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085098Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000085098",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085099Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085099Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000085099",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000085100Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000085100Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000085100",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000094891Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000094891Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000094891",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000094892Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000094892Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000094892",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000094893Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000094893Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000094893",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000094898Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000094898Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000094898",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000094899Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000094899Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000094899",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000094900Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000094900Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000094900",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000104303Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000104303Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000104303",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000113799Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000113799Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000113799",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000113803Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000113803Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000113803",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000113805Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000113805Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000113805",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000113809Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000113809Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000113809",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000113811Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000113811Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000113811",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000114470Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000114470Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C000114470",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000126912Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000126912Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000126912",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000126914Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000126914Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000126914",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000126915Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000126915Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000126915",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000126918Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000126918Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000126918",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000126919Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000126919Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000126919",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000126921Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000126921Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000126921",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000129402Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000129402Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000129402",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000129960Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000129960Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000129960",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000129961Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000129961Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000129961",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000129962Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000129962Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class L - C000129962",
        "terseLabel": "Class L"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000129963Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000129963Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000129963",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000149047Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000149047Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000149047",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000149048Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000149048Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000149048",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000149050Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000149050Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000149050",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155887Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155887Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155887",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155889Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155889Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155889",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155890Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155890Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155890",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155892Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155892Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155892",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155893Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155893Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155893",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155894Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155894Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155894",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155897Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155897Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155897",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155898Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155898Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155898",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155900Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155900Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155900",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155902Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155902Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155902",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155904Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155904Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155904",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155911Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155911Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155911",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000155912Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000155912Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000155912",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000156276Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000156276Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000156276",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000163120Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000163120Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000163120",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000163121Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000163121Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000163121",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000163122Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000163122Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000163122",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000163123Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000163123Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000163123",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169208Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169208Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000169208",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169209Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169209Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000169209",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169210Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169210Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000169210",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169211Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169211Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000169211",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169212Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169212Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000169212",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169213Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169213Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000169213",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169214Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169214Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000169214",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169215Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169215Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000169215",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169220Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169220Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000169220",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169221Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169221Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000169221",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169222Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169222Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000169222",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000169223Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000169223Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000169223",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000198815Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000198815Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C000198815",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000198816Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000198816Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C000198816",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000198820Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000198820Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C000198820",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000198822Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000198822Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C000198822",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000198826Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000198826Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000198826",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000204517Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000204517Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000204517",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000204518Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000204518Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000204518",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000204519Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000204519Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000204519",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000204520Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000204520Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000204520",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000211165Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000211165Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000211165",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000211166Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000211166Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000211166",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000211167Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000211167Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000211167",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000211168Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000211168Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000211168",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000215548Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000215548Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000215548",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000215549Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000215549Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C000215549",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000216354Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000216354Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000216354",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000216355Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000216355Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000216355",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000216356Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000216356Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000216356",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000216357Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000216357Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000216357",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000218314Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000218314Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000218314",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000218315Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000218315Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000218315",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000218316Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000218316Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000218316",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000218317Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000218317Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000218317",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000226932Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000226932Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C000226932",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000227605Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000227605Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000227605",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000233002Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000233002Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000233002",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000233003Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000233003Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000233003",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000233004Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000233004Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000233004",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000233005Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000233005Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000233005",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000236911Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000236911Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000236911",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000236912Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000236912Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000236912",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000236913Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000236913Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000236913",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000236914Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000236914Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000236914",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000236927Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000236927Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class I - C000236927",
        "terseLabel": "Class I"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000236928Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000236928Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C - C000236928",
        "terseLabel": "Class C"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000236929Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000236929Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class R6 - C000236929",
        "terseLabel": "Class R6"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C000236930Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C000236930Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class A - C000236930",
        "terseLabel": "Class A"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C001254800Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C001254800Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C001254800",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_C002145045Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "C002145045Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class IR - C002145045",
        "terseLabel": "Class IR"
       }
      }
     },
     "auth_ref": []
    },
    "oef_ClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ClassAxis",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class [Axis]"
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "oef_Component1OtherExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "Component1OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Component1 Other Expenses"
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "oef_Component2OtherExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "Component2OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Component2 Other Expenses"
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "oef_Component3OtherExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "Component3OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Component3 Other Expenses"
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "oef_CoregistrantAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "CoregistrantAxis",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Coregistrant [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "oef_DistributionAndService12b1FeesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "DistributionAndService12b1FeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution and Service (12b-1) Fees"
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "oef_DistributionOrSimilarNon12b1FeesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "DistributionOrSimilarNon12b1FeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution or Similar (Non 12b-1) Fees"
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "stanley_Dmsifappliedequityportfoliosbpspapril_17260Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifappliedequityportfoliosbpspapril_17260Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifappliedequityportfoliosbpspapril_17260",
        "terseLabel": "(MSIF - Applied Equity Portfolios)",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "stanley_Dmsifbsaiapril_17012Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifbsaiapril_17012Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifbsaiapril_17012",
        "terseLabel": "MSIF_485B_SAI_April 2026",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "stanley_Dmsifcounterpointglobalportfoliosbpspapril_17308Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifcounterpointglobalportfoliosbpspapril_17308Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifcounterpointglobalportfoliosbpspapril_17308",
        "terseLabel": "(MSIF - Counterpoint Global Portfolios)",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "stanley_Dmsifemergingmarketsequitybpspapril_17301Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifemergingmarketsequitybpspapril_17301Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifemergingmarketsequitybpspapril_17301",
        "terseLabel": "(MSIF - Emerging Markets Equity Portfolios - Classes I, A, L, C and R6)",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "stanley_Dmsifemergingmarketsequityirbpspapril_17295Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifemergingmarketsequityirbpspapril_17295Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifemergingmarketsequityirbpspapril_17295",
        "terseLabel": "(MSIF - Emerging Markets Equity Portfolios - Class IR)",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "stanley_Dmsifgrowthportfolioclassirbpspapril_17265Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifgrowthportfolioclassirbpspapril_17265Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifgrowthportfolioclassirbpspapril_17265",
        "terseLabel": "(MSIF - Growth Portfolio - Class IR)",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "stanley_Dmsifinternationalequitypspbapril_17280Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifinternationalequitypspbapril_17280Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifinternationalequitypspbapril_17280",
        "terseLabel": "(MSIF - International Equity Portfolios - Classes I, A, L, C and R6)",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "stanley_Dmsifopportunityportfoliosbpspapril_17270Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifopportunityportfoliosbpspapril_17270Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifopportunityportfoliosbpspapril_17270",
        "terseLabel": "(MSIF - Opportunity Portfolios)",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "stanley_Dmsifopportunityportfoliosclassirbpspapril_17277Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "Dmsifopportunityportfoliosclassirbpspapril_17277Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dmsifopportunityportfoliosclassirbpspapril_17277",
        "terseLabel": "(MSIF - Opportunity Portfolios - Class IR)",
        "verboseLabel": ""
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentDomain",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus",
        "documentation": "Type of the document as assigned by the filer, corresponding to SEC document naming convention standards."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationDocumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentInformationDocumentAxis",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document [Axis]",
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityDomain",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInvCompanyType": {
     "xbrltype": "invCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityInvCompanyType",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Investment Company Type",
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product)."
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "oef_ExchangeFee": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExchangeFee",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exchange Fee"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_ExchangeFeeOverRedemption": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExchangeFeeOverRedemption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exchange Fee (as a percentage of Amount Redeemed)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_ExpenseBreakpointDiscounts": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseBreakpointDiscounts",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Breakpoint Discounts [Text]"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "oef_ExpenseBreakpointMinimumInvestmentRequiredAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseBreakpointMinimumInvestmentRequiredAmount",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Breakpoint, Minimum Investment Required [Amount]"
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "oef_ExpenseExampleAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example:"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleByYearCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleByYearCaption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example by, Year, Caption [Text]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleByYearColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleByYearColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, By Year, Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleByYearHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleByYearHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example by Year [Heading]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleClosingTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example Closing [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleFootnotesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example Footnotes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Heading]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNarrativeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleNoRedemptionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption:"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionByYearCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionByYearCaption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, By Year, Caption [Text]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionByYearColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionByYearColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, By Year, Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionNarrativeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption [Table]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionYear01": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionYear01",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, 1 Year"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionYear03": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionYear03",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, 3 Years"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionYear05": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionYear05",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, 5 Years"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionYear10": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleNoRedemptionYear10",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, 10 Years"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleWithRedemptionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleWithRedemptionTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, With Redemption [Table]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleYear01": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleYear01",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 1 Year"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleYear03": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleYear03",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 3 Years"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleYear05": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleYear05",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 5 Years"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseExampleYear10": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseExampleYear10",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 10 Years"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpenseFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseFootnotesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Footnotes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "oef_ExpenseHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Heading [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "oef_ExpenseNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseNarrativeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "oef_ExpensesDeferredChargesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesDeferredChargesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Deferred Charges [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_ExpensesExplanationOfNonrecurringAccountFee": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesExplanationOfNonrecurringAccountFee",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Explanation of Nonrecurring Account Fee [Text]"
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "oef_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesNotCorrelatedToRatioDueToAcquiredFundFees",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text]"
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "oef_ExpensesOtherExpensesHadExtraordinaryExpensesBeenIncluded": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesOtherExpensesHadExtraordinaryExpensesBeenIncluded",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Other Expenses Had Extraordinary Expenses Been Included [Text]"
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "oef_ExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_NetExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses (as a percentage of Assets)",
        "totalLabel": "Total Expenses"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "oef_ExpensesRangeOfExchangeFeesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesRangeOfExchangeFeesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Range of Exchange Fees [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "oef_ExpensesRestatedToReflectCurrent": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesRestatedToReflectCurrent",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Restated to Reflect Current [Text]"
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "oef_FeeWaiverOrReimbursementOverAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "FeeWaiverOrReimbursementOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_NetExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Waiver or Reimbursement",
        "negatedLabel": "Fee Waiver or Reimbursement"
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "FeeWaiverOrReimbursementOverAssetsDateOfTermination",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Waiver or Reimbursement over Assets, Date of Termination"
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "oef_FormN1aAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "FormN1aAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Form N-1A:"
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "oef_HighestQuarterlyReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "HighestQuarterlyReturnLabel",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return, Label [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_IndexNoDeductionForFeesExpensesTaxes": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "IndexNoDeductionForFeesExpensesTaxes",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Index No Deduction for Fees, Expenses, or Taxes [Text]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "oef_LowestQuarterlyReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "LowestQuarterlyReturnLabel",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return, Label [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_ManagementFeesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ManagementFeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees (as a percentage of Assets)"
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "oef_MarketIndexPerformanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MarketIndexPerformanceTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Market Index Performance [Table]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_MaximumAccountFee": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaximumAccountFee",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Account Fee"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_MaximumAccountFeeOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaximumAccountFeeOverAssets",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Account Fee (as a percentage of Assets)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_MaximumCumulativeSalesChargeOverOfferingPrice": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaximumCumulativeSalesChargeOverOfferingPrice",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Cumulative Sales Charge (as a percentage of Offering Price)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_MaximumCumulativeSalesChargeOverOther": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaximumCumulativeSalesChargeOverOther",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Cumulative Sales Charge (as a percentage)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_MaximumDeferredSalesChargeOverOfferingPrice": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaximumDeferredSalesChargeOverOfferingPrice",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Deferred Sales Charge (as a percentage of Offering Price)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_MaximumDeferredSalesChargeOverOther": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaximumDeferredSalesChargeOverOther",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Deferred Sales Charge (as a percentage)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaximumSalesChargeImposedOnPurchasesOverOfferingPrice",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Sales Charge on Reinvested Dividends and Distributions (as a percentage)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_MoneyMarketSevenDayTaxEquivalentYield": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MoneyMarketSevenDayTaxEquivalentYield",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Tax Equivalent Yield"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_MoneyMarketSevenDayYield": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MoneyMarketSevenDayYield",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Yield"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_MoneyMarketSevenDayYieldCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MoneyMarketSevenDayYieldCaption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Yield, Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_MoneyMarketSevenDayYieldColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MoneyMarketSevenDayYieldColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Yield Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_MoneyMarketSevenDayYieldPhone": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MoneyMarketSevenDayYieldPhone",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Yield Phone"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_NetExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "NetExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expenses (as a percentage of Assets)",
        "totalLabel": "Net Expenses"
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "oef_ObjectiveHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ObjectiveHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/RiskReturn"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective [Heading]"
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "oef_ObjectivePrimaryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ObjectivePrimaryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/RiskReturn"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective, Primary [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "oef_ObjectiveSecondaryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ObjectiveSecondaryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/RiskReturn"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective, Secondary [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "oef_OperatingExpensesCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "OperatingExpensesCaption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "oef_OperatingExpensesColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "OperatingExpensesColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "oef_OtherExpensesNewFundBasedOnEstimates": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "OtherExpensesNewFundBasedOnEstimates",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, New Fund, Based on Estimates [Text]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_OtherExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses (as a percentage of Assets):",
        "totalLabel": "Other Expenses"
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "oef_PerfInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerfInceptionDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Inception Date"
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "oef_PerformanceAdditionalMarketIndex": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceAdditionalMarketIndex",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Additional Market Index [Text]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_PerformanceAvailabilityPhone": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceAvailabilityPhone",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Availability Phone [Text]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_PerformanceAvailabilityWebSiteAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceAvailabilityWebSiteAddress",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Availability Website Address [Text]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_PerformanceInformationIllustratesVariabilityOfReturns": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceInformationIllustratesVariabilityOfReturns",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Information Illustrates Variability of Returns [Text]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_PerformanceMeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceMeasureAxis",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Measure [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PerformanceMeasureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceMeasureDomain",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Before Taxes"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PerformanceNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceNarrativeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_PerformanceOneYearOrLess": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceOneYearOrLess",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance One Year or Less [Text]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_PerformancePastDoesNotIndicateFuture": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformancePastDoesNotIndicateFuture",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Past Does Not Indicate Future [Text]"
       }
      }
     },
     "auth_ref": [
      "r8",
      "r43"
     ]
    },
    "oef_PerformanceTableClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableClosingTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Closing [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PerformanceTableDoesReflectSalesLoads": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableDoesReflectSalesLoads",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Does Reflect Sales Loads"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_PerformanceTableExplanationAfterTaxHigher": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableExplanationAfterTaxHigher",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Explanation after Tax Higher"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "oef_PerformanceTableFootnotesReasonPerformanceInformationForClassDifferentFromImmediatelyPrecedingPeriod": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableFootnotesReasonPerformanceInformationForClassDifferentFromImmediatelyPrecedingPeriod",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Footnotes, Reason Performance Information for Class Different from Immediately Preceding Period [Text]"
       }
      }
     },
     "auth_ref": [
      "r50"
     ]
    },
    "oef_PerformanceTableFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableFootnotesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Footnotes"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PerformanceTableHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Heading"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PerformanceTableMarketIndexChanged": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableMarketIndexChanged",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Market Index Changed"
       }
      }
     },
     "auth_ref": [
      "r55"
     ]
    },
    "oef_PerformanceTableNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableNarrativeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Narrative"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_PerformanceTableNotRelevantToTaxDeferred": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableNotRelevantToTaxDeferred",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Not Relevant to Tax Deferred"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "oef_PerformanceTableOneClassOfAfterTaxShown": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableOneClassOfAfterTaxShown",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table One Class of after Tax Shown [Text]"
       }
      }
     },
     "auth_ref": [
      "r48",
      "r54"
     ]
    },
    "oef_PerformanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance [Table]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PerformanceTableUsesHighestFederalRate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformanceTableUsesHighestFederalRate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Uses Highest Federal Rate"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "oef_PortfolioTurnoverHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PortfolioTurnoverHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover [Heading]"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_PortfolioTurnoverRate": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PortfolioTurnoverRate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover, Rate"
       }
      }
     },
     "auth_ref": [
      "r10",
      "r32"
     ]
    },
    "oef_PortfolioTurnoverTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PortfolioTurnoverTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ProspectusDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ProspectusDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus Date"
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "oef_ProspectusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ProspectusLineItems",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "oef_ProspectusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ProspectusTable",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Table]"
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "oef_RedemptionFee": {
     "xbrltype": "nonPositiveMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RedemptionFee",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Redemption Fee",
        "negatedLabel": "Redemption Fee"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_RedemptionFeeOverRedemption": {
     "xbrltype": "nonPositivePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RedemptionFeeOverRedemption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Redemption Fee (as a percentage of Amount Redeemed)",
        "negatedLabel": "Redemption Fee (as a percentage of Amount Redeemed)"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_RiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskAxis",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "oef_RiskLoseMoneyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskLoseMoneyMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Lose Money [Member]"
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "oef_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund May Impose Fees or Suspend Sales [Member]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_RiskMoneyMarketFundMayNotPreserveDollarMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskMoneyMarketFundMayNotPreserveDollarMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund May Not Preserve Dollar [Member]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_RiskMoneyMarketFundPriceFluctuatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskMoneyMarketFundPriceFluctuatesMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund Price Fluctuates [Member]"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_RiskMoneyMarketFundSponsorMayNotProvideSupportMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskMoneyMarketFundSponsorMayNotProvideSupportMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund Sponsor May Not Provide Support [Member]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_RiskNondiversifiedStatusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskNondiversifiedStatusMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Nondiversified Status [Member]"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "oef_RiskNotInsuredDepositoryInstitutionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskNotInsuredDepositoryInstitutionMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Not Insured Depository Institution [Member]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_RiskNotInsuredMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskNotInsuredMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Not Insured [Member]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_RiskReturnHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskReturnHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/RiskReturn"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return [Heading]"
       }
      }
     },
     "auth_ref": [
      "r60"
     ]
    },
    "oef_RiskTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RiskTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "oef_RisksAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "RisksAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "stanley_S000002820Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000002820Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Passport Overseas Equity Portfolio",
        "terseLabel": "Passport Overseas Equity Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000002825Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000002825Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inception Portfolio",
        "terseLabel": "Inception Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000002826Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000002826Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Emerging Markets Portfolio",
        "terseLabel": "Emerging Markets Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000002828Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000002828Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Growth Portfolio",
        "terseLabel": "Growth Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000002830Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000002830Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Franchise Portfolio",
        "terseLabel": "Global Franchise Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000002832Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000002832Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "International Equity Portfolio",
        "terseLabel": "International Equity Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000027992Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000027992Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "International Opportunity Portfolio",
        "terseLabel": "International Opportunity Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000027993Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000027993Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Advantage Portfolio",
        "terseLabel": "Advantage Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000027995Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000027995Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Opportunity Portfolio",
        "terseLabel": "Global Opportunity Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000030616Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000030616Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Insight Portfolio",
        "terseLabel": "Global Insight Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000030618Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000030618Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "International Advantage Portfolio",
        "terseLabel": "International Advantage Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000041864Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000041864Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Stars Portfolio",
        "terseLabel": "Global Stars Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000047473Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000047473Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Emerging Markets Leaders Portfolio",
        "terseLabel": "Emerging Markets Leaders Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000051832Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000051832Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asia Opportunity Portfolio",
        "terseLabel": "Asia Opportunity Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000053786Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000053786Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Concentrated Portfolio",
        "terseLabel": "Global Concentrated Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000053787Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000053787Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Core Portfolio",
        "terseLabel": "Global Core Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000053789Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000053789Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "US Core Portfolio",
        "terseLabel": "US Core Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000063049Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000063049Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Endurance Portfolio",
        "terseLabel": "Global Endurance Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000065236Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000065236Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Permanence Portfolio",
        "terseLabel": "Global Permanence Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000067259Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000067259Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Developing Opportunity Portfolio",
        "terseLabel": "Developing Opportunity Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000068163Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000068163Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Permanence Portfolio",
        "terseLabel": "Permanence Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000074797Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000074797Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vitality Portfolio",
        "terseLabel": "Vitality Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000076838Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000076838Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Emerging Markets ex China Portfolio",
        "terseLabel": "Emerging Markets ex China Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_S000076842Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "S000076842Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "International Resilience Portfolio",
        "terseLabel": "International Resilience Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "oef_ShareClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareClassDomain",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/N1aSupplement",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Classes"
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "oef_ShareholderFeeOther": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderFeeOther",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fee, Other"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_ShareholderFeesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderFeesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees:"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_ShareholderFeesCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderFeesCaption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_ShareholderFeesColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderFeesColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_ShareholderFeesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderFeesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees [Table]"
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "oef_StrategyHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "StrategyHeading",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy [Heading]"
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "oef_StrategyNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "StrategyNarrativeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "oef_StrategyPortfolioConcentration": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "StrategyPortfolioConcentration",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy Portfolio Concentration [Text]"
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "oef_SupplementToProspectusTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "SupplementToProspectusTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aSupplement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplement to Prospectus [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "oef_ThirtyDayTaxEquivalentYield": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ThirtyDayTaxEquivalentYield",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Tax Equivalent Yield"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_ThirtyDayYield": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ThirtyDayYield",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Yield"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_ThirtyDayYieldCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ThirtyDayYieldCaption",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Yield Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_ThirtyDayYieldColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ThirtyDayYieldColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Yield Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_ThirtyDayYieldPhone": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ThirtyDayYieldPhone",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Yield Phone"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_YearToDateReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "YearToDateReturnLabel",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year to Date Return, Label [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "stanley_bench20220420139Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20220420139Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI All Country Asia ex Japan Net Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI All Country Asia ex Japan Net Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407174Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407174Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Market and Geopolitical Risk",
        "terseLabel": "Market and Geopolitical Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407175Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407175Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liquidity",
        "terseLabel": "Liquidity [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407186Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407186Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivatives",
        "terseLabel": "Derivatives [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407187Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407187Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover",
        "terseLabel": "Portfolio Turnover [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407188Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407188Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Active Management Risk",
        "terseLabel": "Active Management Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407189Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407189Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Securities",
        "terseLabel": "Equity Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407190Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407190Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Small and Mid Cap Companies",
        "terseLabel": "Small and Mid Cap Companies [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407191Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407191Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign and Emerging Market Securities",
        "terseLabel": "Foreign and Emerging Market Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407192Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407192Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Private Placements and Restricted Securities",
        "terseLabel": "Private Placements and Restricted Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407198Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407198Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Focused Investing",
        "terseLabel": "Focused Investing [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407199Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407199Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign Currency",
        "terseLabel": "Foreign Currency [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407201Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407201Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Diversification",
        "terseLabel": "Non-Diversification [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407203Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407203Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "China Risk",
        "terseLabel": "China Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407204Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407204Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Franchise Companies",
        "terseLabel": "Global Franchise Companies [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230407205Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230407205Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ESG Investment Risk",
        "terseLabel": "ESG Investment Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230411215Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230411215Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Information Technology Sector Risk",
        "terseLabel": "Information Technology Sector Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230420228Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230420228Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asia Market",
        "terseLabel": "Asia Market [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230420230Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230420230Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Small Cap Companies",
        "terseLabel": "Small Cap Companies [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230420232Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230420232Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Interest Entities",
        "terseLabel": "Variable Interest Entities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230420233Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230420233Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "India Risk",
        "terseLabel": "India Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230420235Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230420235Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Frontier Emerging Market Securities",
        "terseLabel": "Frontier Emerging Market Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20230420239Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20230420239Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Russell 3000\u00ae Health Care Net Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "Russell 3000\u00ae Health Care Net Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20231002310Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20231002310Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Securities",
        "terseLabel": "Preferred Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20240125416Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20240125416Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Securities",
        "terseLabel": "Convertible Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20240412428Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20240412428Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Russell 3000\u00ae Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "Russell 3000\u00ae Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20240412436Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20240412436Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Russell 1000\u00ae Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "Russell 1000\u00ae Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250124462Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250124462Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign Currency Forward Exchange Contracts",
        "terseLabel": "Foreign Currency Forward Exchange Contracts [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250124468Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250124468Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financials Sector Risk",
        "terseLabel": "Financials Sector Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250415493Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250415493Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consumer Discretionary Sector Risk",
        "terseLabel": "Consumer Discretionary Sector Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250428494Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250428494Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETFs",
        "terseLabel": "ETFs [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250428495Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250428495Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Healthcare Sector Risk",
        "terseLabel": "Healthcare Sector Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250428496Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250428496Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Industrials Sector Risk",
        "terseLabel": "Industrials Sector Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250428497Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250428497Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Healthcare Concentration Risk",
        "terseLabel": "Healthcare Concentration Risk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250428498Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250428498Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "IPOs",
        "terseLabel": "IPOs [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250428499Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250428499Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SPACs",
        "terseLabel": "SPACs [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_bench20250429500Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "bench20250429500Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI World/MSCI All Country World Blended Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI World/MSCI All Country World Blended Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark104Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark104Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI Emerging Markets Net Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI Emerging Markets Net Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark109Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark109Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI Emerging Markets Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI Emerging Markets Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark110Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark110Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI World Net Index (reflects no deduction for fees, expenses or taxes)_1",
        "terseLabel": "MSCI World Net Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark114Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark114Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Russell 1000\u00ae Growth Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "Russell 1000\u00ae Growth Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark119Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark119Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI World Net Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI World Net Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark122Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark122Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI All Country World ex USA Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI All Country World ex USA Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark123Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark123Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Active International Allocation Blend Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "Active International Allocation Blend Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark132Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark132Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI EAFE Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI EAFE Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark134Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark134Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI All Country World ex USA Net Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI All Country World ex USA Net Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark136Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark136Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MSCI All Country World Net Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "MSCI All Country World Net Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark140Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark140Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Russell 2000\u00ae Growth Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "Russell 2000\u00ae Growth Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    },
    "stanley_benchmark66Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://stanley/20260430",
     "localname": "benchmark66Member",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S&amp;P 500\u00ae Index (reflects no deduction for fees, expenses or taxes)",
        "terseLabel": "S&amp;P 500\u00ae Index (reflects no deduction for fees, expenses or taxes)"
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "3"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "2",
   "Subsection": "a"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "iiii",
   "Clause": "A"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "7"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "e"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "1"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "1",
   "Subparagraph": "b"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "2"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "2",
   "Subparagraph": "a",
   "Sentence": "i"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "2",
   "Subparagraph": "c"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "2",
   "Subparagraph": "d"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "a"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "b"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Sentence": "i"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Sentence": "ii"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Sentence": "iii"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "d"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "d",
   "Clause": "B",
   "Sentence": "ii"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "d",
   "Sentence": "iii"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "e"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "f",
   "Sentence": "i"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "f",
   "Sentence": "vi"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "f",
   "Sentence": "vii"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "4"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "4",
   "Subparagraph": "f"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "5"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "6",
   "Subparagraph": "a"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instrution",
   "Paragraph": "3"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "a"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Clause": "instruction"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii",
   "Clause": "A"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iv"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "instruction",
   "Clause": "1",
   "Subclause": "a"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "instruction",
   "Clause": "3",
   "Subclause": "b"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "instruction",
   "Clause": "3",
   "Subclause": "c"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "3"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "3",
   "Subclause": "c"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "a",
   "Sentence": "2"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "d",
   "Sentence": "2"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "C"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "c",
   "Sentence": "2"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Sentence": "A"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Sentence": "B"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Sentence": "D"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Section": "2",
   "Name": "Form N-1A",
   "Subsection": "a"
  }
 }
}
