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

Customer Related Liabilities - Additional Information (Detail) | 9 Months Ended
--- | ---
Sep. 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: |