<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>31</ContextCount>
  <ElementCount>89</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>26</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="d488902d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000000 - Document - Document and Entity Information {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.leggmason.com/role/DocumentDocumentandEntityInformationElements000000</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory></MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="d488902d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000021 - Disclosure - Risk/Return Detail Data {Elements} - ClearBridge Dividend Strategy Fund</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.leggmason.com/role/DisclosureRiskReturnDetailDataElementsClearBridgeDividendStrategyFund000021</Role>
      <ShortName>Risk/Return Detail Data- ClearBridge Dividend Strategy Fund</ShortName>
      <MenuCategory></MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="d488902d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000041 - Disclosure - Risk/Return Detail Data {Elements} - BrandywineGLOBAL - CORPORATE CREDIT FUND</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.leggmason.com/role/DisclosureRiskReturnDetailDataElementsBrandywineGLOBAL-CORPORATECREDITFUND000041</Role>
      <ShortName>Risk/Return Detail Data- BrandywineGLOBAL - CORPORATE CREDIT FUND</ShortName>
      <MenuCategory></MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="d488902d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000061 - Disclosure - Risk/Return Detail Data {Elements} - BrandywineGLOBAL - HIGH YIELD FUND</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.leggmason.com/role/DisclosureRiskReturnDetailDataElementsBrandywineGLOBAL-HIGHYIELDFUND000061</Role>
      <ShortName>Risk/Return Detail Data- BrandywineGLOBAL - HIGH YIELD FUND</ShortName>
      <MenuCategory></MenuCategory>
      <Position>4</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RiskNarrativeTextBlock in rr/2021 used in 3 facts was deprecated in rr/2023 as of 2023-01-31 and should not be used. d488902d485bpos.htm 609, 7701, 12833</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RiskLoseMoney in rr/2021 used in 3 facts was deprecated in rr/2023 as of 2023-01-31 and should not be used. d488902d485bpos.htm 609, 7701, 12833</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RiskNotInsuredDepositoryInstitution in rr/2021 used in 3 facts was deprecated in rr/2023 as of 2023-01-31 and should not be used. d488902d485bpos.htm 609, 7701, 12833</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 1 fact(s) appearing in ix:hidden were eligible for transformation: rr:RiskReturnHeading -  d488902d485bpos.htm 7</Log>
  </Logs>
  <InputFiles>
    <File doctype="485BPOS" original="d488902d485bpos.htm">d488902d485bpos.htm</File>
    <File>d488902dex99j.htm</File>
    <File>lmpet-20230424.xsd</File>
    <File>lmpet-20230424_cal.xml</File>
    <File>lmpet-20230424_def.xml</File>
    <File>lmpet-20230424_lab.xml</File>
    <File>lmpet-20230424_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g488902clearbridgelogo.jpg</File>
    <File>g488902dsp08.jpg</File>
    <File>g488902g03p97.jpg</File>
    <File>g488902g1g00a01.jpg</File>
    <File>g488902g1g00a08.jpg</File>
    <File>g488902g1g00b01.jpg</File>
    <File>g488902g1g03p97.jpg</File>
    <File>g488902g2brandylogo.jpg</File>
    <File>g488902g2g03p97.jpg</File>
    <File>g488902g2g11r45.jpg</File>
    <File>g488902g2g57q58.jpg</File>
    <File>g488902g57q58.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="8">http://xbrl.sec.gov/dei/2021</BaseTaxonomy>
    <BaseTaxonomy items="526">http://xbrl.sec.gov/rr/2021</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
