XML 65 R57.htm IDEA: XBRL DOCUMENT
v3.25.2

Customer Related Liabilities - Additional Information (Detail) | 6 Months Ended
--- | ---
Jun. 30, 2025
Noncurrent Liability [Member] |
Other Liabilities Disclosure [Line Items] |
Performance obligation related to customer deposits expected satisfaction period | 1 year
Maximum [Member] |
Other Liabilities Disclosure [Line Items] |
Performance obligation related to customer deposits expected satisfaction period | 1 year

X
- Definition Other liabilities disclosure. + References No definition available. + Details
Name: | ap_OtherLiabilitiesDisclosureLineItems
Namespace Prefix: | ap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Performance obligation related to customer deposits expected satisfaction period. + References No definition available. + Details
Name: | ap_PerformanceObligationRelatedToCustomerDepositsExpectedSatisfactionPeriod
Namespace Prefix: | ap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=ap_NoncurrentLiabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |