XML 70 R58.htm IDEA: XBRL DOCUMENT
v3.25.1

Retirement Plans (Narrative) (Details) | Mar. 31, 2025 plan
--- | ---
United States Subsidiaries |
Defined Benefit Plan Disclosure [Line Items] |
Number of plans | 3

X
- Definition Defined Benefit Plan, Number Of Plans + References No definition available. + Details
Name: | eme_DefinedBenefitPlanNumberOfPlans
Namespace Prefix: | eme_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=eme_UnitedStatesSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |