XML 56 R42.htm IDEA: XBRL DOCUMENT
v3.26.1

Loans and Allowance for Credit Losses - Narrative (Details) $ in Millions | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2026 USD ($) default commitment | Jun. 30, 2025 USD ($) commitment default | Jun. 30, 2026 USD ($) default commitment | Jun. 30, 2025 USD ($) default commitment | Dec. 31, 2025 USD ($)
Financing Receivable, Past Due [Line Items] |  |  |  |  |
Unearned income | $ 3.6 |  | $ 3.6 |  | $ 4.8
Purchase accounting fair value adjustments | $ 1.7 |  | $ 1.7 |  | $ 2.0
Number of modified contracts with payment default | default | 2 | 1 | 3 | 2 |
Amount of defaulted TDRs that defaulted | $ 10.3 | $ 0.1 | $ 13.7 | $ 3.9 |
Number of commitments to lend | commitment | 12 | 11 | 12 | 11 |
Commitment to lend | $ 1.7 | $ 0.1 | $ 1.7 | $ 0.1 |

X
- Definition Financing Receivable, Modified, Commitment to Lend, Number of Commitments + References No definition available. + Details
Name: | stba_FinancingReceivableModifiedCommitmentToLendNumberOfCommitments
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Financing Receivable, Number of Modified Contracts + References No definition available. + Details
Name: | stba_FinancingReceivableNumberOfModifiedContracts
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost of financing receivable with payment default in current period and modified within previous 12 months preceding payment default for debtor experiencing financial difficulty. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 12A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481933/310-10-55-12A Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 34 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-34 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 44 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-44 + Details
Name: | us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-14 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477657/942-210-S45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478478/942-210-S50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(7)(e)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 13: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 14: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 15: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 16: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (e)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 17: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 18: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 19: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 20: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 80 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-80 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unamortized loan commitment, origination, and other costs (fees) on financing receivable recognized as adjustment to yield. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481598/310-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-4 Reference 3: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 3 -SubTopic 20 -Topic 310 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481569/310-20-50-3 + Details
Name: | us-gaap_FinancingReceivableUnamortizedLoanFeeCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unamortized purchase premium (discount) on financing receivable. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481598/310-20-45-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-4 + Details
Name: | us-gaap_FinancingReceivableUnamortizedPurchasePremiumDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of commitment to lend additional funds to debtor experiencing financial difficulty for which creditor has modified terms of financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481746/310-40-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 36 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-36 + Details
Name: | us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant