{
 "version": "2.2",
 "instance": {
  "cswc-20260331.htm": {
   "nsprefix": "cswc",
   "nsuri": "http://www.capitalsouthwest.com/20260331",
   "dts": {
    "inline": {
     "local": [
      "cswc-20260331.htm"
     ]
    },
    "schema": {
     "local": [
      "cswc-20260331.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/2006/xbrldi-2006.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd",
      "https://xbrl.sec.gov/cef/2025/cef-2025.xsd",
      "https://xbrl.sec.gov/cef/2025/cef-2025_pre.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025.xsd",
      "https://xbrl.sec.gov/cyd/2025/cyd-2025.xsd",
      "https://xbrl.sec.gov/cyd/2025/cyd-af-2025.xsd",
      "https://xbrl.sec.gov/cyd/2025/cyd-af-sub-2025.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025_lab.xsd",
      "https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd",
      "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "cswc-20260331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "cswc-20260331_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "cswc-20260331_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "cswc-20260331_pre.xml"
     ]
    }
   },
   "keyStandard": 440,
   "keyCustom": 98,
   "axisStandard": 34,
   "axisCustom": 3,
   "memberStandard": 52,
   "memberCustom": 341,
   "hidden": {
    "total": 13,
    "http://xbrl.sec.gov/dei/2025": 4,
    "http://fasb.org/us-gaap/2025": 8,
    "http://www.capitalsouthwest.com/20260331": 1
   },
   "contextCount": 2666,
   "entityCount": 1,
   "segmentCount": 407,
   "elementCount": 1332,
   "unitCount": 11,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2025": 7932,
    "http://xbrl.sec.gov/cef/2025": 208,
    "http://xbrl.sec.gov/dei/2025": 39,
    "http://xbrl.sec.gov/cyd/2025": 14,
    "http://xbrl.sec.gov/ecd/2025": 5,
    "http://fasb.org/srt/2025": 2
   },
   "report": {
    "R1": {
     "role": "http://www.capitalsouthwest.com/role/Cover",
     "longName": "0000001 - Document - Cover",
     "shortName": "Cover",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "dei:DocumentAnnualReport",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.capitalsouthwest.com/role/AuditInformation",
     "longName": "0000002 - Document - Audit Information",
     "shortName": "Audit Information",
     "isDefault": "false",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "2",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "dei:AuditorName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "dei:AuditorName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
     "longName": "0000003 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES",
     "shortName": "CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DividendAndInterestReceivable",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
     "longName": "0000004 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (Parenthetical)",
     "shortName": "CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentOwnedAtCost",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:AccumulatedAmortizationDeferredFinanceCosts",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
     "longName": "0000005 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:OtherIncome",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:OtherIncome",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
     "longName": "0000006 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "c-113",
      "name": "us-gaap:CommonStockSharesOutstanding",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-155",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
     "longName": "0000007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "7",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "cswc:ProceedsFromDispositionOfInvestmentDebtSecuritiesOperatingActivity",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
     "longName": "0000008 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "8",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentOwnedAtCost",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-585",
      "name": "us-gaap:InvestmentOwnedBalancePrincipalAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
     "longName": "0000009 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical)",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "9",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "cswc:InvestmentCompanyInvestmentOwnedNonQualifiedAssetsPercentOfNetAssets",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "3",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATION",
     "longName": "0000010 - Disclosure - ORGANIZATION AND BASIS OF PRESENTATION",
     "shortName": "ORGANIZATION AND BASIS OF PRESENTATION",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES",
     "longName": "0000011 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.capitalsouthwest.com/role/INVESTMENTS",
     "longName": "0000012 - Disclosure - INVESTMENTS",
     "shortName": "INVESTMENTS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTS",
     "longName": "0000013 - Disclosure - FAIR VALUE MEASUREMENTS",
     "shortName": "FAIR VALUE MEASUREMENTS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGS",
     "longName": "0000014 - Disclosure - BORROWINGS",
     "shortName": "BORROWINGS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXES",
     "longName": "0000015 - Disclosure - INCOME TAXES",
     "shortName": "INCOME TAXES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITY",
     "longName": "0000016 - Disclosure - SHAREHOLDERS' EQUITY",
     "shortName": "SHAREHOLDERS' EQUITY",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.capitalsouthwest.com/role/EARNINGSPERSHARE",
     "longName": "0000017 - Disclosure - EARNINGS PER SHARE",
     "shortName": "EARNINGS PER SHARE",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANS",
     "longName": "0000018 - Disclosure - STOCK BASED COMPENSATION PLANS",
     "shortName": "STOCK BASED COMPENSATION PLANS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.capitalsouthwest.com/role/OTHEREMPLOYEECOMPENSATION",
     "longName": "0000019 - Disclosure - OTHER EMPLOYEE COMPENSATION",
     "shortName": "OTHER EMPLOYEE COMPENSATION",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:DefinedContributionPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:DefinedContributionPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.capitalsouthwest.com/role/RETIREMENTPLANS",
     "longName": "0000020 - Disclosure - RETIREMENT PLANS",
     "shortName": "RETIREMENT PLANS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIES",
     "longName": "0000021 - Disclosure - COMMITMENTS AND CONTINGENCIES",
     "shortName": "COMMITMENTS AND CONTINGENCIES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITED",
     "longName": "0000022 - Disclosure - SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED)",
     "shortName": "SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:QuarterlyFinancialInformationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:QuarterlyFinancialInformationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONS",
     "longName": "0000023 - Disclosure - RELATED PARTY TRANSACTIONS",
     "shortName": "RELATED PARTY TRANSACTIONS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATION",
     "longName": "0000024 - Disclosure - SUMMARY OF PER SHARE INFORMATION",
     "shortName": "SUMMARY OF PER SHARE INFORMATION",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTS",
     "longName": "0000025 - Disclosure - SUBSEQUENT EVENTS",
     "shortName": "SUBSEQUENT EVENTS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliates",
     "longName": "0000026 - Disclosure - Schedule of Investments in and Advances to Affiliates",
     "shortName": "Schedule of Investments in and Advances to Affiliates",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
     "longName": "995445 - Disclosure - Insider Trading Arrangements",
     "shortName": "Insider Trading Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "27",
     "firstAnchor": {
      "contextRef": "c-107",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-107",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc",
     "longName": "995447 - Disclosure - Insider Trading Policies and Procedures",
     "shortName": "Insider Trading Policies and Procedures",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "28",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "ecd:InsiderTrdPoliciesProcAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "ecd:InsiderTrdPoliciesProcAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://xbrl.sec.gov/cef/role/N2",
     "longName": "995470 - Disclosure - N-2",
     "shortName": "N-2",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "29",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "dei:EntityFileNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "cef:ShareholderTransactionExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "cef:AnnualExpensesTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R30": {
     "role": "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure",
     "longName": "995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure",
     "shortName": "Cybersecurity Risk Management and Strategy Disclosure",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "30",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "cyd:CybersecurityRiskManagementProcessesForAssessingIdentifyingAndManagingThreatsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "cyd:CybersecurityRiskManagementProcessesForAssessingIdentifyingAndManagingThreatsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies",
     "longName": "9955511 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "31",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.capitalsouthwest.com/role/INVESTMENTSTables",
     "longName": "9955512 - Disclosure - INVESTMENTS (Tables)",
     "shortName": "INVESTMENTS (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "32",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSTables",
     "longName": "9955513 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)",
     "shortName": "FAIR VALUE MEASUREMENTS (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "33",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSTables",
     "longName": "9955514 - Disclosure - BORROWINGS (Tables)",
     "shortName": "BORROWINGS (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "34",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESTables",
     "longName": "9955515 - Disclosure - INCOME TAXES (Tables)",
     "shortName": "INCOME TAXES (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "35",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "cswc:InvestmentCompanyDistributionToShareholdersTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "cswc:InvestmentCompanyDistributionToShareholdersTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYTables",
     "longName": "9955516 - Disclosure - SHAREHOLDERS' EQUITY (Tables)",
     "shortName": "SHAREHOLDERS' EQUITY (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "36",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfSaleOfStockBySubsidiaryOrEquityMethodInvesteeDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfSaleOfStockBySubsidiaryOrEquityMethodInvesteeDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.capitalsouthwest.com/role/EARNINGSPERSHARETables",
     "longName": "9955517 - Disclosure - EARNINGS PER SHARE (Tables)",
     "shortName": "EARNINGS PER SHARE (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "37",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSTables",
     "longName": "9955518 - Disclosure - STOCK BASED COMPENSATION PLANS (Tables)",
     "shortName": "STOCK BASED COMPENSATION PLANS (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "38",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.capitalsouthwest.com/role/RETIREMENTPLANSTables",
     "longName": "9955519 - Disclosure - RETIREMENT PLANS (Tables)",
     "shortName": "RETIREMENT PLANS (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "39",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfCostsOfRetirementPlansTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock",
       "us-gaap:ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfCostsOfRetirementPlansTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock",
       "us-gaap:ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESTables",
     "longName": "9955520 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)",
     "shortName": "COMMITMENTS AND CONTINGENCIES (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "40",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "cswc:InvestmentCompanyScheduleOfUnusedFinancialCommitmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "cswc:InvestmentCompanyScheduleOfUnusedFinancialCommitmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDTables",
     "longName": "9955521 - Disclosure - SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED) (Tables)",
     "shortName": "SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED) (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "41",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONTables",
     "longName": "9955522 - Disclosure - SUMMARY OF PER SHARE INFORMATION (Tables)",
     "shortName": "SUMMARY OF PER SHARE INFORMATION (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "42",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesTables",
     "longName": "9955523 - Disclosure - Schedule of Investments in and Advances to Affiliates (Tables)",
     "shortName": "Schedule of Investments in and Advances to Affiliates (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "43",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails",
     "longName": "9955524 - Disclosure - ORGANIZATION AND BASIS OF PRESENTATION (Details)",
     "shortName": "ORGANIZATION AND BASIS OF PRESENTATION (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "44",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "cswc:InvestmentCompanyPercentOfQualifiedAssets",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "3",
      "ancestors": [
       "span",
       "div",
       "cef:RiskTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "cswc:InvestmentCompanyPercentOfQualifiedAssets",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "3",
      "ancestors": [
       "span",
       "div",
       "cef:RiskTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails",
     "longName": "9955525 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "45",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-5",
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-5",
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
     "longName": "9955526 - Disclosure - INVESTMENTS - Schedule of Investments (Details)",
     "shortName": "INVESTMENTS - Schedule of Investments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "46",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1553",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
     "longName": "9955527 - Disclosure - INVESTMENTS - Narrative (Details)",
     "shortName": "INVESTMENTS - Narrative (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "47",
     "firstAnchor": {
      "contextRef": "c-1594",
      "name": "us-gaap:EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "2",
      "ancestors": [
       "us-gaap:EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee",
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1594",
      "name": "us-gaap:EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "2",
      "ancestors": [
       "us-gaap:EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee",
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
     "longName": "9955528 - Disclosure - FAIR VALUE MEASUREMENTS - Narrative (Details)",
     "shortName": "FAIR VALUE MEASUREMENTS - Narrative (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "48",
     "firstAnchor": {
      "contextRef": "c-1597",
      "name": "cswc:InvestmentOwnedPercentOfPortfolio",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1597",
      "name": "cswc:InvestmentOwnedPercentOfPortfolio",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
     "longName": "9955529 - Disclosure - FAIR VALUE MEASUREMENTS - Schedule of Investment Portfolio by Level (Details)",
     "shortName": "FAIR VALUE MEASUREMENTS - Schedule of Investment Portfolio by Level (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "49",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
     "longName": "9955530 - Disclosure - FAIR VALUE MEASUREMENTS - Schedule of Valuation Techniques and Significant Level 3 Inputs (Details)",
     "shortName": "FAIR VALUE MEASUREMENTS - Schedule of Valuation Techniques and Significant Level 3 Inputs (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "50",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1649",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails",
     "longName": "9955531 - Disclosure - FAIR VALUE MEASUREMENTS - Schedule of Changes in Fair Value of Investments Measured Using Level 3 Inputs (Details)",
     "shortName": "FAIR VALUE MEASUREMENTS - Schedule of Changes in Fair Value of Investments Measured Using Level 3 Inputs (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "51",
     "firstAnchor": {
      "contextRef": "c-1794",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1807",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
     "longName": "9955532 - Disclosure - BORROWINGS - Narrative (Details)",
     "shortName": "BORROWINGS - Narrative (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "52",
     "firstAnchor": {
      "contextRef": "c-1809",
      "name": "cswc:InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatioMinimumThreshold",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1809",
      "name": "cswc:InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatioMinimumThreshold",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
     "longName": "9955533 - Disclosure - BORROWINGS - Schedule of Borrowings Outstanding (Details)",
     "shortName": "BORROWINGS - Schedule of Borrowings Outstanding (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "53",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:LongTermDebt",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
     "longName": "9955534 - Disclosure - BORROWINGS - Schedule of Credit Facilities (Details)",
     "shortName": "BORROWINGS - Schedule of Credit Facilities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "54",
     "firstAnchor": {
      "contextRef": "c-1820",
      "name": "us-gaap:LongTermDebtWeightedAverageInterestRateOverTime",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "4",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1828",
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
     "longName": "9955535 - Disclosure - BORROWINGS - Notes (Details)",
     "shortName": "BORROWINGS - Notes (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "55",
     "firstAnchor": {
      "contextRef": "c-1846",
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1846",
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
     "longName": "9955536 - Disclosure - BORROWINGS - Convertible Features of the 2029 Convertible Notes (Details)",
     "shortName": "BORROWINGS - Convertible Features of the 2029 Convertible Notes (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "56",
     "firstAnchor": {
      "contextRef": "c-1812",
      "name": "cswc:DebtInstrumentConvertibleConversionPremiumPercentage",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ConvertibleDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1812",
      "name": "cswc:DebtInstrumentConvertibleConversionPremiumPercentage",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ConvertibleDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
     "longName": "9955537 - Disclosure - BORROWINGS - SBA Debentures (Details)",
     "shortName": "BORROWINGS - SBA Debentures (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "57",
     "firstAnchor": {
      "contextRef": "c-1879",
      "name": "cswc:InterestExpenseAndUnusedCommitmentFees",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1879",
      "name": "cswc:InterestExpenseAndUnusedCommitmentFees",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
     "longName": "9955538 - Disclosure - BORROWINGS - Issued and Outstanding SBA Debentures (Details)",
     "shortName": "BORROWINGS - Issued and Outstanding SBA Debentures (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "58",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1882",
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
     "longName": "9955539 - Disclosure - BORROWINGS - Schedule of Contractual Payment Obligations (Details)",
     "shortName": "BORROWINGS - Schedule of Contractual Payment Obligations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "59",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R60": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails",
     "longName": "9955540 - Disclosure - INCOME TAXES - Narrative (Details)",
     "shortName": "INCOME TAXES - Narrative (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "c-1907",
      "name": "us-gaap:CommonStockDividendsPerShareCashPaid",
      "unitRef": "usdPerShare",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1907",
      "name": "cswc:InvestmentCompanyOrdinaryInterestRelatedDistributionsPercentage",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "4",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails",
     "longName": "9955541 - Disclosure - INCOME TAXES - Distributions (Details)",
     "shortName": "INCOME TAXES - Distributions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "c-1907",
      "name": "us-gaap:CommonStockDividendsPerShareCashPaid",
      "unitRef": "usdPerShare",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1899",
      "name": "us-gaap:CommonStockDividendsPerShareCashPaid",
      "unitRef": "usdPerShare",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "cswc:InvestmentCompanyDistributionToShareholdersTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails",
     "longName": "9955542 - Disclosure - INCOME TAXES - Schedule of Book and Tax Basis Differences Relating to Dividends and Distributions (Details)",
     "shortName": "INCOME TAXES - Schedule of Book and Tax Basis Differences Relating to Dividends and Distributions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "c-173",
      "name": "us-gaap:InvestmentCompanyTaxReclassificationIncreaseDecrease",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "cswc:InvestmentCompanyDividendsAndDistributionsTaxDifferencesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-173",
      "name": "us-gaap:InvestmentCompanyTaxReclassificationIncreaseDecrease",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "cswc:InvestmentCompanyDividendsAndDistributionsTaxDifferencesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails",
     "longName": "9955543 - Disclosure - INCOME TAXES - Schedule of Distributions (Details)",
     "shortName": "INCOME TAXES - Schedule of Distributions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "c-1907",
      "name": "us-gaap:InvestmentCompanyDistributionOrdinaryIncome",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1907",
      "name": "us-gaap:InvestmentCompanyDistributionOrdinaryIncome",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails",
     "longName": "9955544 - Disclosure - INCOME TAXES - Schedule of Net Assets Resulting from Operations to Estimated RIC Taxable Income (Details)",
     "shortName": "INCOME TAXES - Schedule of Net Assets Resulting from Operations to Estimated RIC Taxable Income (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "c-107",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:InvestmentCompanyTaxBasisUnrealizedGainLossNotCurrentlyTaxableDeductible",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:FederalIncomeTaxNoteTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R65": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails",
     "longName": "9955545 - Disclosure - INCOME TAXES - Schedule of Components of Estimated Tax Basis RIC Accumulated Earnings (Details)",
     "shortName": "INCOME TAXES - Schedule of Components of Estimated Tax Basis RIC Accumulated Earnings (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "65",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "cswc:InvestmentCompanyComponentsOfDistributableEarningsAccumulatedLossesTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "cswc:InvestmentCompanyComponentsOfDistributableEarningsAccumulatedLossesTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R66": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails",
     "longName": "9955546 - Disclosure - INCOME TAXES - Schedule of Deferred Tax Assets and Liabilities (Details)",
     "shortName": "INCOME TAXES - Schedule of Deferred Tax Assets and Liabilities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "66",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R67": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails",
     "longName": "9955547 - Disclosure - INCOME TAXES - Significant Components of Income Tax Provision (Details)",
     "shortName": "INCOME TAXES - Significant Components of Income Tax Provision (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ExciseAndSalesTaxes",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:ExciseAndSalesTaxes",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R68": {
     "role": "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofFederalandStateIncomeTaxesPaidDetails",
     "longName": "9955548 - Disclosure - INCOME TAXES - Schedule of Federal and State Income Taxes Paid (Details)",
     "shortName": "INCOME TAXES - Schedule of Federal and State Income Taxes Paid (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "68",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:IncomeTaxPaidFederalAfterRefundReceived",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:IncomeTaxPaidFederalAfterRefundReceived",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R69": {
     "role": "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
     "longName": "9955549 - Disclosure - SHAREHOLDERS' EQUITY - Narrative (Details)",
     "shortName": "SHAREHOLDERS' EQUITY - Narrative (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "c-1956",
      "name": "srt:StockRepurchaseProgramAuthorizedAmount1",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1956",
      "name": "srt:StockRepurchaseProgramAuthorizedAmount1",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R70": {
     "role": "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails",
     "longName": "9955550 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Shares Sold (Details)",
     "shortName": "SHAREHOLDERS' EQUITY - Schedule of Shares Sold (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "70",
     "firstAnchor": {
      "contextRef": "c-1948",
      "name": "us-gaap:SaleOfStockNumberOfSharesIssuedInTransaction",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfSaleOfStockBySubsidiaryOrEquityMethodInvesteeDisclosureTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1951",
      "name": "cswc:SaleOfStockConsiderationReceivable",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "cswc:SaleOfStockConsiderationReceivable",
       "span",
       "div",
       "us-gaap:ScheduleOfSaleOfStockBySubsidiaryOrEquityMethodInvesteeDisclosureTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R71": {
     "role": "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails",
     "longName": "9955551 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Share Repurchases (Details)",
     "shortName": "SHAREHOLDERS' EQUITY - Schedule of Share Repurchases (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "c-1953",
      "name": "us-gaap:TreasuryStockSharesRetired",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1953",
      "name": "us-gaap:TreasuryStockSharesRetired",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R72": {
     "role": "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails",
     "longName": "9955552 - Disclosure - EARNINGS PER SHARE (Details)",
     "shortName": "EARNINGS PER SHARE (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "c-107",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R73": {
     "role": "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
     "longName": "9955553 - Disclosure - STOCK BASED COMPENSATION PLANS - Narrative (Details)",
     "shortName": "STOCK BASED COMPENSATION PLANS - Narrative (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1957",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R74": {
     "role": "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails",
     "longName": "9955554 - Disclosure - STOCK BASED COMPENSATION PLANS - Schedule of Restricted Stock Outstanding (Details)",
     "shortName": "STOCK BASED COMPENSATION PLANS - Schedule of Restricted Stock Outstanding (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "c-1974",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1975",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R75": {
     "role": "http://www.capitalsouthwest.com/role/OTHEREMPLOYEECOMPENSATIONDetails",
     "longName": "9955555 - Disclosure - OTHER EMPLOYEE COMPENSATION (Details)",
     "shortName": "OTHER EMPLOYEE COMPENSATION (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "75",
     "firstAnchor": {
      "contextRef": "c-107",
      "name": "us-gaap:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-107",
      "name": "us-gaap:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R76": {
     "role": "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails",
     "longName": "9955556 - Disclosure - RETIREMENT PLANS - Schedule of Changes in Projected Benefit Obligations (Details)",
     "shortName": "RETIREMENT PLANS - Schedule of Changes in Projected Benefit Obligations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "76",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "cswc:DefinedBenefitPlanNetPeriodicBenefitCostCreditInterestCostStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "cswc:DefinedBenefitPlanNetPeriodicBenefitCostCreditInterestCostStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
       "cswc:DefinedBenefitPlanNetPeriodicBenefitCostCreditInterestCostStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCostsOfRetirementPlansTableTextBlock",
       "us-gaap:ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock",
       "us-gaap:ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "cswc:DefinedBenefitPlanNetPeriodicBenefitCostCreditInterestCostStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "cswc:DefinedBenefitPlanNetPeriodicBenefitCostCreditInterestCostStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
       "cswc:DefinedBenefitPlanNetPeriodicBenefitCostCreditInterestCostStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfCostsOfRetirementPlansTableTextBlock",
       "us-gaap:ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock",
       "us-gaap:ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R77": {
     "role": "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofAssumptionsUsedDetails",
     "longName": "9955557 - Disclosure - RETIREMENT PLANS - Schedule of Assumptions Used (Details)",
     "shortName": "RETIREMENT PLANS - Schedule of Assumptions Used (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "77",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "4",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAssumptionsUsedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate",
      "unitRef": "number",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "4",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfAssumptionsUsedTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R78": {
     "role": "http://www.capitalsouthwest.com/role/RETIREMENTPLANSActuarialGainsorLossesDetails",
     "longName": "9955558 - Disclosure - RETIREMENT PLANS - Actuarial Gains or Losses (Details)",
     "shortName": "RETIREMENT PLANS - Actuarial Gains or Losses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "78",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfExpectedBenefitPaymentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfExpectedBenefitPaymentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R79": {
     "role": "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails",
     "longName": "9955559 - Disclosure - COMMITMENTS AND CONTINGENCIES - Unused Commitments (Details)",
     "shortName": "COMMITMENTS AND CONTINGENCIES - Unused Commitments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "79",
     "firstAnchor": {
      "contextRef": "c-2212",
      "name": "us-gaap:InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "cswc:InvestmentCompanyScheduleOfUnfundedDebtCommitmentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2142",
      "name": "us-gaap:InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R80": {
     "role": "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails",
     "longName": "9955560 - Disclosure - COMMITMENTS AND CONTINGENCIES - Unfunded Debt Commitments (Details)",
     "shortName": "COMMITMENTS AND CONTINGENCIES - Unfunded Debt Commitments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "80",
     "firstAnchor": {
      "contextRef": "c-2212",
      "name": "us-gaap:InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "cswc:InvestmentCompanyScheduleOfUnfundedDebtCommitmentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2214",
      "name": "us-gaap:InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "cswc:InvestmentCompanyScheduleOfUnfundedDebtCommitmentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R81": {
     "role": "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails",
     "longName": "9955561 - Disclosure - COMMITMENTS AND CONTINGENCIES - Unfunded Equity Commitments (Details)",
     "shortName": "COMMITMENTS AND CONTINGENCIES - Unfunded Equity Commitments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "81",
     "firstAnchor": {
      "contextRef": "c-2238",
      "name": "us-gaap:InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2238",
      "name": "us-gaap:InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R82": {
     "role": "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails",
     "longName": "9955562 - Disclosure - COMMITMENTS AND CONTINGENCIES - Narrative (Details)",
     "shortName": "COMMITMENTS AND CONTINGENCIES - Narrative (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "82",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:GuaranteeObligationsMaximumExposure",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:GuaranteeObligationsMaximumExposure",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R83": {
     "role": "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails",
     "longName": "9955563 - Disclosure - COMMITMENTS AND CONTINGENCIES - Schedule of Future Minimum Payments (Details)",
     "shortName": "COMMITMENTS AND CONTINGENCIES - Schedule of Future Minimum Payments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "83",
     "firstAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-12",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R84": {
     "role": "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails",
     "longName": "9955564 - Disclosure - SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED) (Details)",
     "shortName": "SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "84",
     "firstAnchor": {
      "contextRef": "c-107",
      "name": "us-gaap:InvestmentIncomeOperatingAfterExpenseAndTax",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-109",
      "name": "us-gaap:InvestmentIncomeOperatingAfterExpenseAndTax",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R85": {
     "role": "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails",
     "longName": "9955565 - Disclosure - RELATED PARTY TRANSACTIONS (Details)",
     "shortName": "RELATED PARTY TRANSACTIONS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "85",
     "firstAnchor": {
      "contextRef": "c-1596",
      "name": "us-gaap:InvestmentCompanyCommittedCapital",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-5",
      "ancestors": [
       "us-gaap:InvestmentCompanyCommittedCapital",
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2246",
      "name": "us-gaap:InvestmentCompanyCommittedCapital",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-5",
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R86": {
     "role": "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails",
     "longName": "9955566 - Disclosure - SUMMARY OF PER SHARE INFORMATION (Details)",
     "shortName": "SUMMARY OF PER SHARE INFORMATION (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "86",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "cswc:InvestmentCompanyInvestmentIncomeLossGrossPerShare",
      "unitRef": "usdPerShare",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "2",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c-1",
      "name": "cswc:InvestmentCompanyInvestmentIncomeLossGrossPerShare",
      "unitRef": "usdPerShare",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "2",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R87": {
     "role": "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails",
     "longName": "9955567 - Disclosure - SUBSEQUENT EVENTS (Details)",
     "shortName": "SUBSEQUENT EVENTS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "87",
     "firstAnchor": {
      "contextRef": "c-1",
      "name": "us-gaap:PaymentsForPurchaseOfInvestmentOperatingActivity",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-2261",
      "name": "us-gaap:PaymentsForPurchaseOfInvestmentOperatingActivity",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    },
    "R88": {
     "role": "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails",
     "longName": "9955568 - Disclosure - Schedule of Investments in and Advances to Affiliates (Details)",
     "shortName": "Schedule of Investments in and Advances to Affiliates (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "88",
     "firstAnchor": {
      "contextRef": "c-113",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c-133",
      "name": "us-gaap:InvestmentOwnedBalancePrincipalAmount",
      "unitRef": "usd",
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": "-3",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "cswc-20260331.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "cswc_A2010PlanAnd2021EmployeePlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "A2010PlanAnd2021EmployeePlanMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2010 Plan and 2021 Employee Plan",
        "label": "2010 Plan And 2021 Employee Plan [Member]",
        "documentation": "2010 Plan And 2021 Employee Plan"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_A2010PlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "A2010PlanMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2010 Plan",
        "label": "2010 Plan [Member]",
        "documentation": "2010 Plan"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_A2021EmployeePlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "A2021EmployeePlanMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2021 Employee Plan",
        "label": "2021 Employee Plan [Member]",
        "documentation": "2021 Employee Plan"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_A2029ConvertibleNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "A2029ConvertibleNotesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2029 Convertible Notes",
        "label": "2029 Convertible Notes [Member]",
        "documentation": "2029 Convertible Notes"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_A2029ConvertibleNotesOverallotementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "A2029ConvertibleNotesOverallotementMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2029 Convertible Notes Overallotement",
        "label": "2029 Convertible Notes Overallotement [Member]",
        "documentation": "2029 Convertible Notes Overallotement"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_A360QUOTETOPCOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "A360QUOTETOPCOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "360 QUOTE TOPCO, LLC",
        "label": "360 QUOTE TOPCO, LLC [Member]",
        "documentation": "360 QUOTE TOPCO, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AACNEWHOLDCOINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AACNEWHOLDCOINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AAC NEW HOLDCO INC.",
        "label": "AAC NEW HOLDCO INC. [Member]",
        "documentation": "AAC NEW HOLDCO INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AACNEWHOLDCOINCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AACNEWHOLDCOINCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AAC NEW HOLDCO INC.",
        "label": "AAC NEW HOLDCO INC., Equity Investments [Member]",
        "documentation": "AAC NEW HOLDCO INC., Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ACACIABUYERCOVLLCEquitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ACACIABUYERCOVLLCEquitySecuritiesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ACACIA BUYERCO V LLC",
        "label": "ACACIA BUYERCO V LLC, Equity Securities [Member]",
        "documentation": "ACACIA BUYERCO V LLC, Equity Securities"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ACACIABUYERCOVLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ACACIABUYERCOVLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ACACIA BUYERCO V LLC",
        "label": "ACACIA BUYERCO V LLC [Member]",
        "documentation": "ACACIA BUYERCO V LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ACCELERATIONLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ACCELERATIONLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ACCELERATION, LLC",
        "label": "ACCELERATION, LLC, Equity Investments [Member]",
        "documentation": "ACCELERATION, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ACCELERATIONPARTNERSLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ACCELERATIONPARTNERSLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ACCELERATION PARTNERS, LLC",
        "label": "ACCELERATION PARTNERS, LLC, Equity Investments [Member]",
        "documentation": "ACCELERATION PARTNERS, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AMERICANNUTSOPERATIONSLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AMERICANNUTSOPERATIONSLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AMERICAN NUTS OPERATIONS LLC",
        "label": "AMERICAN NUTS OPERATIONS LLC, Equity Investments [Member]",
        "documentation": "AMERICAN NUTS OPERATIONS LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AMERICANNUTSOPERATIONSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AMERICANNUTSOPERATIONSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AMERICAN NUTS OPERATIONS LLC",
        "label": "AMERICAN NUTS OPERATIONS LLC [Member]",
        "documentation": "AMERICAN NUTS OPERATIONS LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AMERICANPETRESORTLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AMERICANPETRESORTLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AMERICAN PET RESORT, LLC",
        "label": "AMERICAN PET RESORT, LLC [Member]",
        "documentation": "AMERICAN PET RESORT, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_APPLEROOFINGADMINISTRATIVESERVICESLLCFkaROOFOPCOLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "APPLEROOFINGADMINISTRATIVESERVICESLLCFkaROOFOPCOLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC (fka ROOF OPCO, LLC)",
        "label": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC (fka ROOF OPCO, LLC), Equity Investments [Member]",
        "documentation": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC (fka ROOF OPCO, LLC), Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_APPLEROOFINGADMINISTRATIVESERVICESLLCFkaROOFOPCOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "APPLEROOFINGADMINISTRATIVESERVICESLLCFkaROOFOPCOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC (FKA ROOF OPCO, LLC)",
        "label": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC (fka ROOF OPCO, LLC) [Member]",
        "documentation": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC (fka ROOF OPCO, LLC)"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_APPLEROOFINGADMINISTRATIVESERVICESLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "APPLEROOFINGADMINISTRATIVESERVICESLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC (FKA ROOF OPCO, LLC)",
        "label": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC [Member]",
        "documentation": "APPLE ROOFING ADMINISTRATIVE SERVICES, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ARBORWORKSLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ARBORWORKSLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ARBORWORKS, LLC",
        "label": "ARBORWORKS, LLC, Equity Investments [Member]",
        "documentation": "ARBORWORKS, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ARBORWORKSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ARBORWORKSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ARBORWORKS, LLC",
        "label": "ARBORWORKS, LLC [Member]",
        "documentation": "ARBORWORKS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ARKSTONEMEDICALSOLUTIONSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ARKSTONEMEDICALSOLUTIONSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ARKSTONE MEDICAL SOLUTIONS LLC",
        "label": "ARKSTONE MEDICAL SOLUTIONS LLC [Member]",
        "documentation": "ARKSTONE MEDICAL SOLUTIONS LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ARMKOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ARMKOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ARMKO, LLC",
        "label": "ARMKO, LLC [Member]",
        "documentation": "ARMKO, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ATSOPERATINGLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ATSOPERATINGLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ATS OPERATING, LLC",
        "label": "ATS OPERATING, LLC [Member]",
        "documentation": "ATS OPERATING, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 17.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Accretion of discounts on investments",
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method."
       }
      }
     },
     "auth_ref": [
      "r68"
     ]
    },
    "cswc_AccretionOfOriginalIssueDiscounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AccretionOfOriginalIssueDiscounts",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Payment of accreted original issue discounts",
        "label": "Accretion Of Original Issue Discounts",
        "documentation": "Accretion Of Original Issue Discounts"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedIncomeTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccruedIncomeTaxes",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income tax payable",
        "label": "Accrued Income Taxes",
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all domestic and foreign income tax obligations due. This amount is the total of current and noncurrent accrued income taxes."
       }
      }
     },
     "auth_ref": [
      "r37",
      "r43",
      "r89",
      "r680"
     ]
    },
    "cswc_AccruedRestorationPlanLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AccruedRestorationPlanLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued restoration plan liability",
        "label": "Accrued Restoration Plan Liability",
        "documentation": "Accrued Restoration Plan Liability"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccumulatedAmortizationDeferredFinanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedAmortizationDeferredFinanceCosts",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accumulated amortization",
        "label": "Accumulated Amortization, Debt Issuance Costs",
        "documentation": "Amount of accumulated amortization of debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r1406",
      "r1408"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Accumulated Other Comprehensive (Income) Loss, Defined Benefit Plan, after Tax",
        "documentation": "Amount, after tax, of accumulated other comprehensive (income) loss for defined benefit plan, that has not been recognized in net periodic benefit cost (credit)."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r4",
      "r13",
      "r55",
      "r1343"
     ]
    },
    "cef_AcquiredFundFeesAndExpensesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AcquiredFundFeesAndExpensesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1129"
     ]
    },
    "cef_AcquiredFundFeesAndExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AcquiredFundFeesAndExpensesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1130"
     ]
    },
    "cef_AcquiredFundFeesEstimatedNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AcquiredFundFeesEstimatedNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees Estimated, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1131"
     ]
    },
    "cef_AcquiredFundIncentiveAllocationNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AcquiredFundIncentiveAllocationNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Incentive Allocation, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1132"
     ]
    },
    "cef_AcquiredFundTotalAnnualExpensesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AcquiredFundTotalAnnualExpensesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Total Annual Expenses, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1133"
     ]
    },
    "cswc_ActiveMarketRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ActiveMarketRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Active Market Risk [Member]",
        "documentation": "Active Market Risk"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Additional402vDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Additional402vDisclosureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional 402(v) Disclosure",
        "label": "Additional 402(v) Disclosure [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1184"
     ]
    },
    "us-gaap_AdditionalCashFlowElementsOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalCashFlowElementsOperatingActivitiesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows from operating activities",
        "label": "Additional Cash Flow Elements, Operating Activity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalPaidInCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalPaidInCapital",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional paid-in capital",
        "label": "Additional Paid in Capital",
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r1033",
      "r1481"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional Paid-In Capital",
        "label": "Additional Paid-in Capital [Member]",
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders."
       }
      }
     },
     "auth_ref": [
      "r743",
      "r1303",
      "r1304",
      "r1305",
      "r1306",
      "r1390",
      "r1493"
     ]
    },
    "dei_AdditionalSecurities462b": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AdditionalSecurities462b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities. 462(b)"
       }
      }
     },
     "auth_ref": [
      "r1249"
     ]
    },
    "dei_AdditionalSecurities462bFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AdditionalSecurities462bFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities, 462(b), File Number"
       }
      }
     },
     "auth_ref": [
      "r1249"
     ]
    },
    "dei_AdditionalSecuritiesEffective413b": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AdditionalSecuritiesEffective413b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities Effective, 413(b)"
       }
      }
     },
     "auth_ref": [
      "r1248"
     ]
    },
    "dei_AddressTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AddressTypeDomain",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Address Type [Domain]",
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AdjToCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment to Compensation, Amount",
        "label": "Adjustment to Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1197"
     ]
    },
    "ecd_AdjToCompAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToCompAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment to Compensation:",
        "label": "Adjustment to Compensation [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1197"
     ]
    },
    "ecd_AdjToNonPeoNeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToNonPeoNeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment to Non-PEO NEO Compensation Footnote",
        "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1197"
     ]
    },
    "ecd_AdjToPeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToPeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment To PEO Compensation, Footnote",
        "label": "Adjustment To PEO Compensation, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1197"
     ]
    },
    "us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Common stock withheld for payroll taxes upon vesting of restricted stock",
        "label": "Share-Based Payment Arrangement, Decrease for Tax Withholding Obligation",
        "documentation": "Amount of decrease to equity for grantee's tax withholding obligation for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1374"
     ]
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share-based compensation",
        "label": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition",
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r435"
     ]
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustments to reconcile net increase in net assets from operations to net cash (used in) provided by operating activities:",
        "label": "Adjustment to Reconcile Net Income to Cash Provided by (Used in) Operating Activity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AerospaceAndDefenseSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AerospaceAndDefenseSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aerospace &amp; Defense",
        "label": "Aerospace And Defense Sector [Member]",
        "documentation": "Aerospace And Defense Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AfterApril202024Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AfterApril202024Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "After April 20 2024",
        "label": "After April 20 2024 [Member]",
        "documentation": "After April 20 2024"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AfterMarch202027Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AfterMarch202027Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "After March 20 2027",
        "label": "After March 20 2027 [Member]",
        "documentation": "After March 20 2027"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtChngPnsnValInSummryCompstnTblForAplblYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table",
        "label": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table [Member]"
       }
      }
     },
     "auth_ref": [
      "r1242"
     ]
    },
    "ecd_AggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate Erroneous Compensation Amount",
        "label": "Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1083",
      "r1094",
      "r1174",
      "r1209"
     ]
    },
    "ecd_AggtErrCompNotYetDeterminedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtErrCompNotYetDeterminedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate Erroneous Compensation Not Yet Determined",
        "label": "Aggregate Erroneous Compensation Not Yet Determined [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1086",
      "r1097",
      "r1177",
      "r1212"
     ]
    },
    "ecd_AggtPnsnAdjsSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtPnsnAdjsSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate Pension Adjustments Service Cost",
        "label": "Aggregate Pension Adjustments Service Cost [Member]"
       }
      }
     },
     "auth_ref": [
      "r1243"
     ]
    },
    "cswc_AirConditioningSpecialistIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AirConditioningSpecialistIncMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AIR CONDITIONING SPECIALIST INC.",
        "label": "Air Conditioning Specialist, Inc. [Member]",
        "documentation": "Air Conditioning Specialist, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AllAdjToCompMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllAdjToCompMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "All Adjustments to Compensation",
        "label": "All Adjustments to Compensation [Member]"
       }
      }
     },
     "auth_ref": [
      "r1197"
     ]
    },
    "cef_AllCoregistrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AllCoregistrantsMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Coregistrants [Member]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "ecd_AllExecutiveCategoriesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllExecutiveCategoriesMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "All Executive Categories",
        "label": "All Executive Categories [Member]"
       }
      }
     },
     "auth_ref": [
      "r1204"
     ]
    },
    "ecd_AllIndividualsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllIndividualsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "All Individuals",
        "label": "All Individuals [Member]"
       }
      }
     },
     "auth_ref": [
      "r1087",
      "r1098",
      "r1178",
      "r1204",
      "r1213",
      "r1217",
      "r1225"
     ]
    },
    "cef_AllRisksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AllRisksMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks:"
       }
      }
     },
     "auth_ref": [
      "r1155"
     ]
    },
    "ecd_AllTradingArrangementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllTradingArrangementsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "All Trading Arrangements",
        "label": "All Trading Arrangements [Member]"
       }
      }
     },
     "auth_ref": [
      "r1223"
     ]
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AllocatedShareBasedCompensationExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Share-based compensation",
        "terseLabel": "Share-based compensation expense",
        "label": "Share-Based Payment Arrangement, Expense",
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized."
       }
      }
     },
     "auth_ref": [
      "r467",
      "r474",
      "r483"
     ]
    },
    "cswc_AlternativeReferenceRatesEconomicResultsRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AlternativeReferenceRatesEconomicResultsRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Alternative Reference Rates Economic Results Risk [Member]",
        "documentation": "Alternative Reference Rates Economic Results Risk"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentDescription",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Description",
        "documentation": "Description of changes contained within amended document."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AmortizationOfFinancingCosts",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails": {
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization of deferred financing costs",
        "label": "Amortization of Debt Issuance Costs",
        "documentation": "Amount of amortization expense attributable to debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r345",
      "r1290",
      "r1407"
     ]
    },
    "cef_AnnualCoverageReturnRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AnnualCoverageReturnRatePercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Coverage Return Rate [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1158"
     ]
    },
    "cef_AnnualDividendPayment": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AnnualDividendPayment",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment"
       }
      }
     },
     "auth_ref": [
      "r1157"
     ]
    },
    "cef_AnnualDividendPaymentCurrent": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AnnualDividendPaymentCurrent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Current"
       }
      }
     },
     "auth_ref": [
      "r1157"
     ]
    },
    "cef_AnnualDividendPaymentInitial": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AnnualDividendPaymentInitial",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Initial"
       }
      }
     },
     "auth_ref": [
      "r1157"
     ]
    },
    "cef_AnnualExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AnnualExpensesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Expenses [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1137"
     ]
    },
    "cef_AnnualInterestRateCurrentPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AnnualInterestRateCurrentPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Current [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1157"
     ]
    },
    "cef_AnnualInterestRateInitialPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AnnualInterestRateInitialPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Initial [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1157"
     ]
    },
    "cef_AnnualInterestRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "AnnualInterestRatePercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1157"
     ]
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Anti-dilutive securities",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented."
       }
      }
     },
     "auth_ref": [
      "r219"
     ]
    },
    "dei_ApproximateDateOfCommencementOfProposedSaleToThePublic": {
     "xbrltype": "dateOrAsapItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "ApproximateDateOfCommencementOfProposedSaleToThePublic",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Approximate Date of Commencement of Proposed Sale to Public",
        "documentation": "The approximate date of a commencement of a proposed sale of securities to the public. This element is disclosed in S-1, S-3, S-4, S-11, F-1, F-3 and F-10 filings."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AreaOfRealEstateProperty": {
     "xbrltype": "areaItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AreaOfRealEstateProperty",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Area of additional office space",
        "label": "Area of Real Estate Property",
        "documentation": "Area of a real estate property."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AssetCoverageRequirementRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AssetCoverageRequirementRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Coverage Requirement Risk [Member]",
        "documentation": "Asset Coverage Requirement Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetPledgedAsCollateralMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetPledgedAsCollateralMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Pledged as Collateral",
        "label": "Asset Pledged as Collateral [Member]",
        "documentation": "Asset pledged as collateral."
       }
      }
     },
     "auth_ref": [
      "r519",
      "r777",
      "r1019",
      "r1294",
      "r1296",
      "r1423"
     ]
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total assets",
        "label": "Assets",
        "documentation": "Amount of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r103",
      "r150",
      "r174",
      "r178",
      "r179",
      "r223",
      "r234",
      "r245",
      "r246",
      "r285",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r519",
      "r522",
      "r567",
      "r670",
      "r671",
      "r679",
      "r799",
      "r989",
      "r990",
      "r1002",
      "r1033",
      "r1045",
      "r1046",
      "r1060",
      "r1332",
      "r1333",
      "r1415"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets",
        "label": "Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AssetsPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AssetsPercent",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percent of assets",
        "label": "Assets, Percent",
        "documentation": "Assets, Percent"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_AuditInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "AuditInformationAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Audit Information [Abstract]",
        "documentation": "Audit Information"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AuditorFirmId": {
     "xbrltype": "nonemptySequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AuditorFirmId",
     "presentation": [
      "http://www.capitalsouthwest.com/role/AuditInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Firm ID",
        "terseLabel": "Auditor Firm ID",
        "documentation": "PCAOB issued Audit Firm Identifier"
       }
      }
     },
     "auth_ref": [
      "r1066",
      "r1067",
      "r1090"
     ]
    },
    "dei_AuditorLocation": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AuditorLocation",
     "presentation": [
      "http://www.capitalsouthwest.com/role/AuditInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location",
        "terseLabel": "Auditor Location"
       }
      }
     },
     "auth_ref": [
      "r1066",
      "r1067",
      "r1090"
     ]
    },
    "dei_AuditorName": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AuditorName",
     "presentation": [
      "http://www.capitalsouthwest.com/role/AuditInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name",
        "terseLabel": "Auditor Name"
       }
      }
     },
     "auth_ref": [
      "r1066",
      "r1067",
      "r1090"
     ]
    },
    "cswc_August2028NotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "August2028NotesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "August 2028 Notes",
        "label": "August 2028 Notes [Member]",
        "documentation": "August 2028 Notes"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_August2028NotesOverallotmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "August2028NotesOverallotmentMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "August 2028 Notes Overallotment",
        "label": "August 2028 Notes Overallotment [Member]",
        "documentation": "August 2028 Notes Overallotment"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AwardExrcPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardExrcPrice",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Exercise Price",
        "label": "Award Exercise Price"
       }
      }
     },
     "auth_ref": [
      "r1220"
     ]
    },
    "ecd_AwardGrantDateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardGrantDateFairValue",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value as of Grant Date",
        "label": "Award Grant Date Fair Value"
       }
      }
     },
     "auth_ref": [
      "r1221"
     ]
    },
    "ecd_AwardTmgDiscLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgDiscLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Disclosures [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "ecd_AwardTmgHowMnpiCnsdrdTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgHowMnpiCnsdrdTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Timing, How MNPI Considered",
        "label": "Award Timing, How MNPI Considered [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "ecd_AwardTmgMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Timing Method",
        "label": "Award Timing Method [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "ecd_AwardTmgMnpiCnsdrdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMnpiCnsdrdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Timing MNPI Considered",
        "label": "Award Timing MNPI Considered [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "ecd_AwardTmgMnpiDiscTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMnpiDiscTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Timing MNPI Disclosure",
        "label": "Award Timing MNPI Disclosure [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "ecd_AwardTmgPredtrmndFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgPredtrmndFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Timing Predetermined",
        "label": "Award Timing Predetermined [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "us-gaap_AwardTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AwardTypeAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Type [Axis]",
        "label": "Award Type [Axis]",
        "documentation": "Information by type of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r438",
      "r439",
      "r440",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466"
     ]
    },
    "ecd_AwardUndrlygSecuritiesAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardUndrlygSecuritiesAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Underlying Securities",
        "label": "Award Underlying Securities Amount"
       }
      }
     },
     "auth_ref": [
      "r1219"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Name",
        "label": "Awards Close in Time to MNPI Disclosures, Individual Name"
       }
      }
     },
     "auth_ref": [
      "r1218"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Awards Close in Time to MNPI Disclosures",
        "label": "Awards Close in Time to MNPI Disclosures [Table]"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Awards Close in Time to MNPI Disclosures, Table",
        "label": "Awards Close in Time to MNPI Disclosures [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "cswc_BETTERTHANHOMEINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BETTERTHANHOMEINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BETTER THAN HOME, INC.",
        "label": "BETTER THAN HOME, INC. [Member]",
        "documentation": "BETTER THAN HOME, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BONDBRANDLOYALTYULCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BONDBRANDLOYALTYULCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BOND BRAND LOYALTY ULC",
        "label": "BOND BRAND LOYALTY ULC, Equity Investments [Member]",
        "documentation": "BOND BRAND LOYALTY ULC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BONDBRANDLOYALTYULCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BONDBRANDLOYALTYULCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BOND BRAND LOYALTY ULC",
        "label": "BOND BRAND LOYALTY ULC [Member]",
        "documentation": "BOND BRAND LOYALTY ULC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BPLOENBROHOLDINGSINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BPLOENBROHOLDINGSINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BP LOENBRO HOLDINGS INC.",
        "label": "BP LOENBRO HOLDINGS INC. [Member]",
        "documentation": "BP LOENBRO HOLDINGS INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BRANDNERDESIGNLLCEquitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BRANDNERDESIGNLLCEquitySecuritiesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BRANDNER DESIGN, LLC",
        "label": "BRANDNER DESIGN, LLC, Equity Securities [Member]",
        "documentation": "BRANDNER DESIGN, LLC, Equity Securities"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BRANDNERDESIGNLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BRANDNERDESIGNLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BRANDNER DESIGN, LLC",
        "label": "BRANDNER DESIGN, LLC [Member]",
        "documentation": "Brandner design, llc"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BROADSKYNETWORKSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BROADSKYNETWORKSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BROAD SKY NETWORKS LLC",
        "label": "BROAD SKY NETWORKS LLC [Member]",
        "documentation": "BROAD SKY NETWORKS LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BURNINGGLASSINTERMEDIATEHOLDINGCOMPANYINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BURNINGGLASSINTERMEDIATEHOLDINGCOMPANYINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BURNING GLASS INTERMEDIATE HOLDING COMPANY, INC.",
        "label": "BURNING GLASS INTERMEDIATE HOLDING COMPANY, INC. [Member]",
        "documentation": "BURNING GLASS INTERMEDIATE HOLDING COMPANY, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BankRelationshipRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BankRelationshipRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bank Relationship Risk [Member]",
        "documentation": "Bank Relationship Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Presentation",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS)."
       }
      }
     },
     "auth_ref": [
      "r1293"
     ]
    },
    "cef_BasisOfTransactionFeesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "BasisOfTransactionFeesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Transaction Fees, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1135"
     ]
    },
    "cef_BdcFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "BdcFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDC File Number"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BeforeApril202024Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BeforeApril202024Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Before April 20 2024",
        "label": "Before April 20 2024 [Member]",
        "documentation": "Before April 20 2024"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BeforeMarch202027Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BeforeMarch202027Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Before March 20 2027",
        "label": "Before March 20 2027 [Member]",
        "documentation": "Before March 20 2027"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BuildingInfrastructureProductsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BuildingInfrastructureProductsSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Building &amp; Infrastructure Products",
        "label": "Building &amp; Infrastructure Products Sector [Member]",
        "documentation": "Building &amp; Infrastructure Products Sector"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BuildingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BuildingMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Office Space",
        "label": "Building [Member]",
        "documentation": "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities."
       }
      }
     },
     "auth_ref": [
      "r71"
     ]
    },
    "dei_BusinessContactMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "BusinessContactMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Contact [Member]",
        "documentation": "Business contact for the entity"
       }
      }
     },
     "auth_ref": [
      "r1067",
      "r1090"
     ]
    },
    "cef_BusinessDevelopmentCompanyFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "BusinessDevelopmentCompanyFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Development Company [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "cswc_BusinessServicesIndustryRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BusinessServicesIndustryRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Services Industry Risk [Member]",
        "documentation": "Business Services Industry Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_BusinessServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "BusinessServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business Services",
        "label": "Business Services Sector [Member]",
        "documentation": "Business Services Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CADMIUMLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CADMIUMLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CADMIUM, LLC",
        "label": "CADMIUM, LLC [Member]",
        "documentation": "CADMIUM, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CAMPANYROOFMAINTENANCELLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CAMPANYROOFMAINTENANCELLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CAMPANY ROOF MAINTENANCE, LLC",
        "label": "CAMPANY ROOF MAINTENANCE, LLC [Member]",
        "documentation": "CAMPANY ROOF MAINTENANCE, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CATBIRDNYCLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CATBIRDNYCLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CATBIRD NYC, LLC",
        "label": "CATBIRD NYC, LLC, Equity Investments [Member]",
        "documentation": "CATBIRD NYC, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CATBIRDNYCLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CATBIRDNYCLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CATBIRD NYC, LLC",
        "label": "CATBIRD NYC, LLC [Member]",
        "documentation": "CATBIRD NYC, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CAVALIERBUYERINCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CAVALIERBUYERINCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CAVALIER BUYER, INC.",
        "label": "CAVALIER BUYER, INC., Equity Investments [Member]",
        "documentation": "CAVALIER BUYER, INC., Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CAVALIERBUYERINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CAVALIERBUYERINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CAVALIER BUYER, INC.",
        "label": "CAVALIER BUYER, INC [Member]",
        "documentation": "CAVALIER BUYER, INC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CDCDENTALMANAGEMENTCOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CDCDENTALMANAGEMENTCOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CDC DENTAL MANAGEMENT CO., LLC",
        "label": "CDC DENTAL MANAGEMENT CO., LLC [Member]",
        "documentation": "CDC DENTAL MANAGEMENT CO., LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CENTRALMEDICALSUPPLYLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CENTRALMEDICALSUPPLYLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CENTRAL MEDICAL SUPPLY LLC",
        "label": "CENTRAL MEDICAL SUPPLY LLC [Member]",
        "documentation": "CENTRAL MEDICAL SUPPLY LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CHALETDESSERTSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CHALETDESSERTSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CHALET DESSERTS, LLC",
        "label": "CHALET DESSERTS, LLC [Member]",
        "documentation": "CHALET DESSERTS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CLEARWATERGROUPLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CLEARWATERGROUPLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CLEARWATER GROUP, LLC",
        "label": "CLEARWATER GROUP, LLC [Member]",
        "documentation": "CLEARWATER GROUP, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CLUTCHINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CLUTCHINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CLUTCH, INC.",
        "label": "CLUTCH, INC. [Member]",
        "documentation": "CLUTCH, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CMCONVEYORINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CMCONVEYORINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "C&amp;M CONVEYOR, INC.",
        "label": "C&amp;M CONVEYOR, INC. [Member]",
        "documentation": "C&amp;M CONVEYOR, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CRAFTYAPESLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CRAFTYAPESLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CRAFTY APES, LLC",
        "label": "CRAFTY APES, LLC [Member]",
        "documentation": "CRAFTY APES, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CUMBRIACAPITALMSOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CUMBRIACAPITALMSOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CUMBRIA CAPITAL MSO, LLC",
        "label": "CUMBRIA CAPITAL MSO, LLC [Member]",
        "documentation": "CUMBRIA CAPITAL MSO, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CapTrinCreditFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CapTrinCreditFacilityMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CapTrin Credit Facility",
        "label": "CapTrin Credit Facility [Member]",
        "documentation": "CapTrin Credit Facility"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CapTrinPartnersLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CapTrinPartnersLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CapTrin Partners, LLC",
        "label": "CapTrin Partners, LLC [Member]",
        "documentation": "CapTrin Partners, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CapitalMarketsDisruptionsAndEconomicUncertaintyRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CapitalMarketsDisruptionsAndEconomicUncertaintyRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Markets Disruptions And Economic Uncertainty Risk [Member]",
        "documentation": "Capital Markets Disruptions And Economic Uncertainty Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CapitalRaiseTermsRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CapitalRaiseTermsRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Raise Terms Risk [Member]",
        "documentation": "Capital Raise Terms Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CapitalSouthwestCorporationAndTrinityCapitalInc.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CapitalSouthwestCorporationAndTrinityCapitalInc.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital Southwest Corporation And Trinity Capital Inc.",
        "label": "Capital Southwest Corporation And Trinity Capital Inc. [Member]",
        "documentation": "Capital Southwest Corporation And Trinity Capital Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_CapitalStockLongTermDebtAndOtherSecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "CapitalStockLongTermDebtAndOtherSecuritiesAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock, Long-Term Debt, and Other Securities [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r1103"
     ]
    },
    "cef_CapitalStockTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "CapitalStockTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1104"
     ]
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and cash equivalents",
        "label": "Cash and Cash Equivalent",
        "documentation": "Amount of cash and cash equivalent. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate."
       }
      }
     },
     "auth_ref": [
      "r17",
      "r148",
      "r973"
     ]
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and Cash Equivalents",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Cash, cash equivalents and restricted cash at beginning of period",
        "periodEndLabel": "Cash, cash equivalents and restricted cash at end of period",
        "totalLabel": "Total cash, cash equivalents and restricted cash presented in the Consolidated Statements of Cash Flows",
        "label": "Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Continuing Operation",
        "documentation": "Amount of cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; attributable to continuing operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate."
       }
      }
     },
     "auth_ref": [
      "r17",
      "r65",
      "r171"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total cash, cash equivalents and restricted cash presented in the Consolidated Statements of Cash Flows",
        "label": "Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Continuing Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net (decrease) increase in cash, cash equivalents and restricted cash",
        "label": "Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Period Increase (Decrease), Including Exchange Rate Effect and Discontinued Operation",
        "documentation": "Amount of increase (decrease) in cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; including effect from exchange rate change and including, but not limited to, discontinued operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r65"
     ]
    },
    "cswc_CashPaymentSettlementOrConversionRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CashPaymentSettlementOrConversionRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Payment Settlement Or Conversion Risk [Member]",
        "documentation": "Cash Payment Settlement Or Conversion Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashUninsuredAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashUninsuredAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FDIC uninsured amount",
        "label": "Cash, Uninsured Amount",
        "documentation": "The amount of cash as of the balance sheet date that is not insured by the Federal Deposit Insurance Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ChangeInContractWithCustomerAssetAndLiabilityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ChangeInContractWithCustomerAssetAndLiabilityAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Changes in other assets and liabilities:",
        "label": "Change in Contract with Customer, Asset and Liability [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ChangeInLawsOrRegulationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ChangeInLawsOrRegulationRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Change In Laws Or Regulation Risk [Member]",
        "documentation": "Change In Laws Or Regulation Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ChangeInRestorationPlanLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ChangeInRestorationPlanLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Change in restoration plan liability",
        "label": "Change In Restoration Plan Liability",
        "documentation": "Change In Restoration Plan Liability"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ChangedPeerGroupFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChangedPeerGroupFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Changed Peer Group, Footnote",
        "label": "Changed Peer Group, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1195"
     ]
    },
    "ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year",
        "label": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year [Member]"
       }
      }
     },
     "auth_ref": [
      "r1192"
     ]
    },
    "ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested",
        "label": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested [Member]"
       }
      }
     },
     "auth_ref": [
      "r1190"
     ]
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "terseLabel": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ClassOfStockDomain",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock."
       }
      }
     },
     "auth_ref": [
      "r111",
      "r151",
      "r152",
      "r153",
      "r174",
      "r179",
      "r207",
      "r208",
      "r214",
      "r218",
      "r226",
      "r227",
      "r285",
      "r314",
      "r316",
      "r317",
      "r318",
      "r321",
      "r322",
      "r356",
      "r357",
      "r359",
      "r360",
      "r362",
      "r364",
      "r367",
      "r368",
      "r371",
      "r374",
      "r381",
      "r567",
      "r722",
      "r723",
      "r724",
      "r725",
      "r743",
      "r747",
      "r750",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r785",
      "r809",
      "r841",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r1257",
      "r1297",
      "r1299",
      "r1307"
     ]
    },
    "us-gaap_ClassOfTreasuryStockTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ClassOfTreasuryStockTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Treasury Stock [Table]",
        "label": "Class of Treasury Stock [Table]",
        "documentation": "Disclosure of information about treasury stock, including, but not limited to, average cost per share, description of share repurchase program, shares repurchased, shares held for each class of treasury stock."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31"
     ]
    },
    "ecd_CoSelectedMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CoSelectedMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Company Selected Measure Amount",
        "label": "Company Selected Measure Amount"
       }
      }
     },
     "auth_ref": [
      "r1196"
     ]
    },
    "ecd_CoSelectedMeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CoSelectedMeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Company Selected Measure Name",
        "label": "Company Selected Measure Name"
       }
      }
     },
     "auth_ref": [
      "r1196"
     ]
    },
    "cswc_CommercialServicesAndSuppliesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CommercialServicesAndSuppliesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commercial Services &amp; Supplies",
        "label": "Commercial Services and Supplies [Member]",
        "documentation": "Commercial Services and Supplies"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_CommercialServicesSuppliesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CommercialServicesSuppliesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commercial Services &amp; Supplies",
        "label": "Commercial Services &amp; Supplies [Member]",
        "documentation": "Commercial Services &amp; Supplies"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments and contingencies (Note 12)",
        "label": "Commitments and Contingencies",
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r44",
      "r93",
      "r684",
      "r784"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "COMMITMENTS AND CONTINGENCIES",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r72",
      "r302",
      "r303",
      "r957",
      "r1323",
      "r1328"
     ]
    },
    "cswc_CommonEquityWarrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CommonEquityWarrantsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common equity &amp; warrants",
        "terseLabel": "Common equity &amp; warrants",
        "label": "Common Equity &amp; Warrants [Member]",
        "documentation": "Common Equity &amp; Warrants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockDividendsPerShareCashPaid": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockDividendsPerShareCashPaid",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends cash paid (in usd per share)",
        "label": "Common Stock, Dividends, Per Share, Cash Paid",
        "documentation": "Aggregate dividends paid during the period for each share of common stock outstanding."
       }
      }
     },
     "auth_ref": [
      "r80"
     ]
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockDividendsPerShareDeclared",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends declared (in usd per share)",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding."
       }
      }
     },
     "auth_ref": [
      "r80"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common Stock",
        "label": "Common Stock [Member]",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r1047",
      "r1048",
      "r1049",
      "r1051",
      "r1052",
      "r1053",
      "r1054",
      "r1303",
      "r1304",
      "r1306",
      "r1390",
      "r1466",
      "r1493"
     ]
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, par value (in usd per share)",
        "label": "Common Stock, Par or Stated Value Per Share",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, authorized (in shares)",
        "label": "Common Stock, Shares Authorized",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r785"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, issued (in shares)",
        "label": "Common Stock, Shares, Issued",
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury."
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, outstanding (in shares)",
        "periodStartLabel": "Beginning balance (in shares)",
        "periodEndLabel": "Ending balance (in shares)",
        "verboseLabel": "Common shares outstanding at end of period (in shares)",
        "label": "Common Stock, Shares, Outstanding",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r49",
      "r785",
      "r805",
      "r1493",
      "r1494"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, $0.25 par value: authorized, 75,000,000 shares at March 31, 2026 and March 31, 2025; issued, 60,577,181 shares at March 31, 2026 and 52,912,796 shares at March 31, 2025",
        "label": "Common Stock, Value, Issued",
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r357",
      "r363",
      "r685",
      "r1033"
     ]
    },
    "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation Actually Paid vs. Company Selected Measure",
        "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1201"
     ]
    },
    "ecd_CompActuallyPaidVsNetIncomeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsNetIncomeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation Actually Paid vs. Net Income",
        "label": "Compensation Actually Paid vs. Net Income [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1200"
     ]
    },
    "ecd_CompActuallyPaidVsOtherMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsOtherMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation Actually Paid vs. Other Measure",
        "label": "Compensation Actually Paid vs. Other Measure [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1202"
     ]
    },
    "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation Actually Paid vs. Total Shareholder Return",
        "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1199"
     ]
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CompensationExpenseExcludingCostOfGoodAndServiceSold",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation",
        "label": "Compensation Expense, Excluding Cost of Good and Service Sold",
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit. Other employee benefit expense includes, but is not limited to, service component of net periodic benefit cost for defined benefit plan. Excludes compensation cost in cost of good and service sold."
       }
      }
     },
     "auth_ref": [
      "r989",
      "r1287"
     ]
    },
    "cswc_CompetitiveMarketRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CompetitiveMarketRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Competitive Market Risk [Member]",
        "documentation": "Competitive Market Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ComplianceRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ComplianceRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compliance Risk [Member]",
        "documentation": "Compliance Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskBenchmarkDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration Risk Benchmark [Domain]",
        "label": "Concentration Risk Benchmark [Domain]",
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage."
       }
      }
     },
     "auth_ref": [
      "r229",
      "r250",
      "r709",
      "r710",
      "r956",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314"
     ]
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration Risk Benchmark [Axis]",
        "label": "Concentration Risk Benchmark [Axis]",
        "documentation": "Information by benchmark of concentration risk."
       }
      }
     },
     "auth_ref": [
      "r229",
      "r250",
      "r709",
      "r710",
      "r956",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314"
     ]
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskByTypeAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration Risk Type [Axis]",
        "label": "Concentration Risk Type [Axis]",
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender."
       }
      }
     },
     "auth_ref": [
      "r229",
      "r250",
      "r709",
      "r710",
      "r956",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314"
     ]
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration Risk [Line Items]",
        "label": "Concentration Risk [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r229",
      "r230",
      "r956",
      "r983",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314"
     ]
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskPercentage1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Percent of total investment portfolio's fair value",
        "terseLabel": "Percentage of Total\u00a0Portfolio at Fair Value",
        "label": "Concentration Risk, Percentage",
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division."
       }
      }
     },
     "auth_ref": [
      "r229",
      "r250",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314"
     ]
    },
    "us-gaap_ConcentrationRiskTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration Risk [Table]",
        "label": "Concentration Risk [Table]",
        "documentation": "Disclosure of information about concentration risk. Includes, but is not limited to, percentage of concentration risk and benchmark serving as denominator in calculation of percentage of concentration risk."
       }
      }
     },
     "auth_ref": [
      "r229",
      "r230",
      "r956",
      "r983",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314"
     ]
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskTypeDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration Risk Type [Domain]",
        "label": "Concentration Risk Type [Domain]",
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration."
       }
      }
     },
     "auth_ref": [
      "r229",
      "r250",
      "r709",
      "r710",
      "r956",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314"
     ]
    },
    "srt_ConsolidatedEntitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ConsolidatedEntitiesAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consolidated Entities [Axis]",
        "label": "Consolidated Entities [Axis]",
        "documentation": "Information by consolidated entity or group of entities."
       }
      }
     },
     "auth_ref": [
      "r113",
      "r127",
      "r175",
      "r186",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r595",
      "r674",
      "r963",
      "r1271",
      "r1272",
      "r1273",
      "r1331",
      "r1334",
      "r1335"
     ]
    },
    "srt_ConsolidatedEntitiesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ConsolidatedEntitiesDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consolidated Entities [Domain]",
        "label": "Consolidated Entities [Domain]",
        "documentation": "Entity or group of entities consolidated into reporting entity."
       }
      }
     },
     "auth_ref": [
      "r113",
      "r127",
      "r175",
      "r186",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r595",
      "r674",
      "r963",
      "r1271",
      "r1272",
      "r1273",
      "r1331",
      "r1334",
      "r1335"
     ]
    },
    "us-gaap_ConsolidatedEntityExcludingVieMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConsolidatedEntityExcludingVieMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RIC",
        "label": "Consolidated Entity, Excluding VIE [Member]",
        "documentation": "Consolidated entity, excluding variable interest entity (VIE) for which reporting entity is or is not primary beneficiary."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConsolidationPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consolidation",
        "label": "Consolidation, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r981"
     ]
    },
    "cswc_ConsumerProductsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ConsumerProductsSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consumer Products",
        "label": "Consumer Products Sector [Member]",
        "documentation": "Consumer Products Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ConsumerServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ConsumerServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consumer Services",
        "label": "Consumer Services Sector [Member]",
        "documentation": "Consumer Services Sector"
       }
      }
     },
     "auth_ref": []
    },
    "dei_ContactPersonnelName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "ContactPersonnelName",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Name",
        "documentation": "Name of contact personnel"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ConversionDilutionRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ConversionDilutionRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Conversion Dilution Risk [Member]",
        "documentation": "Conversion Dilution Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConvertibleDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConvertibleDebtMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Convertible Debt",
        "label": "Convertible Debt [Member]",
        "documentation": "Borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r324",
      "r325",
      "r335",
      "r336",
      "r337",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r997",
      "r998",
      "r999",
      "r1000",
      "r1001"
     ]
    },
    "us-gaap_ConvertibleDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConvertibleDebtTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Convertible Debt",
        "label": "Convertible Debt [Table Text Block]",
        "documentation": "Tabular disclosure of convertible debt instrument. Includes, but is not limited to, principal amount and amortized premium or discount."
       }
      }
     },
     "auth_ref": []
    },
    "cef_CoregistrantAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "CoregistrantAxis",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Coregistrant [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "cswc_CorporateCreditFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CorporateCreditFacilityMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Corporate Credit Facility",
        "label": "Corporate Credit Facility [Member]",
        "documentation": "Corporate Credit Facility"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CorporateJointVentureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CorporateJointVentureMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "CapTrin",
        "label": "Corporate Joint Venture [Member]",
        "documentation": "Corporation owned and operated by a small group of ventures to accomplish a mutually beneficial venture or project."
       }
      }
     },
     "auth_ref": []
    },
    "srt_CounterpartyNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CounterpartyNameAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Counterparty Name [Axis]",
        "label": "Counterparty Name [Axis]",
        "documentation": "Information by name of counterparty. A counterparty is the other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution."
       }
      }
     },
     "auth_ref": [
      "r137",
      "r138",
      "r174",
      "r184",
      "r185",
      "r327",
      "r369",
      "r593",
      "r615",
      "r677",
      "r974",
      "r975",
      "r976",
      "r1277",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1386",
      "r1387",
      "r1388",
      "r1389"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CoverAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CreditConcentrationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditConcentrationRiskMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit risk",
        "label": "Credit Concentration Risk [Member]",
        "documentation": "Reflects the percentage that a specified receivable or amount at risk from a counterparty under a contractual arrangement is to a specified benchmark, such as total receivables, net revenues, pretax results. Risk is the materially adverse effects of loss attributable to (a) the failure to collect a significant receivable from a major customer or group of homogeneous accounts, or (b) a failure by a counterparty to perform under terms of a contractual arrangement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditFacilityAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Facility [Axis]",
        "label": "Credit Facility [Axis]",
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing."
       }
      }
     },
     "auth_ref": [
      "r313",
      "r1330"
     ]
    },
    "cswc_CreditFacilityDefaultRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CreditFacilityDefaultRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Facility Default Risk [Member]",
        "documentation": "Credit Facility Default Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CreditFacilityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditFacilityDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Facility [Domain]",
        "label": "Credit Facility [Domain]",
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing."
       }
      }
     },
     "auth_ref": [
      "r313",
      "r1330"
     ]
    },
    "cswc_CreditFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CreditFacilityMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Facility [Member]",
        "documentation": "Credit Facility"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "cyd_CybersecurityRiskBoardCommitteeOrSubcommitteeResponsibleForOversightTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskBoardCommitteeOrSubcommitteeResponsibleForOversightTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Board Committee or Subcommittee Responsible for Oversight [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1075",
      "r1236"
     ]
    },
    "cyd_CybersecurityRiskBoardOfDirectorsOversightTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskBoardOfDirectorsOversightTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Board of Directors Oversight [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1075",
      "r1236"
     ]
    },
    "cyd_CybersecurityRiskManagementExpertiseOfManagementResponsibleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementExpertiseOfManagementResponsibleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Expertise of Management Responsible [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1077",
      "r1238"
     ]
    },
    "cyd_CybersecurityRiskManagementPositionsOrCommitteesResponsibleFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementPositionsOrCommitteesResponsibleFlag",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Positions or Committees Responsible [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1077",
      "r1238"
     ]
    },
    "cyd_CybersecurityRiskManagementPositionsOrCommitteesResponsibleReportToBoardFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementPositionsOrCommitteesResponsibleReportToBoardFlag",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Positions or Committees Responsible Report to Board [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1079",
      "r1240"
     ]
    },
    "cyd_CybersecurityRiskManagementPositionsOrCommitteesResponsibleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementPositionsOrCommitteesResponsibleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Positions or Committees Responsible [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1077",
      "r1238"
     ]
    },
    "cyd_CybersecurityRiskManagementProcessesForAssessingIdentifyingAndManagingThreatsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementProcessesForAssessingIdentifyingAndManagingThreatsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Processes for Assessing, Identifying, and Managing Threats [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1070",
      "r1231"
     ]
    },
    "cyd_CybersecurityRiskManagementProcessesIntegratedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementProcessesIntegratedFlag",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Processes Integrated [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1071",
      "r1232"
     ]
    },
    "cyd_CybersecurityRiskManagementProcessesIntegratedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementProcessesIntegratedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Processes Integrated [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1071",
      "r1232"
     ]
    },
    "cyd_CybersecurityRiskManagementStrategyAndGovernanceAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementStrategyAndGovernanceAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management, Strategy, and Governance [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r1069",
      "r1230"
     ]
    },
    "cyd_CybersecurityRiskManagementStrategyAndGovernanceLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementStrategyAndGovernanceLineItems",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management, Strategy, and Governance [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r1069",
      "r1230"
     ]
    },
    "cyd_CybersecurityRiskManagementStrategyAndGovernanceTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementStrategyAndGovernanceTable",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management, Strategy, and Governance [Table]"
       }
      }
     },
     "auth_ref": [
      "r1069",
      "r1230"
     ]
    },
    "cyd_CybersecurityRiskManagementThirdPartyEngagedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskManagementThirdPartyEngagedFlag",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Management Third Party Engaged [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1072",
      "r1233"
     ]
    },
    "cyd_CybersecurityRiskMateriallyAffectedOrReasonablyLikelyToMateriallyAffectRegistrantFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskMateriallyAffectedOrReasonablyLikelyToMateriallyAffectRegistrantFlag",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Materially Affected or Reasonably Likely to Materially Affect Registrant [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1074",
      "r1235"
     ]
    },
    "cyd_CybersecurityRiskMateriallyAffectedOrReasonablyLikelyToMateriallyAffectRegistrantTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskMateriallyAffectedOrReasonablyLikelyToMateriallyAffectRegistrantTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Materially Affected or Reasonably Likely to Materially Affect Registrant [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1074",
      "r1235"
     ]
    },
    "cyd_CybersecurityRiskProcessForInformingBoardCommitteeOrSubcommitteeResponsibleForOversightTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskProcessForInformingBoardCommitteeOrSubcommitteeResponsibleForOversightTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Process for Informing Board Committee or Subcommittee Responsible for Oversight [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1075",
      "r1236"
     ]
    },
    "cyd_CybersecurityRiskProcessForInformingManagementOrCommitteesResponsibleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskProcessForInformingManagementOrCommitteesResponsibleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Process for Informing Management or Committees Responsible [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1078",
      "r1239"
     ]
    },
    "cyd_CybersecurityRiskRoleOfManagementTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskRoleOfManagementTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Role of Management [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1076",
      "r1237"
     ]
    },
    "cyd_CybersecurityRiskThirdPartyOversightAndIdentificationProcessesFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cyd/2025",
     "localname": "CybersecurityRiskThirdPartyOversightAndIdentificationProcessesFlag",
     "presentation": [
      "http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Risk Third Party Oversight and Identification Processes [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1073",
      "r1234"
     ]
    },
    "cswc_CybersecuritySystemsRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "CybersecuritySystemsRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cybersecurity Systems Risk [Member]",
        "documentation": "Cybersecurity Systems Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DAMOTECHINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DAMOTECHINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "DAMOTECH INC.",
        "label": "DAMOTECH INC. [Member]",
        "documentation": "DAMOTECH INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DAMOTECHINCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DAMOTECHINCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "DAMOTECH INC.",
        "label": "DAMOTECH INC., Equity Investments [Member]",
        "documentation": "DAMOTECH INC., Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DRIVELINESERVICEOFPORTLANDLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DRIVELINESERVICEOFPORTLANDLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "DRIVE LINE SERVICE OF PORTLAND, LLC",
        "label": "DRIVE LINE SERVICE OF PORTLAND, LLC [Member]",
        "documentation": "DRIVE LINE SERVICE OF PORTLAND, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DWSBUYERLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DWSBUYERLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "DWS BUYER LLC",
        "label": "DWS BUYER LLC [Member]",
        "documentation": "DWS BUYER LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DYNAMICCOMMUNITIESLLCEquitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DYNAMICCOMMUNITIESLLCEquitySecuritiesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "DYNAMIC COMMUNITIES, LLC",
        "label": "DYNAMIC COMMUNITIES, LLC, Equity Securities [Member]",
        "documentation": "DYNAMIC COMMUNITIES, LLC, Equity Securities"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DYNAMICCOMMUNITIESLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DYNAMICCOMMUNITIESLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "DYNAMIC COMMUNITIES, LLC",
        "label": "DYNAMIC COMMUNITIES, LLC [Member]",
        "documentation": "DYNAMIC COMMUNITIES, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DataProcessingOutsourcedServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DataProcessingOutsourcedServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Data Processing &amp; Outsourced Services",
        "label": "Data Processing &amp; Outsourced Services Sector [Member]",
        "documentation": "Data Processing &amp; Outsourced Services Sector"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtAndEquitySecuritiesRealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtAndEquitySecuritiesRealizedGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized gain (loss)",
        "label": "Debt and Equity Securities, Realized Gain (Loss)",
        "documentation": "Amount of realized gain (loss) on investment in debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r822",
      "r823",
      "r918",
      "r919",
      "r920",
      "r1288",
      "r1289"
     ]
    },
    "us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtAndEquitySecuritiesUnrealizedGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net unrealized (depreciation) appreciation on investments",
        "label": "Debt and Equity Securities, Unrealized Gain (Loss)",
        "documentation": "Amount of unrealized gain (loss) on investment in debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r828",
      "r829",
      "r921",
      "r922",
      "r923",
      "r1288",
      "r1289"
     ]
    },
    "cswc_DebtCommitmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtCommitmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Unfunded Debt Commitments",
        "label": "Debt Commitments [Member]",
        "documentation": "Debt Commitments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtDisclosureTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BORROWINGS",
        "label": "Debt Disclosure [Text Block]",
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r174",
      "r177",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r312",
      "r313",
      "r323",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r339",
      "r346",
      "r347",
      "r349",
      "r524",
      "r576"
     ]
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument [Axis]",
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r36",
      "r37",
      "r88",
      "r92",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r330",
      "r335",
      "r336",
      "r337",
      "r338",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r997",
      "r998",
      "r999",
      "r1000",
      "r1001",
      "r1031",
      "r1294",
      "r1295",
      "r1298",
      "r1302",
      "r1324",
      "r1325",
      "r1326",
      "r1406",
      "r1408",
      "r1425"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis spread on variable rate",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DebtInstrumentBasisSpreadOnVariableRateAdjustment": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentBasisSpreadOnVariableRateAdjustment",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable rate adjustment",
        "label": "Debt Instrument, Basis Spread on Variable Rate, Adjustment",
        "documentation": "Debt Instrument, Basis Spread on Variable Rate, Adjustment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentCarryingAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Leverage commitment amount drawn",
        "terseLabel": "Outstanding Balance",
        "verboseLabel": "Debenture Amount",
        "totalLabel": "Total",
        "label": "Long-Term Debt, Gross",
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r92",
      "r350"
     ]
    },
    "cswc_DebtInstrumentConvertibleConversionPremiumPercentage": {
     "xbrltype": "pureItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentConvertibleConversionPremiumPercentage",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conversion premium",
        "label": "Debt Instrument, Convertible, Conversion Premium Percentage",
        "documentation": "Debt Instrument, Convertible, Conversion Premium Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentConvertibleConversionPrice1": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentConvertibleConversionPrice1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conversion price (in usd per share)",
        "label": "Debt Instrument, Convertible, Conversion Price",
        "documentation": "The price per share of the conversion feature embedded in the debt instrument."
       }
      }
     },
     "auth_ref": [
      "r75",
      "r326"
     ]
    },
    "us-gaap_DebtInstrumentConvertibleConversionRatio1": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentConvertibleConversionRatio1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conversion rate",
        "label": "Debt Instrument, Convertible, Conversion Ratio",
        "documentation": "Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount."
       }
      }
     },
     "auth_ref": [
      "r24",
      "r40",
      "r78",
      "r79",
      "r326"
     ]
    },
    "cswc_DebtInstrumentConvertiblePerShareDividendThreshold": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentConvertiblePerShareDividendThreshold",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend increase (in usd per share)",
        "label": "Debt Instrument, Convertible, Per Share Dividend Threshold",
        "documentation": "Debt Instrument, Convertible, Per Share Dividend Threshold"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentConvertibleThresholdConsecutiveTradingDays1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consecutive trading days",
        "label": "Debt Instrument, Convertible, Threshold Consecutive Trading Days",
        "documentation": "Threshold period of specified consecutive trading days within which common stock price to conversion price of convertible debt instrument must exceed threshold percentage for specified number of trading days to trigger conversion feature."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of stock price",
        "label": "Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger",
        "documentation": "Minimum percentage of common stock price to conversion price of convertible debt instruments to determine eligibility of conversion."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentConvertibleThresholdTradingDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentConvertibleThresholdTradingDays",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trading days",
        "label": "Debt Instrument, Convertible, Threshold Trading Days",
        "documentation": "Threshold number of specified trading days that common stock price to conversion price of convertible debt instruments must exceed threshold percentage within a specified consecutive trading period to trigger conversion feature."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DebtInstrumentCovenantInterestCoverageRatioMinimum": {
     "xbrltype": "pureItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentCovenantInterestCoverageRatioMinimum",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest coverage ratio",
        "label": "Debt Instrument, Covenant, Interest Coverage Ratio, Minimum",
        "documentation": "Debt Instrument, Covenant, Interest Coverage Ratio, Minimum"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DebtInstrumentCovenantRegulatoryAssetCoverageRatioMinimum": {
     "xbrltype": "pureItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentCovenantRegulatoryAssetCoverageRatioMinimum",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum asset coverage ratio",
        "label": "Debt Instrument, Covenant, Regulatory Asset Coverage Ratio, Minimum",
        "documentation": "Debt Instrument, Covenant, Regulatory Asset Coverage Ratio, Minimum"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DebtInstrumentCovenantSeniorCoverageRatioMinimum": {
     "xbrltype": "pureItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentCovenantSeniorCoverageRatioMinimum",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Minimum senior coverage ratio",
        "label": "Debt Instrument, Covenant, Senior Coverage Ratio, Minimum",
        "documentation": "Debt Instrument, Covenant, Senior Coverage Ratio, Minimum"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate principal amount",
        "label": "Debt Instrument, Face Amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r324",
      "r576",
      "r577",
      "r998",
      "r999",
      "r1031"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Fixed interest rate (in percent)",
        "terseLabel": "Fixed Interest Rate",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r39",
      "r325"
     ]
    },
    "cswc_DebtInstrumentIssuancePricePercentOfPrincipalAmount": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentIssuancePricePercentOfPrincipalAmount",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance price percent received",
        "label": "Debt Instrument, Issuance Price, Percent Of Principal Amount",
        "documentation": "Debt Instrument, Issuance Price, Percent Of Principal Amount"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DebtInstrumentLeverageCommitmentAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentLeverageCommitmentAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Leverage commitment amount",
        "label": "Debt Instrument, Leverage Commitment Amount",
        "documentation": "Debt Instrument, Leverage Commitment Amount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument [Line Items]",
        "label": "Debt Instrument [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r330",
      "r335",
      "r336",
      "r337",
      "r338",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r348",
      "r524",
      "r674",
      "r997",
      "r998",
      "r999",
      "r1000",
      "r1001",
      "r1031",
      "r1294",
      "r1295",
      "r1298",
      "r1302",
      "r1406",
      "r1408"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Name [Domain]",
        "label": "Debt Instrument, Name [Domain]",
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r330",
      "r335",
      "r336",
      "r337",
      "r338",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r997",
      "r998",
      "r999",
      "r1000",
      "r1001",
      "r1031",
      "r1294",
      "r1295",
      "r1298",
      "r1302",
      "r1324",
      "r1325",
      "r1326",
      "r1406",
      "r1408",
      "r1425"
     ]
    },
    "cswc_DebtInstrumentRatePeriodAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentRatePeriodAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Rate Period [Axis]",
        "label": "Debt Instrument, Rate Period [Axis]",
        "documentation": "Debt Instrument, Rate Period"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DebtInstrumentRatePeriodDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentRatePeriodDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Rate Period [Domain]",
        "label": "Debt Instrument, Rate Period [Domain]",
        "documentation": "Debt Instrument Term [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentRedemptionPricePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRedemptionPricePercentage",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Redemption price, percentage",
        "label": "Debt Instrument, Redemption Price, Percentage",
        "documentation": "Percentage price of original principal amount of debt at which debt can be redeemed by the issuer."
       }
      }
     },
     "auth_ref": [
      "r102"
     ]
    },
    "cswc_DebtInstrumentRegulatoryMaximumBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentRegulatoryMaximumBorrowingCapacity",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Regulatory maximum borrowing capacity",
        "label": "Debt Instrument, Regulatory Maximum Borrowing Capacity",
        "documentation": "Debt Instrument, Regulatory Maximum Borrowing Capacity"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentRepurchasedFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRepurchasedFaceAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repurchased face amount",
        "label": "Debt Instrument, Repurchased Face Amount",
        "documentation": "Face (par) amount of the original debt instrument that was repurchased."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Long-Term Debt Instruments [Table]",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "documentation": "Disclosure of information about long-term debt instrument or arrangement."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r24",
      "r26",
      "r34",
      "r77",
      "r79",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r330",
      "r335",
      "r336",
      "r337",
      "r338",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r348",
      "r524",
      "r674",
      "r997",
      "r998",
      "r999",
      "r1000",
      "r1001",
      "r1031",
      "r1294",
      "r1295",
      "r1298",
      "r1302",
      "r1406",
      "r1408"
     ]
    },
    "us-gaap_DebtInstrumentTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentTerm",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maturity (in years)",
        "label": "Debt Instrument, Term",
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentUnamortizedDiscount",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Unamortized debt issuance costs",
        "negatedTerseLabel": "Unamortized Debt Issuance Costs and Debt Discount/Premium",
        "label": "Debt Instrument, Unamortized Discount",
        "documentation": "Amount, after accumulated amortization, of debt discount."
       }
      }
     },
     "auth_ref": [
      "r1337",
      "r1405",
      "r1406",
      "r1408"
     ]
    },
    "cswc_DebtInstrumentYieldToMaturityAtIssuance": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInstrumentYieldToMaturityAtIssuance",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Yield-to-maturity (in percent)",
        "label": "Debt Instrument, Yield-To-Maturity At Issuance",
        "documentation": "Debt Instrument, Yield-To-Maturity At Issuance"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DebtInvestmentsPrepaymentRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtInvestmentsPrepaymentRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Investments Prepayment Risk [Member]",
        "documentation": "Debt Investments Prepayment Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DebtObligationCovenantsRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtObligationCovenantsRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Obligation Covenants Risk [Member]",
        "documentation": "Debt Obligation Covenants Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Issuance Costs, Equity Offering Costs, Earnings Per Share and Realized Losses on Extinguishment of Debt",
        "label": "Debt, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "cswc_DebtSecuritiesFirstLienMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtSecuritiesFirstLienMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "First lien loans",
        "label": "Debt Securities, First Lien [Member]",
        "documentation": "Debt Securities, First Lien [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Investments",
        "label": "Debt Securities [Member]",
        "documentation": "Debt instrument issued by corporations, governments and governmental agencies, municipalities, and other institutions."
       }
      }
     },
     "auth_ref": [
      "r20",
      "r1049",
      "r1497"
     ]
    },
    "cswc_DebtSecuritiesSecondLienMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DebtSecuritiesSecondLienMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Second lien loans",
        "label": "Debt Securities, Second Lien [Member]",
        "documentation": "Debt Securities, Second Lien"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_December2022NotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "December2022NotesMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "December 2022 Notes [Member]",
        "documentation": "December 2022 Notes"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DefaultPaymentRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DefaultPaymentRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Default Payment Risk [Member]",
        "documentation": "Default Payment Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DefaultRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DefaultRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Default Risk [Member]",
        "documentation": "Default Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredFinanceCostsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt issuance costs (net of accumulated amortization of $13,172 and $10,357, respectively)",
        "label": "Debt Issuance Costs, Net",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r1337",
      "r1405",
      "r1406",
      "r1408"
     ]
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred income taxes",
        "label": "Deferred Income Tax Expense (Benefit)",
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r109",
      "r1294",
      "r1301"
     ]
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredIncomeTaxLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails": {
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Total deferred tax liabilities",
        "label": "Deferred Tax Liabilities, Gross",
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences."
       }
      }
     },
     "auth_ref": [
      "r45",
      "r46",
      "r90",
      "r497"
     ]
    },
    "us-gaap_DeferredIncomeTaxLiabilitiesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax liability",
        "label": "Deferred Income Tax Liabilities, Net",
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting."
       }
      }
     },
     "auth_ref": [
      "r488",
      "r489",
      "r681"
     ]
    },
    "us-gaap_DeferredTaxAssetInterestCarryforward": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredTaxAssetInterestCarryforward",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest",
        "label": "Deferred Tax Asset, Interest Carryforward",
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible interest carryforward."
       }
      }
     },
     "auth_ref": [
      "r1380"
     ]
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredTaxAssetsGross",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails": {
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total deferred tax asset",
        "label": "Deferred Tax Assets, Gross",
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards."
       }
      }
     },
     "auth_ref": [
      "r498"
     ]
    },
    "us-gaap_DeferredTaxAssetsGrossAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredTaxAssetsGrossAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax asset:",
        "label": "Deferred Tax Assets, Gross [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net operating loss carryforwards",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards",
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards."
       }
      }
     },
     "auth_ref": [
      "r1380"
     ]
    },
    "us-gaap_DeferredTaxLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredTaxLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails",
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Total net deferred tax (liabilities) assets",
        "negatedTotalLabel": "Total net deferred tax (liabilities) assets",
        "label": "Deferred Tax Liabilities, Net",
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting."
       }
      }
     },
     "auth_ref": [
      "r1377"
     ]
    },
    "us-gaap_DeferredTaxLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredTaxLiabilitiesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax liabilities:",
        "label": "Deferred Tax Liabilities, Gross [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DeferredTaxLiabilitiesBasisDifferencesInPortfolioInvestmentsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DeferredTaxLiabilitiesBasisDifferencesInPortfolioInvestmentsNet",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails": {
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net basis differences in portfolio investments",
        "label": "Deferred Tax Liabilities, Basis Differences In Portfolio Investments Net",
        "documentation": "Deferred Tax Liabilities, Basis Differences In Portfolio Investments Net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxLiabilitiesInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredTaxLiabilitiesInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails": {
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Net unrealized appreciation on investments",
        "label": "Deferred Tax Liabilities, Investments",
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from investments (excludes investments in subsidiaries and equity method investments)."
       }
      }
     },
     "auth_ref": [
      "r1380"
     ]
    },
    "us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanAccumulatedBenefitObligation",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Accumulated benefit obligation",
        "label": "Defined Benefit Plan, Accumulated Benefit Obligation",
        "documentation": "Amount of actuarial present value of benefits attributed to employee service rendered, excluding assumptions about future compensation level."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r417"
     ]
    },
    "us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails": {
       "parentTag": "us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Net actuarial gain recognized as a component of equity",
        "label": "Accumulated Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), after Tax",
        "documentation": "Amount, after tax, of accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r402",
      "r419"
     ]
    },
    "us-gaap_DefinedBenefitPlanActuarialGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanActuarialGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Actuarial gain",
        "label": "Defined Benefit Plan, Benefit Obligation, Actuarial Gain (Loss)",
        "documentation": "Amount of gain (loss) from change in actuarial assumptions which (increases) decreases benefit obligation of defined benefit plan. Assumptions include, but are not limited to, interest, mortality, employee turnover, salary, and temporary deviation from substantive plan."
       }
      }
     },
     "auth_ref": [
      "r387"
     ]
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanAmortizationOfGainsLosses",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails": {
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Net amortization",
        "label": "Defined Benefit Plan, Amortization of Gain (Loss)",
        "documentation": "Amount of gain (loss) recognized in net periodic benefit (cost) credit of defined benefit plan."
       }
      }
     },
     "auth_ref": [
      "r384",
      "r401",
      "r426",
      "r1010",
      "r1011"
     ]
    },
    "us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amounts recognized in our Consolidated Statements of Assets and Liabilities",
        "label": "Defined Benefit Plan, Amounts Recognized in Other Comprehensive Income (Loss) [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofAssumptionsUsedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Actuarial discount rate",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Discount Rate",
        "documentation": "Weighted average rate for present value of future retirement benefits cash flows, used to determine benefit obligation of defined benefit plan."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r421"
     ]
    },
    "us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofAssumptionsUsedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net periodic discount rate",
        "label": "Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate",
        "documentation": "Weighted average rate for present value of future retirement benefits cash flows, used to determine net periodic benefit cost of defined benefit plan."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r421"
     ]
    },
    "us-gaap_DefinedBenefitPlanBenefitObligation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanBenefitObligation",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails": {
       "parentTag": "us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Benefit obligation at beginning of year",
        "periodEndLabel": "Benefit obligation at end of year",
        "negatedLabel": "Projected benefit obligation",
        "label": "Defined Benefit Plan, Benefit Obligation",
        "documentation": "Amount of actuarial present value of benefits attributed to service rendered by employee for defined benefit plan."
       }
      }
     },
     "auth_ref": [
      "r385",
      "r412"
     ]
    },
    "us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanBenefitObligationBenefitsPaid",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Benefits paid",
        "label": "Defined Benefit Plan, Benefit Obligation, Benefits Paid",
        "documentation": "Amount of payment to participant of defined benefit plan which decreases benefit obligation. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services."
       }
      }
     },
     "auth_ref": [
      "r388",
      "r413",
      "r429"
     ]
    },
    "us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanChangeInBenefitObligationRollForward",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Change in benefit obligation",
        "label": "Defined Benefit Plan, Change in Benefit Obligation [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSActuarialGainsorLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2031-2035",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, after Year Five for Next Five Years",
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in five fiscal years after fifth fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r418"
     ]
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSActuarialGainsorLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2027",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year One",
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in next fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r418"
     ]
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSActuarialGainsorLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2031",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Five",
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in fifth fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r418"
     ]
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSActuarialGainsorLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2030",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Four",
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in fourth fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r418"
     ]
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSActuarialGainsorLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2029",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Three",
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in third fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r418"
     ]
    },
    "us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSActuarialGainsorLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2028",
        "label": "Defined Benefit Plan, Expected Future Benefit Payment, Year Two",
        "documentation": "Amount of benefit for defined benefit plan expected to be paid in second fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r418"
     ]
    },
    "us-gaap_DefinedBenefitPlanInterestCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanInterestCost",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails": {
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest cost on projected benefit obligation",
        "terseLabel": "Interest cost",
        "label": "Defined Benefit Plan, Interest Cost",
        "documentation": "Amount of cost recognized for passage of time related to defined benefit plan."
       }
      }
     },
     "auth_ref": [
      "r384",
      "r386",
      "r400",
      "r425",
      "r1010",
      "r1011"
     ]
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCost",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net pension cost from restoration plan",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit)",
        "documentation": "Amount of net periodic benefit cost (credit) for defined benefit plan."
       }
      }
     },
     "auth_ref": [
      "r399",
      "r423",
      "r424",
      "r1010",
      "r1011"
     ]
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCostAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net pension cost",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DefinedBenefitPlanNetPeriodicBenefitCostCreditAmortizationOfGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCostCreditAmortizationOfGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Amortization Of Gain (Loss), Statement of Income or Comprehensive Income Extensible List Not Disclosed Flag",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Amortization Of Gain (Loss), Statement of Income or Comprehensive Income Extensible List Not Disclosed Flag",
        "documentation": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Amortization Of Gain (Loss), Statement of Income or Comprehensive Income Extensible List Not Disclosed Flag"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DefinedBenefitPlanNetPeriodicBenefitCostCreditExpectedReturnLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCostCreditExpectedReturnLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Excluding Service Cost, Statement of Income or Comprehensive Income [Extensible Enumeration]",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Expected Return (Loss), Statement Of Income Or Comprehensive Income Extensible List Not Disclosed Flag",
        "documentation": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Expected Return (Loss), Statement Of Income Or Comprehensive Income Extensible List Not Disclosed Flag"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DefinedBenefitPlanNetPeriodicBenefitCostCreditInterestCostStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCostCreditInterestCostStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Interest Cost, Statement of Income or Comprehensive Income Extensible List Not Disclosed Flag",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Interest Cost, Statement of Income or Comprehensive Income Extensible List Not Disclosed Flag",
        "documentation": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Interest Cost, Statement of Income or Comprehensive Income Extensible List Not Disclosed Flag"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DefinedContributionPlanCostRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedContributionPlanCostRecognized",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/OTHEREMPLOYEECOMPENSATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Matching contributions cost",
        "label": "Defined Contribution Plan, Cost",
        "documentation": "Amount of cost for defined contribution plan."
       }
      }
     },
     "auth_ref": [
      "r431"
     ]
    },
    "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
     "presentation": [
      "http://www.capitalsouthwest.com/role/OTHEREMPLOYEECOMPENSATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Employer matching contribution (up to)",
        "label": "Defined Contribution Plan, Employer Matching Contribution, Percent of Match",
        "documentation": "Percentage employer matches of the employee's percentage contribution matched."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DefinedContributionPlanTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedContributionPlanTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/OTHEREMPLOYEECOMPENSATION"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "OTHER EMPLOYEE COMPENSATION",
        "label": "Defined Contribution Plan [Text Block]",
        "documentation": "The entire disclosure for defined contribution plan."
       }
      }
     },
     "auth_ref": [
      "r430",
      "r431"
     ]
    },
    "us-gaap_DelayedDrawTermLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DelayedDrawTermLoanMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Delayed Draw Term Loans",
        "label": "Delayed Draw Term Loan (DDTL) [Member]",
        "documentation": "Term loan allowing borrower to withdraw predefined amount of preapproved loan within predetermined period."
       }
      }
     },
     "auth_ref": [
      "r1462",
      "r1463"
     ]
    },
    "dei_DelayedOrContinuousOffering": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DelayedOrContinuousOffering",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Delayed or Continuous Offering"
       }
      }
     },
     "auth_ref": [
      "r1101",
      "r1102",
      "r1181"
     ]
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepreciationDepletionAndAmortization",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Depreciation and amortization",
        "label": "Depreciation, Depletion and Amortization",
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r164",
      "r223",
      "r236",
      "r246",
      "r977",
      "r989",
      "r990"
     ]
    },
    "us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DilutiveSecuritiesEffectOnBasicEarningsPerShareOther",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails": {
       "parentTag": "us-gaap_NetIncomeLossAttributableToParentDiluted",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment for interest and amortization on 2029 Convertible Notes",
        "label": "Dilutive Securities, Effect on Basic Earnings Per Share, Dilutive Convertible Securities",
        "documentation": "Amount of increase (decrease) to net income used for calculating diluted earnings per share (EPS), resulting from the assumed exercise of dilutive convertible securities excluding adjustments related to ESOP convertible preferred stock, stock options, and restrictive stock units."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "STOCK BASED COMPENSATION PLANS",
        "label": "Share-Based Payment Arrangement [Text Block]",
        "documentation": "The entire disclosure for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r433",
      "r437",
      "r468",
      "r469",
      "r472",
      "r1013"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DistributableEarningsTaxBasis": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DistributableEarningsTaxBasis",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Components of distributable earnings at year-end",
        "label": "Distributable Earnings, Tax Basis",
        "documentation": "Distributable Earnings, Tax Basis"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_DistributionSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DistributionSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distribution",
        "label": "Distribution Sector [Member]",
        "documentation": "Distribution Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cef_DistributionServicingFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "DistributionServicingFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution/Servicing Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "cswc_DistributionsInKindReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DistributionsInKindReceived",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distributions in kind received",
        "label": "Distributions In Kind Received",
        "documentation": "Distributions In Kind Received"
       }
      }
     },
     "auth_ref": []
    },
    "cef_DistributionsMayReducePrincipalTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "DistributionsMayReducePrincipalTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distributions May Reduce Principal [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1111"
     ]
    },
    "cef_DividendAndInterestExpensesOnShortSalesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "DividendAndInterestExpensesOnShortSalesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend and Interest Expenses on Short Sales [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "us-gaap_DividendAndInterestReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendAndInterestReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends and interest",
        "label": "Dividend and Interest Receivable",
        "documentation": "Amount of dividend and interest receivable from investment."
       }
      }
     },
     "auth_ref": [
      "r793",
      "r848",
      "r1060"
     ]
    },
    "cef_DividendExpenseOnPreferredSharesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "DividendExpenseOnPreferredSharesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Expenses on Preferred Shares [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "us-gaap_DividendIncomeOperatingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendIncomeOperatingAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend income:",
        "label": "Dividend Income, Operating [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendIncomeOperatingPaidInCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendIncomeOperatingPaidInCash",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend income",
        "label": "Dividend Income, Operating, Paid in Cash",
        "documentation": "Amount of dividend income from investment paid in cash, classified as operating."
       }
      }
     },
     "auth_ref": [
      "r811",
      "r924",
      "r927"
     ]
    },
    "dei_DividendOrInterestReinvestmentPlanOnly": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DividendOrInterestReinvestmentPlanOnly",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend or Interest Reinvestment Plan Only"
       }
      }
     },
     "auth_ref": [
      "r1101",
      "r1102",
      "r1181"
     ]
    },
    "cswc_DividendPaymentRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DividendPaymentRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Payment Risk [Member]",
        "documentation": "Dividend Payment Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cef_DividendReinvestmentAndCashPurchaseFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "DividendReinvestmentAndCashPurchaseFees",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Reinvestment and Cash Purchase Fees"
       }
      }
     },
     "auth_ref": [
      "r1127"
     ]
    },
    "cswc_DividendRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DividendRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Risk [Member]",
        "documentation": "Dividend Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends [Axis]",
        "label": "Dividends [Axis]",
        "documentation": "Information by event wherein earnings are distributed to shareholder."
       }
      }
     },
     "auth_ref": [
      "r1340",
      "r1341"
     ]
    },
    "us-gaap_DividendsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends [Domain]",
        "label": "Dividends [Domain]",
        "documentation": "Event wherein earnings are distributed to shareholder."
       }
      }
     },
     "auth_ref": [
      "r1340",
      "r1341"
     ]
    },
    "dei_DocumentAnnualReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentAnnualReport",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report",
        "documentation": "Boolean flag that is true only for a form used as an annual report."
       }
      }
     },
     "auth_ref": [
      "r1066",
      "r1067",
      "r1090"
     ]
    },
    "dei_DocumentFinStmtErrorCorrectionFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFinStmtErrorCorrectionFlag",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Financial Statement Error Correction [Flag]",
        "terseLabel": "Document Financial Statement Error Correction [Flag]",
        "documentation": "Indicates whether any of the financial statement period in the filing include a restatement due to error correction."
       }
      }
     },
     "auth_ref": [
      "r1066",
      "r1067",
      "r1090",
      "r1205"
     ]
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3. 1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentRegistrationStatement": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentRegistrationStatement",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Registration Statement",
        "documentation": "Boolean flag that is true only for a form used as a registration statement."
       }
      }
     },
     "auth_ref": [
      "r1061"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r1182"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "terseLabel": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentsIncorporatedByReferenceTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentsIncorporatedByReferenceTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Documents Incorporated by Reference [Text Block]",
        "terseLabel": "Documents Incorporated by Reference",
        "documentation": "Documents incorporated by reference."
       }
      }
     },
     "auth_ref": [
      "r1064"
     ]
    },
    "cswc_DowngradesToUSCreditRatingAutomaticSpendingCutsOrGovernmentShutdownRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "DowngradesToUSCreditRatingAutomaticSpendingCutsOrGovernmentShutdownRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Downgrades To U.S. Credit Rating, Automatic Spending Cuts, Or Government Shutdown Risk [Member]",
        "documentation": "Downgrades To U.S. Credit Rating, Automatic Spending Cuts, Or Government Shutdown Risk"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year",
        "label": "Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year [Member]"
       }
      }
     },
     "auth_ref": [
      "r1194"
     ]
    },
    "cswc_EDGEAUTONOMYHOLDINGSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EDGEAUTONOMYHOLDINGSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EDGE AUTONOMY HOLDINGS, LLC",
        "label": "EDGE AUTONOMY HOLDINGS, LLC [Member]",
        "documentation": "EDGE AUTONOMY HOLDINGS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ENSTOAINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ENSTOAINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ENSTOA, INC.",
        "label": "ENSTOA, INC. [Member]",
        "documentation": "ENSTOA, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_EXACTBORROWERLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EXACTBORROWERLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EXACT BORROWER, LLC",
        "label": "EXACT BORROWER, LLC [Member]",
        "documentation": "EXACT BORROWER, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Net increase in net assets from operations \u2013 basic (in usd per share)",
        "verboseLabel": "Basic earnings per common share (in usd per share)",
        "terseLabel": "Net investment income per share \u2013 basic (in usd per share)",
        "label": "Earnings Per Share, Basic",
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r143",
      "r162",
      "r192",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r204",
      "r207",
      "r214",
      "r217",
      "r218",
      "r222",
      "r354",
      "r473",
      "r515",
      "r518",
      "r538",
      "r539",
      "r668",
      "r695",
      "r982"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net increase in net assets from operations - diluted (in usd per share)",
        "verboseLabel": "Diluted earnings per common share (in usd per share)",
        "label": "Earnings Per Share, Diluted",
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r143",
      "r162",
      "r192",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r207",
      "r214",
      "r217",
      "r218",
      "r222",
      "r354",
      "r473",
      "r515",
      "r518",
      "r538",
      "r539",
      "r668",
      "r695",
      "r982"
     ]
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHARE"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EARNINGS PER SHARE",
        "label": "Earnings Per Share [Text Block]",
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r203",
      "r219",
      "r220",
      "r221"
     ]
    },
    "cswc_EarnoutMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EarnoutMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnout",
        "label": "Earnout [Member]",
        "documentation": "Earnout"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_EducationSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EducationSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Education",
        "label": "Education Sector [Member]",
        "documentation": "Education Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_EffectOfGlobalClimateChangeRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EffectOfGlobalClimateChangeRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effect Of Global Climate Change Risk [Member]",
        "documentation": "Effect Of Global Climate Change Risk"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EffectiveAfter60Days486a": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EffectiveAfter60Days486a",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective after 60 Days, 486(a)"
       }
      }
     },
     "auth_ref": [
      "r1253"
     ]
    },
    "cswc_EffectiveAllocationAndManagementOfCapitalRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EffectiveAllocationAndManagementOfCapitalRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Allocation And Management Of Capital Risk [Member]",
        "documentation": "Effective Allocation And Management Of Capital Risk"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EffectiveOnDate486a": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EffectiveOnDate486a",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(a)"
       }
      }
     },
     "auth_ref": [
      "r1253"
     ]
    },
    "dei_EffectiveOnDate486b": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EffectiveOnDate486b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(b)"
       }
      }
     },
     "auth_ref": [
      "r1254"
     ]
    },
    "dei_EffectiveOnSetDate486a": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EffectiveOnSetDate486a",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(a)"
       }
      }
     },
     "auth_ref": [
      "r1253"
     ]
    },
    "dei_EffectiveOnSetDate486b": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EffectiveOnSetDate486b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(b)"
       }
      }
     },
     "auth_ref": [
      "r1254"
     ]
    },
    "dei_EffectiveUponFiling462e": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EffectiveUponFiling462e",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Upon Filing, 462(e)"
       }
      }
     },
     "auth_ref": [
      "r1252"
     ]
    },
    "dei_EffectiveUponFiling486b": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EffectiveUponFiling486b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective upon Filing, 486(b)"
       }
      }
     },
     "auth_ref": [
      "r1254"
     ]
    },
    "dei_EffectiveWhenDeclaredSection8c": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EffectiveWhenDeclaredSection8c",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective when Declared, Section 8(c)"
       }
      }
     },
     "auth_ref": [
      "r1256"
     ]
    },
    "cef_EffectsOfLeveragePurposeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "EffectsOfLeveragePurposeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage, Purpose [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1159"
     ]
    },
    "cef_EffectsOfLeverageTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "EffectsOfLeverageTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1159"
     ]
    },
    "cef_EffectsOfLeverageTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "EffectsOfLeverageTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1156"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted-average vesting period",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r471"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-vested restricted stock awards",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount",
        "documentation": "Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options."
       }
      }
     },
     "auth_ref": [
      "r1373"
     ]
    },
    "us-gaap_EmployeeStockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeStockOptionMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Employee Stock Option",
        "label": "Share-Based Payment Arrangement, Option [Member]",
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time."
       }
      }
     },
     "auth_ref": [
      "r1346",
      "r1347",
      "r1348",
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354",
      "r1355",
      "r1356",
      "r1358",
      "r1359",
      "r1360",
      "r1361",
      "r1362",
      "r1363",
      "r1364",
      "r1365",
      "r1366",
      "r1367",
      "r1368",
      "r1369",
      "r1370",
      "r1371",
      "r1372"
     ]
    },
    "cswc_EnergyServicesMidstreamSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EnergyServicesMidstreamSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Energy Services",
        "label": "Energy Services (Midstream) Sector [Member]",
        "documentation": "Energy Services (Midstream) Sector"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine2": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressAddressLine2",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line Two",
        "terseLabel": "Entity Address, Address Line Two",
        "documentation": "Address Line 2 such as Street or Suite number"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine3": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressAddressLine3",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line Three",
        "documentation": "Address Line 3 such as an Office Park"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressStateOrProvince": {
     "xbrltype": "stateOrProvinceItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressStateOrProvince",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province",
        "documentation": "Name of the state or province."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressesAddressTypeAxis",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Addresses, Address Type [Axis]",
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r1063"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding",
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status",
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "terseLabel": "Entity [Domain]",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r1063"
     ]
    },
    "dei_EntityExTransitionPeriod": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityExTransitionPeriod",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Ex Transition Period",
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards."
       }
      }
     },
     "auth_ref": [
      "r1255"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Securities Act File Number",
        "terseLabel": "Entity File Number",
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category",
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": [
      "r1063"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current",
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files)."
       }
      }
     },
     "auth_ref": [
      "r1246"
     ]
    },
    "dei_EntityInvCompanyType": {
     "xbrltype": "invCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityInvCompanyType",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Inv Company Type",
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product)."
       }
      }
     },
     "auth_ref": [
      "r1245"
     ]
    },
    "dei_EntityPublicFloat": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityPublicFloat",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Public Float",
        "terseLabel": "Entity Public Float",
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r1063"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r1063"
     ]
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business",
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC)."
       }
      }
     },
     "auth_ref": [
      "r1063"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r1063"
     ]
    },
    "dei_EntityVoluntaryFilers": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityVoluntaryFilers",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityWellKnownSeasonedIssuer",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A."
       }
      }
     },
     "auth_ref": [
      "r1247"
     ]
    },
    "cswc_EnvironmentalServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EnvironmentalServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Environmental Services",
        "label": "Environmental Services Sector [Member]",
        "documentation": "Environmental Services Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_EnvironmentalSocialAndGovernanceRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EnvironmentalSocialAndGovernanceRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Environmental, Social And Governance Risk [Member]",
        "documentation": "Environmental, Social And Governance Risk"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_EqtyAwrdsAdjFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Awards Adjustments, Footnote",
        "label": "Equity Awards Adjustments, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1188"
     ]
    },
    "ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Awards Adjustments, Excluding Value Reported in Compensation Table",
        "label": "Equity Awards Adjustments, Excluding Value Reported in the Compensation Table [Member]"
       }
      }
     },
     "auth_ref": [
      "r1241"
     ]
    },
    "ecd_EqtyAwrdsAdjsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Awards Adjustments",
        "label": "Equity Awards Adjustments [Member]"
       }
      }
     },
     "auth_ref": [
      "r1241"
     ]
    },
    "ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsInSummryCompstnTblForAplblYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table",
        "label": "Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table [Member]"
       }
      }
     },
     "auth_ref": [
      "r1241"
     ]
    },
    "cswc_EquityATMProgramMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EquityATMProgramMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity ATM Program",
        "label": "Equity ATM Program [Member]",
        "documentation": "Equity ATM Program"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityClassOfTreasuryStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityClassOfTreasuryStockLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity, Class of Treasury Stock [Line Items]",
        "label": "Equity, Class of Treasury Stock [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Component [Domain]",
        "label": "Equity Component [Domain]",
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r141",
      "r142",
      "r143",
      "r158",
      "r159",
      "r160",
      "r187",
      "r188",
      "r189",
      "r191",
      "r198",
      "r200",
      "r202",
      "r225",
      "r286",
      "r287",
      "r296",
      "r353",
      "r382",
      "r473",
      "r504",
      "r505",
      "r512",
      "r513",
      "r514",
      "r516",
      "r517",
      "r518",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r537",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r578",
      "r579",
      "r587",
      "r690",
      "r702",
      "r703",
      "r704",
      "r743",
      "r841"
     ]
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "EquityMethodInvesteeNameDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Name [Domain]",
        "label": "Investment, Name [Domain]",
        "documentation": "Name of investment including named security. Excludes entity that is consolidated."
       }
      }
     },
     "auth_ref": [
      "r282",
      "r283",
      "r284",
      "r511",
      "r567",
      "r1258",
      "r1259",
      "r1260",
      "r1382",
      "r1383",
      "r1384",
      "r1385"
     ]
    },
    "us-gaap_EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of equity interest",
        "label": "Equity Ownership, Excluding Consolidated Entity and Equity Method Investee, Percentage",
        "documentation": "Percentage of ownership of equity interest excluding interest in entity that is consolidated and equity method investee."
       }
      }
     },
     "auth_ref": [
      "r1261"
     ]
    },
    "us-gaap_EquitySecuritiesByIndustryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquitySecuritiesByIndustryAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industry Sector [Axis]",
        "label": "Industry Sector [Axis]",
        "documentation": "Information by industry sector, examples include but are not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate."
       }
      }
     },
     "auth_ref": [
      "r763",
      "r767",
      "r770",
      "r861",
      "r878",
      "r900",
      "r933",
      "r994",
      "r995",
      "r1020",
      "r1021",
      "r1023",
      "r1049"
     ]
    },
    "us-gaap_EquitySecuritiesIndustryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquitySecuritiesIndustryMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industry Sector [Domain]",
        "label": "Industry Sector [Domain]",
        "documentation": "Industry sector consisting of government, private and corporate entities engaged in business activities, including but not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate."
       }
      }
     },
     "auth_ref": [
      "r763",
      "r767",
      "r770",
      "r861",
      "r878",
      "r900",
      "r933",
      "r994",
      "r995",
      "r1020",
      "r1021",
      "r1023",
      "r1049"
     ]
    },
    "us-gaap_EquitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquitySecuritiesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Investments",
        "label": "Equity Securities [Member]",
        "documentation": "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants."
       }
      }
     },
     "auth_ref": [
      "r20",
      "r1034",
      "r1055",
      "r1056",
      "r1057",
      "r1497"
     ]
    },
    "ecd_EquityValuationAssumptionDifferenceFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EquityValuationAssumptionDifferenceFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Valuation Assumption Difference, Footnote",
        "label": "Equity Valuation Assumption Difference, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1198"
     ]
    },
    "ecd_ErrCompAnalysisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ErrCompAnalysisTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Erroneous Compensation Analysis",
        "label": "Erroneous Compensation Analysis [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1083",
      "r1094",
      "r1174",
      "r1209"
     ]
    },
    "ecd_ErrCompRecoveryTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ErrCompRecoveryTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Erroneously Awarded Compensation Recovery",
        "label": "Erroneously Awarded Compensation Recovery [Table]"
       }
      }
     },
     "auth_ref": [
      "r1080",
      "r1091",
      "r1171",
      "r1206"
     ]
    },
    "us-gaap_EscrowDeposit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EscrowDeposit",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Escrow",
        "label": "Escrow Deposit",
        "documentation": "The designation of funds furnished by a borrower to a lender to assure future payments of the borrower's real estate taxes and insurance obligations with respect to a mortgaged property. Escrow deposits may be made for a variety of other purposes such as earnest money and contingent payments. This element excludes replacement reserves which are an escrow separately provided for within the US GAAP taxonomy."
       }
      }
     },
     "auth_ref": [
      "r86",
      "r958"
     ]
    },
    "cswc_EscrowReceivablePolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "EscrowReceivablePolicyPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Escrow Receivable",
        "label": "Escrow Receivable Policy [Policy Text Block]",
        "documentation": "Escrow Receivable Policy"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ExciseAndSalesTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ExciseAndSalesTaxes",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Excise tax",
        "label": "Excise and Sales Taxes",
        "documentation": "The amount of excise and sales taxes included in sales and revenues, which are then deducted as a cost of sales. Includes excise taxes, which are applied to specific types of transactions or items (such as gasoline or alcohol); and sales, use and value added taxes, which are applied to a broad class of revenue-producing transactions involving a wide range of goods and services."
       }
      }
     },
     "auth_ref": [
      "r161"
     ]
    },
    "ecd_ExecutiveCategoryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ExecutiveCategoryAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Executive Category:",
        "label": "Executive Category [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1204"
     ]
    },
    "dei_ExhibitsOnly462d": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "ExhibitsOnly462d",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d)"
       }
      }
     },
     "auth_ref": [
      "r1251"
     ]
    },
    "dei_ExhibitsOnly462dFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "ExhibitsOnly462dFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d), File Number"
       }
      }
     },
     "auth_ref": [
      "r1251"
     ]
    },
    "cef_ExpenseExampleTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ExpenseExampleTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1127"
     ]
    },
    "cef_ExpenseExampleYear01": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ExpenseExampleYear01",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Year 01"
       }
      }
     },
     "auth_ref": [
      "r1134"
     ]
    },
    "cef_ExpenseExampleYears1to10": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ExpenseExampleYears1to10",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 10"
       }
      }
     },
     "auth_ref": [
      "r1134"
     ]
    },
    "cef_ExpenseExampleYears1to3": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ExpenseExampleYears1to3",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 3"
       }
      }
     },
     "auth_ref": [
      "r1134"
     ]
    },
    "cef_ExpenseExampleYears1to5": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ExpenseExampleYears1to5",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 5"
       }
      }
     },
     "auth_ref": [
      "r1134"
     ]
    },
    "cswc_ExpirationPeriodAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ExpirationPeriodAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expiration Period [Axis]",
        "label": "Expiration Period [Axis]",
        "documentation": "Expiration Period"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ExpirationPeriodDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ExpirationPeriodDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expiration Period [Domain]",
        "label": "Expiration Period [Domain]",
        "documentation": "Expiration Period [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ExpirationTrancheAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ExpirationTrancheAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expiration Tranche [Axis]",
        "label": "Expiration Tranche [Axis]",
        "documentation": "Expiration Tranche"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ExpirationTrancheDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ExpirationTrancheDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expiration Tranche [Domain]",
        "label": "Expiration Tranche [Domain]",
        "documentation": "Expiration Tranche [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ExpirationTrancheOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ExpirationTrancheOneMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "February 2027",
        "label": "Expiration Tranche One [Member]",
        "documentation": "Expiration Tranche One"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ExpirationTrancheThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ExpirationTrancheThreeMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "April 2027",
        "label": "Expiration Tranche Three [Member]",
        "documentation": "Expiration Tranche Three"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ExpirationTrancheTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ExpirationTrancheTwoMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 2027",
        "label": "Expiration Tranche Two [Member]",
        "documentation": "Expiration Tranche Two"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FOODPHARMASUBSIDIARYHOLDINGSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FOODPHARMASUBSIDIARYHOLDINGSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FOOD PHARMA SUBSIDIARY HOLDINGS, LLC",
        "label": "FOOD PHARMA SUBSIDIARY HOLDINGS, LLC [Member]",
        "documentation": "FOOD PHARMA SUBSIDIARY HOLDINGS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FSVECTORLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FSVECTORLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FS VECTOR LLC",
        "label": "FS VECTOR LLC [Member]",
        "documentation": "FS VECTOR LLC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r542",
      "r543",
      "r544",
      "r1016",
      "r1017",
      "r1023"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis."
       }
      }
     },
     "auth_ref": [
      "r542",
      "r543",
      "r544",
      "r1016",
      "r1017",
      "r1023"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Valuation Techniques and Significant Level 3 Inputs",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis."
       }
      }
     },
     "auth_ref": [
      "r542",
      "r543",
      "r1023"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "YTD Unrealized Appreciation (Depreciation) on Investments held at period end",
        "label": "Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss)",
        "documentation": "Amount of unrealized gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3) and still held."
       }
      }
     },
     "auth_ref": [
      "r550",
      "r556",
      "r1021",
      "r1022"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Investment Portfolio by Level",
        "label": "Fair Value, Assets Measured on Recurring Basis [Table Text Block]",
        "documentation": "Tabular disclosure of assets, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3)."
       }
      }
     },
     "auth_ref": [
      "r1392",
      "r1393"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Class [Domain]",
        "label": "Asset Class [Domain]",
        "documentation": "Class of asset."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r556",
      "r971",
      "r1021",
      "r1030"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r556",
      "r1021"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "documentation": "Disclosure of information about financial instrument asset measured at fair value on recurring basis using unobservable input."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r556",
      "r1021"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Changes in Fair Value of Investments Measured Using Level 3 Inputs",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r550",
      "r556",
      "r1021"
     ]
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r563",
      "r564",
      "r565",
      "r971",
      "r1030",
      "r1402"
     ]
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByAssetClassAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Class [Axis]",
        "label": "Asset Class [Axis]",
        "documentation": "Information by class of asset."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r556",
      "r971",
      "r1021",
      "r1030"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByBalanceSheetGroupingTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, by Balance Sheet Grouping [Table]",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities."
       }
      }
     },
     "auth_ref": [
      "r563",
      "r565",
      "r971",
      "r1030",
      "r1400",
      "r1402"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient."
       }
      }
     },
     "auth_ref": [
      "r337",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r414",
      "r415",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r553",
      "r555",
      "r557",
      "r563",
      "r602",
      "r603",
      "r604",
      "r971",
      "r998",
      "r999",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1020",
      "r1023",
      "r1030"
     ]
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FAIR VALUE MEASUREMENTS",
        "label": "Fair Value Disclosures [Text Block]",
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information."
       }
      }
     },
     "auth_ref": [
      "r542",
      "r549",
      "r551",
      "r552",
      "r553",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r667",
      "r1020",
      "r1024"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Quoted Prices in Active Markets for Identical Assets (Level\u00a01)",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date."
       }
      }
     },
     "auth_ref": [
      "r337",
      "r391",
      "r396",
      "r414",
      "r541",
      "r555",
      "r563",
      "r602",
      "r971",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1020",
      "r1030"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Significant Other Observable Inputs (Level\u00a02)",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets."
       }
      }
     },
     "auth_ref": [
      "r337",
      "r391",
      "r396",
      "r414",
      "r416",
      "r541",
      "r542",
      "r555",
      "r563",
      "r603",
      "r971",
      "r998",
      "r999",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1020",
      "r1030"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Significant Unobservable Inputs (Level\u00a03)",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r337",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r414",
      "r415",
      "r541",
      "r542",
      "r543",
      "r544",
      "r555",
      "r563",
      "r604",
      "r971",
      "r998",
      "r999",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1020",
      "r1023",
      "r1030"
     ]
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Measurements",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetConversionOrReclassificationOfSecurity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetConversionOrReclassificationOfSecurity",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conversion/Exchange of Security",
        "label": "Fair Value, Measurement With Unobservable Inputs Reconciliation, Recurring Basis, Asset, Conversion Or Reclassification Of Security",
        "documentation": "Fair Value, Measurement With Unobservable Inputs Reconciliation, Recurring Basis, Asset, Conversion Or Reclassification Of Security"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized &amp; Unrealized Gains (Losses)",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r546",
      "r556",
      "r1021",
      "r1022"
     ]
    },
    "cswc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPaidInKindInterestCapitalized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPaidInKindInterestCapitalized",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PIK Interest Capitalized",
        "label": "Fair Value, Measurement With Unobservable Inputs Reconciliation, Recurring Basis, Asset, Paid-in-Kind Interest Capitalized",
        "documentation": "Fair Value, Measurement With Unobservable Inputs Reconciliation, Recurring Basis, Asset, Paid-in-Kind Interest Capitalized"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchases of Investments",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r548",
      "r554",
      "r556",
      "r1021"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Divestitures",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales",
        "documentation": "Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r548",
      "r556",
      "r1021"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Repayments",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Settlements",
        "documentation": "Amount of settlement of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r548",
      "r556",
      "r1021"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Fair value, beginning balance",
        "periodEndLabel": "Fair value. ending balance",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r556",
      "r1021"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value."
       }
      }
     },
     "auth_ref": [
      "r337",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r414",
      "r415",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r553",
      "r555",
      "r557",
      "r563",
      "r602",
      "r603",
      "r604",
      "r971",
      "r998",
      "r999",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1020",
      "r1023",
      "r1030"
     ]
    },
    "cswc_FairValueValuationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FairValueValuationRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Valuation Risk [Member]",
        "documentation": "Fair Value Valuation Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FederalIncomeTaxNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FederalIncomeTaxNoteTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Net Assets Resulting from Operations to Estimated RIC Taxable Income",
        "label": "Federal Income Tax Note [Table Text Block]",
        "documentation": "Tabular disclosure of the federal tax basis of investment holdings. This item captures the aggregate cost of securities, aggregate gross unrealized appreciation for all securities in which there is an excess of value over tax cost, aggregate gross unrealized depreciation for all securities in which there is an excess of tax cost over value, net unrealized appreciation (depreciation), and an explanation of the differences between tax and book."
       }
      }
     },
     "auth_ref": [
      "r1460"
     ]
    },
    "us-gaap_FeeIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FeeIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fee income",
        "label": "Fee Income",
        "documentation": "Amount of fee income including, but not limited to, managerial assistance, servicing of investment, and origination and commitment fees."
       }
      }
     },
     "auth_ref": [
      "r1490"
     ]
    },
    "cswc_FeeIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FeeIncomeAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fee income:",
        "label": "Fee Income [Abstract]",
        "documentation": "Fee Income"
       }
      }
     },
     "auth_ref": []
    },
    "cef_FeeTableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "FeeTableAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Table [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r1127"
     ]
    },
    "cswc_FinancialCommitmentYearFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FinancialCommitmentYearFiveMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2030",
        "label": "Financial Commitment Year Five [Member]",
        "documentation": "Financial Commitment Year Five"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FinancialCommitmentYearFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FinancialCommitmentYearFourMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2029",
        "label": "Financial Commitment Year Four [Member]",
        "documentation": "Financial Commitment Year Four"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FinancialCommitmentYearOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FinancialCommitmentYearOneMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2026",
        "label": "Financial Commitment Year One [Member]",
        "documentation": "Financial Commitment Year One"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FinancialCommitmentYearSevenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FinancialCommitmentYearSevenMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2032",
        "label": "Financial Commitment Year Seven [Member]",
        "documentation": "Financial Commitment Year Seven"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FinancialCommitmentYearSixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FinancialCommitmentYearSixMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2031",
        "label": "Financial Commitment Year Six [Member]",
        "documentation": "Financial Commitment Year Six"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FinancialCommitmentYearThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FinancialCommitmentYearThreeMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2028",
        "label": "Financial Commitment Year Three [Member]",
        "documentation": "Financial Commitment Year Three"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FinancialCommitmentYearTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FinancialCommitmentYearTwoMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2027",
        "label": "Financial Commitment Year Two [Member]",
        "documentation": "Financial Commitment Year Two"
       }
      }
     },
     "auth_ref": []
    },
    "cef_FinancialHighlightsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "FinancialHighlightsAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Highlights [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r1142"
     ]
    },
    "us-gaap_FinancialInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instrument [Axis]",
        "label": "Financial Instrument [Axis]",
        "documentation": "Information by type of financial instrument."
       }
      }
     },
     "auth_ref": [
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r288",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r348",
      "r379",
      "r524",
      "r535",
      "r562",
      "r566",
      "r568",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r616",
      "r617",
      "r618",
      "r619",
      "r620",
      "r621",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627",
      "r628",
      "r629",
      "r630",
      "r676",
      "r691",
      "r996",
      "r1020",
      "r1021",
      "r1023",
      "r1024",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1034",
      "r1264",
      "r1265",
      "r1266",
      "r1267",
      "r1268",
      "r1269",
      "r1270",
      "r1318",
      "r1319",
      "r1320",
      "r1321",
      "r1391",
      "r1394",
      "r1395",
      "r1396",
      "r1397",
      "r1398",
      "r1399",
      "r1400"
     ]
    },
    "us-gaap_FinancialServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Services",
        "verboseLabel": "Financial Services",
        "label": "Financial Services Sector [Member]",
        "documentation": "Sector of the economy consisting of companies engaged in financial services."
       }
      }
     },
     "auth_ref": [
      "r1020",
      "r1049",
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "us-gaap_FinancialStandbyLetterOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialStandbyLetterOfCreditMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Letters of Credit Issued and Outstanding",
        "label": "Financial Standby Letter of Credit [Member]",
        "documentation": "An irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation if defined events occur or fail to occur."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialSupportCapitalContributionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialSupportCapitalContributionsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unfunded Equity Commitments",
        "label": "Financial Support, Capital Contributions [Member]",
        "documentation": "Assets contributed to an entity by a shareholder, partner or owner, increasing his or her equity interest in the entity. Excludes pari passu investments."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r1462",
      "r1463"
     ]
    },
    "us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialSupportToNonconsolidatedLegalEntityAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Support to Nonconsolidated Legal Entity [Axis]",
        "label": "Financial Support to Nonconsolidated Legal Entity [Axis]",
        "documentation": "Information by financial support arrangement provided to a nonconsolidated legal entity that is required to comply with or operate in accordance with requirements that are similar to those included in Rule 2a-7 of the Investment Company Act of 1940 for registered money market funds."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r733",
      "r734"
     ]
    },
    "us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialSupportToNonconsolidatedLegalEntityDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Support to Nonconsolidated Legal Entity [Domain]",
        "label": "Financial Support to Nonconsolidated Legal Entity [Domain]",
        "documentation": "Financial support arrangement provided to a nonconsolidated legal entity that is required to comply with or operate in accordance with requirements that are similar to those included in Rule 2a-7 of the Investment Company Act of 1940 for registered money market funds."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r733",
      "r734"
     ]
    },
    "cswc_FirstLienLoansLastOutMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FirstLienLoansLastOutMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "First Lien Loans, Last Out",
        "label": "First Lien Loans, Last Out [Member]",
        "documentation": "First Lien Loans, Last Out"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FirstLienLoansSplitLienTermLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FirstLienLoansSplitLienTermLoansMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "First Lien Loans, Split Lien Term Loans",
        "label": "First Lien Loans, Split Lien Term Loans [Member]",
        "documentation": "First Lien Loans, Split Lien Term Loans"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_FoodAgricultureAndBeverageSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FoodAgricultureAndBeverageSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Food, Agriculture &amp; Beverage",
        "label": "Food, Agriculture And Beverage Sector [Member]",
        "documentation": "Food, Agriculture &amp; Beverage Sector"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forgone Recovery due to Disqualification of Tax Benefits, Amount",
        "label": "Forgone Recovery due to Disqualification of Tax Benefits, Amount"
       }
      }
     },
     "auth_ref": [
      "r1087",
      "r1098",
      "r1178",
      "r1213"
     ]
    },
    "ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToExpenseOfEnforcementAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forgone Recovery due to Expense of Enforcement, Amount",
        "label": "Forgone Recovery due to Expense of Enforcement, Amount"
       }
      }
     },
     "auth_ref": [
      "r1087",
      "r1098",
      "r1178",
      "r1213"
     ]
    },
    "ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToViolationOfHomeCountryLawAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forgone Recovery due to Violation of Home Country Law, Amount",
        "label": "Forgone Recovery due to Violation of Home Country Law, Amount"
       }
      }
     },
     "auth_ref": [
      "r1087",
      "r1098",
      "r1178",
      "r1213"
     ]
    },
    "ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryExplanationOfImpracticabilityTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forgone Recovery, Explanation of Impracticability",
        "label": "Forgone Recovery, Explanation of Impracticability [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1087",
      "r1098",
      "r1178",
      "r1213"
     ]
    },
    "ecd_ForgoneRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Name",
        "label": "Forgone Recovery, Individual Name"
       }
      }
     },
     "auth_ref": [
      "r1087",
      "r1098",
      "r1178",
      "r1213"
     ]
    },
    "ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year",
        "label": "Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year [Member]"
       }
      }
     },
     "auth_ref": [
      "r1193"
     ]
    },
    "cswc_FutureRealizedLossesRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "FutureRealizedLossesRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Future Realized Losses Risk [Member]",
        "documentation": "Future Realized Losses Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_GAINSINTERMEDIATELLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "GAINSINTERMEDIATELLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GAINS INTERMEDIATE, LLC",
        "label": "GAINS INTERMEDIATE, LLC [Member]",
        "documentation": "GAINS INTERMEDIATE, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_GPTINDUSTRIESLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "GPTINDUSTRIESLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GPT INDUSTRIES, LLC",
        "label": "GPT INDUSTRIES, LLC [Member]",
        "documentation": "GPT INDUSTRIES, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_GRAMMATECHINCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "GRAMMATECHINCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GRAMMATECH, INC.",
        "label": "GRAMMATECH, INC, Equity Investments [Member]",
        "documentation": "GRAMMATECH, INC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_GRAMMATECHINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "GRAMMATECHINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GRAMMATECH, INC.",
        "label": "GRAMMATECH, INC [Member]",
        "documentation": "GRAMMATECH, INC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_GRAVITIQLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "GRAVITIQLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GRAVITIQ LLC",
        "label": "GRAVITIQ LLC [Member]",
        "documentation": "GRAVITIQ LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_GUARDIANFLEETSERVICESINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "GUARDIANFLEETSERVICESINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GUARDIAN FLEET SERVICES, INC.",
        "label": "GUARDIAN FLEET SERVICES, INC. [Member]",
        "documentation": "GUARDIAN FLEET SERVICES, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_GULFPACIFICACQUISITIONLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "GULFPACIFICACQUISITIONLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GULF PACIFIC ACQUISITION, LLC",
        "label": "GULF PACIFIC ACQUISITION, LLC [Member]",
        "documentation": "GULF PACIFIC ACQUISITION, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainContingenciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainContingenciesLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gain Contingencies [Line Items]",
        "label": "Gain Contingencies [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r1329"
     ]
    },
    "us-gaap_GainContingenciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainContingenciesTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gain Contingencies [Table]",
        "label": "Gain Contingencies [Table]",
        "documentation": "Disclosure of information about existing condition, situation, or set of circumstances involving uncertainty as to possible gain that will ultimately be resolved when one or more future events occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r1329"
     ]
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 22.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized loss on disposal of fixed assets",
        "negatedTerseLabel": "Realized loss on disposal of fixed assets",
        "label": "Gain (Loss) on Disposition of Property Plant Equipment",
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "us-gaap_GainsLossesOnExtinguishmentOfDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainsLossesOnExtinguishmentOfDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized loss on extinguishment of debt",
        "label": "Gain (Loss) on Extinguishment of Debt",
        "documentation": "Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r22",
      "r23"
     ]
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GeneralAndAdministrativeExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "General and administrative",
        "label": "General and Administrative Expense",
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line."
       }
      }
     },
     "auth_ref": [
      "r58",
      "r812"
     ]
    },
    "cef_GeneralDescriptionOfRegistrantAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "GeneralDescriptionOfRegistrantAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Description of Registrant [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r1153"
     ]
    },
    "us-gaap_GeographicConcentrationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GeographicConcentrationRiskMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Geographic",
        "label": "Geographic Concentration Risk [Member]",
        "documentation": "Reflects the percentage that a specified dollar value on the balance sheet or income statement in the period from one or more specified geographic areas is to a corresponding consolidated, segment, or product line amount. Risk is the materially adverse effects of economic decline or antagonistic political actions resulting in loss of assets, sales volume, labor supply, or source of materials and supplies in a US state or a specified country, continent, or region such as EMEA (Europe, Middle East, Africa)."
       }
      }
     },
     "auth_ref": [
      "r956",
      "r1314"
     ]
    },
    "us-gaap_GrossInvestmentIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GrossInvestmentIncomeOperating",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total investment income",
        "label": "Gross Investment Income, Operating",
        "documentation": "Amount, before investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments."
       }
      }
     },
     "auth_ref": [
      "r692",
      "r1058",
      "r1491"
     ]
    },
    "us-gaap_GuaranteeObligationsByNatureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GuaranteeObligationsByNatureAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Guarantor Obligations, Nature [Axis]",
        "label": "Guarantor Obligations, Nature [Axis]",
        "documentation": "Information by nature of guarantee."
       }
      }
     },
     "auth_ref": [
      "r308",
      "r309",
      "r310",
      "r311"
     ]
    },
    "us-gaap_GuaranteeObligationsCurrentCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GuaranteeObligationsCurrentCarryingValue",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Letters of credit drawn",
        "label": "Guarantor Obligations, Current Carrying Value",
        "documentation": "The current carrying amount of the liability for the freestanding or embedded guarantor's obligations under the guarantee or each group of similar guarantees."
       }
      }
     },
     "auth_ref": [
      "r310"
     ]
    },
    "us-gaap_GuaranteeObligationsMaximumExposure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GuaranteeObligationsMaximumExposure",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expiring letters of credit",
        "label": "Guarantor Obligations, Maximum Exposure, Undiscounted",
        "documentation": "Maximum potential amount of future payments (undiscounted) the guarantor could be required to make under the guarantee or each group of similar guarantees before reduction for potential recoveries under recourse or collateralization provisions."
       }
      }
     },
     "auth_ref": [
      "r309"
     ]
    },
    "us-gaap_GuaranteeObligationsNatureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GuaranteeObligationsNatureDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Guarantor Obligations, Nature [Domain]",
        "label": "Guarantor Obligations, Nature [Domain]",
        "documentation": "Represents a description of the nature of the guarantee or each group of similar guarantees."
       }
      }
     },
     "auth_ref": [
      "r308",
      "r309",
      "r310",
      "r311"
     ]
    },
    "cswc_HEATTRAKLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "HEATTRAKLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "HEAT TRAK, LLC",
        "label": "HEAT TRAK, LLC [Member]",
        "documentation": "HEAT TRAK, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_HHINSPIREACQUISITIONINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "HHINSPIREACQUISITIONINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "HH-INSPIRE ACQUISITION, INC.",
        "label": "HH-INSPIRE ACQUISITION, INC. [Member]",
        "documentation": "HH-INSPIRE ACQUISITION, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_HealthcareEquipmentSuppliesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "HealthcareEquipmentSuppliesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Healthcare Equipment &amp; Supplies",
        "label": "Healthcare Equipment &amp; Supplies Sector [Member]",
        "documentation": "Healthcare Equipment &amp; Supplies Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_HealthcareLawsAndOtherRegulationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "HealthcareLawsAndOtherRegulationRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Healthcare Laws And Other Regulation Risk [Member]",
        "documentation": "Healthcare Laws And Other Regulation Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_HealthcareProductsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "HealthcareProductsSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Healthcare Products",
        "label": "Healthcare Products Sector [Member]",
        "documentation": "Healthcare Products Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_HealthcareServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "HealthcareServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Healthcare Services",
        "label": "Healthcare Services Sector [Member]",
        "documentation": "Healthcare Services Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cef_HighestPriceOrBid": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "HighestPriceOrBid",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid"
       }
      }
     },
     "auth_ref": [
      "r1160"
     ]
    },
    "cef_HighestPriceOrBidNav": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "HighestPriceOrBidNav",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, NAV"
       }
      }
     },
     "auth_ref": [
      "r1164"
     ]
    },
    "cef_HighestPriceOrBidPremiumDiscountToNavPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "HighestPriceOrBidPremiumDiscountToNavPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1165"
     ]
    },
    "cswc_IGNITEVISIBILITYLLCEquityInterestMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IGNITEVISIBILITYLLCEquityInterestMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "IGNITE VISIBILITY LLC",
        "label": "IGNITE VISIBILITY LLC, Equity Interest [Member]",
        "documentation": "IGNITE VISIBILITY LLC, Equity Interest"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_IGNITEVISIBILITYLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IGNITEVISIBILITYLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "IGNITE VISIBILITY LLC",
        "label": "IGNITE VISIBILITY LLC [Member]",
        "documentation": "IGNITE VISIBILITY LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_INDINEROGROUPINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "INDINEROGROUPINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "INDINERO GROUP, INC.",
        "label": "INDINERO GROUP, INC. [Member]",
        "documentation": "INDINERO GROUP, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_INSTITUTESOFHEALTHLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "INSTITUTESOFHEALTHLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "INSTITUTES OF HEALTH, LLC",
        "label": "INSTITUTES OF HEALTH, LLC [Member]",
        "documentation": "INSTITUTES OF HEALTH, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ISIENTERPRISESLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ISIENTERPRISESLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ISI ENTERPRISES, LLC",
        "label": "ISI ENTERPRISES, LLC [Member]",
        "documentation": "ISI ENTERPRISES, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ISIEnterprisesLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ISIEnterprisesLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ISI ENTERPRISES, LLC",
        "label": "ISI Enterprises, LLC, Equity Investments [Member]",
        "documentation": "ISI Enterprises, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ISLANDPUMPANDTANKLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ISLANDPUMPANDTANKLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ISLAND PUMP AND TANK, LLC",
        "label": "ISLAND PUMP AND TANK, LLC [Member]",
        "documentation": "ISLAND PUMP AND TANK, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ITAHOLDINGSGROUPLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ITAHOLDINGSGROUPLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ITA HOLDINGS GROUP, LLC",
        "label": "ITA HOLDINGS GROUP, LLC, Equity Investments [Member]",
        "documentation": "ITA HOLDINGS GROUP, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ITAHoldingsGroupLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ITAHoldingsGroupLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ITA HOLDINGS GROUP, LLC",
        "label": "ITA Holdings Group, LLC [Member]",
        "documentation": "ITA Holdings Group, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_IVUEITLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IVUEITLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "IVUEIT, LLC",
        "label": "IVUEIT, LLC [Member]",
        "documentation": "IVUEIT, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "dei_IcfrAuditorAttestationFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "IcfrAuditorAttestationFlag",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag",
        "terseLabel": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "auth_ref": [
      "r1066",
      "r1067",
      "r1090"
     ]
    },
    "cef_IncentiveAllocationMaximumPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "IncentiveAllocationMaximumPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Maximum [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1132"
     ]
    },
    "cef_IncentiveAllocationMinimumPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "IncentiveAllocationMinimumPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Minimum [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1132"
     ]
    },
    "cef_IncentiveAllocationPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "IncentiveAllocationPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1132"
     ]
    },
    "cef_IncentiveFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "IncentiveFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "us-gaap_IncomeApproachValuationTechniqueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeApproachValuationTechniqueMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Approach",
        "label": "Valuation, Income Approach [Member]",
        "documentation": "Valuation approach converting future amounts to single current discounted amount."
       }
      }
     },
     "auth_ref": [
      "r1016",
      "r1017",
      "r1018",
      "r1394",
      "r1395",
      "r1396"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerBasicShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeLossFromContinuingOperationsPerBasicShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net increase in net assets from operations per share - basic (in usd per share)",
        "label": "Income (Loss) from Continuing Operations, Per Basic Share",
        "documentation": "The amount of net income (loss) from continuing operations per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r56",
      "r97",
      "r143",
      "r162",
      "r190",
      "r192",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r207",
      "r214",
      "r217",
      "r354",
      "r515",
      "r518",
      "r539",
      "r668",
      "r1431"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeLossFromContinuingOperationsPerDilutedShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net increase in net assets from operations per share - diluted (in usd per share)",
        "label": "Income (Loss) from Continuing Operations, Per Diluted Share",
        "documentation": "The amount of net income (loss) derived from continuing operations during the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r56",
      "r143",
      "r162",
      "r190",
      "r192",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r207",
      "r214",
      "r217",
      "r218",
      "r518",
      "r539",
      "r668",
      "r1431"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxContingencyLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxContingencyLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Tax Contingency [Line Items]",
        "label": "Income Tax Contingency [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxContingencyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxContingencyTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Tax Contingency [Table]",
        "label": "Income Tax Contingency [Table]",
        "documentation": "Disclosure of information about tax positions taken in the tax returns filed or to be filed for which it is more likely than not that the tax position will not be sustained upon examination by taxing authorities and other income tax contingencies. Includes, but is not limited to, interest and penalties, reconciliation of unrecognized tax benefits, unrecognized tax benefits that would affect the effective tax rate, tax years that remain subject to examination by tax jurisdictions, and information about positions for which it is reasonably possible that amounts unrecognized will significantly change within 12 months."
       }
      }
     },
     "auth_ref": [
      "r1376"
     ]
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "INCOME TAXES",
        "label": "Income Tax Disclosure [Text Block]",
        "documentation": "The entire disclosure for income tax."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r181",
      "r485",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r500",
      "r506",
      "r508",
      "r509",
      "r510",
      "r675",
      "r708",
      "r732",
      "r1015"
     ]
    },
    "us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxExaminationPenaltiesAndInterestExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest or penalties expense",
        "label": "Income Tax Examination, Penalties and Interest Expense",
        "documentation": "The sum of the amounts of estimated penalties and interest recognized in the period arising from income tax examinations."
       }
      }
     },
     "auth_ref": [
      "r1376"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total income tax provision",
        "label": "Income Tax Expense (Benefit)",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r104",
      "r110",
      "r174",
      "r201",
      "r202",
      "r223",
      "r237",
      "r246",
      "r490",
      "r491",
      "r507",
      "r699",
      "r978",
      "r979",
      "r980",
      "r1015"
     ]
    },
    "cswc_IncomeTaxExpenseBenefitFromSubsidiaries": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IncomeTaxExpenseBenefitFromSubsidiaries",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tax (benefit) provision related to Taxable Subsidiary",
        "label": "Income Tax Expense (Benefit) From Subsidiaries",
        "documentation": "Income Tax Expense (Benefit) From Subsidiaries"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxPaidFederalAfterRefundReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxPaidFederalAfterRefundReceived",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofFederalandStateIncomeTaxesPaidDetails": {
       "parentTag": "us-gaap_IncomeTaxesPaidNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofFederalandStateIncomeTaxesPaidDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal",
        "label": "Income Tax Paid, Federal, after Refund Received",
        "documentation": "Amount, after income tax refund received, of cash paid to federal (national) tax jurisdiction for tax on income."
       }
      }
     },
     "auth_ref": [
      "r170",
      "r501"
     ]
    },
    "us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxPaidStateAndLocalAfterRefundReceived",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofFederalandStateIncomeTaxesPaidDetails": {
       "parentTag": "us-gaap_IncomeTaxesPaidNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofFederalandStateIncomeTaxesPaidDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "State",
        "label": "Income Tax Paid, State and Local, after Refund Received",
        "documentation": "Amount, after income tax refund received, of cash paid to state and local tax jurisdictions for tax on income."
       }
      }
     },
     "auth_ref": [
      "r170",
      "r501"
     ]
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal Income Taxes and Deferred Taxes",
        "label": "Income Tax, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements."
       }
      }
     },
     "auth_ref": [
      "r157",
      "r486",
      "r487",
      "r495",
      "r496",
      "r499",
      "r503",
      "r717"
     ]
    },
    "us-gaap_IncomeTaxReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income tax receivable",
        "label": "Income Taxes Receivable",
        "documentation": "Carrying amount as of the balance sheet date of income taxes previously overpaid to tax authorities (such as U.S. Federal, state and local tax authorities) representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes. Also called income tax refund receivable."
       }
      }
     },
     "auth_ref": [
      "r1276"
     ]
    },
    "us-gaap_IncomeTaxesPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxesPaid",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash paid for income taxes",
        "label": "Income Taxes Paid",
        "documentation": "Amount, before refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r67",
      "r1291",
      "r1378",
      "r1379"
     ]
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxesPaidNet",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofFederalandStateIncomeTaxesPaidDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofFederalandStateIncomeTaxesPaidDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Income Taxes Paid, Net",
        "documentation": "Amount, after refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r170",
      "r501",
      "r502"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInAccruedIncomeTaxesPayable",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "(Decrease) increase in taxes payable",
        "label": "Increase (Decrease) in Income Taxes Payable",
        "documentation": "The increase (decrease) during the period in the amount due for taxes based on the reporting entity's earnings or attributable to the entity's income earning process (business presence) within a given jurisdiction."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_IncreaseDecreaseInDepositOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInDepositOtherAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Decrease (increase) in escrow receivables",
        "label": "Increase (Decrease) in Deposit Assets",
        "documentation": "The increase (decrease) during the reporting period in moneys or securities given as security including, but not limited to, contract, escrow, or earnest money deposits, retainage (if applicable), deposits with clearing organizations and others, collateral, or margin deposits."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_IncreaseDecreaseInIncomeTaxesReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInIncomeTaxesReceivable",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "(Increase) decrease in tax receivable",
        "label": "Increase (Decrease) in Income Taxes Receivable",
        "documentation": "The increase (decrease) during the reporting period in income taxes receivable, which represents the amount due from tax authorities for refunds of overpayments or recoveries of income taxes paid."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInInterestAndDividendsReceivable",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 19.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Increase in dividend and interest receivable",
        "label": "Increase (Decrease) in Interest and Dividends Receivable",
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount due to the entity in the form of unpaid interest and dividends."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Decrease (increase) in other assets",
        "label": "Increase (Decrease) in Other Operating Assets",
        "documentation": "Amount of increase (decrease) in operating assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInOtherOperatingLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "(Decrease) increase in other liabilities",
        "label": "Increase (Decrease) in Other Operating Liabilities",
        "documentation": "Amount of increase (decrease) in operating liabilities classified as other."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_IncreaseDecreaseInOtherReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInOtherReceivables",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Decrease (increase) in other receivables",
        "label": "Increase (Decrease) in Other Receivables",
        "documentation": "Amount of increase (decrease) in receivables classified as other."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncrementalCommonSharesAttributableToConversionOfDebtSecurities",
     "calculation": {
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment for dilutive effect of 2029 Convertible Notes",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Conversion of Debt Securities",
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible debt securities using the if-converted method."
       }
      }
     },
     "auth_ref": [
      "r209",
      "r210",
      "r218"
     ]
    },
    "cswc_IndentureLimitedProtectionRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IndentureLimitedProtectionRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Indenture Limited Protection Risk [Member]",
        "documentation": "Indenture Limited Protection Risk"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_IndividualAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "IndividualAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Individual:",
        "label": "Individual [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1087",
      "r1098",
      "r1178",
      "r1204",
      "r1213",
      "r1217",
      "r1225"
     ]
    },
    "cswc_IndustrialMachinerySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IndustrialMachinerySectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industrial Machinery",
        "label": "Industrial Machinery Sector [Member]",
        "documentation": "Industrial Machinery Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_IndustrialProductsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IndustrialProductsSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industrial Products",
        "label": "Industrial Products Sector [Member]",
        "documentation": "Industrial Products Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_IndustrialServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IndustrialServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industrial Services",
        "label": "Industrial Services Sector [Member]",
        "documentation": "Industrial Services Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_IndustryConcentrationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "IndustryConcentrationRiskMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industry",
        "label": "Industry Concentration Risk [Member]",
        "documentation": "Industry Concentration Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InflationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InflationRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inflation Risk [Member]",
        "documentation": "Inflation Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InformationSystemsDependencyRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InformationSystemsDependencyRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Information Systems Dependency Risk [Member]",
        "documentation": "Information Systems Dependency Risk"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_InsiderTradingArrLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTradingArrLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Arrangements [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r1223"
     ]
    },
    "ecd_InsiderTradingPoliciesProcLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTradingPoliciesProcLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r1068",
      "r1229"
     ]
    },
    "ecd_InsiderTrdPoliciesProcAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTrdPoliciesProcAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Insider Trading Policies and Procedures Adopted",
        "label": "Insider Trading Policies and Procedures Adopted [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1068",
      "r1229"
     ]
    },
    "ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTrdPoliciesProcNotAdoptedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Insider Trading Policies and Procedures Not Adopted",
        "label": "Insider Trading Policies and Procedures Not Adopted [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1068",
      "r1229"
     ]
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestAndDividendIncomeOperating",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amount of Interest or Dividends Credited in Income",
        "label": "Interest and Dividend Income, Operating",
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein."
       }
      }
     },
     "auth_ref": [
      "r95",
      "r96",
      "r99",
      "r100",
      "r101",
      "r979",
      "r1510"
     ]
    },
    "cswc_InterestExpenseAndUnusedCommitmentFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InterestExpenseAndUnusedCommitmentFees",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails": {
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest expense and fees",
        "label": "Interest Expense And Unused Commitment Fees",
        "documentation": "Interest Expense And Unused Commitment Fees"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total interest and amortization of deferred financing costs",
        "label": "Interest Expense, Debt",
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r343",
      "r352",
      "r1000",
      "r1001",
      "r1484"
     ]
    },
    "us-gaap_InterestExpenseDebtExcludingAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseDebtExcludingAmortization",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails": {
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest expense",
        "label": "Interest Expense, Debt, Excluding Amortization",
        "documentation": "Represents the portion of interest incurred in the period on debt arrangements that was charged against earnings, excluding amortization of debt discount (premium) and financing costs."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r344",
      "r1000",
      "r1001"
     ]
    },
    "us-gaap_InterestExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseOperating",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest",
        "label": "Interest Expense, Operating",
        "documentation": "Amount of interest expense classified as operating."
       }
      }
     },
     "auth_ref": [
      "r235",
      "r669",
      "r979",
      "r1286"
     ]
    },
    "cef_InterestExpensesOnBorrowingsPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "InterestExpensesOnBorrowingsPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expenses on Borrowings [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1140"
     ]
    },
    "us-gaap_InterestIncomeOperatingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeOperatingAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest income:",
        "label": "Interest Income, Operating [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestIncomeOperatingPaidInCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeOperatingPaidInCash",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest income",
        "label": "Interest Income, Operating, Paid in Cash",
        "documentation": "Amount of interest income from investment paid in cash, classified as operating."
       }
      }
     },
     "auth_ref": [
      "r811",
      "r924",
      "r927"
     ]
    },
    "us-gaap_InterestIncomeOperatingPaidInKind": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeOperatingPaidInKind",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Payment-in-kind interest income",
        "label": "Interest Income, Operating, Paid in Kind",
        "documentation": "Amount of interest income from investment paid in kind, classified as operating."
       }
      }
     },
     "auth_ref": [
      "r811",
      "r924",
      "r927",
      "r929"
     ]
    },
    "cswc_InterestIncomePaidInKindAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InterestIncomePaidInKindAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Payment-in-kind interest income:",
        "label": "Interest Income, Paid-in-kind [Abstract]",
        "documentation": "Interest Income, Paid-in-kind"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash paid for interest",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activity",
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount."
       }
      }
     },
     "auth_ref": [
      "r166",
      "r168",
      "r169"
     ]
    },
    "cswc_InterestRateExposureRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InterestRateExposureRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Exposure Risk [Member]",
        "documentation": "Interest Rate Exposure Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestRateRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestRateRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Risk [Member]",
        "documentation": "The risk associated with changes in interest rates that effect the value of an interest-bearing asset or liability, and a servicing asset or liability."
       }
      }
     },
     "auth_ref": []
    },
    "cef_IntervalFundFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "IntervalFundFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interval Fund [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "us-gaap_InvestmentAffiliatedIssuerControlledMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentAffiliatedIssuerControlledMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Control investments",
        "label": "Investment, Affiliated Issuer, Controlled [Member]",
        "documentation": "Controlled affiliated issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r713",
      "r740",
      "r779",
      "r781",
      "r788",
      "r804",
      "r811",
      "r812",
      "r927"
     ]
    },
    "us-gaap_InvestmentAffiliatedIssuerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentAffiliatedIssuerMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Control &amp; Affiliate Investments",
        "label": "Investment, Affiliated Issuer [Member]",
        "documentation": "Affiliated issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r766",
      "r814",
      "r823",
      "r829",
      "r919",
      "r922",
      "r1464"
     ]
    },
    "us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentAffiliatedIssuerNoncontrolledMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Affiliate investments",
        "label": "Investment, Affiliated Issuer, Noncontrolled [Member]",
        "documentation": "Noncontrolled affiliated issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r713",
      "r740",
      "r780",
      "r782",
      "r789",
      "r804",
      "r811",
      "r812",
      "r907",
      "r918",
      "r919",
      "r921",
      "r922",
      "r926",
      "r927",
      "r931",
      "r932",
      "r933"
     ]
    },
    "us-gaap_InvestmentBasisSpreadVariableRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentBasisSpreadVariableRate",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable rate",
        "label": "Investment, Basis Spread, Variable Rate",
        "documentation": "Percentage added to reference rate used to compute variable rate on investment."
       }
      }
     },
     "auth_ref": [
      "r856",
      "r877",
      "r881",
      "r915"
     ]
    },
    "us-gaap_InvestmentCompanyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyAccretiveEffectOfShareIssuancesAndRepurchasesPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyAccretiveEffectOfShareIssuancesAndRepurchasesPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accretive (dilutive) effect of share issuances and repurchases (in usd per share)",
        "label": "Investment Company, Accretive Effect Of Share Issuances And Repurchases, Per Share",
        "documentation": "Investment Company, Accretive Effect Of Share Issuances And Repurchases, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "dei_InvestmentCompanyActFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "InvestmentCompanyActFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act File Number"
       }
      }
     },
     "auth_ref": [
      "r1102",
      "r1168",
      "r1169",
      "r1170"
     ]
    },
    "dei_InvestmentCompanyActRegistration": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "InvestmentCompanyActRegistration",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act Registration"
       }
      }
     },
     "auth_ref": [
      "r1183"
     ]
    },
    "cswc_InvestmentCompanyChangeInRestorationPlanPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyChangeInRestorationPlanPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Change in restoration plan (in usd per share)",
        "label": "Investment Company, Change In Restoration Plan, Per Share",
        "documentation": "Investment Company, Change In Restoration Plan, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyCommittedCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyCommittedCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Initial equity capital commitment",
        "label": "Investment Company, Committed Capital",
        "documentation": "Amount of funds committed to investment company from investors."
       }
      }
     },
     "auth_ref": [
      "r749"
     ]
    },
    "cswc_InvestmentCompanyCommonStockWithheldForPayrollTaxesUponVestingOfRestrictedStockPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyCommonStockWithheldForPayrollTaxesUponVestingOfRestrictedStockPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Common stock withheld for payroll taxes upon vesting of restricted stock (in usd per share)",
        "label": "Investment Company, Common Stock Withheld For Payroll Taxes Upon Vesting Of Restricted Stock, Per Share",
        "documentation": "Investment Company, Common Stock Withheld For Payroll Taxes Upon Vesting Of Restricted Stock, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyComponentsOfDistributableEarningsAccumulatedLossesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyComponentsOfDistributableEarningsAccumulatedLossesTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Components of Estimated Tax Basis RIC Accumulated Earnings",
        "label": "Investment Company, Components Of Distributable Earnings (Accumulated Losses) [Table Text Block]",
        "documentation": "Investment Company, Components Of Distributable Earnings (Accumulated Losses)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails": {
       "parentTag": "cswc_DistributableEarningsTaxBasis",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unrealized (depreciation) appreciation on investments",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Appreciation (Depreciation)",
        "documentation": "Amount of accumulated undistributed earnings (deficit) from unrealized appreciation (depreciation) of investment company."
       }
      }
     },
     "auth_ref": [
      "r731"
     ]
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital loss carryover",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Capital Loss Carryforward",
        "documentation": "Amount of accumulated undistributed deficit from capital loss carryforward of investment company."
       }
      }
     },
     "auth_ref": [
      "r730"
     ]
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails": {
       "parentTag": "cswc_DistributableEarningsTaxBasis",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Undistributed net realized (loss) gain",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Long-Term Capital Gain (Loss)",
        "documentation": "Amount of accumulated undistributed earnings (deficit) from long-term capital gain (loss) of investment company."
       }
      }
     },
     "auth_ref": [
      "r729"
     ]
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails": {
       "parentTag": "cswc_DistributableEarningsTaxBasis",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails",
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Undistributed ordinary income - tax basis",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Ordinary Income (Loss)",
        "documentation": "Amount of accumulated undistributed earnings (deficit) from ordinary income (loss) of investment company."
       }
      }
     },
     "auth_ref": [
      "r728"
     ]
    },
    "cswc_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLossPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLossPerShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cumulative undistributed taxable income (in usd per share)",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Ordinary Income (Loss), Per Share",
        "documentation": "Investment Company, Distributable Earnings (Loss), Accumulated Ordinary Income (Loss), Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedTemporaryDifferenceOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedTemporaryDifferenceOther",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails": {
       "parentTag": "cswc_DistributableEarningsTaxBasis",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other temporary differences",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Temporary Difference, Other",
        "documentation": "Amount of accumulated undistributed earnings (deficit) from temporary difference between amount reported in financial statement and tax basis of investment company, classified as other."
       }
      }
     },
     "auth_ref": [
      "r1461"
     ]
    },
    "us-gaap_InvestmentCompanyDistributionLongTermCapitalGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributionLongTermCapitalGain",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails": {
       "parentTag": "cswc_InvestmentCompanyTaxDividendDistribution",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distributions of long term capital gains",
        "label": "Investment Company, Distribution, Long-Term Capital Gain",
        "documentation": "Amount of dividend distribution by investment company from long-term capital gain."
       }
      }
     },
     "auth_ref": [
      "r739",
      "r947"
     ]
    },
    "us-gaap_InvestmentCompanyDistributionOrdinaryIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributionOrdinaryIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails": {
       "parentTag": "cswc_InvestmentCompanyTaxDividendDistribution",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ordinary income",
        "label": "Investment Company, Distribution, Ordinary Income",
        "documentation": "Amount of dividend distribution by investment company from ordinary income."
       }
      }
     },
     "auth_ref": [
      "r739",
      "r946"
     ]
    },
    "us-gaap_InvestmentCompanyDistributionPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributionPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shareholder Distributions",
        "label": "Investment Company, Distribution [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for distribution to ownership interest holder. Includes, but is not limited to, dividend distribution and tax return of capital."
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDistributionToShareholdersPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Dividends to shareholders (in usd per share)",
        "label": "Investment Company, Distribution to Shareholders, Per Share",
        "documentation": "Per share or unit amount of distribution to shareholders. Includes, but is not limited to, dividend and capital gain. Excludes distribution for tax return of capital."
       }
      }
     },
     "auth_ref": [
      "r739",
      "r755"
     ]
    },
    "cswc_InvestmentCompanyDistributionToShareholdersTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyDistributionToShareholdersTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Distribution",
        "label": "Investment Company, Distribution To Shareholders [Table Text Block]",
        "documentation": "Investment Company, Distribution To Shareholders"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyDividendDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyDividendDistribution",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividends to shareholders",
        "label": "Investment Company, Dividend Distribution",
        "documentation": "Amount of dividend distribution from ordinary income and capital gain. Excludes distribution for tax return of capital."
       }
      }
     },
     "auth_ref": [
      "r739",
      "r742",
      "r743",
      "r840"
     ]
    },
    "cswc_InvestmentCompanyDividendsAndDistributionsTaxDifferencesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyDividendsAndDistributionsTaxDifferencesTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Book and Tax Basis Differences Relating to Dividends and Distributions",
        "label": "Investment Company, Dividends and Distributions, Tax Differences [Table Text Block]",
        "documentation": "Investment Company, Dividends and Distributions, Tax Differences"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyExerciseOfEmployeeStockOptionsPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyExerciseOfEmployeeStockOptionsPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Exercise of employee stock options (in usd per share)",
        "label": "Investment Company, Exercise Of Employee Stock Options, Per Share",
        "documentation": "Investment Company, Exercise Of Employee Stock Options, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyExpenseRatioExcludingInterestAfterFeeWaiverAndIncentiveFeeDeduction": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyExpenseRatioExcludingInterestAfterFeeWaiverAndIncentiveFeeDeduction",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratio of operating expenses (excluding interest expense) to average net assets",
        "label": "Investment Company, Expense Ratio, Excluding Interest, After Fee Waiver And Incentive Fee Deduction",
        "documentation": "Investment Company, Expense Ratio, Excluding Interest, After Fee Waiver And Incentive Fee Deduction"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyExpenseRatioIncludingIncentiveFee": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyExpenseRatioIncludingIncentiveFee",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratio of operating expenses to average net assets",
        "label": "Investment Company, Expense Ratio, after Fee Waiver and Incentive Fee Deduction",
        "documentation": "Percentage, after deduction of fee waiver and incentive fee, of expense to average net assets."
       }
      }
     },
     "auth_ref": [
      "r1468"
     ]
    },
    "cswc_InvestmentCompanyExtinguishmentOfDebtGainLossPerShareNetOfTax": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyExtinguishmentOfDebtGainLossPerShareNetOfTax",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized loss on extinguishment of debt (in usd per share)",
        "label": "Investment Company, Extinguishment of Debt, Gain (Loss), Per Share, Net of Tax",
        "documentation": "Investment Company, Extinguishment of Debt, Gain (Loss), Per Share, Net of Tax"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Unfunded Debt Commitments",
        "label": "Investment Company, Financial Support to Investee Contractually Required, Not Provided, Amount",
        "documentation": "Amount of financial support committed by investment company to investee that is contractually required but not provided."
       }
      }
     },
     "auth_ref": [
      "r734"
     ]
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyFinancialHighlightsRollForward",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net asset value",
        "label": "Investment Company, Financial Highlights [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyFinancialHighlightsTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Per Share Data",
        "label": "Investment Company, Financial Highlights [Table Text Block]",
        "documentation": "Tabular disclosure of financial highlights. Includes, but is not limited to, per share information, income and expense ratios, total return, capital commitment and fee waiver."
       }
      }
     },
     "auth_ref": [
      "r745"
     ]
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyFinancialHighlightsTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATION"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SUMMARY OF PER SHARE INFORMATION",
        "label": "Investment Company, Financial Highlights [Text Block]",
        "documentation": "The entire disclosure of financial highlights reported by investment company."
       }
      }
     },
     "auth_ref": [
      "r738",
      "r745",
      "r748",
      "r753"
     ]
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total increase (decrease) from investment operations (in usd per share)",
        "label": "Investment Company, Investment Income (Loss) from Operations, Per Share",
        "documentation": "Per share or unit amount of investment income (loss) and realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r754"
     ]
    },
    "cswc_InvestmentCompanyInvestmentIncomeLossGrossPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyInvestmentIncomeLossGrossPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment income (in usd per share)",
        "label": "Investment Company, Investment Income (Loss), Gross, Per Share",
        "documentation": "Investment Company, Investment Income (Loss), Gross, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyInvestmentIncomeLossOperatingExpensesPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyInvestmentIncomeLossOperatingExpensesPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating expenses (in usd per share)",
        "label": "Investment Company, Investment Income (Loss), Operating Expenses, Per Share",
        "documentation": "Investment Company, Investment Income (Loss), Operating Expenses, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyInvestmentIncomeLossPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net investment income per share \u2013 basic (in usd per share)",
        "totalLabel": "Net investment income (in usd per share)",
        "label": "Investment Company, Investment Income (Loss), Per Share, Basic",
        "documentation": "Per-basic-share or unit amount, after investment expense, of dividend and interest investment income (loss) from investment held by investment company."
       }
      }
     },
     "auth_ref": [
      "r752"
     ]
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossRatio": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyInvestmentIncomeLossRatio",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratio of net investment income to average net assets",
        "label": "Investment Company, Investment Income (Loss) Ratio",
        "documentation": "Percentage of investment income (loss) to average net assets."
       }
      }
     },
     "auth_ref": [
      "r1467"
     ]
    },
    "cswc_InvestmentCompanyInvestmentIncomeLossTaxesPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyInvestmentIncomeLossTaxesPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income taxes (in usd per share)",
        "label": "Investment Company, Investment Income (Loss), Taxes, Per Share",
        "documentation": "Investment Company, Investment Income (Loss), Taxes, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyInvestmentOwnedFairValueMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyInvestmentOwnedFairValueMeasurementInput",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Significant Level 3 Inputs",
        "label": "Investment Company, Investment Owned, Measurement Input",
        "documentation": "Value of input used to measure investment owned by investment company."
       }
      }
     },
     "auth_ref": [
      "r543",
      "r544"
     ]
    },
    "cswc_InvestmentCompanyInvestmentOwnedNonQualifiedAssetsPercentOfNetAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyInvestmentOwnedNonQualifiedAssetsPercentOfNetAssets",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contribution percentage in non-qualified assets",
        "label": "Investment Company, Investment Owned, Non-Qualified Assets, Percent Of Net Assets",
        "documentation": "Investment Company, Investment Owned, Non-Qualified Assets, Percent Of Net Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyIssuanceOfSharesPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyIssuanceOfSharesPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Issuance of restricted stock (in usd per share)",
        "label": "Investment Company, Share Issuance, Per Share",
        "documentation": "Per share amount of share issuance by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest."
       }
      }
     },
     "auth_ref": [
      "r1473"
     ]
    },
    "us-gaap_InvestmentCompanyMarketValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyMarketValuePerShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Per share market value at the end of the period (in usd per share)",
        "label": "Investment Company, Market Value, Per Share",
        "documentation": "Market value per share of investment portfolio by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest."
       }
      }
     },
     "auth_ref": [
      "r1471"
     ]
    },
    "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "(Decrease) increase in net asset value (in usd per share)",
        "label": "Investment Company, Net Asset Value, Per Share, Period Increase (Decrease)",
        "documentation": "Per-share or unit amount of increase (decrease) in net asset value."
       }
      }
     },
     "auth_ref": [
      "r1471"
     ]
    },
    "us-gaap_InvestmentCompanyNetAssetsRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyNetAssetsRollForward",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Company, Net Assets [Roll Forward]",
        "label": "Investment Company, Net Assets [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyNetInvestmentIncomeBeforeTaxesPerBasicShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyNetInvestmentIncomeBeforeTaxesPerBasicShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pre-tax net investment income per share - basic (in usd per share)",
        "label": "Investment Company, Net Investment Income Before Taxes, Per Basic Share",
        "documentation": "Investment Company, Net Investment Income Before Taxes, Per Basic Share"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyNetUnrealizedDepreciationAppreciationOnInvestmentsNetOfTaxPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyNetUnrealizedDepreciationAppreciationOnInvestmentsNetOfTaxPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net unrealized (depreciation) appreciation on investments, net of tax (in usd per share)",
        "label": "Investment Company, Net Unrealized (Depreciation) Appreciation On Investments, Net Of Tax, Per Share",
        "documentation": "Investment Company, Net Unrealized (Depreciation) Appreciation On Investments, Net Of Tax, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyOrdinaryInterestRelatedDistributionsPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyOrdinaryInterestRelatedDistributionsPercentage",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total distributions (in percent)",
        "label": "Investment Company, Ordinary Interest Related Distributions, Percentage",
        "documentation": "Investment Company, Ordinary Interest Related Distributions, Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyOtherAdjustmentsPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyOtherAdjustmentsPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other (in usd per share)",
        "label": "Investment Company, Other Adjustments Per Share",
        "documentation": "Investment Company, Other Adjustments Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyPerShareDataAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyPerShareDataAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Per Share Data:",
        "label": "Investment Company, Per Share Data [Abstract]",
        "documentation": "Investment Company, Per Share Data [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyPercentOfNonqualifiedAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyPercentOfNonqualifiedAssets",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Nonqualified assets",
        "label": "Investment Company, Percent Of Nonqualified Assets",
        "documentation": "Investment Company, Percent Of Nonqualified Assets"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyPercentOfQualifiedAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyPercentOfQualifiedAssets",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Qualifying assets",
        "label": "Investment Company, Percent Of Qualified Assets",
        "documentation": "Investment Company, Percent Of Qualified Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyPortfolioTurnover": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyPortfolioTurnover",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Portfolio turnover",
        "label": "Investment Company, Portfolio Turnover",
        "documentation": "Percentage of lesser of purchase or sale of portfolio securities to average value of portfolio securities owned."
       }
      }
     },
     "auth_ref": [
      "r1470"
     ]
    },
    "cswc_InvestmentCompanyRatioToAverageNetAssetsAndSupplementalDataAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyRatioToAverageNetAssetsAndSupplementalDataAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratios and Supplemental Data",
        "label": "Investment Company, Ratio To Average Net Assets And Supplemental Data [Abstract]",
        "documentation": "Investment Company, Ratio To Average Net Assets And Supplemental Data [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyRealizedGainLossOnInvestmentPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net realized gain (loss), net of tax (in usd per share)",
        "label": "Investment Company, Realized Gain (Loss) on Investment, Per Share",
        "documentation": "Per-share or unit amount of realized gain (loss) on investment held by investment company."
       }
      }
     },
     "auth_ref": [
      "r1472"
     ]
    },
    "dei_InvestmentCompanyRegistrationAmendment": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "InvestmentCompanyRegistrationAmendment",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment"
       }
      }
     },
     "auth_ref": [
      "r1183"
     ]
    },
    "dei_InvestmentCompanyRegistrationAmendmentNumber": {
     "xbrltype": "sequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "InvestmentCompanyRegistrationAmendmentNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment Number"
       }
      }
     },
     "auth_ref": [
      "r1183"
     ]
    },
    "us-gaap_InvestmentCompanyRepurchaseOfSharesPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyRepurchaseOfSharesPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repurchase of common stock (in usd per share)",
        "label": "Investment Company, Share Repurchase, Per Share",
        "documentation": "Per share amount of share repurchase by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest."
       }
      }
     },
     "auth_ref": [
      "r1473"
     ]
    },
    "cswc_InvestmentCompanyScheduleOfUnfundedDebtCommitmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyScheduleOfUnfundedDebtCommitmentsTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Unfunded Debt",
        "label": "Investment Company, Schedule Of Unfunded Debt Commitments [Table Text Block]",
        "documentation": "Investment Company, Schedule Of Unfunded Debt Commitments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyScheduleOfUnusedFinancialCommitmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyScheduleOfUnusedFinancialCommitmentsTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Unused Commitments to Extend Credit",
        "label": "Investment Company, Schedule Of Unused Financial Commitments [Table Text Block]",
        "documentation": "Investment Company, Schedule Of Unused Financial Commitments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatio": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatio",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current asset coverage ratio",
        "label": "Investment Company, Senior Security, Indebtedness, Asset Coverage Ratio",
        "documentation": "Percentage of total assets less all liabilities and indebtedness not represented by senior security, to senior security representing indebtedness."
       }
      }
     },
     "auth_ref": [
      "r1263"
     ]
    },
    "cswc_InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatioMinimumThreshold": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatioMinimumThreshold",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset coverage ratio",
        "label": "Investment Company, Senior Security, Indebtedness, Asset Coverage Ratio, Minimum Threshold",
        "documentation": "Investment Company, Senior Security, Indebtedness, Asset Coverage Ratio, Minimum Threshold"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyShareBasedCompensationExpensePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyShareBasedCompensationExpensePerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share based compensation expense (in usd per share)",
        "label": "Investment Company, Share Based Compensation Expense, Per Share",
        "documentation": "Investment Company, Share Based Compensation Expense, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanySpinOffCompensationPlanDistributionNetOfTaxPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanySpinOffCompensationPlanDistributionNetOfTaxPerShare",
     "calculation": {
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails": {
       "parentTag": "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Spin-off Compensation Plan Distribution, net of tax (in usd per share)",
        "label": "Investment Company, Spin-off Compensation Plan Distribution, Net Of Tax, Per Share",
        "documentation": "Investment Company, Spin-off Compensation Plan Distribution, Net Of Tax, Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanySummaryOfDividendsAndDistributionsTaxDifferencesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanySummaryOfDividendsAndDistributionsTaxDifferencesLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Company, Summary Of Dividends And Distributions, Tax Differences [Line Items]",
        "label": "Investment Company, Summary Of Dividends And Distributions, Tax Differences [Line Items]",
        "documentation": "Investment Company, Summary Of Dividends And Distributions, Tax Differences [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanySummaryOfDividendsAndDistributionsTaxDifferencesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanySummaryOfDividendsAndDistributionsTaxDifferencesTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Company, Summary Of Dividends And Distributions, Tax Differences [Table]",
        "label": "Investment Company, Summary Of Dividends And Distributions, Tax Differences [Table]",
        "documentation": "Investment Company, Summary Of Dividends And Distributions, Tax Differences [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTargetInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTargetInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Target investment",
        "label": "Investment Company, Target Investment",
        "documentation": "Investment Company, Target Investment"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTargetInvestmentAnnualEarningsBeforeInterestTaxesDepreciationAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTargetInvestmentAnnualEarningsBeforeInterestTaxesDepreciationAndAmortization",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Target company, annual EBITDA",
        "label": "Investment Company, Target Investment, Annual Earnings Before Interest, Taxes, Depreciation And Amortization",
        "documentation": "Investment Company, Target Investment, Annual Earnings Before Interest, Taxes, Depreciation And Amortization"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyTaxBasisCapitalLossCarryforwardUtilization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyTaxBasisCapitalLossCarryforwardUtilization",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital loss carryover",
        "label": "Investment Company, Tax Basis, Capital Loss Carryforward (Utilization)",
        "documentation": "Amount of increase (decrease) in income from operation from difference between amount reported in financial statement and tax basis of investment company, attributable to capital loss carryforward (utilization)."
       }
      }
     },
     "auth_ref": [
      "r1262",
      "r1380"
     ]
    },
    "us-gaap_InvestmentCompanyTaxBasisExpenseNotDeductible": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyTaxBasisExpenseNotDeductible",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-deductible tax expense",
        "label": "Investment Company, Tax Basis, Expense, Not Deductible",
        "documentation": "Amount of increase in income from operation from difference between amount reported in financial statement and tax basis of investment company, attributable to expense not deductible for tax purpose resulting in permanent difference."
       }
      }
     },
     "auth_ref": [
      "r1262",
      "r1380"
     ]
    },
    "us-gaap_InvestmentCompanyTaxBasisOtherIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyTaxBasisOtherIncreaseDecrease",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other book/tax differences",
        "label": "Investment Company, Tax Basis, Other, Increase (Decrease)",
        "documentation": "Amount of increase (decrease) in income from operation from difference between amount reported in financial statement and tax basis of investment company, attributable to temporary difference, classified as other."
       }
      }
     },
     "auth_ref": [
      "r1262",
      "r1380"
     ]
    },
    "cswc_InvestmentCompanyTaxBasisReconciliationCompensationRelatedDifferencesIncreaseDecreaseInTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxBasisReconciliationCompensationRelatedDifferencesIncreaseDecreaseInTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation related book/tax differences",
        "label": "Investment Company, Tax Basis Reconciliation, Compensation Related Differences, Increase (Decrease) In Taxable Income",
        "documentation": "Investment Company, Tax Basis Reconciliation, Compensation Related Differences, Increase (Decrease) In Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTaxBasisReconciliationDividendIncomeSubsidiaryIncreaseDecreaseInTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxBasisReconciliationDividendIncomeSubsidiaryIncreaseDecreaseInTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend income from wholly-owned subsidiary",
        "label": "Investment Company, Tax Basis Reconciliation, Dividend Income, Subsidiary, Increase (Decrease) In Taxable Income",
        "documentation": "Investment Company, Tax Basis Reconciliation, Dividend Income, Subsidiary, Increase (Decrease) In Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTaxBasisReconciliationIncomeExpenseRecognizedForPassThroughEntitiesIncreaseDecreaseInTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxBasisReconciliationIncomeExpenseRecognizedForPassThroughEntitiesIncreaseDecreaseInTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expense/loss recognized for tax on pass-through entities",
        "label": "Investment Company, Tax Basis Reconciliation, Income (Expense) Recognized For Pass-Through Entities, Increase (Decrease) In Taxable Income",
        "documentation": "Investment Company, Tax Basis Reconciliation, Income (Expense) Recognized For Pass-Through Entities, Increase (Decrease) In Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTaxBasisReconciliationInterestOnNonAccrualLoansIncreaseDecreaseInTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxBasisReconciliationInterestOnNonAccrualLoansIncreaseDecreaseInTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest on non-accrual loans",
        "label": "Investment Company, Tax Basis Reconciliation, Interest On Non-accrual Loans, Increase (Decrease) In Taxable Income",
        "documentation": "Investment Company, Tax Basis Reconciliation, Interest On Non-accrual Loans, Increase (Decrease) In Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTaxBasisReconciliationLossGainRecognizedOnDispositionsIncreaseDecreaseInTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxBasisReconciliationLossGainRecognizedOnDispositionsIncreaseDecreaseInTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized (gain) loss book/tax differences",
        "label": "Investment Company, Tax Basis Reconciliation, Loss (Gain) Recognized On Dispositions, Increase (Decrease) In Taxable Income",
        "documentation": "Investment Company, Tax Basis Reconciliation, Loss (Gain) Recognized On Dispositions, Increase (Decrease) In Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTaxBasisReconciliationLossOnExtinguishmentOfDebtIncreaseDecreaseInTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxBasisReconciliationLossOnExtinguishmentOfDebtIncreaseDecreaseInTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loss on extinguishment of debt",
        "label": "Investment Company, Tax Basis Reconciliation, Loss On Extinguishment of Debt, Increase (Decrease) In Taxable Income",
        "documentation": "Investment Company, Tax Basis Reconciliation, Loss On Extinguishment of Debt, Increase (Decrease) In Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTaxBasisReconciliationNetOperatingIncomeSubsidiaryIncreaseDecreaseInTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxBasisReconciliationNetOperatingIncomeSubsidiaryIncreaseDecreaseInTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net operating income - wholly-owned subsidiary",
        "label": "Investment Company, Tax Basis Reconciliation, Net Operating Income, Subsidiary, Increase (Decrease) In Taxable Income",
        "documentation": "Investment Company, Tax Basis Reconciliation, Net Operating Income, Subsidiary, Increase (Decrease) In Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTaxBasisReconciliationNonDeductibleCompensationIncreaseDecreaseInTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxBasisReconciliationNonDeductibleCompensationIncreaseDecreaseInTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-deductible compensation",
        "label": "Investment Company, Tax Basis Reconciliation, Non-Deductible Compensation, Increase (Decrease) In Taxable Income",
        "documentation": "Investment Company, Tax Basis Reconciliation, Non-Deductible Compensation, Increase (Decrease) In Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "cswc_InvestmentCompanyUndistributedTaxableIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Estimated distributable income before deductions for distributions",
        "label": "Investment Company, Tax Basis, Taxable Income (Loss), before Deduction for Distribution",
        "documentation": "Amount, before deduction for distribution, of income (loss) calculated on tax basis."
       }
      }
     },
     "auth_ref": [
      "r1262",
      "r1380"
     ]
    },
    "us-gaap_InvestmentCompanyTaxBasisUnrealizedGainLossNotCurrentlyTaxableDeductible": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyTaxBasisUnrealizedGainLossNotCurrentlyTaxableDeductible",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net unrealized depreciation (appreciation) on investments",
        "label": "Investment Company, Tax Basis, Unrealized (Gain) Loss, Not Currently (Taxable) Deductible",
        "documentation": "Amount of increase (decrease) in income from operation from difference between amount reported in financial statement and tax basis of investment company, attributable to unrealized loss (gain) not currently deductible (taxable) for tax purpose resulting in temporary difference."
       }
      }
     },
     "auth_ref": [
      "r1262",
      "r1380"
     ]
    },
    "cswc_InvestmentCompanyTaxDistributionOrdinaryIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxDistributionOrdinaryIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "cswc_InvestmentCompanyUndistributedTaxableIncome",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ordinary",
        "label": "Investment Company, Tax Distribution, Ordinary Income",
        "documentation": "Investment Company, Tax Distribution, Ordinary Income"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentCompanyTaxDividendDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyTaxDividendDistribution",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Distributions on tax basis",
        "label": "Investment Company, Tax Dividend Distribution",
        "documentation": "Investment Company, Tax Dividend Distribution"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyTaxReclassificationIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyTaxReclassificationIncreaseDecrease",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings",
        "label": "Investment Company, Tax Reclassification, Increase (Decrease)",
        "documentation": "Amount of increase (decrease) from reclassification to paid-in capital of permanent difference for distribution to ownership interest holder by investment company."
       }
      }
     },
     "auth_ref": [
      "r742"
     ]
    },
    "us-gaap_InvestmentCompanyTotalReturn": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyTotalReturn",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total return based on change in NAV",
        "label": "Investment Company, Total Return",
        "documentation": "Percentage increase (decrease) in fund net asset value, assuming reinvestment of dividends and capital gain distributions."
       }
      }
     },
     "auth_ref": [
      "r735",
      "r746",
      "r750"
     ]
    },
    "us-gaap_InvestmentCompanyTotalReturnMarketValue": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyTotalReturnMarketValue",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total investment return",
        "label": "Investment Company, Total Return, Market Value",
        "documentation": "Percentage increase (decrease) in portfolio market value assuming reinvestment of dividend and capital gain distribution."
       }
      }
     },
     "auth_ref": [
      "r1469"
     ]
    },
    "cswc_InvestmentCompanyUndistributedTaxableIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentCompanyUndistributedTaxableIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Estimated annual RIC undistributed taxable income",
        "label": "Investment Company, Undistributed Taxable Income",
        "documentation": "Investment Company, Undistributed Taxable Income"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentHoldingsScheduleOfInvestmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Investments",
        "label": "Investment Holdings, Schedule of Investments [Table Text Block]",
        "documentation": "Tabular disclosure of data and information required in the supplementary schedule applicable to management investment companies listing holdings of unaffiliated investments."
       }
      }
     },
     "auth_ref": [
      "r1474",
      "r1475",
      "r1476",
      "r1477",
      "r1478",
      "r1479"
     ]
    },
    "us-gaap_InvestmentHoldingsScheduleOfInvestmentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentHoldingsScheduleOfInvestmentsTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "INVESTMENTS",
        "label": "Schedule of Investments [Text Block]",
        "documentation": "The entire disclosure for investments owned by investment company."
       }
      }
     },
     "auth_ref": [
      "r760",
      "r850",
      "r851",
      "r852",
      "r869",
      "r887",
      "r897",
      "r932"
     ]
    },
    "us-gaap_InvestmentIdentifierAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIdentifierAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Identifier [Axis]",
        "label": "Investment, Identifier [Axis]",
        "documentation": "Identification of investment in security, including, but not limited to, name, title, and other identifying information."
       }
      }
     },
     "auth_ref": [
      "r761",
      "r762",
      "r763",
      "r768",
      "r769",
      "r770",
      "r774",
      "r775",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857",
      "r858",
      "r859",
      "r860",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r869",
      "r870",
      "r871",
      "r873",
      "r875",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r888",
      "r889",
      "r890",
      "r891",
      "r892",
      "r893",
      "r894",
      "r895",
      "r897",
      "r898",
      "r899",
      "r902",
      "r903",
      "r905",
      "r906",
      "r907",
      "r908",
      "r909",
      "r910",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r919",
      "r920",
      "r922",
      "r923",
      "r924",
      "r925",
      "r927",
      "r928",
      "r929",
      "r930",
      "r932",
      "r934",
      "r935",
      "r936",
      "r1049",
      "r1462",
      "r1463"
     ]
    },
    "us-gaap_InvestmentIncomeDividend": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIncomeDividend",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Qualified dividend income",
        "label": "Investment Income, Dividend",
        "documentation": "Amount of dividend income on nonoperating securities."
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "us-gaap_InvestmentIncomeInvestmentExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIncomeInvestmentExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total operating expenses",
        "label": "Investment Income, Investment Expense",
        "documentation": "Amount of expenses related to the generation of investment income."
       }
      }
     },
     "auth_ref": [
      "r61",
      "r1058",
      "r1430"
     ]
    },
    "us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIncomeOperatingAfterExpenseAndTax",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net investment income",
        "terseLabel": "Net investment income",
        "verboseLabel": "Net investment income",
        "label": "Investment Income, Operating, after Expense and Tax",
        "documentation": "Amount, after expense and tax, of investment income classified as operating. Excludes realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r741",
      "r821",
      "r836",
      "r1059"
     ]
    },
    "cswc_InvestmentIncomeOperatingDeferredTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentIncomeOperatingDeferredTaxes",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred taxes",
        "label": "Investment Income, Operating, Deferred Taxes",
        "documentation": "Investment Income, Operating, Deferred Taxes"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentIncomeOperatingFederalIncomeExciseAndOtherTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentIncomeOperatingFederalIncomeExciseAndOtherTaxes",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal income, excise and other taxes",
        "label": "Investment Income, Operating, Federal Income, Excise And Other Taxes",
        "documentation": "Investment Income, Operating, Federal Income, Excise And Other Taxes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIncomeOperatingTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total income tax provision",
        "label": "Investment Income, Operating, Tax Expense (Benefit)",
        "documentation": "Amount of tax expense (benefit) on investment income classified as operating. Excludes realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r806",
      "r808",
      "r820",
      "r1483"
     ]
    },
    "cswc_InvestmentIncomePaidInKindInterestPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentIncomePaidInKindInterestPercent",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-cash PIK interest income percent",
        "label": "Investment Income, Paid-In-Kind Interest, Percent",
        "documentation": "Investment Income, Paid-In-Kind Interest, Percent"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentInterestRate",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment interest rate",
        "label": "Investment Interest Rate",
        "documentation": "Rate of interest on investment."
       }
      }
     },
     "auth_ref": [
      "r855",
      "r856",
      "r876",
      "r877",
      "r881",
      "r882",
      "r914",
      "r915",
      "r1049",
      "r1316",
      "r1317"
     ]
    },
    "us-gaap_InvestmentInterestRateFloor": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentInterestRateFloor",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Floor",
        "label": "Investment, Interest Rate, Floor",
        "documentation": "Minimum rate of interest on investment."
       }
      }
     },
     "auth_ref": [
      "r1498",
      "r1501",
      "r1504",
      "r1507"
     ]
    },
    "us-gaap_InvestmentInterestRatePaidInKind": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentInterestRatePaidInKind",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PIK",
        "label": "Investment, Interest Rate, Paid in Kind",
        "documentation": "Rate of interest paid in kind on investment."
       }
      }
     },
     "auth_ref": [
      "r856",
      "r877",
      "r881",
      "r915"
     ]
    },
    "us-gaap_InvestmentIssuerAffiliationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIssuerAffiliationAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Issuer Affiliation [Axis]",
        "label": "Investment, Issuer Affiliation [Axis]",
        "documentation": "Information by affiliation of issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r713",
      "r740",
      "r766",
      "r776",
      "r788",
      "r789",
      "r811",
      "r812",
      "r813",
      "r814",
      "r822",
      "r823",
      "r828",
      "r829",
      "r861",
      "r862",
      "r868",
      "r896",
      "r900",
      "r901",
      "r918",
      "r919",
      "r921",
      "r922",
      "r926",
      "r927",
      "r931",
      "r932",
      "r933"
     ]
    },
    "us-gaap_InvestmentIssuerAffiliationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIssuerAffiliationDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Issuer Affiliation [Domain]",
        "label": "Investment, Issuer Affiliation [Domain]",
        "documentation": "Affiliation of issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r713",
      "r740",
      "r766",
      "r776",
      "r788",
      "r789",
      "r811",
      "r812",
      "r813",
      "r814",
      "r822",
      "r823",
      "r828",
      "r829",
      "r861",
      "r862",
      "r868",
      "r896",
      "r900",
      "r901",
      "r918",
      "r919",
      "r921",
      "r922",
      "r926",
      "r927",
      "r931",
      "r932",
      "r933"
     ]
    },
    "us-gaap_InvestmentIssuerNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIssuerNameAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Issuer Name [Axis]",
        "label": "Investment, Issuer Name [Axis]",
        "documentation": "Information by name of issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r1499",
      "r1502",
      "r1505",
      "r1508"
     ]
    },
    "us-gaap_InvestmentIssuerNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIssuerNameDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Issuer Name [Domain]",
        "label": "Investment, Issuer Name [Domain]",
        "documentation": "Name of issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r1499",
      "r1502",
      "r1505",
      "r1508"
     ]
    },
    "cef_InvestmentObjectivesAndPracticesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "InvestmentObjectivesAndPracticesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Objectives and Practices [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1154"
     ]
    },
    "us-gaap_InvestmentOwnedAtCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentOwnedAtCost",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cost",
        "label": "Investment Owned, Cost",
        "documentation": "Cost of the investment."
       }
      }
     },
     "auth_ref": [
      "r713",
      "r768",
      "r769",
      "r865",
      "r875",
      "r893",
      "r932",
      "r1049",
      "r1060",
      "r1477"
     ]
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentOwnedAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails": {
       "parentTag": "us-gaap_InvestmentsFairValueDisclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments at fair value",
        "verboseLabel": "Fair\u00a0Value",
        "netLabel": "Investment owned, fair value",
        "periodStartLabel": "Fair Value, beginning balance",
        "periodEndLabel": "Fair Value, ending balance",
        "label": "Investment Owned, Fair Value",
        "documentation": "Fair value of investment in security owned."
       }
      }
     },
     "auth_ref": [
      "r713",
      "r761",
      "r762",
      "r763",
      "r765",
      "r767",
      "r768",
      "r769",
      "r771",
      "r776",
      "r777",
      "r788",
      "r789",
      "r852",
      "r861",
      "r862",
      "r871",
      "r885",
      "r886",
      "r900",
      "r901",
      "r902",
      "r909",
      "r912",
      "r931",
      "r933",
      "r936",
      "r1049",
      "r1060",
      "r1477"
     ]
    },
    "cswc_InvestmentOwnedBalancePercentOfShares": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentOwnedBalancePercentOfShares",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ownership percent",
        "label": "Investment Owned, Balance, Percent Of Shares",
        "documentation": "Investment Owned, Balance, Percent Of Shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Principal",
        "verboseLabel": "Principal Amount - Debt Investments",
        "label": "Investment Owned, Balance, Principal Amount",
        "documentation": "Amount of principal of investment owned."
       }
      }
     },
     "auth_ref": [
      "r761",
      "r771",
      "r859",
      "r890",
      "r917",
      "r1049"
     ]
    },
    "us-gaap_InvestmentOwnedBalanceShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentOwnedBalanceShares",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares (in shares)",
        "label": "Investment Owned, Balance, Shares",
        "documentation": "Number of shares of investment owned."
       }
      }
     },
     "auth_ref": [
      "r761",
      "r771",
      "r859",
      "r890",
      "r917",
      "r1049"
     ]
    },
    "cswc_InvestmentOwnedCostMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentOwnedCostMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of Total\u00a0Portfolio at Cost",
        "label": "Investment Owned, Cost [Member]",
        "documentation": "Investment Owned, Cost"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentOwnedFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentOwnedFairValueMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of Total\u00a0Portfolio at Fair Value",
        "label": "Investment Owned, Fair Value [Member]",
        "documentation": "Investment Owned, Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentOwnedNonAccrualStatusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentOwnedNonAccrualStatusMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments on Non-accrual Status",
        "label": "Investment Owned, Non-accrual Status [Member]",
        "documentation": "Investment Owned, Non-accrual Status"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentOwnedPercentOfNetAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentOwnedPercentOfNetAssets",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of Net Assets at Fair Value",
        "label": "Investment Owned, Net Assets, Percentage",
        "documentation": "Percentage of investment owned to net assets."
       }
      }
     },
     "auth_ref": [
      "r764",
      "r768",
      "r769",
      "r861",
      "r885",
      "r900",
      "r903",
      "r933",
      "r1049",
      "r1477"
     ]
    },
    "cswc_InvestmentOwnedPercentOfPortfolio": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentOwnedPercentOfPortfolio",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percent of investment assets",
        "label": "Investment Owned, Percent Of Portfolio",
        "documentation": "Investment Owned, Percent Of Portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentOwnedPercentOfTotalAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentOwnedPercentOfTotalAssets",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percent of total assets",
        "label": "Investment Owned, Percent Of Total Assets",
        "documentation": "Investment Owned, Percent Of Total Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments and Net Realized Gains or Losses and Net Unrealized Appreciation or Depreciation",
        "label": "Investment, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for investment in financial asset."
       }
      }
     },
     "auth_ref": [
      "r697",
      "r713",
      "r714",
      "r715",
      "r716",
      "r872",
      "r874"
     ]
    },
    "cswc_InvestmentPortfolioRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentPortfolioRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Portfolio Risk [Member]",
        "documentation": "Investment Portfolio Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Type [Axis]",
        "label": "Investment Type [Axis]",
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r762",
      "r764",
      "r765",
      "r768",
      "r771",
      "r852",
      "r861",
      "r878",
      "r886",
      "r900",
      "r904",
      "r933",
      "r937",
      "r938",
      "r939",
      "r940",
      "r1049"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments [Domain]",
        "label": "Investments [Domain]",
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r762",
      "r764",
      "r765",
      "r768",
      "r771",
      "r852",
      "r861",
      "r878",
      "r886",
      "r900",
      "r904",
      "r933",
      "r937",
      "r938",
      "r939",
      "r940",
      "r1049"
     ]
    },
    "cswc_InvestmentTypeConcentrationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentTypeConcentrationRiskMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Type",
        "label": "Investment Type Concentration Risk [Member]",
        "documentation": "Investment Type Concentration Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentUnaffiliatedIssuerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentUnaffiliatedIssuerMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-control/Non-affiliate investments",
        "label": "Investment, Unaffiliated Issuer [Member]",
        "documentation": "Unaffiliated issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r713",
      "r776",
      "r804",
      "r811",
      "r812",
      "r813",
      "r822",
      "r828",
      "r852",
      "r857",
      "r861",
      "r862",
      "r868",
      "r888",
      "r896",
      "r900",
      "r901"
     ]
    },
    "us-gaap_InvestmentsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsFairValueDisclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total Investments",
        "label": "Investments, Fair Value Disclosure",
        "documentation": "Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method."
       }
      }
     },
     "auth_ref": [
      "r1392",
      "r1393",
      "r1397",
      "r1399",
      "r1400",
      "r1401",
      "r1403"
     ]
    },
    "us-gaap_InvestmentsFairValueDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsFairValueDisclosureAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value",
        "label": "Investments, Fair Value Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentsFairValueDisclosureMeasurementInputAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentsFairValueDisclosureMeasurementInputAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Significant Unobservable Inputs",
        "label": "Investments\u200b Fair\u200b Value \u200bDisclosure, Measurement Input [Abstract]",
        "documentation": "Investments\u200b Fair\u200b Value \u200bDisclosure, Measurement Input [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in and Advances to Affiliates [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross Additions",
        "label": "Investments in and Advances to Affiliates, at Fair Value, Gross Additions",
        "documentation": "Gross additions to the investment in and advance to the affiliate."
       }
      }
     },
     "auth_ref": [
      "r910"
     ]
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossReductions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossReductions",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Gross Reductions",
        "label": "Investments in and Advances to Affiliates, at Fair Value, Gross Reductions",
        "documentation": "Gross reductions to the investment in and advance to the affiliate."
       }
      }
     },
     "auth_ref": [
      "r911"
     ]
    },
    "cswc_InvestmentsInAndAdvancesToAffiliatesAtFairValueRealizedChangeInFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueRealizedChangeInFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amount of Realized Gain/(Loss)",
        "label": "Investments In And Advances To Affiliates, At Fair Value, Realized Change In Fair Value",
        "documentation": "Investments In And Advances To Affiliates, At Fair Value, Realized Change In Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueRollForward",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments in and Advances to Affiliates, at Fair Value [Roll Forward]",
        "label": "Investments in and Advances to Affiliates, at Fair Value [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_InvestmentsInAndAdvancesToAffiliatesAtFairValueUnrealizedChangeInFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueUnrealizedChangeInFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amount of Unrealized Gain/(Loss)",
        "label": "Investments In And Advances To Affiliates, At Fair Value, Unrealized Change In Fair Value",
        "documentation": "Investments In And Advances To Affiliates, At Fair Value, Unrealized Change In Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliates"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Investments in and Advances to Affiliates",
        "label": "Investments in and Advances to Affiliates, Schedule of Investments [Text Block]",
        "documentation": "The entire disclosure for the information summarizing investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates. It reflects specified information about ownership, financial results from, and financial position in such entities."
       }
      }
     },
     "auth_ref": [
      "r913",
      "r928",
      "r929"
     ]
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInAndAdvancesToAffiliatesTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments in and Advances to Affiliates [Table]",
        "label": "Investments in and Advances to Affiliates [Table]",
        "documentation": "Disclosure of information about investment in and advance to affiliate."
       }
      }
     },
     "auth_ref": [
      "r908",
      "r918",
      "r919",
      "r920",
      "r921",
      "r922",
      "r923",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r929",
      "r930"
     ]
    },
    "us-gaap_InvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Investments",
        "label": "Investments [Member]",
        "documentation": "Assets held for their financial return, rather than for the entity's operations."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_January2026NotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "January2026NotesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "January 2026 Notes",
        "label": "January 2026 Notes [Member]",
        "documentation": "January 2026 Notes"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_KINDREDPETSERVICELLCFkaREDDOGOPERATIONSHOLDINGCOMPANYLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "KINDREDPETSERVICELLCFkaREDDOGOPERATIONSHOLDINGCOMPANYLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "KINDRED PET SERVICE, LLC (fka RED DOG OPERATIONS HOLDING COMPANY LLC)",
        "label": "KINDRED PET SERVICE, LLC (fka RED DOG OPERATIONS HOLDING COMPANY LLC) [Member]",
        "documentation": "KINDRED PET SERVICE, LLC (fka RED DOG OPERATIONS HOLDING COMPANY LLC)"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_KMSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "KMSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "KMS, LLC",
        "label": "KMS, LLC [Member]",
        "documentation": "KMS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LABLOGISTICSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LABLOGISTICSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LAB LOGISTICS, LLC",
        "label": "LAB LOGISTICS, LLC [Member]",
        "documentation": "LAB LOGISTICS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LDGACQUISITIONCOMPANYLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LDGACQUISITIONCOMPANYLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LDG ACQUISITION COMPANY, LLC",
        "label": "LDG ACQUISITION COMPANY, LLC [Member]",
        "documentation": "LDG ACQUISITION COMPANY, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LEHRUPFITTERSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LEHRUPFITTERSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LEHR UPFITTERS, LLC",
        "label": "LEHR UPFITTERS, LLC [Member]",
        "documentation": "LEHR UPFITTERS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LGMPHARMALLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LGMPHARMALLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LGM PHARMA, LLC",
        "label": "LGM PHARMA, LLC [Member]",
        "documentation": "LGM PHARMA, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LIFTBRANDSINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LIFTBRANDSINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIFT BRANDS, INC.",
        "label": "LIFT BRANDS, INC [Member]",
        "documentation": "LIFT BRANDS, INC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LIGHTINGRETROFITINTERNATIONALLLCDBAENVOCOREMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LIGHTINGRETROFITINTERNATIONALLLCDBAENVOCOREMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIGHTING RETROFIT INTERNATIONAL, LLC (DBA ENVOCORE)",
        "label": "LIGHTING RETROFIT INTERNATIONAL, LLC (DBA ENVOCORE) [Member]",
        "documentation": "LIGHTING RETROFIT INTERNATIONAL, LLC (DBA ENVOCORE)"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LIGHTINGRETROFITINTERNATIONALLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LIGHTINGRETROFITINTERNATIONALLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIGHTING RETROFIT INTERNATIONAL, LLC",
        "label": "LIGHTING RETROFIT INTERNATIONAL, LLC [Member]",
        "documentation": "LIGHTING RETROFIT INTERNATIONAL, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LIGHTNINGINTERMEDIATEIILLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LIGHTNINGINTERMEDIATEIILLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIGHTNING INTERMEDIATE II, LLC",
        "label": "LIGHTNING INTERMEDIATE II, LLC [Member]",
        "documentation": "LIGHTNING INTERMEDIATE II, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LKCTECHNOLOGIESINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LKCTECHNOLOGIESINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LKC TECHNOLOGIES, INC.",
        "label": "LKC TECHNOLOGIES, INC. [Member]",
        "documentation": "LKC TECHNOLOGIES, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LOCALWEBLEADSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LOCALWEBLEADSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LOCAL WEB LEADS, LLC",
        "label": "LOCAL WEB LEADS, LLC [Member]",
        "documentation": "LOCAL WEB LEADS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LOGIXHOLDINGCOMPANYLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LOGIXHOLDINGCOMPANYLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LOGIX HOLDING COMPANY, LLC",
        "label": "LOGIX HOLDING COMPANY, LLC [Member]",
        "documentation": "LOGIX HOLDING COMPANY, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LashOpCoLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LashOpCoLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LASH OPCO, LLC",
        "label": "Lash OpCo, LLC [Member]",
        "documentation": "Lash OpCo, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cef_LatestPremiumDiscountToNavPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LatestPremiumDiscountToNavPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1166"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LegislativeOrTaxationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LegislativeOrTaxationRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legislative Or Taxation Risk [Member]",
        "documentation": "Legislative Or Taxation Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeLeasesPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Leases",
        "label": "Lessee, Leases [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee."
       }
      }
     },
     "auth_ref": [
      "r583"
     ]
    },
    "us-gaap_LesseeOperatingLeaseDiscountRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseDiscountRate",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discount rate",
        "label": "Lessee, Operating Lease, Discount Rate",
        "documentation": "Discount rate used by lessee to determine present value of operating lease payments."
       }
      }
     },
     "auth_ref": [
      "r1032"
     ]
    },
    "cswc_LesseeOperatingLeaseExtensionTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LesseeOperatingLeaseExtensionTerm",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lease extension",
        "label": "Lessee, Operating Lease, Extension Term",
        "documentation": "Lessee, Operating Lease, Extension Term"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Future Minimum Payments",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Maturity [Table Text Block]",
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position."
       }
      }
     },
     "auth_ref": [
      "r1411"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease."
       }
      }
     },
     "auth_ref": [
      "r584",
      "r1295",
      "r1302",
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Thereafter",
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Year Five",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r584",
      "r1295",
      "r1302",
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2027",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r584",
      "r1295",
      "r1302",
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2031",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Five",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r584",
      "r1295",
      "r1302",
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2030",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r584",
      "r1295",
      "r1302",
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2029",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r584",
      "r1295",
      "r1302",
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2028",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r584",
      "r1295",
      "r1302",
      "r1425"
     ]
    },
    "cswc_LesseeOperatingLeaseLiabilityUndiscountedExcessAmountNotDisclosed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmountNotDisclosed",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Undiscounted excess amount not disclosed",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount Not Disclosed",
        "documentation": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount Not Disclosed"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseRemainingLeaseTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseRemainingLeaseTerm",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Remaining lease term (in years)",
        "label": "Lessee, Operating Lease, Remaining Lease Term",
        "documentation": "Remaining lease term of operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r586",
      "r1410"
     ]
    },
    "cswc_LeverageRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LeverageRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leverage Risk [Member]",
        "documentation": "Leverage Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LeverageableCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LeverageableCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available leverage commitment",
        "label": "Leverageable Capital",
        "documentation": "Leverageable Capital"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities",
        "label": "Liabilities",
        "documentation": "Amount of liability recognized for present obligation requiring transfer or otherwise providing economic benefit to others."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r36",
      "r37",
      "r38",
      "r42",
      "r43",
      "r44",
      "r47",
      "r174",
      "r178",
      "r179",
      "r285",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r520",
      "r522",
      "r523",
      "r567",
      "r783",
      "r985",
      "r1002",
      "r1060",
      "r1332",
      "r1415",
      "r1416"
     ]
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liabilities",
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities and net assets",
        "label": "Liabilities and Equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r94",
      "r687",
      "r1033",
      "r1045",
      "r1046",
      "r1294",
      "r1300",
      "r1322",
      "r1404"
     ]
    },
    "us-gaap_LineOfCredit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCredit",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Facilities",
        "label": "Long-Term Line of Credit",
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r92",
      "r1426"
     ]
    },
    "cswc_LineOfCreditFacilityAccordionFeatureHigherBorrowingCapacityOption": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LineOfCreditFacilityAccordionFeatureHigherBorrowingCapacityOption",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accordion feature that allows increases (up to)",
        "label": "Line of Credit Facility, Accordion Feature, Higher Borrowing Capacity Option",
        "documentation": "Line of Credit Facility, Accordion Feature, Higher Borrowing Capacity Option"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LineOfCreditFacilityAccordionFeatureIncreaseLimit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LineOfCreditFacilityAccordionFeatureIncreaseLimit",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accordion feature increase limit",
        "label": "Line of Credit Facility, Accordion Feature, Increase Limit",
        "documentation": "Line of Credit Facility, Accordion Feature, Increase Limit"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityAverageOutstandingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityAverageOutstandingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average borrowings",
        "label": "Line of Credit Facility, Average Outstanding Amount",
        "documentation": "Average amount borrowed under the credit facility during the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityCommitmentFeeAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityCommitmentFeeAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unused commitment and other fees",
        "label": "Line of Credit Facility, Commitment Fee Amount",
        "documentation": "Amount of the fee for available but unused credit capacity under the credit facility."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r41",
      "r313"
     ]
    },
    "us-gaap_LineOfCreditFacilityCommitmentFeePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityCommitmentFeePercentage",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitment fee percentage",
        "label": "Line of Credit Facility, Commitment Fee Percentage",
        "documentation": "The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line of Credit Facility [Line Items]",
        "label": "Line of Credit Facility [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r313",
      "r1294",
      "r1298",
      "r1330"
     ]
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum borrowing capacity",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r41"
     ]
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Line of Credit Facility [Table]",
        "label": "Line of Credit Facility [Table]",
        "documentation": "Disclosure of information about short-term and long-term contractual arrangements with lender under which borrowing can occur up to maximum amount. Includes, but is not limited to, letter of credit, standby letter of credit, and revolving credit arrangement."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r41",
      "r313",
      "r1294",
      "r1298",
      "r1330"
     ]
    },
    "us-gaap_LineOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line of Credit",
        "label": "Line of Credit [Member]",
        "documentation": "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_LiquidityRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "LiquidityRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liquidity Risk [Member]",
        "documentation": "Liquidity Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cef_LoanServicingFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LoanServicingFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Recorded Value",
        "label": "Long-Term Debt",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r92",
      "r175",
      "r186",
      "r336",
      "r351",
      "r674",
      "r998",
      "r999",
      "r1031",
      "r1426"
     ]
    },
    "us-gaap_LongTermDebtAverageAmountOutstanding": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtAverageAmountOutstanding",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average borrowings",
        "label": "Long-Term Debt, Average Amount Outstanding",
        "documentation": "Average amount outstanding of long-term debt."
       }
      }
     },
     "auth_ref": [
      "r111",
      "r112",
      "r818"
     ]
    },
    "cef_LongTermDebtDividendsAndCovenantsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LongTermDebtDividendsAndCovenantsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Dividends and Covenants [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1118"
     ]
    },
    "us-gaap_LongTermDebtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtFairValue",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Estimated Fair Value",
        "label": "Long-Term Debt, Fair Value",
        "documentation": "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission."
       }
      }
     },
     "auth_ref": [
      "r971",
      "r1030",
      "r1392",
      "r1394",
      "r1395",
      "r1396",
      "r1399",
      "r1400",
      "r1401",
      "r1403"
     ]
    },
    "cef_LongTermDebtIssuanceAndSubstitutionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LongTermDebtIssuanceAndSubstitutionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Issuance and Substitution [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1119"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Thereafter",
        "label": "Long-Term Debt, Maturity, after Year Five",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r1295",
      "r1302",
      "r1338",
      "r1425"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2027",
        "label": "Long-Term Debt, Maturity, Year One",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r175",
      "r186",
      "r341",
      "r674"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2031",
        "label": "Long-Term Debt, Maturity, Year Five",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r175",
      "r186",
      "r341",
      "r674"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2030",
        "label": "Long-Term Debt, Maturity, Year Four",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r175",
      "r186",
      "r341",
      "r674"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2029",
        "label": "Long-Term Debt, Maturity, Year Three",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r175",
      "r186",
      "r341",
      "r674"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2028",
        "label": "Long-Term Debt, Maturity, Year Two",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r175",
      "r186",
      "r341",
      "r674"
     ]
    },
    "cef_LongTermDebtPrincipal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LongTermDebtPrincipal",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Principal"
       }
      }
     },
     "auth_ref": [
      "r1116"
     ]
    },
    "cef_LongTermDebtRightsLimitedByOtherSecuritiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LongTermDebtRightsLimitedByOtherSecuritiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1120"
     ]
    },
    "cef_LongTermDebtStructuringTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LongTermDebtStructuringTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Structuring [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1117"
     ]
    },
    "cef_LongTermDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LongTermDebtTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1116"
     ]
    },
    "cef_LongTermDebtTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LongTermDebtTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Title [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1116"
     ]
    },
    "us-gaap_LongTermDebtWeightedAverageInterestRateOverTime": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtWeightedAverageInterestRateOverTime",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average interest rate",
        "label": "Long-Term Debt, Weighted Average Interest Rate, over Time",
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated over time."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtTypeAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt, Type [Axis]",
        "label": "Long-Term Debt, Type [Axis]",
        "documentation": "Information by type of long-term debt."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r1324",
      "r1325",
      "r1326"
     ]
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtTypeDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt, Type [Domain]",
        "label": "Long-Term Debt, Type [Domain]",
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r21",
      "r1324",
      "r1325",
      "r1326"
     ]
    },
    "cef_LowestPriceOrBid": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LowestPriceOrBid",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid"
       }
      }
     },
     "auth_ref": [
      "r1160"
     ]
    },
    "cef_LowestPriceOrBidNav": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LowestPriceOrBidNav",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, NAV"
       }
      }
     },
     "auth_ref": [
      "r1164"
     ]
    },
    "cef_LowestPriceOrBidPremiumDiscountToNavPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "LowestPriceOrBidPremiumDiscountToNavPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1165"
     ]
    },
    "cswc_MAINLINEBRANDSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MAINLINEBRANDSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MAIN LINE BRANDS LLC",
        "label": "MAIN LINE BRANDS LLC [Member]",
        "documentation": "MAIN LINE BRANDS LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MAMMOTHBORROWCOINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MAMMOTHBORROWCOINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MAMMOTH BORROWCO, INC.",
        "label": "MAMMOTH BORROWCO, INC. [Member]",
        "documentation": "MAMMOTH BORROWCO, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MERCURYACQUISITION2021LLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MERCURYACQUISITION2021LLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MERCURY ACQUISITION 2021, LLC",
        "label": "MERCURY ACQUISITION 2021, LLC, Equity Investments [Member]",
        "documentation": "MERCURY ACQUISITION 2021, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MERCURYACQUISITION2021LLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MERCURYACQUISITION2021LLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MERCURY ACQUISITION 2021, LLC",
        "label": "MERCURY ACQUISITION 2021, LLC [Member]",
        "documentation": "MERCURY ACQUISITION 2021, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MICROBEFORMULASLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MICROBEFORMULASLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MICROBE FORMULAS LLC",
        "label": "MICROBE FORMULAS LLC [Member]",
        "documentation": "MICROBE FORMULAS LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MIDFLORIDAENDODONTICSMANAGEMENTCOMPANYLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MIDFLORIDAENDODONTICSMANAGEMENTCOMPANYLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MID-FLORIDA ENDODONTICS MANAGEMENT COMPANY, LLC",
        "label": "MID-FLORIDA ENDODONTICS MANAGEMENT COMPANY, LLC [Member]",
        "documentation": "MID-FLORIDA ENDODONTICS MANAGEMENT COMPANY, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MISSIONCRITICALGROUPLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MISSIONCRITICALGROUPLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MISSION CRITICAL GROUP, LLC",
        "label": "MISSION CRITICAL GROUP, LLC [Member]",
        "documentation": "MISSION CRITICAL GROUP, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MONROEBIOMEDICALRESEARCHLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MONROEBIOMEDICALRESEARCHLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MONROE BIOMEDICAL RESEARCH, LLC",
        "label": "MONROE BIOMEDICAL RESEARCH, LLC [Member]",
        "documentation": "MONROE BIOMEDICAL RESEARCH, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MUENSTERMILLINGCOMPANYLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MUENSTERMILLINGCOMPANYLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MUENSTER MILLING COMPANY, LLC",
        "label": "MUENSTER MILLING COMPANY, LLC, Equity Investments [Member]",
        "documentation": "MUENSTER MILLING COMPANY, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MUENSTERMILLINGCOMPANYLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MUENSTERMILLINGCOMPANYLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MUENSTER MILLING COMPANY, LLC",
        "label": "MUENSTER MILLING COMPANY, LLC [Member]",
        "documentation": "MUENSTER MILLING COMPANY, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MUSIKERDISCOVERYPROGRAMSINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MUSIKERDISCOVERYPROGRAMSINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MUSIKER DISCOVERY PROGRAMS, INC.",
        "label": "MUSIKER DISCOVERY PROGRAMS, INC. [Member]",
        "documentation": "MUSIKER DISCOVERY PROGRAMS, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cef_ManagementFeeNotBasedOnNetAssetsNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ManagementFeeNotBasedOnNetAssetsNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fee not based on Net Assets, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1139"
     ]
    },
    "cef_ManagementFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ManagementFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1138"
     ]
    },
    "us-gaap_MarketApproachValuationTechniqueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MarketApproachValuationTechniqueMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Market Approach",
        "label": "Valuation, Market Approach [Member]",
        "documentation": "Valuation approach using price and other relevant information generated by market transaction involving identical or comparable asset, liability, or group of assets and liabilities."
       }
      }
     },
     "auth_ref": [
      "r1016",
      "r1018",
      "r1394",
      "r1395",
      "r1396"
     ]
    },
    "cswc_MarketDiscountRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MarketDiscountRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Market Discount Risk [Member]",
        "documentation": "Market Discount Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MarketPriceRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MarketPriceRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Market Price Risk [Member]",
        "documentation": "Market Price Risk"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum",
        "label": "Maximum [Member]",
        "documentation": "Upper limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r114",
      "r116",
      "r118",
      "r119",
      "r121",
      "r133",
      "r135",
      "r136",
      "r139",
      "r140",
      "r233",
      "r304",
      "r305",
      "r306",
      "r307",
      "r432",
      "r463",
      "r464",
      "r465",
      "r484",
      "r544",
      "r631",
      "r700",
      "r701",
      "r707",
      "r772",
      "r773",
      "r855",
      "r876",
      "r882",
      "r883",
      "r914",
      "r951",
      "r952",
      "r954",
      "r955",
      "r969",
      "r970",
      "r993",
      "r1003",
      "r1012",
      "r1016",
      "r1017",
      "r1018",
      "r1023",
      "r1024",
      "r1028",
      "r1029",
      "r1043",
      "r1336",
      "r1417",
      "r1418",
      "r1419",
      "r1420",
      "r1421",
      "r1422"
     ]
    },
    "ecd_MeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MeasureAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measure:",
        "label": "Measure [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1196"
     ]
    },
    "ecd_MeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Name",
        "label": "Measure Name"
       }
      }
     },
     "auth_ref": [
      "r1196"
     ]
    },
    "cswc_MeasurementInputCostMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MeasurementInputCostMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cost",
        "label": "Measurement Input, Cost [Member]",
        "documentation": "Measurement Input, Cost"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputDiscountRateMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discount Rate",
        "label": "Measurement Input, Discount Rate [Member]",
        "documentation": "Measurement input using interest rate to determine present value of future cash flows."
       }
      }
     },
     "auth_ref": [
      "r1016",
      "r1017",
      "r1018",
      "r1394",
      "r1395",
      "r1396"
     ]
    },
    "us-gaap_MeasurementInputEbitdaMultipleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputEbitdaMultipleMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EBITDA Multiple",
        "label": "Measurement Input, EBITDA Multiple [Member]",
        "documentation": "Measurement input using earnings before interest, tax, depreciation and amortization (EBITDA) multiple."
       }
      }
     },
     "auth_ref": [
      "r1016",
      "r1018",
      "r1023",
      "r1394",
      "r1395",
      "r1396"
     ]
    },
    "us-gaap_MeasurementInputQuotedPriceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputQuotedPriceMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Third Party Broker Quote",
        "label": "Measurement Input, Quoted Price [Member]",
        "documentation": "Measurement input using quoted price."
       }
      }
     },
     "auth_ref": [
      "r1394",
      "r1395",
      "r1396"
     ]
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputTypeAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Input Type [Axis]",
        "label": "Measurement Input Type [Axis]",
        "documentation": "Information by type of measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r461",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r542",
      "r543",
      "r544",
      "r1016",
      "r1017",
      "r1018",
      "r1023"
     ]
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputTypeDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Input Type [Domain]",
        "label": "Measurement Input Type [Domain]",
        "documentation": "Measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r542",
      "r543",
      "r544",
      "r1016",
      "r1017",
      "r1018",
      "r1023"
     ]
    },
    "cswc_MediaAndMarketingSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MediaAndMarketingSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Media &amp; Marketing",
        "label": "Media And Marketing Sector [Member]",
        "documentation": "Media And Marketing Sector"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MediumTermNotes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MediumTermNotes",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notes",
        "label": "Medium-Term Note",
        "documentation": "Amount of debt instrument classified as medium-term."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r92",
      "r1426"
     ]
    },
    "us-gaap_MediumTermNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MediumTermNotesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notes",
        "label": "Medium-Term Note [Member]",
        "documentation": "Debt instruments with maturities ranging from five to ten years."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MidwestRegionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MidwestRegionMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Midwest",
        "label": "US Midwest Region [Member]",
        "documentation": "Region of United States of America (US) designated as Midwest."
       }
      }
     },
     "auth_ref": [
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Minimum",
        "label": "Minimum [Member]",
        "documentation": "Lower limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r114",
      "r116",
      "r118",
      "r119",
      "r121",
      "r133",
      "r135",
      "r136",
      "r139",
      "r140",
      "r233",
      "r304",
      "r305",
      "r306",
      "r307",
      "r432",
      "r463",
      "r464",
      "r465",
      "r484",
      "r544",
      "r631",
      "r700",
      "r701",
      "r707",
      "r772",
      "r773",
      "r855",
      "r876",
      "r882",
      "r883",
      "r914",
      "r951",
      "r952",
      "r954",
      "r955",
      "r969",
      "r970",
      "r993",
      "r1003",
      "r1012",
      "r1016",
      "r1017",
      "r1018",
      "r1023",
      "r1024",
      "r1028",
      "r1043",
      "r1336",
      "r1417",
      "r1418",
      "r1419",
      "r1420",
      "r1421",
      "r1422"
     ]
    },
    "ecd_MnpiDiscTimedForCompValFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MnpiDiscTimedForCompValFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MNPI Disclosure Timed for Compensation Value",
        "label": "MNPI Disclosure Timed for Compensation Value [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "us-gaap_MoneyMarketFundsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MoneyMarketFundsAtCarryingValue",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash held in money market funds",
        "label": "Money Market Funds, at Carrying Value",
        "documentation": "Investment in short-term money-market instruments (such as commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and so forth) which are highly liquid (that is, readily convertible to known amounts of cash) and so near their maturity that they present an insignificant risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify as cash equivalents by definition. Original maturity means an original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three-years ago does not become a cash equivalent when its remaining maturity is three months."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_MoviesEntertainmentSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "MoviesEntertainmentSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Movies &amp; Entertainment",
        "label": "Movies &amp; Entertainment Sector [Member]",
        "documentation": "Movies &amp; Entertainment Sector"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Material Terms of Trading Arrangement",
        "label": "Material Terms of Trading Arrangement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "cswc_NATIONALCREDITCARELLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NATIONALCREDITCARELLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NATIONAL CREDIT CARE, LLC",
        "label": "NATIONAL CREDIT CARE, LLC, Equity Investments [Member]",
        "documentation": "NATIONAL CREDIT CARE, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_NATIONALCREDITCARELLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NATIONALCREDITCARELLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NATIONAL CREDIT CARE, LLC",
        "label": "NATIONAL CREDIT CARE, LLC [Member]",
        "documentation": "NATIONAL CREDIT CARE, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_NEUROPSYCHIATRICHOSPITALSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NEUROPSYCHIATRICHOSPITALSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NEUROPSYCHIATRIC HOSPITALS, LLC",
        "label": "NEUROPSYCHIATRIC HOSPITALS, LLC [Member]",
        "documentation": "NEUROPSYCHIATRIC HOSPITALS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_NEWSKINNYMIXESLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NEWSKINNYMIXESLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NEW SKINNY MIXES, LLC",
        "label": "NEW SKINNY MIXES, LLC [Member]",
        "documentation": "NEW SKINNY MIXES, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_NINJATRADERLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NINJATRADERLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NINJATRADER, LLC",
        "label": "NINJATRADER, LLC [Member]",
        "documentation": "NINJATRADER, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NamedExecutiveOfficersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NamedExecutiveOfficersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Named Executive Officers, Footnote",
        "label": "Named Executive Officers, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1197"
     ]
    },
    "us-gaap_NetAssetValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetAssetValuePerShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NAV Per Share",
        "terseLabel": "Net asset value per share (in usd per share)",
        "periodStartLabel": "Beginning of period (in usd per share)",
        "periodEndLabel": "End of period (in usd per share)",
        "documentation": "Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure."
       }
      }
     },
     "auth_ref": [
      "r751",
      "r758",
      "r759",
      "r787",
      "r805",
      "r941",
      "r1060"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by financing activities",
        "label": "Cash Provided by (Used in) Financing Activity, Including Discontinued Operation",
        "documentation": "Amount of cash inflow (outflow) from financing activity, including, but not limited to, discontinued operation. Financing activity includes, but is not limited to, obtaining resource from owner and providing return on, and return of, their investment; borrowing money and repaying amount borrowed, or settling obligation; and obtaining and paying for other resource obtained from creditor on long-term credit."
       }
      }
     },
     "auth_ref": [
      "r167"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows from financing activities",
        "label": "Cash Provided by (Used in) Financing Activity, Including Discontinued Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash used in investing activities",
        "label": "Cash Provided by (Used in) Investing Activity, Including Discontinued Operation",
        "documentation": "Amount of cash inflow (outflow) from investing activity, including, but not limited to, discontinued operation. Investing activity includes, but is not limited to, making and collecting loan, acquiring and disposing of debt and equity instruments, property, plant, and equipment, and other productive assets."
       }
      }
     },
     "auth_ref": [
      "r167"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows from investing activities",
        "label": "Cash Provided by (Used in) Investing Activity, Including Discontinued Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash (used in) provided by operating activities",
        "label": "Cash Provided by (Used in) Operating Activity, Including Discontinued Operation",
        "documentation": "Amount of cash inflow (outflow) from operating activity, including, but not limited to, discontinued operation. Operating activity includes, but is not limited to, transaction, adjustment, and change in value not defined as investing or financing activity."
       }
      }
     },
     "auth_ref": [
      "r65",
      "r66",
      "r68"
     ]
    },
    "cef_NetExpenseOverAssetsPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "NetExpenseOverAssetsPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expense over Assets [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails": {
       "parentTag": "us-gaap_NetIncomeLossAttributableToParentDiluted",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails": {
       "parentTag": "us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution",
       "weight": 1.0,
       "order": 7.0
      },
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 13.0
      },
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails",
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net increase in net assets from operations",
        "verboseLabel": "Net increase in net assets from operations",
        "terseLabel": "Numerator for basic earnings per share",
        "netLabel": "Net increase in net assets from operations",
        "label": "Net Income (Loss) Attributable to Parent",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r57",
      "r68",
      "r98",
      "r143",
      "r147",
      "r155",
      "r156",
      "r160",
      "r174",
      "r178",
      "r179",
      "r183",
      "r190",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r201",
      "r202",
      "r211",
      "r285",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r354",
      "r358",
      "r361",
      "r365",
      "r473",
      "r515",
      "r518",
      "r539",
      "r567",
      "r689",
      "r807",
      "r835",
      "r839",
      "r978",
      "r979",
      "r980",
      "r1058",
      "r1332"
     ]
    },
    "us-gaap_NetIncomeLossAttributableToParentDiluted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetIncomeLossAttributableToParentDiluted",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Numerator for diluted earnings per common share",
        "label": "Net Income (Loss) Attributable to Parent, Diluted",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent, and includes adjustments resulting from the assumption that dilutive convertible securities were converted, options or warrants were exercised, or that other shares were issued upon the satisfaction of certain conditions."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Numerator for basic earnings per common share",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r143",
      "r163",
      "r194",
      "r195",
      "r196",
      "r197",
      "r204",
      "r205",
      "r213",
      "r218",
      "r358",
      "r361",
      "r365",
      "r518"
     ]
    },
    "us-gaap_NetInvestmentIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetInvestmentIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Income before taxes",
        "label": "Net Investment Income",
        "documentation": "Amount, after investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments."
       }
      }
     },
     "auth_ref": [
      "r105",
      "r693",
      "r694",
      "r819",
      "r1045",
      "r1046",
      "r1058"
     ]
    },
    "us-gaap_NetInvestmentIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetInvestmentIncomeAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment income:",
        "label": "Net Investment Income [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_NetRealizedLossOnInvestmentsAndExtinguishmentOfDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NetRealizedLossOnInvestmentsAndExtinguishmentOfDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net realized loss on investments and extinguishment of debt",
        "label": "Net Realized Loss On Investments And Extinguishment Of Debt",
        "documentation": "Net Realized Loss On Investments And Extinguishment Of Debt"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recently Issued or Adopted Accounting Standards",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact."
       }
      }
     },
     "auth_ref": []
    },
    "cef_NewCefOrBdcRegistrantFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "NewCefOrBdcRegistrantFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New CEF or BDC Registrant [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "dei_NewEffectiveDateForPreviousFiling": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "NewEffectiveDateForPreviousFiling",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Effective Date for Previous Filing"
       }
      }
     },
     "auth_ref": [
      "r1102",
      "r1168",
      "r1169",
      "r1170"
     ]
    },
    "cswc_NewSeniorDebtRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NewSeniorDebtRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Senior Debt Risk [Member]",
        "documentation": "New Senior Debt Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cef_NoPublicTradingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "NoPublicTradingTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Public Trading [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1163"
     ]
    },
    "dei_NoSubstantiveChanges462c": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "NoSubstantiveChanges462c",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c)"
       }
      }
     },
     "auth_ref": [
      "r1250"
     ]
    },
    "dei_NoSubstantiveChanges462cFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "NoSubstantiveChanges462cFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c), File Number"
       }
      }
     },
     "auth_ref": [
      "r1250"
     ]
    },
    "cef_NoTradingHistoryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "NoTradingHistoryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading History [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1167"
     ]
    },
    "cswc_NonEmployeeDirectorPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NonEmployeeDirectorPlanMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Employee Director Plan",
        "label": "Non-Employee Director Plan [Member]",
        "documentation": "Non-Employee Director Plan"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonGaapMeasureDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonGaapMeasureDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-GAAP Measure Description",
        "label": "Non-GAAP Measure Description [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1196"
     ]
    },
    "ecd_NonNeosMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonNeosMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-NEOs",
        "label": "Non-NEOs [Member]"
       }
      }
     },
     "auth_ref": [
      "r1087",
      "r1098",
      "r1178",
      "r1204",
      "r1213"
     ]
    },
    "ecd_NonPeoNeoAvgCompActuallyPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoAvgCompActuallyPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-PEO NEO Average Compensation Actually Paid Amount",
        "label": "Non-PEO NEO Average Compensation Actually Paid Amount"
       }
      }
     },
     "auth_ref": [
      "r1187"
     ]
    },
    "ecd_NonPeoNeoAvgTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoAvgTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-PEO NEO Average Total Compensation Amount",
        "label": "Non-PEO NEO Average Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1186"
     ]
    },
    "ecd_NonPeoNeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-PEO NEO",
        "label": "Non-PEO NEO [Member]"
       }
      }
     },
     "auth_ref": [
      "r1204"
     ]
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonRule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted",
        "label": "Non-Rule 10b5-1 Arrangement Adopted [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonRule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated",
        "label": "Non-Rule 10b5-1 Arrangement Terminated [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "us-gaap_NonUsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NonUsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "International",
        "label": "Non-US [Member]",
        "documentation": "Countries excluding the United States of America (US)."
       }
      }
     },
     "auth_ref": [
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "cswc_NonperformingLoanRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NonperformingLoanRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonperforming Loan Risk [Member]",
        "documentation": "Nonperforming Loan Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NontradeReceivablesUnclassifiedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NontradeReceivablesUnclassifiedAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Receivables:",
        "label": "Nontrade Receivables, Unclassified [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NortheastRegionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NortheastRegionMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Northeast",
        "label": "US Northeast Region [Member]",
        "documentation": "Region of United States of America (US) designated as Northeast."
       }
      }
     },
     "auth_ref": [
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "cswc_NumberOfLenders": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NumberOfLenders",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of lenders",
        "label": "Number Of Lenders",
        "documentation": "Number Of Lenders"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfOperatingSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NumberOfOperatingSegments",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of operating segments",
        "label": "Number of Operating Segments",
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues."
       }
      }
     },
     "auth_ref": [
      "r990",
      "r1315"
     ]
    },
    "us-gaap_NumberOfReportableSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of reportable segments",
        "label": "Number of Reportable Segments",
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements."
       }
      }
     },
     "auth_ref": [
      "r986",
      "r992",
      "r1315"
     ]
    },
    "cswc_NumberOfRevolvingCreditFacility": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "NumberOfRevolvingCreditFacility",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of revolving credit facility",
        "label": "Number Of Revolving Credit Facility",
        "documentation": "Number Of Revolving Credit Facility"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2023Q1TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2023Q1TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 31, 2023",
        "label": "O 2023 Q1 Tax Year Dividends [Member]",
        "documentation": "O 2023 Q1 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2023Q2TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2023Q2TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "June 30, 2023",
        "label": "O 2023 Q2 Tax Year Dividends [Member]",
        "documentation": "O 2023 Q2 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2023Q3TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2023Q3TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "September 30, 2023",
        "label": "O 2023 Q3 Tax Year Dividends [Member]",
        "documentation": "O 2023 Q3 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2023Q4TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2023Q4TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "December 31, 2023",
        "label": "O 2023 Q4 Tax Year Dividends [Member]",
        "documentation": "O 2023 Q4 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2024Q1TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2024Q1TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 31, 2024",
        "label": "O 2024 Q1 Tax Year Dividends [Member]",
        "documentation": "O 2024 Q1 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2024Q2TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2024Q2TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "June 30, 2024",
        "label": "O 2024 Q2 Tax Year Dividends [Member]",
        "documentation": "O 2024 Q2 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2024Q3TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2024Q3TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "September 30, 2024",
        "label": "O 2024 Q3 Tax Year Dividends [Member]",
        "documentation": "O 2024 Q3 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2024Q4TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2024Q4TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "December 31, 2024",
        "label": "O 2024 Q4 Tax Year Dividends [Member]",
        "documentation": "O 2024 Q4 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025AQualifiedDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025AQualifiedDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Qualified Dividends",
        "label": "O 2025 A Qualified Dividends [Member]",
        "documentation": "O 2025 A Qualified Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025M10TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025M10TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "October 31, 2025",
        "label": "O 2025 M10 Tax Year Dividends [Member]",
        "documentation": "O 2025 M10 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025M11TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025M11TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "November 30, 2025",
        "label": "O 2025 M11 Tax Year Dividends [Member]",
        "documentation": "O 2025 M11 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025M7TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025M7TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "July 31, 2025",
        "label": "O 2025 M7 Tax Year Dividends [Member]",
        "documentation": "O 2025 M7 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025M8TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025M8TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "August 31, 2025",
        "label": "O 2025 M8 Tax Year Dividends [Member]",
        "documentation": "O 2025 M8 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025M9TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025M9TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "September 30, 2025",
        "label": "O 2025 M9 Tax Year Dividends [Member]",
        "documentation": "O 2025 M9 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025Q12TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025Q12TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "December 31, 2025",
        "label": "O 2025 Q12 Tax Year Dividends [Member]",
        "documentation": "O 2025 Q12 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025Q1TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025Q1TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 31, 2025",
        "label": "O 2025 Q1 Tax Year Dividends [Member]",
        "documentation": "O 2025 Q1 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2025Q2TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2025Q2TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "June 30, 2025",
        "label": "O 2025 Q2 Tax Year Dividends [Member]",
        "documentation": "O 2025 Q2 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2026M1TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2026M1TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "O 2026 M1 Tax Year Dividends",
        "label": "O 2026 M1 Tax Year Dividends [Member]",
        "documentation": "O 2026 M1 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2026M2TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2026M2TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "O 2026 M2 Tax Year Dividends",
        "label": "O 2026 M2 Tax Year Dividends [Member]",
        "documentation": "O 2026 M2 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2026M3TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2026M3TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "O 2026 M3 Tax Year Dividends",
        "label": "O 2026 M3 Tax Year Dividends [Member]",
        "documentation": "O 2026 M3 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2026M4TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2026M4TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "O 2026 M4 Tax Year Dividends",
        "label": "O 2026 M4 Tax Year Dividends [Member]",
        "documentation": "O 2026 M4 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2026M5TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2026M5TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "O 2026 M5 Tax Year Dividends",
        "label": "O 2026 M5 Tax Year Dividends [Member]",
        "documentation": "O 2026 M5 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2026M6TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2026M6TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "O 2026 M6 Tax Year Dividends",
        "label": "O 2026 M6 Tax Year Dividends [Member]",
        "documentation": "O 2026 M6 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2026Q4DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2026Q4DividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Regular Dividends",
        "label": "O 2026 Q4 Dividends [Member]",
        "documentation": "O 2026 Q4 Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_O2027Q1DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "O2027Q1DividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "O 2027 Q1 Dividends",
        "label": "O 2027 Q1 Dividends [Member]",
        "documentation": "O 2027 Q1 Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ONEGROUPLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ONEGROUPLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ONE GROUP, LLC",
        "label": "ONE GROUP, LLC [Member]",
        "documentation": "ONE GROUP, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_OUTERBOXLLCEquityInterestMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "OUTERBOXLLCEquityInterestMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "OUTERBOX, LLC",
        "label": "OUTERBOX, LLC Equity Interest [Member]",
        "documentation": "OUTERBOX, LLC Equity Interest"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_October2024NotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "October2024NotesMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "October 2024 Notes [Member]",
        "documentation": "October 2024 Notes"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_October2026NotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "October2026NotesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "October 2026 Notes",
        "label": "October 2026 Notes [Member]",
        "documentation": "October 2026 Notes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingExpensesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating expenses:",
        "label": "Operating Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_OperatingFlexibilityFailureToQualifyRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "OperatingFlexibilityFailureToQualifyRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Flexibility Failure To Qualify Risk [Member]",
        "documentation": "Operating Flexibility Failure To Qualify Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lease expense",
        "label": "Operating Lease, Expense",
        "documentation": "Amount of operating lease expense. Excludes sublease income."
       }
      }
     },
     "auth_ref": [
      "r1409"
     ]
    },
    "us-gaap_OperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating lease liability",
        "label": "Operating Lease, Liability",
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease."
       }
      }
     },
     "auth_ref": [
      "r581"
     ]
    },
    "us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating Lease, Liability, Statement of Financial Position [Extensible Enumeration]",
        "label": "Operating Lease, Liability, Statement of Financial Position [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of financial position that includes operating lease liability."
       }
      }
     },
     "auth_ref": [
      "r582"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating lease asset",
        "label": "Operating Lease, Right-of-Use Asset",
        "documentation": "Amount of lessee's right to use underlying asset under operating lease."
       }
      }
     },
     "auth_ref": [
      "r580"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]",
        "label": "Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of financial position that includes operating lease right-of-use asset."
       }
      }
     },
     "auth_ref": [
      "r582"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATION"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ORGANIZATION AND BASIS OF PRESENTATION",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r144",
      "r145",
      "r146",
      "r711",
      "r712"
     ]
    },
    "cef_OtherAnnualExpense1Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherAnnualExpense1Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 1 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "cef_OtherAnnualExpense2Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherAnnualExpense2Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 2 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "cef_OtherAnnualExpense3Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherAnnualExpense3Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 3 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "cef_OtherAnnualExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherAnnualExpensesAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "cef_OtherAnnualExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherAnnualExpensesPercent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "us-gaap_OtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other assets",
        "label": "Other Assets",
        "documentation": "Amount of assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r86",
      "r149",
      "r678",
      "r990",
      "r1045",
      "r1046",
      "r1060"
     ]
    },
    "us-gaap_OtherCommitmentsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherCommitmentsLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Commitments [Line Items]",
        "label": "Other Commitments [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherCommitmentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherCommitmentsTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Commitments [Table]",
        "label": "Other Commitments [Table]",
        "documentation": "Disclosure of information about obligations resulting from other commitments."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OtherExpensesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherExpensesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1137"
     ]
    },
    "cef_OtherFeederFundExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherFeederFundExpensesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Feeder Fund Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "cswc_OtherFinancialInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "OtherFinancialInstrumentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Financial Instruments",
        "label": "Other Financial Instruments [Member]",
        "documentation": "Other Financial Instruments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other income",
        "label": "Other Income",
        "documentation": "Amount of revenue and income classified as other."
       }
      }
     },
     "auth_ref": [
      "r698",
      "r810",
      "r925",
      "r926",
      "r928",
      "r1045",
      "r1046"
     ]
    },
    "us-gaap_OtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other liabilities",
        "label": "Other Liabilities",
        "documentation": "Amount of liabilities classified as other."
       }
      }
     },
     "auth_ref": [
      "r91",
      "r682",
      "r779",
      "r780",
      "r1002",
      "r1045",
      "r1046",
      "r1060",
      "r1427",
      "r1480"
     ]
    },
    "cef_OtherMasterFundExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherMasterFundExpensesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Master Fund Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "ecd_OtherPerfMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OtherPerfMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Performance Measure, Amount",
        "label": "Other Performance Measure, Amount"
       }
      }
     },
     "auth_ref": [
      "r1196"
     ]
    },
    "us-gaap_OtherReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherReceivables",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Other Receivables",
        "documentation": "Amount due from parties in nontrade transactions, classified as other."
       }
      }
     },
     "auth_ref": [
      "r154",
      "r794",
      "r990",
      "r1045",
      "r1046",
      "r1429"
     ]
    },
    "cef_OtherSecuritiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherSecuritiesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Securities [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1121"
     ]
    },
    "cef_OtherSecurityDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherSecurityDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Description [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1121"
     ]
    },
    "cef_OtherSecurityTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherSecurityTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Title [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1121"
     ]
    },
    "us-gaap_OtherTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Other Tax Expense (Benefit)",
        "documentation": "Amount of other income tax expense (benefit)."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r180",
      "r1375",
      "r1381"
     ]
    },
    "cef_OtherTransactionExpense1Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionExpense1Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 1 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "cef_OtherTransactionExpense2Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionExpense2Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 2 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "cef_OtherTransactionExpense3Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionExpense3Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 3 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "cef_OtherTransactionExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionExpensesAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "cef_OtherTransactionExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionExpensesPercent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "cef_OtherTransactionFeesBasisMaximum": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionFeesBasisMaximum",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "cef_OtherTransactionFeesBasisMaximumPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionFeesBasisMaximumPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "cef_OtherTransactionFeesBasisNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionFeesBasisNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "cef_OtherTransactionFeesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OtherTransactionFeesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "ecd_OutstandingAggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingAggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Outstanding Aggregate Erroneous Compensation Amount",
        "label": "Outstanding Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1085",
      "r1096",
      "r1176",
      "r1211"
     ]
    },
    "ecd_OutstandingRecoveryCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingRecoveryCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation Amount",
        "label": "Outstanding Recovery Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1088",
      "r1099",
      "r1179",
      "r1214"
     ]
    },
    "ecd_OutstandingRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Name",
        "label": "Outstanding Recovery, Individual Name"
       }
      }
     },
     "auth_ref": [
      "r1088",
      "r1099",
      "r1179",
      "r1214"
     ]
    },
    "cef_OutstandingSecuritiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OutstandingSecuritiesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Securities [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1122"
     ]
    },
    "cef_OutstandingSecurityAuthorizedShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OutstandingSecurityAuthorizedShares",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Authorized [Shares]"
       }
      }
     },
     "auth_ref": [
      "r1124"
     ]
    },
    "cef_OutstandingSecurityHeldShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OutstandingSecurityHeldShares",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Held [Shares]"
       }
      }
     },
     "auth_ref": [
      "r1125"
     ]
    },
    "cef_OutstandingSecurityNotHeldShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OutstandingSecurityNotHeldShares",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Not Held [Shares]"
       }
      }
     },
     "auth_ref": [
      "r1126"
     ]
    },
    "cef_OutstandingSecurityTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "OutstandingSecurityTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Title [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1123"
     ]
    },
    "cswc_OwnShareDealingRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "OwnShareDealingRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Own Share Dealing Risk [Member]",
        "documentation": "Own Share Dealing Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_PATRIOTINTERMEDIATEHOLDCOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PATRIOTINTERMEDIATEHOLDCOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PATRIOT INTERMEDIATE HOLDCO, LLC",
        "label": "PATRIOT INTERMEDIATE HOLDCO, LLC [Member]",
        "documentation": "PATRIOT INTERMEDIATE HOLDCO, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_PIPELINETECHNIQUELTDMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PIPELINETECHNIQUELTDMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PIPELINE TECHNIQUE LTD.",
        "label": "PIPELINE TECHNIQUE LTD. [Member]",
        "documentation": "PIPELINE TECHNIQUE LTD."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_POOLSERVICEPARTNERSINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "POOLSERVICEPARTNERSINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "POOL SERVICE PARTNERS, INC.",
        "label": "POOL SERVICE PARTNERS, INC [Member]",
        "documentation": "POOL SERVICE PARTNERS, INC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_PRECISIONSPRAYCOATINGSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PRECISIONSPRAYCOATINGSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PRECISION SPRAY &amp; COATINGS, LLC",
        "label": "PRECISION SPRAY &amp; COATINGS, LLC [Member]",
        "documentation": "PRECISION SPRAY &amp; COATINGS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_PYRAMIDSACQUISITIONLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PYRAMIDSACQUISITIONLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PYRAMIDS ACQUISITION, LLC",
        "label": "PYRAMIDS ACQUISITION, LLC [Member]",
        "documentation": "PYRAMIDS ACQUISITION, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaidInKindInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaidInKindInterest",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Payment of accrued payment-in-kind interest",
        "label": "Paid-in-Kind Interest",
        "documentation": "Interest paid other than in cash for example by issuing additional debt securities. As a noncash item, it is added to net income when calculating cash provided by or used in operations using the indirect method."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "ecd_PayVsPerformanceDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PayVsPerformanceDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r1185"
     ]
    },
    "cswc_PaymentInKindInterestAccrued": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PaymentInKindInterestAccrued",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Payment-in-kind interest",
        "label": "Payment-In-Kind Interest Accrued",
        "documentation": "Payment-In-Kind Interest Accrued"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForPurchaseOfInvestmentOperatingActivity",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Purchases and originations of investments",
        "terseLabel": "Funded",
        "label": "Payment for Purchase, Investment, Operating Activity",
        "documentation": "Amount of cash outflow for acquisition of investment, classified as operating activity. Includes, but is not limited to, funding, origination, drawdown, and participation in investment."
       }
      }
     },
     "auth_ref": [
      "r1495"
     ]
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfDebtIssuanceCosts",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Debt issuance costs paid",
        "label": "Payments of Debt Issuance Costs",
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt."
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "us-gaap_PaymentsOfDividends": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfDividends",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Dividends to shareholders",
        "label": "Payments of Dividends",
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests."
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Common stock withheld for payroll taxes upon vesting of restricted stock",
        "label": "Payment, Tax Withholding, Share-Based Payment Arrangement",
        "documentation": "Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r165"
     ]
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Acquisition of fixed assets",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets."
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "ecd_PeerGroupIssuersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeerGroupIssuersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Peer Group Issuers, Footnote",
        "label": "Peer Group Issuers, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1195"
     ]
    },
    "ecd_PeerGroupTotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeerGroupTotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Peer Group Total Shareholder Return Amount",
        "label": "Peer Group Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r1195"
     ]
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RETIREMENT PLANS",
        "label": "Retirement Benefits [Text Block]",
        "documentation": "The entire disclosure for retirement benefits."
       }
      }
     },
     "auth_ref": [
      "r383",
      "r389",
      "r390",
      "r396",
      "r405",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r427",
      "r428",
      "r431",
      "r1010"
     ]
    },
    "us-gaap_PensionExpenseReversalOfExpenseNoncash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PensionExpenseReversalOfExpenseNoncash",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net pension benefit",
        "label": "Pension Expense (Reversal of Expense), Noncash",
        "documentation": "Amount of noncash expense (reversal of expense) for pension benefits. Excludes other postretirement benefits."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "ecd_PeoActuallyPaidCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoActuallyPaidCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PEO Actually Paid Compensation Amount",
        "label": "PEO Actually Paid Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1187"
     ]
    },
    "ecd_PeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PEO",
        "label": "PEO [Member]"
       }
      }
     },
     "auth_ref": [
      "r1204"
     ]
    },
    "ecd_PeoName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PEO Name",
        "label": "PEO Name"
       }
      }
     },
     "auth_ref": [
      "r1197"
     ]
    },
    "ecd_PeoTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PEO Total Compensation Amount",
        "label": "PEO Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1186"
     ]
    },
    "cswc_PharmaceuticalsBiotechnologyLifeSciencesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PharmaceuticalsBiotechnologyLifeSciencesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pharmaceuticals, Biotechnology &amp; Life Sciences",
        "label": "Pharmaceuticals, Biotechnology &amp; Life Sciences Sector [Member]",
        "documentation": "Pharmaceuticals, Biotechnology &amp; Life Sciences Sector"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PlanNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PlanNameAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan Name [Axis]",
        "label": "Plan Name [Axis]",
        "documentation": "Information by plan name for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1346",
      "r1347",
      "r1348",
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354",
      "r1355",
      "r1356",
      "r1358",
      "r1359",
      "r1360",
      "r1361",
      "r1362",
      "r1363",
      "r1364",
      "r1365",
      "r1366",
      "r1367",
      "r1368",
      "r1369",
      "r1370",
      "r1371",
      "r1372"
     ]
    },
    "us-gaap_PlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PlanNameDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan Name [Domain]",
        "label": "Plan Name [Domain]",
        "documentation": "Plan name for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1346",
      "r1347",
      "r1348",
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354",
      "r1355",
      "r1356",
      "r1358",
      "r1359",
      "r1360",
      "r1361",
      "r1362",
      "r1363",
      "r1364",
      "r1365",
      "r1366",
      "r1367",
      "r1368",
      "r1369",
      "r1370",
      "r1371",
      "r1372"
     ]
    },
    "us-gaap_PledgedStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PledgedStatusAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pledged Status [Axis]",
        "label": "Pledged Status [Axis]",
        "documentation": "Information by pledged or not pledged status of asset owned by entity."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r176",
      "r519",
      "r777",
      "r1019"
     ]
    },
    "us-gaap_PledgedStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PledgedStatusDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pledged Status [Domain]",
        "label": "Pledged Status [Domain]",
        "documentation": "Pledged or not pledged status of asset owned by entity."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r176",
      "r519",
      "r777",
      "r1019"
     ]
    },
    "ecd_PnsnAdjsPrrSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnAdjsPrrSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pension Adjustments Prior Service Cost",
        "label": "Pension Adjustments Prior Service Cost [Member]"
       }
      }
     },
     "auth_ref": [
      "r1188"
     ]
    },
    "ecd_PnsnAdjsSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnAdjsSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pension Adjustments Service Cost",
        "label": "Pension Adjustments Service Cost [Member]"
       }
      }
     },
     "auth_ref": [
      "r1244"
     ]
    },
    "ecd_PnsnBnftsAdjFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnBnftsAdjFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pension Benefits Adjustments, Footnote",
        "label": "Pension Benefits Adjustments, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1187"
     ]
    },
    "cswc_PoliticalSocialAndEconomicUncertaintyRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PoliticalSocialAndEconomicUncertaintyRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Political, Social And Economic Uncertainty Risk [Member]",
        "documentation": "Political, Social And Economic Uncertainty Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_PortfolioControlRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PortfolioControlRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Control Risk [Member]",
        "documentation": "Portfolio Control Risk"
       }
      }
     },
     "auth_ref": []
    },
    "dei_PostEffectiveAmendment": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "PostEffectiveAmendment",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment"
       }
      }
     },
     "auth_ref": [
      "r1061"
     ]
    },
    "dei_PostEffectiveAmendmentNumber": {
     "xbrltype": "sequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "PostEffectiveAmendmentNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment Number",
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 after the registration becomes effective."
       }
      }
     },
     "auth_ref": [
      "r1061"
     ]
    },
    "dei_PreEffectiveAmendment": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "PreEffectiveAmendment",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment"
       }
      }
     },
     "auth_ref": [
      "r1061"
     ]
    },
    "dei_PreEffectiveAmendmentNumber": {
     "xbrltype": "sequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "PreEffectiveAmendmentNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment Number",
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 before the registration becomes effective."
       }
      }
     },
     "auth_ref": [
      "r1061"
     ]
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockLiquidationPreference",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Liquidating Preference",
        "documentation": "The per share liquidation preference (or restrictions) of nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share."
       }
      }
     },
     "auth_ref": [
      "r24",
      "r25",
      "r48",
      "r1294",
      "r1297",
      "r1339"
     ]
    },
    "us-gaap_PreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred equity",
        "label": "Preferred Stock [Member]",
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company."
       }
      }
     },
     "auth_ref": [
      "r1047",
      "r1048",
      "r1051",
      "r1052",
      "r1053",
      "r1054",
      "r1466",
      "r1493"
     ]
    },
    "cef_PreferredStockRestrictionsArrearageTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "PreferredStockRestrictionsArrearageTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Arrearage [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1112"
     ]
    },
    "cef_PreferredStockRestrictionsOtherTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "PreferredStockRestrictionsOtherTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Other [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1113"
     ]
    },
    "cef_PrimaryShelfFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "PrimaryShelfFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "cef_PrimaryShelfQualifiedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "PrimaryShelfQualifiedFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf Qualified [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "us-gaap_PriorPeriodReclassificationAdjustmentDescription": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PriorPeriodReclassificationAdjustmentDescription",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Presentation",
        "label": "Reclassification, Comparability Adjustment [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for reclassification affecting comparability of financial statement. Excludes amendment to accounting standards, other change in accounting principle, and correction of error."
       }
      }
     },
     "auth_ref": [
      "r1274"
     ]
    },
    "cswc_PriorityRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PriorityRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Priority Risk [Member]",
        "documentation": "Priority Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_PrivatelyHeldDebtAndEquityInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "PrivatelyHeldDebtAndEquityInstrumentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Privately held debt and equity instruments",
        "label": "Privately Held Debt And Equity Instruments [Member]",
        "documentation": "Privately Held Debt And Equity Instruments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromConvertibleDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromConvertibleDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from issuance of 2029 Convertible Notes",
        "label": "Proceeds from Convertible Debt",
        "documentation": "The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "cswc_ProceedsFromDispositionOfInvestmentDebtSecuritiesOperatingActivity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ProceedsFromDispositionOfInvestmentDebtSecuritiesOperatingActivity",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Proceeds from sales and repayments of debt investments in portfolio companies",
        "label": "Proceeds From Disposition Of Investment, Debt Securities, Operating Activity",
        "documentation": "Proceeds From Disposition Of Investment, Debt Securities, Operating Activity"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ProceedsFromDispositionOfInvestmentEquitySecuritiesOperatingActivity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ProceedsFromDispositionOfInvestmentEquitySecuritiesOperatingActivity",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Proceeds from sales and return of capital of equity investments in portfolio companies",
        "label": "Proceeds From Disposition Of Investment, Equity Securities, Operating Activity",
        "documentation": "Proceeds From Disposition Of Investment, Equity Securities, Operating Activity"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from common stock offering",
        "label": "Proceeds from Issuance of Common Stock",
        "documentation": "The cash inflow from the additional capital contribution to the entity."
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOfMediumTermNotes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromIssuanceOfMediumTermNotes",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from issuance of August 2028 Notes",
        "label": "Proceeds from Issuance of Medium-Term Note",
        "documentation": "The cash inflow from a debt funding received on a regular basis with maturities ranging from 5-10 years."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOfUnsecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromIssuanceOfUnsecuredDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from issuance of SBA Debentures",
        "label": "Proceeds from Issuance of Unsecured Debt",
        "documentation": "The cash inflow from the issuance of long-term debt that is not secured by collateral. Excludes proceeds from tax exempt unsecured debt."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross proceeds received",
        "label": "Proceeds from Issuance or Sale of Equity",
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r722"
     ]
    },
    "us-gaap_ProceedsFromLongTermLinesOfCredit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromLongTermLinesOfCredit",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Borrowings under Credit Facilities",
        "label": "Proceeds from Long-Term Lines of Credit",
        "documentation": "The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_ProceedsFromNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromNotesPayable",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from issuance of September 2030 Notes",
        "label": "Proceeds from Notes Payable",
        "documentation": "The cash inflow from a borrowing supported by a written promise to pay an obligation."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "cswc_ProceedsFromReturnOfCapitalOperatingActivity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ProceedsFromReturnOfCapitalOperatingActivity",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 24.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from return of capital of investment in I-45 SLF LLC",
        "label": "Proceeds From Return Of Capital, Operating Activity",
        "documentation": "Proceeds From Return Of Capital, Operating Activity"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleMaturityAndCollectionsOfInvestments",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Portfolio investments sold",
        "label": "Proceeds from Sale, Maturity and Collection of Investments",
        "documentation": "The cash inflow associated with the sale, maturity and collection of all investments such as debt, security and so forth during the period."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "us-gaap_ProfessionalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProfessionalFees",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Professional fees",
        "label": "Professional Fees",
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer."
       }
      }
     },
     "auth_ref": [
      "r979",
      "r989",
      "r1058",
      "r1485",
      "r1492"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Lived Tangible Asset [Axis]",
        "label": "Long-Lived Tangible Asset [Axis]",
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r585"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Lived Tangible Asset [Domain]",
        "label": "Long-Lived Tangible Asset [Domain]",
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software."
       }
      }
     },
     "auth_ref": [
      "r71",
      "r585"
     ]
    },
    "cef_ProspectusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ProspectusLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "cef_ProspectusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ProspectusTable",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "cef_PurposeOfFeeTableNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "PurposeOfFeeTableNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purpose of Fee Table , Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1128"
     ]
    },
    "ecd_PvpTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PvpTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pay vs Performance Disclosure",
        "label": "Pay vs Performance Disclosure [Table]"
       }
      }
     },
     "auth_ref": [
      "r1185"
     ]
    },
    "ecd_PvpTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PvpTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pay vs Performance Disclosure, Table",
        "label": "Pay vs Performance [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1185"
     ]
    },
    "cswc_QualifiedPersonnelAttractionAndRetentionRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "QualifiedPersonnelAttractionAndRetentionRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Qualified Personnel Attraction And Retention Risk [Member]",
        "documentation": "Qualified Personnel Attraction And Retention Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_QualifyingAssetsFailureToQualifyRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "QualifyingAssetsFailureToQualifyRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Qualifying Assets Failure To Qualify Risk [Member]",
        "documentation": "Qualifying Assets Failure To Qualify Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_QuarterlyFinancialInformationDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "QuarterlyFinancialInformationDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly Financial Information Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_QuarterlyFinancialInformationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "QuarterlyFinancialInformationTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED)",
        "label": "Quarterly Financial Information [Text Block]",
        "documentation": "The entire disclosure for quarterly financial data. Includes, but is not limited to, tabular presentation of financial information for fiscal quarters, effect of year-end adjustments, and an explanation of matters or transactions that affect comparability of the information."
       }
      }
     },
     "auth_ref": [
      "r69",
      "r224"
     ]
    },
    "cswc_REDDOGOPERATIONSHOLDINGCOMPANYLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "REDDOGOPERATIONSHOLDINGCOMPANYLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RED DOG OPERATIONS HOLDING COMPANY LLC",
        "label": "RED DOG OPERATIONS HOLDING COMPANY LLC [Member]",
        "documentation": "RED DOG OPERATIONS HOLDING COMPANY LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_RODIZIOOPCOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RODIZIOOPCOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RODIZIO OPCO LLC",
        "label": "RODIZIO OPCO LLC [Member]",
        "documentation": "RODIZIO OPCO LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ROSELANDMANAGEMENTLLCEquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ROSELANDMANAGEMENTLLCEquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ROSELAND MANAGEMENT, LLC",
        "label": "ROSELAND MANAGEMENT, LLC, Equity Investments [Member]",
        "documentation": "ROSELAND MANAGEMENT, LLC, Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ROSELANDMANAGEMENTLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ROSELANDMANAGEMENTLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ROSELAND MANAGEMENT, LLC",
        "label": "ROSELAND MANAGEMENT, LLC [Member]",
        "documentation": "ROSELAND MANAGEMENT, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement [Axis]",
        "label": "Statistical Measurement [Axis]",
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r114",
      "r116",
      "r118",
      "r119",
      "r121",
      "r133",
      "r135",
      "r136",
      "r139",
      "r140",
      "r233",
      "r304",
      "r305",
      "r306",
      "r307",
      "r389",
      "r432",
      "r463",
      "r464",
      "r465",
      "r472",
      "r484",
      "r544",
      "r605",
      "r614",
      "r631",
      "r700",
      "r701",
      "r707",
      "r772",
      "r773",
      "r855",
      "r876",
      "r882",
      "r883",
      "r914",
      "r951",
      "r952",
      "r954",
      "r955",
      "r969",
      "r970",
      "r993",
      "r1003",
      "r1012",
      "r1016",
      "r1017",
      "r1018",
      "r1023",
      "r1024",
      "r1028",
      "r1029",
      "r1043",
      "r1049",
      "r1327",
      "r1336",
      "r1395",
      "r1418",
      "r1419",
      "r1420",
      "r1421",
      "r1422"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement [Domain]",
        "label": "Statistical Measurement [Domain]",
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r114",
      "r116",
      "r118",
      "r119",
      "r121",
      "r133",
      "r135",
      "r136",
      "r139",
      "r140",
      "r233",
      "r304",
      "r305",
      "r306",
      "r307",
      "r389",
      "r432",
      "r463",
      "r464",
      "r465",
      "r472",
      "r484",
      "r544",
      "r605",
      "r614",
      "r631",
      "r700",
      "r701",
      "r707",
      "r772",
      "r773",
      "r855",
      "r876",
      "r882",
      "r883",
      "r914",
      "r951",
      "r952",
      "r954",
      "r955",
      "r969",
      "r970",
      "r993",
      "r1003",
      "r1012",
      "r1016",
      "r1017",
      "r1018",
      "r1023",
      "r1024",
      "r1028",
      "r1029",
      "r1043",
      "r1049",
      "r1327",
      "r1336",
      "r1395",
      "r1418",
      "r1419",
      "r1420",
      "r1421",
      "r1422"
     ]
    },
    "us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net realized and unrealized (losses) gains on investments",
        "label": "Gain (Loss), Investment and Derivative, Operating, after Tax",
        "documentation": "Amount, after tax, of realized and unrealized gain (loss) on investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity."
       }
      }
     },
     "auth_ref": [
      "r834",
      "r1465"
     ]
    },
    "us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total net realized gain (loss) on investments, net of tax",
        "terseLabel": "Net realized gain (loss) on investments, net of tax",
        "label": "Realized Gain (Loss), Investment and Derivative, Operating, after Tax",
        "documentation": "Amount, after tax, of realized gain (loss) on investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity."
       }
      }
     },
     "auth_ref": [
      "r741",
      "r837",
      "r949",
      "r1059",
      "r1487"
     ]
    },
    "us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Income tax provision",
        "label": "Realized Gain (Loss), Investment and Derivative, Operating, Tax Expense (Benefit)",
        "documentation": "Amount of tax expense (benefit) from realized gain (loss) on investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity."
       }
      }
     },
     "auth_ref": [
      "r806",
      "r1483",
      "r1486",
      "r1509"
     ]
    },
    "cswc_RealizedGainLossOnExtinguishmentOfDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RealizedGainLossOnExtinguishmentOfDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 23.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Realized loss on extinguishment of debt",
        "label": "Realized Gain (Loss) On Extinguishment Of Debt",
        "documentation": "Realized Gain (Loss) On Extinguishment Of Debt"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_RealizedGainLossOnInvestmentsExtinguishmentOfDebtAndDisposalOfFixedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RealizedGainLossOnInvestmentsExtinguishmentOfDebtAndDisposalOfFixedAssets",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net realized gain (loss) on investments, extinguishment of debt and disposal of fixed assets",
        "label": "Realized Gain (Loss) On Investments, Extinguishment Of Debt And Disposal Of Fixed Assets",
        "documentation": "Realized Gain (Loss) On Investments, Extinguishment Of Debt And Disposal Of Fixed Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealizedInvestmentGainsLosses",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 18.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Realized (gain) loss on investments before income tax",
        "label": "Realized Investment Gains (Losses)",
        "documentation": "Amount of realized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r696"
     ]
    },
    "us-gaap_RealizedInvestmentGainsLossesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealizedInvestmentGainsLossesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized gain (loss)",
        "label": "Realized Investment Gains (Losses) [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ReclassificationForCertainPermanentBookToTaxDifferences": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ReclassificationForCertainPermanentBookToTaxDifferences",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Reclassification for certain permanent book-to-tax differences",
        "label": "Reclassification For Certain Permanent Book-To-Tax Differences",
        "documentation": "Reclassification For Certain Permanent Book-To-Tax Differences"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_RecoveryOfErrCompDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RecoveryOfErrCompDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Recovery of Erroneously Awarded Compensation Disclosure [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r1080",
      "r1091",
      "r1171",
      "r1206"
     ]
    },
    "cswc_RedemptionRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RedemptionRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Redemption Risk [Member]",
        "documentation": "Redemption Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ReferralRelationshipRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ReferralRelationshipRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Referral Relationship Risk [Member]",
        "documentation": "Referral Relationship Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cef_RegisteredClosedEndFundFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "RegisteredClosedEndFundFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registered Closed-End Fund [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1102"
     ]
    },
    "cswc_RegulatoryCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RegulatoryCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Regulatory capital",
        "label": "Regulatory Capital",
        "documentation": "Regulatory Capital"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_RegulatoryRestrictionRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RegulatoryRestrictionRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Regulatory Restriction Risk [Member]",
        "documentation": "Regulatory Restriction Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_RegulatoryRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RegulatoryRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Regulatory Risk [Member]",
        "documentation": "Regulatory Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party [Domain]",
        "label": "Related and Nonrelated Parties [Domain]",
        "documentation": "Related and nonrelated parties. Related party includes, but is not limited to, affiliate, other entity for which investment is accounted for under equity method, trust for benefit of employee, principal owner, management, and member of immediate family, and other party that may be prevented from pursuing separate interests because of control, significant influence, or ownership interest."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r182",
      "r183",
      "r251",
      "r406",
      "r422",
      "r591",
      "r592",
      "r683",
      "r688",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r804",
      "r849",
      "r1482"
     ]
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party Transaction [Line Items]",
        "label": "Related Party Transaction [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r182",
      "r183",
      "r251",
      "r591",
      "r592",
      "r593",
      "r813",
      "r814",
      "r817"
     ]
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party [Axis]",
        "label": "Related and Nonrelated Parties [Axis]",
        "documentation": "Information by related and nonrelated parties. Related party includes, but is not limited to, affiliate, other entity for which investment is accounted for under equity method, trust for benefit of employee, principal owner, management, and member of immediate family, and other party that may be prevented from pursuing separate interests because of control, significant influence, or ownership interest."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r182",
      "r183",
      "r251",
      "r406",
      "r422",
      "r591",
      "r592",
      "r683",
      "r688",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r804",
      "r849",
      "r1414",
      "r1482"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RELATED PARTY TRANSACTIONS",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates."
       }
      }
     },
     "auth_ref": [
      "r588",
      "r589",
      "r590",
      "r592",
      "r594",
      "r735",
      "r736",
      "r737",
      "r815",
      "r816",
      "r817",
      "r845",
      "r847"
     ]
    },
    "us-gaap_RepaymentsOfLongTermLinesOfCredit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepaymentsOfLongTermLinesOfCredit",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Repayments of Credit Facilities",
        "label": "Repayments of Long-Term Lines of Credit",
        "documentation": "The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r64"
     ]
    },
    "us-gaap_RepaymentsOfMediumTermNotes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepaymentsOfMediumTermNotes",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Redemption of notes",
        "label": "Repayments of Medium-Term Note",
        "documentation": "The cash outflow to pay off borrowing used to receive debt funding on a regular basis with maturities ranging from 5-10 years."
       }
      }
     },
     "auth_ref": [
      "r64"
     ]
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Counterparty Name [Domain]",
        "label": "Counterparty Name [Domain]",
        "documentation": "Named other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution."
       }
      }
     },
     "auth_ref": [
      "r137",
      "r138",
      "r174",
      "r184",
      "r185",
      "r327",
      "r369",
      "r593",
      "r615",
      "r677",
      "r974",
      "r975",
      "r976",
      "r1277",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1386",
      "r1387",
      "r1388",
      "r1389"
     ]
    },
    "cswc_ResearchConsultingServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ResearchConsultingServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Research &amp; Consulting Services",
        "verboseLabel": "Research &amp; Consulting Services",
        "label": "Research &amp; Consulting Services Sector [Member]",
        "documentation": "Research &amp; Consulting Services Sector"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_RestatementDateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDateAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restatement Determination Date:",
        "label": "Restatement Determination Date [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1081",
      "r1092",
      "r1172",
      "r1207"
     ]
    },
    "ecd_RestatementDeterminationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDeterminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restatement Determination Date",
        "label": "Restatement Determination Date"
       }
      }
     },
     "auth_ref": [
      "r1082",
      "r1093",
      "r1173",
      "r1208"
     ]
    },
    "ecd_RestatementDoesNotRequireRecoveryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDoesNotRequireRecoveryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restatement does not require Recovery",
        "label": "Restatement Does Not Require Recovery [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1089",
      "r1100",
      "r1180",
      "r1215"
     ]
    },
    "cswc_RestaurantsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RestaurantsSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restaurants",
        "label": "Restaurants Sector [Member]",
        "documentation": "Restaurants Sector"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestrictedCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RestrictedCash",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted cash",
        "label": "Restricted Cash",
        "documentation": "Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits."
       }
      }
     },
     "auth_ref": [
      "r1275",
      "r1292",
      "r1424",
      "r1428"
     ]
    },
    "us-gaap_RestrictedStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RestrictedStockMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted Stock",
        "label": "Restricted Stock [Member]",
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met."
       }
      }
     },
     "auth_ref": [
      "r1309",
      "r1346",
      "r1347",
      "r1348",
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354",
      "r1355",
      "r1356",
      "r1358",
      "r1359",
      "r1360",
      "r1361",
      "r1362",
      "r1363",
      "r1364",
      "r1365",
      "r1366",
      "r1367",
      "r1368",
      "r1369",
      "r1370",
      "r1371",
      "r1372"
     ]
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total distributable (loss) earnings",
        "label": "Retained Earnings (Accumulated Deficit)",
        "documentation": "Amount of accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r80",
      "r686",
      "r705",
      "r706",
      "r727",
      "r786",
      "r1033"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Total Distributable Earnings (Loss)",
        "terseLabel": "Total distributable earnings",
        "label": "Retained Earnings [Member]",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r142",
      "r143",
      "r187",
      "r188",
      "r189",
      "r191",
      "r198",
      "r200",
      "r202",
      "r286",
      "r287",
      "r296",
      "r353",
      "r473",
      "r504",
      "r505",
      "r512",
      "r513",
      "r514",
      "r516",
      "r517",
      "r518",
      "r525",
      "r527",
      "r528",
      "r530",
      "r537",
      "r578",
      "r579",
      "r702",
      "r704",
      "r743",
      "r1493"
     ]
    },
    "cef_ReturnAtMinusFivePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ReturnAtMinusFivePercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Five [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1159"
     ]
    },
    "cef_ReturnAtMinusTenPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ReturnAtMinusTenPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Ten [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1159"
     ]
    },
    "cef_ReturnAtPlusFivePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ReturnAtPlusFivePercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Five [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1159"
     ]
    },
    "cef_ReturnAtPlusTenPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ReturnAtPlusTenPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Ten [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1159"
     ]
    },
    "cef_ReturnAtZeroPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ReturnAtZeroPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Zero [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1159"
     ]
    },
    "us-gaap_RevenueRecognitionDividends": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevenueRecognitionDividends",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend Income",
        "label": "Revenue Recognition, Dividends [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for revenue recognition for dividend revenue."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_RevenueRecognitionFeeIncomePolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RevenueRecognitionFeeIncomePolicyPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fee Income",
        "label": "Revenue Recognition, Fee Income Policy [Policy Text Block]",
        "documentation": "Revenue Recognition, Fee Income Policy"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueRecognitionInterest": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevenueRecognitionInterest",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest Income and Payment-in-Kind Interest",
        "label": "Revenue Recognition, Interest [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for recognition of interest revenue. Disclosure may include the method of recognizing interest income on loan and trade receivables, the method of amortizing premiums or accreting discounts, and a statement about the policy for the treatment of related fees and costs, including the method of amortizing net deferred fees and costs."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_RevoBrandsINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "RevoBrandsINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "REVO BRANDS, INC.",
        "label": "Revo Brands, INC [Member]",
        "documentation": "Revo Brands, INC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevolvingCreditFacilityMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Corporate Credit Facility",
        "verboseLabel": "Revolving Loans",
        "label": "Revolving Credit Facility [Member]",
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount."
       }
      }
     },
     "auth_ref": []
    },
    "cef_RightsLimitedByOtherSecuritiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "RightsLimitedByOtherSecuritiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1115"
     ]
    },
    "cef_RightsSubjectToOtherThanMajorityVoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "RightsSubjectToOtherThanMajorityVoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Subject to Other than Majority Vote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1114"
     ]
    },
    "cef_RiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "RiskAxis",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1155"
     ]
    },
    "cef_RiskFactorsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "RiskFactorsTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Factors [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1155"
     ]
    },
    "cef_RiskTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "RiskTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1155"
     ]
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Rule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Rule 10b5-1 Arrangement Adopted",
        "label": "Rule 10b5-1 Arrangement Adopted [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Rule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Rule 10b5-1 Arrangement Terminated",
        "label": "Rule 10b5-1 Arrangement Terminated [Flag]"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "cswc_S2023Q1TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2023Q1TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 31, 2023 supplemental",
        "label": "S 2023 Q1 Tax Year Dividends [Member]",
        "documentation": "S 2023 Q1 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2023Q2TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2023Q2TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "June 30, 2023 supplemental",
        "label": "S 2023 Q2 Tax Year Dividends [Member]",
        "documentation": "S 2023 Q2 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2023Q3TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2023Q3TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "September 30, 2023 supplemental",
        "label": "S 2023 Q3 Tax Year Dividends [Member]",
        "documentation": "S 2023 Q3 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2023Q4TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2023Q4TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "December 31, 2023 supplemental",
        "label": "S 2023 Q4 Tax Year Dividends [Member]",
        "documentation": "S 2023 Q4 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2024Q1TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2024Q1TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 31, 2024 supplemental",
        "label": "S 2024 Q1 Tax Year Dividends [Member]",
        "documentation": "S 2024 Q1 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2024Q2TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2024Q2TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "June 30, 2024 supplemental",
        "label": "S 2024 Q2 Tax Year Dividends [Member]",
        "documentation": "S 2024 Q2 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2024Q3TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2024Q3TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "September 30, 2024 supplemental",
        "label": "S 2024 Q3 Tax Year Dividends [Member]",
        "documentation": "S 2024 Q3 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2024Q4TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2024Q4TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "December 31, 2024 supplemental",
        "label": "S 2024 Q4 Tax Year Dividends [Member]",
        "documentation": "S 2024 Q4 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2025M12TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2025M12TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "December 31, 2025 supplemental",
        "label": "S 2025 M12 Tax Year Dividends [Member]",
        "documentation": "S 2025 M12 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2025M9TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2025M9TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "September 30, 2025 supplemental",
        "label": "S 2025 M9 Tax Year Dividends [Member]",
        "documentation": "S 2025 M9 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2025Q1TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2025Q1TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 31, 2025 supplemental",
        "label": "S 2025 Q1 Tax Year Dividends [Member]",
        "documentation": "S 2025 Q1 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2025Q2TaxYearDividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2025Q2TaxYearDividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "June 30, 2025 supplemental",
        "label": "S 2025 Q2 Tax Year Dividends [Member]",
        "documentation": "S 2025 Q2 Tax Year Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2026Q4DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2026Q4DividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "S 2026 Q4 Dividends",
        "label": "S 2026 Q4 Dividends [Member]",
        "documentation": "S 2026 Q4 Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_S2027Q1DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "S2027Q1DividendsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "S 2027 Q1 Dividends",
        "label": "S 2027 Q1 Dividends [Member]",
        "documentation": "S 2027 Q1 Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SBADebenturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SBADebenturesMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBA Debentures [Member]",
        "documentation": "SBA Debentures"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SBICIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SBICIIMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SBIC II",
        "label": "SBIC II [Member]",
        "documentation": "SBIC II"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SBICIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SBICIMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SBIC I",
        "label": "SBIC I [Member]",
        "documentation": "SBIC I"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SERVERLIFTLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SERVERLIFTLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SERVERLIFT, LLC",
        "label": "SERVERLIFT, LLC [Member]",
        "documentation": "SERVERLIFT, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SOCIALSEOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SOCIALSEOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SOCIALSEO, LLC",
        "label": "SOCIALSEO, LLC [Member]",
        "documentation": "SOCIALSEO, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SPECTRUMOFHOPELLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SPECTRUMOFHOPELLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SPECTRUM OF HOPE, LLC",
        "label": "SPECTRUM OF HOPE, LLC [Member]",
        "documentation": "SPECTRUM OF HOPE, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SPHERIXGLOBALINSIGHTSUSINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SPHERIXGLOBALINSIGHTSUSINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SPHERIX GLOBAL INSIGHTS US, INC.",
        "label": "SPHERIX GLOBAL INSIGHTS US, INC. [Member]",
        "documentation": "SPHERIX GLOBAL INSIGHTS US, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_STATINMEDLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "STATINMEDLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "STATINMED, LLC",
        "label": "STATINMED, LLC [Member]",
        "documentation": "STATINMED, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_STELLANTMIDCOLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "STELLANTMIDCOLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "STELLANT MIDCO, LLC",
        "label": "STELLANT MIDCO, LLC [Member]",
        "documentation": "STELLANT MIDCO, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_STUDENTRESOURCECENTERLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "STUDENTRESOURCECENTERLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "STUDENT RESOURCE CENTER LLC",
        "label": "STUDENT RESOURCE CENTER LLC [Member]",
        "documentation": "STUDENT RESOURCE CENTER LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SUPERIORHEALTHPARENTLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SUPERIORHEALTHPARENTLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SUPERIOR HEALTH PARENT LLC",
        "label": "SUPERIOR HEALTH PARENT LLC [Member]",
        "documentation": "SUPERIOR HEALTH PARENT LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SUREKAPLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SUREKAPLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SUREKAP, LLC",
        "label": "SUREKAP, LLC [Member]",
        "documentation": "SUREKAP, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SWENSONSDRIVEINRESTAURANTSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SWENSONSDRIVEINRESTAURANTSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SWENSONS DRIVE-IN RESTAURANTS, LLC",
        "label": "SWENSONS DRIVE-IN RESTAURANTS, LLC [Member]",
        "documentation": "SWENSONS DRIVE-IN RESTAURANTS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SaleOfStockConsiderationReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SaleOfStockConsiderationReceivable",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Remaining receivable",
        "label": "Sale of Stock, Consideration Receivable",
        "documentation": "Sale of Stock, Consideration Receivable"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockConsiderationReceivedOnTransaction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SaleOfStockConsiderationReceivedOnTransaction",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net proceeds received",
        "label": "Sale of Stock, Consideration Received on Transaction",
        "documentation": "Cash received on stock transaction after deduction of issuance costs."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SaleOfStockGrossSalesPriceCommissionPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SaleOfStockGrossSalesPriceCommissionPercentage",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross sales commission percentage",
        "label": "Sale Of Stock, Gross Sales Price Commission Percentage",
        "documentation": "Sale Of Stock, Gross Sales Price Commission Percentage"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SaleOfStockMaximumConsiderationThreshold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SaleOfStockMaximumConsiderationThreshold",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum consideration threshold",
        "label": "Sale Of Stock, Maximum Consideration Threshold",
        "documentation": "Sale Of Stock, Maximum Consideration Threshold"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SaleOfStockNameOfTransactionDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sale of Stock [Domain]",
        "label": "Sale of Stock [Domain]",
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SaleOfStockNumberOfAdditionalSalesAgents": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SaleOfStockNumberOfAdditionalSalesAgents",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of additional sales agents",
        "label": "Sale Of Stock, Number Of Additional Sales Agents",
        "documentation": "Sale Of Stock, Number Of Additional Sales Agents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of shares sold (in shares)",
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SaleOfStockWeightedAveragePricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SaleOfStockWeightedAveragePricePerShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average price per share (in usd per share)",
        "label": "Sale Of Stock, Weighted Average, Price Per Share",
        "documentation": "Sale Of Stock, Weighted Average, Price Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "cef_SalesLoadPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SalesLoadPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1127"
     ]
    },
    "us-gaap_ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAccumulatedAndProjectedBenefitObligationsTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Amounts Recognized in Consolidated Statements of Assets and Liabilities",
        "label": "Schedule of Accumulated and Projected Benefit Obligations [Table Text Block]",
        "documentation": "Tabular disclosure of benefit obligations including accumulated benefit obligation and projected benefit obligation."
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "us-gaap_ScheduleOfAssumptionsUsedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAssumptionsUsedTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Assumptions Used",
        "label": "Defined Benefit Plan, Assumptions [Table Text Block]",
        "documentation": "Tabular disclosure of assumption used to determine benefit obligation and net periodic benefit cost of defined benefit plan. Includes, but is not limited to, discount rate, rate of compensation increase, expected long-term rate of return on plan assets and interest crediting rate."
       }
      }
     },
     "auth_ref": [
      "r403",
      "r420"
     ]
    },
    "us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Federal and State Income Taxes Paid",
        "label": "Schedule of Cash Flow, Supplemental Disclosures [Table Text Block]",
        "documentation": "Tabular disclosure of supplemental cash flow information for the periods presented."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Changes in Benefit Obligation",
        "label": "Schedule of Changes in Projected Benefit Obligations [Table Text Block]",
        "documentation": "Tabular disclosure of the change in the benefit obligation of pension plans and/or other employee benefit plans from the beginning to the end of the period, showing separately, if applicable, the effects of the following: service cost, interest cost, contributions by plan participants, actuarial gains and losses, foreign currency exchange rate changes, benefits paid, plan amendments, business combinations, divestitures, curtailments, settlements, and special and contractual termination benefits."
       }
      }
     },
     "auth_ref": [
      "r81"
     ]
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Significant Components of Income Tax Provision",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years."
       }
      }
     },
     "auth_ref": [
      "r1381"
     ]
    },
    "us-gaap_ScheduleOfCostsOfRetirementPlansTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfCostsOfRetirementPlansTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Net Pension Costs",
        "label": "Schedule of Costs of Retirement Plans [Table Text Block]",
        "documentation": "Tabular disclosure of the costs related to the various types of retirement plans including defined benefit pension plan cost, defined contribution plan cost, other postretirement benefit plan cost, and net periodic benefit cost."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Notes and SBA Debentures",
        "label": "Schedule of Long-Term Debt Instruments [Table Text Block]",
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r24",
      "r26",
      "r34",
      "r77",
      "r79",
      "r998",
      "r1000",
      "r1295",
      "r1302",
      "r1406",
      "r1425"
     ]
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDebtTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Borrowings Outstanding",
        "label": "Schedule of Debt [Table Text Block]",
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Deferred Tax Assets and Liabilities",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets."
       }
      }
     },
     "auth_ref": [
      "r1377"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHARETables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Basic and Diluted Net Increase in Net Assets Per Share",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r1308"
     ]
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Name [Axis]",
        "label": "Investment, Name [Axis]",
        "documentation": "Information by name of investment including named security. Excludes entity that is consolidated."
       }
      }
     },
     "auth_ref": [
      "r282",
      "r283",
      "r284",
      "r511",
      "r567",
      "r1258",
      "r1259",
      "r1260",
      "r1382",
      "r1383",
      "r1384",
      "r1385"
     ]
    },
    "us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfExpectedBenefitPaymentsTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RETIREMENTPLANSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Expected Benefit Payments",
        "label": "Schedule of Expected Benefit Payments [Table Text Block]",
        "documentation": "Tabular disclosure of benefits expected to be paid by pension plans and/or other employee benefit plans in each of the next five fiscal years and in the aggregate for the five fiscal years thereafter."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r1345"
     ]
    },
    "us-gaap_ScheduleOfInvestmentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfInvestmentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Investments [Table]",
        "label": "Schedule of Investments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Investments in and Advances to Affiliates",
        "label": "Schedule of Investments in and Advances to Affiliates, Schedule of Investments [Table Text Block]",
        "documentation": "A tabular presentation of the information summarizing investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates, as prescribed by the SEC. It reflects specified information about ownership, financial results from, and financial position in such entities. Includes the tabular presentations that disaggregate investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfInvestmentsLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails",
      "http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Investments [Line Items]",
        "label": "Schedule of Investments [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r852",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r869",
      "r870",
      "r871",
      "r873",
      "r875",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r886",
      "r888",
      "r889",
      "r890",
      "r891",
      "r892",
      "r893",
      "r894",
      "r895",
      "r896",
      "r897",
      "r898",
      "r899",
      "r900",
      "r901",
      "r902",
      "r903",
      "r905",
      "r906",
      "r907",
      "r908",
      "r909",
      "r910",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r931",
      "r932",
      "r933",
      "r934",
      "r935",
      "r936"
     ]
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfInvestmentsTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Investments [Table]",
        "label": "Schedule of Investments [Table]",
        "documentation": "Disclosure of information about investments owned by investment company."
       }
      }
     },
     "auth_ref": [
      "r852",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r869",
      "r870",
      "r871",
      "r873",
      "r875",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r886",
      "r888",
      "r889",
      "r890",
      "r891",
      "r892",
      "r893",
      "r894",
      "r895",
      "r896",
      "r897",
      "r898",
      "r899",
      "r900",
      "r901",
      "r902",
      "r903",
      "r905",
      "r906",
      "r907",
      "r909",
      "r910",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r931",
      "r932",
      "r933",
      "r934",
      "r935",
      "r936"
     ]
    },
    "us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfLineOfCreditFacilitiesTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Credit Facilities",
        "label": "Schedule of Line of Credit Facilities [Table Text Block]",
        "documentation": "Tabular disclosure of short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r41"
     ]
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Contractual Payment Obligations",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfQuarterlyFinancialInformationTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Quarterly Financial Information",
        "label": "Quarterly Financial Information [Table Text Block]",
        "documentation": "Tabular disclosure of quarterly financial data. Includes, but is not limited to, financial information for fiscal quarters, cumulative effect of a change in accounting principle and earnings per share data."
       }
      }
     },
     "auth_ref": [
      "r106"
     ]
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Related Party Transactions, by Related Party [Table]",
        "label": "Related Party Transaction [Table]",
        "documentation": "Disclosure of information about related party transaction."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r182",
      "r183",
      "r591",
      "r592",
      "r593",
      "r813",
      "r814",
      "r817"
     ]
    },
    "us-gaap_ScheduleOfSaleOfStockBySubsidiaryOrEquityMethodInvesteeDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSaleOfStockBySubsidiaryOrEquityMethodInvesteeDisclosureTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Shares Sold",
        "label": "Schedule of Sale of Stock by Subsidiary or Equity Method Investee Disclosure [Table Text Block]",
        "documentation": "Tabular disclosure of sales of stock or previously unissued stock made by subsidiary or equity method investee to investors outside the consolidated group. This includes stock issued in a business combination in exchange for shares of an acquired entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "documentation": "Disclosure of information about share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r434",
      "r436",
      "r438",
      "r439",
      "r440",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r461",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r472"
     ]
    },
    "us-gaap_ScheduleOfSubsidiaryOrEquityMethodInvesteeTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSubsidiaryOrEquityMethodInvesteeTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Subsidiary or Equity Method Investee [Table]",
        "label": "Subsidiary or Equity Method Investee, Sale of Stock [Table]",
        "documentation": "Disclosure of information about sale of stock made by subsidiary or equity method investee to investor outside consolidated group. Includes, but is not limited to, stock issued in business combination in exchange for share of acquired entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfTreasuryStockByClassTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfTreasuryStockByClassTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Share Repurchases",
        "label": "Class of Treasury Stock [Table Text Block]",
        "documentation": "Tabular disclosure of treasury stock, including, but not limited to, average cost per share, description of share repurchase program, shares repurchased, shares held for each class of treasury stock."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31"
     ]
    },
    "us-gaap_ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfUnvestedRestrictedStockUnitsRollForwardTableTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Restricted Stock Outstanding",
        "label": "Schedule of Unvested Restricted Stock Units Roll Forward [Table Text Block]",
        "documentation": "Tabular disclosure of the change in restricted stock units (RSUs)."
       }
      }
     },
     "auth_ref": [
      "r1357"
     ]
    },
    "cswc_SecondLienLoansSplitLienTermLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SecondLienLoansSplitLienTermLoansMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Second Lien Loans, Split Lien Term Loans",
        "label": "Second Lien Loans, Split Lien Term Loans [Member]",
        "documentation": "Second Lien Loans, Split Lien Term Loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SecuredDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecuredDebtMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SPV Credit Facility",
        "verboseLabel": "SPV Credit Facility",
        "label": "Secured Debt [Member]",
        "documentation": "Collateralized debt obligation backed by, for example, but not limited to, pledge, mortgage or other lien on the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SecuritiesLitigationOrShareholderActivismRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SecuritiesLitigationOrShareholderActivismRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Securities Litigation Or Shareholder Activism Risk [Member]",
        "documentation": "Securities Litigation Or Shareholder Activism Risk"
       }
      }
     },
     "auth_ref": []
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r1062"
     ]
    },
    "cef_SecurityDividendsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SecurityDividendsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Dividends [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1105"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r1065"
     ]
    },
    "cef_SecurityLiabilitiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SecurityLiabilitiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liabilities [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1108"
     ]
    },
    "cef_SecurityLiquidationRightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SecurityLiquidationRightsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liquidation Rights [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1107"
     ]
    },
    "cef_SecurityObligationsOfOwnershipTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SecurityObligationsOfOwnershipTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Obligations of Ownership [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1110"
     ]
    },
    "cef_SecurityPreemptiveAndOtherRightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SecurityPreemptiveAndOtherRightsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Preemptive and Other Rights [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1109"
     ]
    },
    "cef_SecurityTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SecurityTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Title [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1104"
     ]
    },
    "cef_SecurityVotingRightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SecurityVotingRightsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Voting Rights [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1106"
     ]
    },
    "srt_SegmentGeographicalDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "SegmentGeographicalDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Geographical [Domain]",
        "label": "Geographical [Domain]",
        "documentation": "Geographical area."
       }
      }
     },
     "auth_ref": [
      "r115",
      "r117",
      "r120",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r134",
      "r135",
      "r136",
      "r230",
      "r248",
      "r249",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r670",
      "r671",
      "r672",
      "r673",
      "r763",
      "r767",
      "r769",
      "r861",
      "r878",
      "r900",
      "r933",
      "r951",
      "r953",
      "r954",
      "r955",
      "r959",
      "r960",
      "r961",
      "r962",
      "r964",
      "r965",
      "r966",
      "r967",
      "r968",
      "r972",
      "r983",
      "r1004",
      "r1005",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042",
      "r1044",
      "r1049",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436",
      "r1437",
      "r1438",
      "r1439",
      "r1440",
      "r1441",
      "r1442",
      "r1443",
      "r1444",
      "r1445",
      "r1446",
      "r1447",
      "r1448",
      "r1449",
      "r1450",
      "r1451",
      "r1452",
      "r1453",
      "r1454",
      "r1455",
      "r1456",
      "r1457",
      "r1458",
      "r1459"
     ]
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segment Reporting",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for segment reporting."
       }
      }
     },
     "auth_ref": [
      "r238",
      "r239",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r247",
      "r248",
      "r987",
      "r988",
      "r991"
     ]
    },
    "cswc_SeniorLoansRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SeniorLoansRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Loans Risk [Member]",
        "documentation": "Senior Loans Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesAmt",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount"
       }
      }
     },
     "auth_ref": [
      "r1147"
     ]
    },
    "cef_SeniorSecuritiesAverageMarketValuePerUnit": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesAverageMarketValuePerUnit",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Average Market Value per Unit"
       }
      }
     },
     "auth_ref": [
      "r1149"
     ]
    },
    "cef_SeniorSecuritiesAveragingMethodNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesAveragingMethodNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Averaging Method, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1151"
     ]
    },
    "cef_SeniorSecuritiesCvgPerUnit": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesCvgPerUnit",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit"
       }
      }
     },
     "auth_ref": [
      "r1148"
     ]
    },
    "cef_SeniorSecuritiesHeadingsNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesHeadingsNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Headings, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1152"
     ]
    },
    "cef_SeniorSecuritiesHighlightsAnnualizedNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesHighlightsAnnualizedNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Annualized, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1144",
      "r1150"
     ]
    },
    "cef_SeniorSecuritiesHighlightsAuditedNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesHighlightsAuditedNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Audited, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1145",
      "r1150"
     ]
    },
    "cef_SeniorSecuritiesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1143",
      "r1150"
     ]
    },
    "cef_SeniorSecuritiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SeniorSecuritiesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1146"
     ]
    },
    "cswc_September2030NotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "September2030NotesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "September 2030 Notes",
        "label": "September 2030 Notes [Member]",
        "documentation": "September 2030 Notes"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SettlementOrConversionRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SettlementOrConversionRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Settlement Or Conversion Risk [Member]",
        "documentation": "Settlement Or Conversion Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensation",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share-based compensation expense",
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "documentation": "Amount of noncash expense for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Term of service",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Requisite Service Period",
        "documentation": "Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r1013"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vesting period (in years)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition."
       }
      }
     },
     "auth_ref": [
      "r1013"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Forfeited (in shares)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r455"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forfeited (in usd per share)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event."
       }
      }
     },
     "auth_ref": [
      "r455"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Granted (in shares)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan)."
       }
      }
     },
     "auth_ref": [
      "r453"
     ]
    },
    "cswc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodPerDirector": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodPerDirector",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Grant market value",
        "label": "Share-Based Compensation Arrangement By Share-Based Payment Award, Equity Instruments Other Than Options, Grants In Period, Per Director",
        "documentation": "Share-Based Compensation Arrangement By Share-Based Payment Award, Equity Instruments Other Than Options, Grants In Period, Per Director"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Granted (in usd per share)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan)."
       }
      }
     },
     "auth_ref": [
      "r453"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance (in shares)",
        "periodEndLabel": "Ending balance (in shares)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r450",
      "r451"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number\u00a0of\u00a0Shares",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance (in usd per share)",
        "periodEndLabel": "Ending balance (in usd per share)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options."
       }
      }
     },
     "auth_ref": [
      "r450",
      "r451"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average Fair Value Per Share at grant date",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average Vesting Term (in years)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Outstanding, Weighted Average Remaining Contractual Terms",
        "documentation": "Weighted average remaining contractual term for equity-based awards excluding options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r84"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Vested (in shares)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r454"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vested (in usd per share)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement."
       }
      }
     },
     "auth_ref": [
      "r454"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r434",
      "r436",
      "r438",
      "r439",
      "r440",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r461",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r472"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of shares increases in available for issuance (in shares)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Additional Shares Authorized",
        "documentation": "Number of additional shares authorized for issuance under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1374"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available for issuance (in shares)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized",
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1014"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Remaining number of shares authorized (in shares)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant",
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable."
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "cswc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsNonvestedWeightedAverageRemainingVestingTermAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsNonvestedWeightedAverageRemainingVestingTermAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average Remaining Vesting Term (in Years)",
        "label": "Share-Based Compensation Arrangement By Share-Based Payment Award, Options, Nonvested, Weighted Average Remaining\u00a0Vesting Term [Abstract]",
        "documentation": "Share-Based Compensation Arrangement By Share-Based Payment Award, Options, Nonvested, Weighted Average Remaining\u00a0Vesting Term"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanExpirationPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanExpirationPeriod",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Right to grant period (in years)",
        "label": "Share-Based Compensation Arrangement By Share-Based Payment Award, Plan Expiration Period",
        "documentation": "Share-Based Compensation Arrangement By Share-Based Payment Award, Plan Expiration Period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Incremental compensation cost",
        "label": "Share-Based Payment Arrangement, Plan Modification, Incremental Cost",
        "documentation": "An excess of the fair value of the modified award over the fair value of the award immediately before the modification."
       }
      }
     },
     "auth_ref": [
      "r470"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Type [Domain]",
        "label": "Award Type [Domain]",
        "documentation": "Award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r438",
      "r439",
      "r440",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466"
     ]
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stock-Based Compensation",
        "label": "Share-Based Payment Arrangement [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost."
       }
      }
     },
     "auth_ref": [
      "r433",
      "r441",
      "r460",
      "r461",
      "r462",
      "r463",
      "r466",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482"
     ]
    },
    "us-gaap_SharePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharePrice",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price",
        "terseLabel": "Closing stock price at issuance (in usd per share)",
        "documentation": "Price of a single share of a number of saleable stocks of a company."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SharePriceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SharePriceTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1161"
     ]
    },
    "cef_SharePricesNotActualTransactionsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "SharePricesNotActualTransactionsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Prices Not Actual Transactions [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1162"
     ]
    },
    "srt_ShareRepurchaseProgramAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ShareRepurchaseProgramAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share Repurchase Program [Axis]",
        "label": "Share Repurchase Program [Axis]",
        "documentation": "Information by share repurchase program."
       }
      }
     },
     "auth_ref": [
      "r1342"
     ]
    },
    "srt_ShareRepurchaseProgramDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ShareRepurchaseProgramDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share Repurchase Program [Domain]",
        "label": "Share Repurchase Program [Domain]",
        "documentation": "Name of share repurchase program."
       }
      }
     },
     "auth_ref": [
      "r1342"
     ]
    },
    "cswc_ShareholderDilutionRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ShareholderDilutionRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Dilution Risk [Member]",
        "documentation": "Shareholder Dilution Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cef_ShareholderTransactionExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "ShareholderTransactionExpensesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Transaction Expenses [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1127"
     ]
    },
    "us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharesPaidForTaxWithholdingForShareBasedCompensation",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Common stock withheld for payroll taxes upon vesting of restricted stock (in shares)",
        "label": "Share-Based Payment Arrangement, Shares Withheld for Tax Withholding Obligation",
        "documentation": "Number of shares used to settle grantee's tax withholding obligation for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1374"
     ]
    },
    "cswc_SharesRepurchasedRestrictedStockAwardsVestedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SharesRepurchasedRestrictedStockAwardsVestedMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares repurchased for restricted stock awards vested",
        "label": "Shares Repurchased, Restricted Stock Awards Vested [Member]",
        "documentation": "Shares Repurchased, Restricted Stock Awards Vested"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ShearwaterResearchInc.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ShearwaterResearchInc.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SHEARWATER RESEARCH, INC.",
        "label": "Shearwater Research, Inc. [Member]",
        "documentation": "Shearwater Research, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
        "label": "Significant Accounting Policies [Text Block]",
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r172",
      "r173"
     ]
    },
    "cswc_SmallBusinessAdministrationDebenturesDueDecember2034PoolMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueDecember2034PoolMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due December 2034",
        "label": "Small Business Administration Debentures Due, December 2034 Pool [Member]",
        "documentation": "Small Business Administration Debentures Due, December 2034 Pool"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesDueMarch2032Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueMarch2032Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due March 2032",
        "label": "Small Business Administration Debentures, Due March 2032 [Member]",
        "documentation": "Small Business Administration Debentures, Due March 2032"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesDueMarch2033Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueMarch2033Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due March 2033",
        "label": "Small Business Administration Debentures, Due March 2033 [Member]",
        "documentation": "Small Business Administration Debentures, Due March 2033"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesDueMarch2034Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueMarch2034Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due March 2034",
        "label": "Small Business Administration Debentures, Due March 2034 [Member]",
        "documentation": "Small Business Administration Debentures, Due March 2034"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesDueMarch2035PoolMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueMarch2035PoolMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due March 2035",
        "label": "Small Business Administration Debentures Due, March 2035 Pool [Member]",
        "documentation": "Small Business Administration Debentures Due, March 2035 Pool"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesDueMarch2036PoolMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueMarch2036PoolMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due March 2036",
        "label": "Small Business Administration Debentures Due, March 2036 Pool [Member]",
        "documentation": "Small Business Administration Debentures Due, March 2036 Pool"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesDueSeptember2031Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueSeptember2031Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due September 2031",
        "label": "Small Business Administration Debentures, Due September 2031 [Member]",
        "documentation": "Small Business Administration Debentures, Due September 2031"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesDueSeptember2032Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueSeptember2032Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due September 2032",
        "label": "Small Business Administration Debentures, Due September 2032 [Member]",
        "documentation": "Small Business Administration Debentures, Due September 2032"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesDueSeptember2033Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesDueSeptember2033Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debentures due September 2033",
        "label": "Small Business Administration Debentures, Due September 2033 [Member]",
        "documentation": "Small Business Administration Debentures, Due September 2033"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesMarch2026PoolMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesMarch2026PoolMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Small Business Administration Debentures Due, March 2026",
        "label": "Small Business Administration Debentures, March 2026 Pool [Member]",
        "documentation": "Small Business Administration Debentures, March 2026 Pool"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationDebenturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationDebenturesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SBA Debentures",
        "label": "Small Business Administration Debentures [Member]",
        "documentation": "Small Business Administration Debentures"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SmallBusinessAdministrationRegulatoryRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SmallBusinessAdministrationRegulatoryRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Small Business Administration Regulatory Risk [Member]",
        "documentation": "Small Business Administration Regulatory Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SoftwareAndITServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SoftwareAndITServicesSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Software &amp; IT Services",
        "label": "Software And IT Services Sector [Member]",
        "documentation": "Software And IT Services Sector"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SoutheastRegionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SoutheastRegionMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Southeast",
        "label": "US Southeast Region [Member]",
        "documentation": "Region of United States of America (US) designated as Southeast."
       }
      }
     },
     "auth_ref": [
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "us-gaap_SouthwestRegionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SouthwestRegionMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Southwest",
        "label": "US Southwest Region [Member]",
        "documentation": "Region of United States of America (US) designated as Southwest."
       }
      }
     },
     "auth_ref": [
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "cswc_SpecialPurposeVehicleFinancingCreditFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SpecialPurposeVehicleFinancingCreditFacilityMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SPV Credit Facility",
        "label": "Special Purpose Vehicle Financing Credit Facility [Member]",
        "documentation": "Special Purpose Vehicle Financing Credit Facility"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SpecialtyRetailSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SpecialtyRetailSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Specialty Retail",
        "label": "Specialty Retail Sector [Member]",
        "documentation": "Specialty Retail Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SpotlightARLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SpotlightARLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SPOTLIGHT AR, LLC",
        "label": "Spotlight AR, LLC [Member]",
        "documentation": "Spotlight AR, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Axis]",
        "documentation": "Information by the different classes of stock of the entity."
       }
      }
     },
     "auth_ref": [
      "r111",
      "r151",
      "r152",
      "r153",
      "r174",
      "r179",
      "r207",
      "r208",
      "r214",
      "r218",
      "r226",
      "r227",
      "r285",
      "r314",
      "r316",
      "r317",
      "r318",
      "r321",
      "r322",
      "r356",
      "r357",
      "r359",
      "r360",
      "r362",
      "r364",
      "r367",
      "r368",
      "r371",
      "r374",
      "r381",
      "r567",
      "r722",
      "r723",
      "r724",
      "r725",
      "r743",
      "r747",
      "r750",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r785",
      "r809",
      "r841",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r1257",
      "r1297",
      "r1299",
      "r1307"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Components [Axis]",
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r49",
      "r52",
      "r53",
      "r141",
      "r142",
      "r143",
      "r158",
      "r159",
      "r160",
      "r187",
      "r188",
      "r189",
      "r191",
      "r198",
      "r200",
      "r202",
      "r225",
      "r286",
      "r287",
      "r296",
      "r353",
      "r382",
      "r473",
      "r504",
      "r505",
      "r512",
      "r513",
      "r514",
      "r516",
      "r517",
      "r518",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r537",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r578",
      "r579",
      "r587",
      "r690",
      "r702",
      "r703",
      "r704",
      "r743",
      "r841"
     ]
    },
    "srt_StatementGeographicalAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StatementGeographicalAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Geographical [Axis]",
        "label": "Geographical [Axis]",
        "documentation": "Information by geographical components."
       }
      }
     },
     "auth_ref": [
      "r115",
      "r117",
      "r120",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r134",
      "r135",
      "r136",
      "r230",
      "r248",
      "r249",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r670",
      "r671",
      "r672",
      "r673",
      "r763",
      "r767",
      "r769",
      "r861",
      "r878",
      "r900",
      "r933",
      "r951",
      "r953",
      "r954",
      "r955",
      "r959",
      "r960",
      "r961",
      "r962",
      "r964",
      "r965",
      "r966",
      "r967",
      "r968",
      "r972",
      "r983",
      "r1004",
      "r1005",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042",
      "r1044",
      "r1049",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436",
      "r1437",
      "r1438",
      "r1439",
      "r1440",
      "r1441",
      "r1442",
      "r1443",
      "r1444",
      "r1445",
      "r1446",
      "r1447",
      "r1448",
      "r1449",
      "r1450",
      "r1451",
      "r1452",
      "r1453",
      "r1454",
      "r1455",
      "r1456",
      "r1457",
      "r1458",
      "r1459"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Line Items]",
        "label": "Statement [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r188",
      "r189",
      "r225",
      "r356",
      "r357",
      "r359",
      "r362",
      "r579",
      "r632",
      "r713",
      "r744",
      "r759",
      "r776",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r785",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r795",
      "r796",
      "r797",
      "r798",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r811",
      "r812",
      "r822",
      "r823",
      "r824",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r832",
      "r833",
      "r841",
      "r979",
      "r980",
      "r1050",
      "r1482"
     ]
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Table]",
        "label": "Statement [Table]",
        "documentation": "Presentation of information about comprehensive income, income, other comprehensive income, financial position, cash flows, and shareholders' equity."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r188",
      "r189",
      "r225",
      "r251",
      "r356",
      "r357",
      "r359",
      "r362",
      "r579",
      "r632",
      "r713",
      "r744",
      "r759",
      "r776",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r785",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r795",
      "r796",
      "r797",
      "r798",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r811",
      "r812",
      "r822",
      "r823",
      "r824",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r832",
      "r833",
      "r841",
      "r979",
      "r980",
      "r1050",
      "r1482"
     ]
    },
    "ecd_StkPrcOrTsrEstimationMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "StkPrcOrTsrEstimationMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stock Price or TSR Estimation Method",
        "label": "Stock Price or TSR Estimation Method [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1084",
      "r1095",
      "r1175",
      "r1210"
     ]
    },
    "us-gaap_StockAppreciationRightsSARSMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockAppreciationRightsSARSMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stock Appreciation Rights (SARs)",
        "label": "Stock Appreciation Rights (SARs) [Member]",
        "documentation": "Right to receive cash or shares equal to appreciation of predetermined number of grantor's shares during predetermined time period."
       }
      }
     },
     "auth_ref": [
      "r1346",
      "r1347",
      "r1348",
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354",
      "r1355",
      "r1356",
      "r1358",
      "r1359",
      "r1360",
      "r1361",
      "r1362",
      "r1363",
      "r1364",
      "r1365",
      "r1366",
      "r1367",
      "r1368",
      "r1369",
      "r1370",
      "r1371",
      "r1372"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock (in shares)",
        "label": "Stock Issued During Period, Shares, New Issues",
        "documentation": "Number of new stock issued during the period."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r48",
      "r49",
      "r80",
      "r722",
      "r841",
      "r942"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock under restricted stock plan, net of forfeitures (in shares)",
        "label": "Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures",
        "documentation": "Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r48",
      "r49",
      "r80"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock",
        "label": "Stock Issued During Period, Value, New Issues",
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r48",
      "r49",
      "r80",
      "r743",
      "r841",
      "r942",
      "r1059"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock under restricted stock plan, net of forfeitures",
        "label": "Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures",
        "documentation": "Value of stock related to Restricted Stock Awards issued during the period, net of the stock value of such awards forfeited."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r80"
     ]
    },
    "srt_StockRepurchaseProgramAuthorizedAmount1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StockRepurchaseProgramAuthorizedAmount1",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repurchase authorized amount",
        "label": "Share Repurchase Program, Authorized, Amount",
        "documentation": "Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership."
       }
      }
     },
     "auth_ref": [
      "r1342"
     ]
    },
    "us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available under the equity ATM program",
        "label": "Share Repurchase Program, Remaining Authorized, Amount",
        "documentation": "Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total net assets",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Equity, Attributable to Parent",
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r52",
      "r53",
      "r70",
      "r787",
      "r805",
      "r842",
      "r843",
      "r1033",
      "r1060",
      "r1294",
      "r1299",
      "r1300",
      "r1322",
      "r1404",
      "r1493"
     ]
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Assets",
        "label": "Equity, Attributable to Parent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITY"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SHAREHOLDERS' EQUITY",
        "label": "Equity [Text Block]",
        "documentation": "The entire disclosure for equity."
       }
      }
     },
     "auth_ref": [
      "r76",
      "r366",
      "r368",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r382",
      "r524",
      "r536",
      "r844",
      "r846",
      "r948"
     ]
    },
    "cswc_StructurallySubordinatedNoteRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "StructurallySubordinatedNoteRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Structurally Subordinated Note Risk [Member]",
        "documentation": "Structurally Subordinated Note Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubordinatedDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubordinatedDebtMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subordinated debt",
        "label": "Subordinated Debt [Member]",
        "documentation": "This element represents domestic or foreign subordinated debt. Subordinated debt has a lower priority of repayment in liquidation of the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_SubordinatedDebtRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "SubordinatedDebtRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subordinated Debt Risk [Member]",
        "documentation": "Subordinated Debt Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Event [Line Items]",
        "label": "Subsequent Event [Line Items]",
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event."
       }
      }
     },
     "auth_ref": [
      "r575",
      "r597"
     ]
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Event",
        "label": "Subsequent Event [Member]",
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r575",
      "r597"
     ]
    },
    "us-gaap_SubsequentEventTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Event [Table]",
        "label": "Subsequent Event [Table]",
        "documentation": "Disclosure of information about significant event or transaction occurring between statement of financial position date and date when financial statements were issued."
       }
      }
     },
     "auth_ref": [
      "r575",
      "r597"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Event Type [Axis]",
        "label": "Subsequent Event Type [Axis]",
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r575",
      "r597"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Event Type [Domain]",
        "label": "Subsequent Event Type [Domain]",
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r575",
      "r597"
     ]
    },
    "us-gaap_SubsequentEventsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SUBSEQUENT EVENTS",
        "label": "Subsequent Events [Text Block]",
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business."
       }
      }
     },
     "auth_ref": [
      "r596",
      "r598"
     ]
    },
    "srt_SubsidiariesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "SubsidiariesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Taxable Subsidiary",
        "label": "Subsidiaries [Member]",
        "documentation": "Entity in which controlling financial interest is held. Includes, but is not limited to, variable interest entity (VIE) consolidated by primary beneficiary. Excludes entity in which broker-dealer holds controlling financial interest but control is likely to be temporary."
       }
      }
     },
     "auth_ref": [
      "r1344",
      "r1412",
      "r1413",
      "r1414"
     ]
    },
    "us-gaap_SubsidiaryOrEquityMethodInvesteeLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsidiaryOrEquityMethodInvesteeLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsidiary or Equity Method Investee [Line Items]",
        "label": "Subsidiary or Equity Method Investee [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsidiary or Equity Method Investee, Sale of Stock by Subsidiary or Equity Investee [Table]",
        "label": "Subsidiary or Equity Method Investee, Sale of Stock, Type [Table]",
        "documentation": "Disclosure of information about sale of stock made by subsidiary or equity method investee to investor outside consolidated group by type of sale. Includes, but is not limited to, stock issued in business combination in exchange for share of acquired entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsidiarySaleOfStockAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails",
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sale of Stock [Axis]",
        "label": "Sale of Stock [Axis]",
        "documentation": "Information by type of sale of the entity's stock."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsidiarySaleOfStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsidiarySaleOfStockLineItems",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsidiary, Sale of Stock [Line Items]",
        "label": "Subsidiary, Sale of Stock [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SupplementalCashFlowElementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SupplementalCashFlowElementsAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Supplemental cash flow disclosures:",
        "label": "Supplemental Cash Flow Elements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_THEGOBELGROUPLLCEquitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "THEGOBELGROUPLLCEquitySecuritiesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "THE GOBEL GROUP, LLC",
        "label": "THE GOBEL GROUP, LLC, Equity Securities [Member]",
        "documentation": "THE GOBEL GROUP, LLC, Equity Securities"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_THEGOBELGROUPLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "THEGOBELGROUPLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "THE GOBEL GROUP, LLC",
        "label": "THE GOBEL GROUP, LLC [Member]",
        "documentation": "THE GOBEL GROUP, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_TMTBHCBUYERINC.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TMTBHCBUYERINC.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "TMT BHC BUYER, INC.",
        "label": "TMT BHC BUYER, INC. [Member]",
        "documentation": "TMT BHC BUYER, INC."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TabularListTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TabularListTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tabular List, Table",
        "label": "Tabular List [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1203"
     ]
    },
    "cswc_TariffImportAndExportRegulatoryUncertaintyRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TariffImportAndExportRegulatoryUncertaintyRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tariff, Import And Export Regulatory Uncertainty Risk [Member]",
        "documentation": "Tariff, Import And Export Regulatory Uncertainty Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TaxBasisOfInvestmentsCostForIncomeTaxPurposes",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cost of investments",
        "label": "Investment, Tax Basis, Cost",
        "documentation": "Amount of cost of investment for federal income tax purpose."
       }
      }
     },
     "auth_ref": [
      "r721"
     ]
    },
    "us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TaxBasisOfInvestmentsGrossUnrealizedAppreciation",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross unrealized appreciation",
        "label": "Investment, Tax Basis, Unrealized Gain",
        "documentation": "Amount of cumulative increase in investment from unrealized gain when value exceeds cost for federal income tax purpose."
       }
      }
     },
     "auth_ref": [
      "r718"
     ]
    },
    "us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TaxBasisOfInvestmentsGrossUnrealizedDepreciation",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross unrealized depreciation",
        "label": "Investment, Tax Basis, Unrealized Loss",
        "documentation": "Amount of cumulative decrease in investment from unrealized loss when cost for federal income tax purpose exceeds value."
       }
      }
     },
     "auth_ref": [
      "r719"
     ]
    },
    "us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical",
      "http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net unrealized appreciation (depreciation)",
        "label": "Investment, Tax Basis, Unrealized Gain (Loss)",
        "documentation": "Amount of cumulative increase (decrease) in investment from unrealized gain (loss) when value exceeds (is less than) cost for federal income tax purpose."
       }
      }
     },
     "auth_ref": [
      "r720"
     ]
    },
    "cswc_TaxLiabilityRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TaxLiabilityRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Liability Risk [Member]",
        "documentation": "Tax Liability Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_TaxQualificationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TaxQualificationRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Qualification Risk [Member]",
        "documentation": "Tax Qualification Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_TechnologyProductsComponentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TechnologyProductsComponentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Technology Products &amp; Components",
        "label": "Technology Products &amp; Components [Member]",
        "documentation": "Technology Products &amp; Components"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TechnologySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TechnologySectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Technology Products &amp; Components",
        "label": "Technology Sector [Member]",
        "documentation": "Sector of the economy consisting of companies engaged in technology-related business activities."
       }
      }
     },
     "auth_ref": [
      "r1049",
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "cswc_TelecommunicationsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TelecommunicationsSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Telecommunications",
        "label": "Telecommunications Sector [Member]",
        "documentation": "Telecommunications Sector"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_TerroristAttacksActsOfWarOrNaturalDisastersRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TerroristAttacksActsOfWarOrNaturalDisastersRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Terrorist Attacks, Acts Of War Or Natural Disasters Risk [Member]",
        "documentation": "Terrorist Attacks, Acts Of War Or Natural Disasters Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cef_TotalAnnualExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "TotalAnnualExpensesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Annual Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1140"
     ]
    },
    "ecd_TotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Shareholder Return Amount",
        "label": "Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r1195"
     ]
    },
    "ecd_TotalShareholderRtnVsPeerGroupTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TotalShareholderRtnVsPeerGroupTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Shareholder Return Vs Peer Group",
        "label": "Total Shareholder Return Vs Peer Group [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1202"
     ]
    },
    "ecd_TradingArrAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TradingArrAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trading Arrangement:",
        "label": "Trading Arrangement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1223"
     ]
    },
    "ecd_TradingArrByIndTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TradingArrByIndTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trading Arrangements, by Individual",
        "label": "Trading Arrangements, by Individual [Table]"
       }
      }
     },
     "auth_ref": [
      "r1225"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.capitalsouthwest.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_TransactionsWithAffiliatesRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TransactionsWithAffiliatesRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transactions With Affiliates Risk [Member]",
        "documentation": "Transactions With Affiliates Risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails",
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instruments [Domain]",
        "label": "Financial Instruments [Domain]",
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms."
       }
      }
     },
     "auth_ref": [
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r348",
      "r379",
      "r524",
      "r535",
      "r562",
      "r566",
      "r568",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r616",
      "r617",
      "r618",
      "r619",
      "r620",
      "r621",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627",
      "r628",
      "r629",
      "r630",
      "r676",
      "r691",
      "r1020",
      "r1021",
      "r1023",
      "r1024",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1034",
      "r1264",
      "r1265",
      "r1266",
      "r1267",
      "r1268",
      "r1269",
      "r1270",
      "r1318",
      "r1319",
      "r1320",
      "r1321",
      "r1391",
      "r1394",
      "r1395",
      "r1396",
      "r1397",
      "r1398",
      "r1399",
      "r1400"
     ]
    },
    "us-gaap_TransportationSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransportationSectorMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transportation &amp; Logistics",
        "label": "Transportation Sector [Member]",
        "documentation": "Sector of economy consisting of companies engaged in business activity related to transportation."
       }
      }
     },
     "auth_ref": [
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "ecd_TrdArrAdoptionDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrAdoptionDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adoption Date",
        "label": "Trading Arrangement Adoption Date"
       }
      }
     },
     "auth_ref": [
      "r1226"
     ]
    },
    "ecd_TrdArrDuration": {
     "xbrltype": "durationItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrDuration",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Arrangement Duration",
        "label": "Trading Arrangement Duration"
       }
      }
     },
     "auth_ref": [
      "r1227"
     ]
    },
    "ecd_TrdArrExpirationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrExpirationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expiration Date",
        "label": "Trading Arrangement Expiration Date"
       }
      }
     },
     "auth_ref": [
      "r1227"
     ]
    },
    "ecd_TrdArrIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Name",
        "label": "Trading Arrangement, Individual Name"
       }
      }
     },
     "auth_ref": [
      "r1225"
     ]
    },
    "ecd_TrdArrIndTitle": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrIndTitle",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Title",
        "label": "Trading Arrangement, Individual Title"
       }
      }
     },
     "auth_ref": [
      "r1225"
     ]
    },
    "ecd_TrdArrSecuritiesAggAvailAmt": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrSecuritiesAggAvailAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate Available",
        "label": "Trading Arrangement, Securities Aggregate Available Amount"
       }
      }
     },
     "auth_ref": [
      "r1228"
     ]
    },
    "ecd_TrdArrTerminationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrTerminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Termination Date",
        "label": "Trading Arrangement Termination Date"
       }
      }
     },
     "auth_ref": [
      "r1226"
     ]
    },
    "us-gaap_TreasuryStockAcquiredAverageCostPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockAcquiredAverageCostPerShare",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average price per share (in usd per share)",
        "label": "Shares Acquired, Average Cost Per Share",
        "documentation": "Total cost of shares repurchased divided by the total number of shares repurchased."
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "us-gaap_TreasuryStockCommonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockCommonMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Treasury Stock",
        "label": "Treasury Stock, Common [Member]",
        "documentation": "Previously issued common shares repurchased by the issuing entity and held in treasury."
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "us-gaap_TreasuryStockCommonShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockCommonShares",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance (in shares)",
        "periodEndLabel": "Ending balance (in shares)",
        "label": "Treasury Stock, Common, Shares",
        "documentation": "Number of previously issued common shares repurchased by the issuing entity and held in treasury."
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "us-gaap_TreasuryStockRetiredCostMethodAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockRetiredCostMethodAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Aggregate cost of shares repurchased",
        "label": "Treasury Stock, Retired, Cost Method, Amount",
        "documentation": "Amount of decrease of par value, additional paid in capital (APIC) and retained earnings of common and preferred stock retired from treasury when treasury stock is accounted for under the cost method."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r27",
      "r49"
     ]
    },
    "cswc_TreasuryStockSharesCancelled": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TreasuryStockSharesCancelled",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Cancellation of treasury stock (in shares)",
        "label": "Treasury Stock, Shares, Cancelled",
        "documentation": "Treasury Stock, Shares, Cancelled"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TreasuryStockSharesRetired": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockSharesRetired",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of shares repurchased (in shares)",
        "label": "Treasury Stock, Shares, Retired",
        "documentation": "Number of shares of common and preferred stock retired from treasury during the period."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r49",
      "r80"
     ]
    },
    "cswc_TreasuryStockValueCancelled": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TreasuryStockValueCancelled",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Cancellation of treasury stock",
        "label": "Treasury Stock, Value, Cancelled",
        "documentation": "Treasury Stock, Value, Cancelled"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_TrinityCapitalInc.Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TrinityCapitalInc.Member",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trinity",
        "label": "Trinity Capital Inc. [Member]",
        "documentation": "Trinity Capital Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_TruFragranceBeautyLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "TruFragranceBeautyLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "TRU FRAGRANCE &amp; BEAUTY LLC",
        "label": "Tru Fragrance &amp; Beauty LLC [Member]",
        "documentation": "Tru Fragrance &amp; Beauty LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_U.S.TELEPACIFICCORPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "U.S.TELEPACIFICCORPMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "U.S. TELEPACIFIC CORP.",
        "label": "U.S. TELEPACIFIC CORP [Member]",
        "documentation": "U.S. TELEPACIFIC CORP"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_UNWIREDBROADBANDLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "UNWIREDBROADBANDLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "UNWIRED BROADBAND, LLC",
        "label": "UNWIRED BROADBAND, LLC [Member]",
        "documentation": "UNWIRED BROADBAND, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_USCOURTSCRIPTHOLDINGSINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "USCOURTSCRIPTHOLDINGSINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "US COURTSCRIPT HOLDINGS, INC.",
        "label": "US COURTSCRIPT HOLDINGS, INC. [Member]",
        "documentation": "US COURTSCRIPT HOLDINGS, INC."
       }
      }
     },
     "auth_ref": []
    },
    "cef_UnderwritersCompensationPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "UnderwritersCompensationPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underwriters Compensation [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1136"
     ]
    },
    "us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment for income allocated to participating securities",
        "label": "Undistributed Earnings (Loss) Allocated to Participating Securities, Basic",
        "documentation": "Amount of undistributed earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method."
       }
      }
     },
     "auth_ref": [
      "r212",
      "r215",
      "r216",
      "r355"
     ]
    },
    "us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersDiluted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UndistributedEarningsLossAvailableToCommonShareholdersDiluted",
     "crdr": "credit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Numerator for increase in net assets per share",
        "label": "Undistributed Earnings (Loss) Available to Common Shareholders, Diluted",
        "documentation": "Amount of undistributed earnings (loss), allocated to common stock, as if earnings and addition from assumption of issuance of common shares for dilutive potential common shares, had been distributed. Excludes distributed earnings."
       }
      }
     },
     "auth_ref": [
      "r212",
      "r216"
     ]
    },
    "ecd_UndrlygSecurityMktPriceChngPct": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "UndrlygSecurityMktPriceChngPct",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Underlying Security Market Price Change",
        "label": "Underlying Security Market Price Change, Percent"
       }
      }
     },
     "auth_ref": [
      "r1222"
     ]
    },
    "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total net unrealized (depreciation) appreciation on investments, net of tax",
        "netLabel": "Net unrealized appreciation on investments",
        "verboseLabel": "Net change in unrealized (depreciation) appreciation on investments, net of tax",
        "label": "Unrealized Gain (Loss), Investment and Derivative, Operating, after Tax",
        "documentation": "Amount, after tax, of unrealized gain (loss) from investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity."
       }
      }
     },
     "auth_ref": [
      "r741",
      "r838",
      "r950",
      "r1059",
      "r1489"
     ]
    },
    "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "parentTag": "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Income tax benefit (provision)",
        "label": "Unrealized Gain (Loss), Investment and Derivative, Operating, Tax Expense (Benefit)",
        "documentation": "Amount of tax expense (benefit) from unrealized gain (loss) from investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity."
       }
      }
     },
     "auth_ref": [
      "r806",
      "r1483",
      "r1488",
      "r1509"
     ]
    },
    "us-gaap_UnrealizedGainLossOnInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnrealizedGainLossOnInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Net unrealized depreciation (appreciation) on investments before income tax",
        "label": "Unrealized Gain (Loss) on Investments",
        "documentation": "Amount of unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "cswc_UnrealizedGainRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "UnrealizedGainRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized Gain Risk [Member]",
        "documentation": "Unrealized Gain Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_UnrealizedInvestmentGainsLossesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "UnrealizedInvestmentGainsLossesAbstract",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net unrealized (depreciation) appreciation on investments",
        "label": "Unrealized Investment Gains Losses [Abstract]",
        "documentation": "Unrealized Investment Gains Losses"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_UnsecuredConvertibleNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "UnsecuredConvertibleNotesMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unsecured Convertible Notes",
        "label": "Unsecured Convertible Notes [Member]",
        "documentation": "Unsecured Convertible Notes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnsecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnsecuredDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SBA Debentures (net of $5,333 and $4,082, respectively, of unamortized debt issuance costs)",
        "label": "Unsecured Debt",
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of uncollateralized debt obligations (with maturities initially due after one year or beyond the operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r92",
      "r1426"
     ]
    },
    "us-gaap_UnsecuredDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnsecuredDebtMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails",
      "http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unsecured Debt",
        "label": "Unsecured Debt [Member]",
        "documentation": "Debt obligation not collateralized by pledge of, mortgage of or other lien on the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "cswc_UnsecuredSubordinatedNoteRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "UnsecuredSubordinatedNoteRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured, Subordinated Note Risk [Member]",
        "documentation": "Unsecured, Subordinated Note Risk"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_UnusedCommitmentsToLendOtherMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "UnusedCommitmentsToLendOtherMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Unused Commitments To Lend, Other [Member]",
        "documentation": "Unused Commitments To Lend, Other"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UseOfEstimates": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UseOfEstimates",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Use of Estimates",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles."
       }
      }
     },
     "auth_ref": [
      "r107",
      "r108",
      "r228",
      "r231",
      "r232",
      "r233",
      "r670",
      "r672",
      "r984"
     ]
    },
    "cswc_VPMOVEPURCHASERINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "VPMOVEPURCHASERINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "VP MOVE PURCHASER, INC.",
        "label": "VP MOVE PURCHASER, INC [Member]",
        "documentation": "VP MOVE PURCHASER, INC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_VTXHOLDINGSINC.EquityInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "VTXHOLDINGSINC.EquityInvestmentsMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "VTX HOLDINGS, INC.",
        "label": "VTX HOLDINGS, INC., Equity Investments [Member]",
        "documentation": "VTX HOLDINGS, INC., Equity Investments"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ValuationEnterpriseValueWaterfallApproachMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ValuationEnterpriseValueWaterfallApproachMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Enterprise Value Waterfall Approach",
        "label": "Valuation, Enterprise Value Waterfall Approach [Member]",
        "documentation": "Valuation, Enterprise Value Waterfall Approach"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ValuationTechniqueAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ValuationTechniqueAxis",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation Approach and Technique [Axis]",
        "label": "Valuation Approach and Technique [Axis]",
        "documentation": "Information by valuation approach and technique."
       }
      }
     },
     "auth_ref": [
      "r542",
      "r543",
      "r1016",
      "r1018",
      "r1023",
      "r1396"
     ]
    },
    "us-gaap_ValuationTechniqueDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ValuationTechniqueDomain",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation Approach and Technique [Domain]",
        "label": "Valuation Approach and Technique [Domain]",
        "documentation": "Valuation approach and technique."
       }
      }
     },
     "auth_ref": [
      "r542",
      "r543",
      "r1016",
      "r1018",
      "r1023",
      "r1396"
     ]
    },
    "ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year",
        "label": "Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year [Member]"
       }
      }
     },
     "auth_ref": [
      "r1191"
     ]
    },
    "cswc_WASHWAXHOLDINGSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "WASHWAXHOLDINGSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "WASH &amp; WAX SYSTEMS LLC",
        "label": "WASH &amp; WAX HOLDINGS LLC [Member]",
        "documentation": "WASH &amp; WAX HOLDINGS LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_WELLFOAMINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "WELLFOAMINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "WELL-FOAM, INC.",
        "label": "WELL-FOAM, INC [Member]",
        "documentation": "WELL-FOAM, INC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_WELLLABSPLUSLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "WELLLABSPLUSLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "WELL LABS PLUS, LLC",
        "label": "WELL LABS PLUS, LLC [Member]",
        "documentation": "WELL LABS PLUS, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_WHITEPLAINSLINENLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "WHITEPLAINSLINENLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "WHITE PLAINS LINEN LLC",
        "label": "WHITE PLAINS LINEN LLC [Member]",
        "documentation": "WHITE PLAINS LINEN LLC"
       }
      }
     },
     "auth_ref": []
    },
    "cef_WaiversAndReimbursementsOfFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "WaiversAndReimbursementsOfFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Waivers and Reimbursements of Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r1141"
     ]
    },
    "cef_WarrantsOrRightsCalledAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "WarrantsOrRightsCalledAmount",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Amount"
       }
      }
     },
     "auth_ref": [
      "r1121"
     ]
    },
    "cef_WarrantsOrRightsCalledPeriodDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "WarrantsOrRightsCalledPeriodDate",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Period [Date]"
       }
      }
     },
     "auth_ref": [
      "r1121"
     ]
    },
    "cef_WarrantsOrRightsCalledTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "WarrantsOrRightsCalledTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Title"
       }
      }
     },
     "auth_ref": [
      "r1121"
     ]
    },
    "cef_WarrantsOrRightsExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2025",
     "localname": "WarrantsOrRightsExercisePrice",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Exercise Price"
       }
      }
     },
     "auth_ref": [
      "r1121"
     ]
    },
    "cswc_WarrantsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "WarrantsPolicyTextBlock",
     "presentation": [
      "http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Warrants",
        "label": "Warrants [Policy Text Block]",
        "documentation": "Warrants"
       }
      }
     },
     "auth_ref": []
    },
    "srt_WeightedAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "WeightedAverageMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average",
        "label": "Weighted Average [Member]",
        "documentation": "Average of a range of values, calculated with consideration of proportional relevance."
       }
      }
     },
     "auth_ref": [
      "r463",
      "r464",
      "r544",
      "r614",
      "r969",
      "r970",
      "r1023",
      "r1417",
      "r1419",
      "r1422"
     ]
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "calculation": {
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average common shares outstanding \u2013 diluted (in shares)",
        "totalLabel": "Denominator for diluted weighted average common shares (in shares)",
        "verboseLabel": "Weighted-average diluted common shares outstanding (in shares)",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period."
       }
      }
     },
     "auth_ref": [
      "r206",
      "r218"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "calculation": {
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails",
      "http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average common shares outstanding \u2013 basic (in shares)",
        "verboseLabel": "Denominator for basic weighted average common share (in shares)",
        "netLabel": "Weighted-average basic common shares outstanding (in shares)",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period."
       }
      }
     },
     "auth_ref": [
      "r204",
      "r218"
     ]
    },
    "us-gaap_WestRegionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WestRegionMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "West",
        "label": "US West Region [Member]",
        "documentation": "Region of United States of America (US) designated as West."
       }
      }
     },
     "auth_ref": [
      "r1496",
      "r1500",
      "r1503",
      "r1506"
     ]
    },
    "cswc_WinterServicesOperationsLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "WinterServicesOperationsLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "WINTER SERVICES OPERATIONS, LLC",
        "label": "Winter Services Operations, LLC [Member]",
        "documentation": "Winter Services Operations, LLC"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WriteOffOfDeferredDebtIssuanceCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WriteOffOfDeferredDebtIssuanceCost",
     "crdr": "debit",
     "presentation": [
      "http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized loss on disposal of fixed assets",
        "label": "Deferred Debt Issuance Cost, Writeoff",
        "documentation": "Write-off of amounts previously capitalized as debt issuance cost in an extinguishment of debt."
       }
      }
     },
     "auth_ref": [
      "r60"
     ]
    },
    "ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested",
        "label": "Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested [Member]"
       }
      }
     },
     "auth_ref": [
      "r1189"
     ]
    },
    "cswc_ZENFOLIOINCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ZENFOLIOINCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ZENFOLIO INC.",
        "label": "ZENFOLIO INC [Member]",
        "documentation": "ZENFOLIO INC"
       }
      }
     },
     "auth_ref": []
    },
    "cswc_ZIPSCARWASHLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.capitalsouthwest.com/20260331",
     "localname": "ZIPSCARWASHLLCMember",
     "presentation": [
      "http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ZIPS CAR WASH, LLC",
        "label": "ZIPS CAR WASH, LLC [Member]",
        "documentation": "ZIPS CAR WASH, LLC"
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "15",
   "Paragraph": "12",
   "Subparagraph": "(f)",
   "SubTopic": "10",
   "Topic": "810",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481410/810-10-15-12"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "15",
   "Paragraph": "12",
   "Subparagraph": "(f)(2)",
   "SubTopic": "10",
   "Topic": "810",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481410/810-10-15-12"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "230",
   "Topic": "830",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477401/830-230-45-1"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(j)",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-10A"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(k)",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-10A"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "470",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-1"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "20",
   "Topic": "715",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-14A"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-4"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-1"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "320",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/320/tableOfContent"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-5"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "50",
   "Section": "40",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481303/470-50-40-2"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "50",
   "Section": "40",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481303/470-50-40-4"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-3"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-4"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-8"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481549/505-30-45-1"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-2"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-3"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-4"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-1"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(31))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(32))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-10A"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-13"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r68": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "270",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/270/tableOfContent"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 4.E)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480418/310-10-S99-2"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/440/tableOfContent"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/470/tableOfContent"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481284/470-20-25-10"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-5"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/505/tableOfContent"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-6"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-6"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-7"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "715",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "715",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "715",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "718",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/810/tableOfContent"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "470",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r103": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "SubTopic": "20",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482659/740-20-45-2"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "SubTopic": "220",
   "Topic": "946",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-5"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "270",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h))",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "04",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12",
   "Paragraph": "Column C",
   "Footnote": "5",
   "Publisher": "SEC"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12A",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12A",
   "Paragraph": "Column C",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12B",
   "Paragraph": "Column A",
   "Subparagraph": "(a)",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12B",
   "Paragraph": "Column A",
   "Subparagraph": "(b)",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12B",
   "Paragraph": "Column C",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "14",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "14",
   "Paragraph": "Column F",
   "Footnote": "7",
   "Publisher": "SEC"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column D",
   "Publisher": "SEC"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column E",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column E",
   "Publisher": "SEC"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column F",
   "Publisher": "SEC"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column G",
   "Publisher": "SEC"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column H",
   "Publisher": "SEC"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column I",
   "Publisher": "SEC"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column A",
   "Footnote": "3",
   "Publisher": "SEC"
  },
  "r134": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column A",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "4",
   "Subsection": "08",
   "Paragraph": "m",
   "Subparagraph": "(1)(iii)",
   "Publisher": "SEC"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "4",
   "Subsection": "08",
   "Paragraph": "m",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 4",
   "Publisher": "SEC"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r142": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r143": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r144": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/205/tableOfContent"
  },
  "r145": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481034/205-10-S45-5"
  },
  "r146": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480922/205-10-S99-3"
  },
  "r147": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-7"
  },
  "r148": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r149": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r150": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r151": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r152": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r153": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r154": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r155": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1A"
  },
  "r156": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1B"
  },
  "r157": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-1"
  },
  "r158": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-4"
  },
  "r159": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-5"
  },
  "r160": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-6"
  },
  "r161": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r162": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r163": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 6.B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-5"
  },
  "r164": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r165": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r166": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-17"
  },
  "r167": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r168": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r169": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2"
  },
  "r170": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2A"
  },
  "r171": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-8"
  },
  "r172": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/235/tableOfContent"
  },
  "r173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-1"
  },
  "r174": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-1"
  },
  "r175": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-4"
  },
  "r176": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r177": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-3"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-4"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-8"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-9"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/260/tableOfContent"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-10"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-11"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-16"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-2"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-3"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-42"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "65",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-65"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "66",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-66"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-7"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-2"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-3"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-15"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1B"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-1"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482987/272-10-50-1"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482987/272-10-50-3"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-12"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-20"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-20"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-4"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-6"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-9"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "36",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-36"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-42"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-13"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-5"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-11"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-16"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-5"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-4"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-7"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-9"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476166/350-60-65-1"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-4"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482425/460-10-50-4"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482425/460-10-50-4"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482425/460-10-50-4"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482425/460-10-50-4"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1C"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1C"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1C"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1I"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1I"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1I"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1I"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-6"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481679/480-10-45-4"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-1"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-2"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-3"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-1"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-2"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-3"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(01)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3A",
   "Subparagraph": "(24)(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-3A"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-16"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/715/tableOfContent"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480535/715-20-45-3A"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(h)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(k)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(o)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(p)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(q)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r410": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(r)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r411": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(r)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r419": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r420": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r421": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(j)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r422": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(q)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r424": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-6"
  },
  "r425": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-6"
  },
  "r426": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-6"
  },
  "r427": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480126/715-20-S99-2"
  },
  "r428": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480266/715-60-50-3"
  },
  "r429": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480266/715-60-50-4"
  },
  "r430": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "70",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/715-70/tableOfContent"
  },
  "r431": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "70",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480794/715-70-50-1"
  },
  "r432": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-5"
  },
  "r433": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/718/tableOfContent"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480483/718-10-35-1D"
  },
  "r435": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480483/718-10-35-2"
  },
  "r436": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480483/718-10-35-3"
  },
  "r437": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r438": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r439": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r441": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r442": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r446": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r447": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r448": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r449": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r450": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r451": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r452": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r453": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r454": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r455": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r457": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r458": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r459": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r460": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r461": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r463": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r464": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r465": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r466": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r467": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r468": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r469": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r470": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r471": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r472": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r473": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r474": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479983/718-10-S45-1"
  },
  "r475": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479953/718-10-S50-2"
  },
  "r476": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479953/718-10-S50-3"
  },
  "r477": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479953/718-10-S50-4"
  },
  "r478": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479953/718-10-S50-5"
  },
  "r479": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.C.Q3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479830/718-10-S99-1"
  },
  "r480": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.D.1.Q5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479830/718-10-S99-1"
  },
  "r481": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.D.2.Q6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479830/718-10-S99-1"
  },
  "r482": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.D.3.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479830/718-10-S99-1"
  },
  "r483": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.F)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479830/718-10-S99-1"
  },
  "r484": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "720",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483359/720-20-50-1"
  },
  "r485": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/740/tableOfContent"
  },
  "r486": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-25"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-28"
  },
  "r488": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-4"
  },
  "r489": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-6"
  },
  "r490": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-10"
  },
  "r491": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12"
  },
  "r492": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12B"
  },
  "r493": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12C"
  },
  "r494": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-14"
  },
  "r495": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-17"
  },
  "r496": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-19"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-2"
  },
  "r498": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-2"
  },
  "r499": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-20"
  },
  "r500": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-21"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-22"
  },
  "r502": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-23"
  },
  "r503": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r504": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r505": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r506": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.5.Q1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r507": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r508": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-2"
  },
  "r509": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "270",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477891/740-270-50-1"
  },
  "r510": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482603/740-30-50-2"
  },
  "r511": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478758/740-323-25-1"
  },
  "r512": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r513": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r514": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r515": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r516": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r517": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r518": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r519": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r520": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r521": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2AG",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-2AG"
  },
  "r522": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r523": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r524": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8A"
  },
  "r525": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r527": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r528": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r529": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r530": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r531": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r532": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r534": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r535": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480237/815-40-50-5"
  },
  "r536": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480237/815-40-50-6"
  },
  "r537": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r538": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r539": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r540": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482134/820-10-35-54B"
  },
  "r541": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r542": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r543": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r544": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r545": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r546": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r547": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r548": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r549": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r550": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r551": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r552": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r553": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2E"
  },
  "r554": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2G",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2G"
  },
  "r555": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r556": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r557": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r558": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r559": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r560": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r561": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r562": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r563": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-10"
  },
  "r564": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r565": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r567": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r568": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-32"
  },
  "r569": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-17"
  },
  "r570": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r571": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r573": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r574": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-1"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-2"
  },
  "r576": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r577": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r578": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479832/842-10-65-8"
  },
  "r579": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "12A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479165/842-20-35-12A"
  },
  "r580": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-1"
  },
  "r581": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-1"
  },
  "r582": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-2"
  },
  "r583": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-1"
  },
  "r584": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-6"
  },
  "r585": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r586": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r587": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r588": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/850/tableOfContent"
  },
  "r589": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r590": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r591": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r592": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r593": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r594": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-6"
  },
  "r595": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481435/852-10-45-14"
  },
  "r596": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/855/tableOfContent"
  },
  "r597": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r598": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r599": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r600": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r601": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r602": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r603": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r604": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r605": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r606": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r607": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r608": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r609": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r610": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r611": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r612": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481444/860-30-45-1"
  },
  "r613": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r614": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r615": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-9"
  },
  "r616": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r617": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r621": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r622": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r623": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r624": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r625": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r626": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r627": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r628": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r629": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r630": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r631": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "910",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482546/910-10-50-6"
  },
  "r632": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "924",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 11.L)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479941/924-10-S99-1"
  },
  "r633": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478934/932-220-50-1"
  },
  "r634": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-18"
  },
  "r635": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-18"
  },
  "r636": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-18"
  },
  "r637": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-19"
  },
  "r638": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-20"
  },
  "r639": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-20"
  },
  "r640": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r641": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r642": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r643": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r644": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r645": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r646": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-28"
  },
  "r647": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-28"
  },
  "r648": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r649": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r650": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r651": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r652": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r653": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r654": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r655": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r656": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r657": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r658": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r659": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r660": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-6"
  },
  "r661": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-7"
  },
  "r662": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r663": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r664": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r665": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "280",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478657/932-280-50-1"
  },
  "r666": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478988/932-323-50-1"
  },
  "r667": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "940",
   "SubTopic": "820",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478119/940-820-50-1"
  },
  "r668": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r669": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r670": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478671/942-235-S50-1"
  },
  "r671": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r672": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r673": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r674": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-2"
  },
  "r675": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477617/942-740-50-1"
  },
  "r676": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478898/942-825-50-1"
  },
  "r677": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(1)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r678": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r679": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r680": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r681": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r682": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r683": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r684": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r685": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r686": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r687": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r688": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r689": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r690": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r691": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r692": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r693": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r694": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r696": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r697": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r698": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r699": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r700": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r701": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r703": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r704": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r705": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r706": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r707": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.W.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479583/944-40-S99-1"
  },
  "r708": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478822/944-740-50-1"
  },
  "r709": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477351/944-825-50-1B"
  },
  "r710": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477351/944-825-50-1B"
  },
  "r711": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-1"
  },
  "r712": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-2"
  },
  "r713": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r714": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(f)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r715": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(f)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r716": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(f)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r717": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r718": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r719": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r720": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r721": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r722": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r723": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r724": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r725": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r726": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-10"
  },
  "r727": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-11"
  },
  "r728": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-12"
  },
  "r729": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-12"
  },
  "r730": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-12"
  },
  "r731": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-12"
  },
  "r732": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-13"
  },
  "r733": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-15"
  },
  "r734": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-16"
  },
  "r735": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-2"
  },
  "r736": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-5"
  },
  "r737": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-6"
  },
  "r738": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-7"
  },
  "r739": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-8"
  },
  "r740": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-9"
  },
  "r741": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-3"
  },
  "r742": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-3"
  },
  "r743": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r744": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-6"
  },
  "r745": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-1"
  },
  "r746": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-18"
  },
  "r747": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-2"
  },
  "r748": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-24"
  },
  "r749": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-25"
  },
  "r750": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-27"
  },
  "r751": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r752": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r753": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r754": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r755": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r756": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r757": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r758": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r759": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477796/946-210-45-4"
  },
  "r760": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r761": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r762": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r763": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r764": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r765": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r766": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-12"
  },
  "r767": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-2"
  },
  "r768": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r769": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r770": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r771": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r772": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r773": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r774": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r775": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(g)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r776": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r777": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r778": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r779": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r780": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r781": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r782": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r783": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r784": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r785": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r786": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r787": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r788": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r789": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r790": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r791": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r792": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r793": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(5)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r794": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(5)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r795": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r796": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r797": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r798": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r799": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r800": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r801": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r802": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r803": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r804": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r805": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r806": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-4"
  },
  "r807": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-7"
  },
  "r808": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478297/946-220-50-1"
  },
  "r809": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478297/946-220-50-3"
  },
  "r810": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r811": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r812": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r813": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r814": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r815": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r816": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r817": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r818": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r819": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r820": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r821": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r822": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r823": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r824": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r825": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r826": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r827": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r828": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r829": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r830": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r831": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r832": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r833": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r834": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r835": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r836": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r837": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r838": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r839": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r840": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r841": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r842": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r843": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r844": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r845": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r846": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r847": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r848": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r849": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r850": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/946-320/tableOfContent"
  },
  "r851": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r852": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r853": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r854": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r855": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r856": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r857": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r858": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r859": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r860": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r861": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r862": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r863": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r864": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r865": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r866": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r867": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r868": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r869": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r870": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r871": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r872": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "12",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-12"
  },
  "r873": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "19",
   "Subparagraph": "(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-19"
  },
  "r874": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "19",
   "Subparagraph": "(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-19"
  },
  "r875": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "19",
   "Subparagraph": "(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-19"
  },
  "r876": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r877": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r878": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r879": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r880": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r881": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r882": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r883": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r884": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r885": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r886": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r887": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r888": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r889": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r890": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r891": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r892": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r893": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r894": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r895": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r896": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r897": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r898": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r899": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r900": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r901": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r902": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r903": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r904": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5D"
  },
  "r905": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r906": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r907": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r908": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r909": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r910": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r911": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r912": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r913": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r914": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r915": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r916": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r917": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r918": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r919": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column C)(Footnote 6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r920": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r921": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column D)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r922": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column D)(Footnote 6)(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r923": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r924": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r925": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r926": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r927": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r928": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r929": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r930": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r931": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r932": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 5)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r933": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r934": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r935": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r936": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r937": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r938": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r939": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r940": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r941": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-1"
  },
  "r942": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r943": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r944": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r945": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r946": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-5"
  },
  "r947": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-5"
  },
  "r948": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-6"
  },
  "r949": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "37",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477346/946-830-45-37"
  },
  "r950": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "37",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477346/946-830-45-37"
  },
  "r951": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478322/948-310-S50-2"
  },
  "r952": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r953": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r954": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r955": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r956": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478785/954-310-50-2"
  },
  "r957": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478522/954-440-50-1"
  },
  "r958": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478522/954-440-50-1"
  },
  "r959": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r960": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r961": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r962": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r963": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r964": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r965": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r966": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r967": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r968": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r969": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "976",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477332/976-310-50-1"
  },
  "r970": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "978",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479230/978-310-50-1"
  },
  "r971": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "SubTopic": "10",
   "Topic": "825",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482881/825-10-55-10"
  },
  "r972": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(b)",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-13H"
  },
  "r973": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r974": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-16"
  },
  "r975": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-21"
  },
  "r976": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-22"
  },
  "r977": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-12"
  },
  "r978": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-14"
  },
  "r979": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-21"
  },
  "r980": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-4"
  },
  "r981": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-4"
  },
  "r982": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-52"
  },
  "r983": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482836/275-10-55-18"
  },
  "r984": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482836/275-10-55-6"
  },
  "r985": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r986": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r987": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r988": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r989": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "48",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-48"
  },
  "r990": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "49",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-49"
  },
  "r991": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r992": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r993": {
   "role": "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"
  },
  "r994": {
   "role": "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"
  },
  "r995": {
   "role": "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"
  },
  "r996": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479081/326-30-55-8"
  },
  "r997": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r998": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69B"
  },
  "r999": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69C"
  },
  "r1000": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69E"
  },
  "r1001": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69F"
  },
  "r1002": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "64",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481620/480-10-55-64"
  },
  "r1003": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r1004": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r1005": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r1006": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1007": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1008": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r1009": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r1010": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480482/715-20-55-17"
  },
  "r1011": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480482/715-20-55-18"
  },
  "r1012": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480547/715-80-55-8"
  },
  "r1013": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1014": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1015": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "231",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482663/740-10-55-231"
  },
  "r1016": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-8"
  },
  "r1017": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "43",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-43"
  },
  "r1018": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-47"
  },
  "r1019": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r1020": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r1021": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "101",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-101"
  },
  "r1022": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "102",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-102"
  },
  "r1023": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "103",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-103"
  },
  "r1024": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1025": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1026": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1027": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1028": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1029": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1030": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482881/825-10-55-12"
  },
  "r1031": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482949/835-30-55-8"
  },
  "r1032": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-3"
  },
  "r1033": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481372/852-10-55-10"
  },
  "r1034": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481395/860-30-55-4"
  },
  "r1035": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-17"
  },
  "r1036": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-21"
  },
  "r1037": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-29"
  },
  "r1038": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-3"
  },
  "r1039": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-2"
  },
  "r1040": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-4"
  },
  "r1041": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-5"
  },
  "r1042": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-6"
  },
  "r1043": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-29F"
  },
  "r1044": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r1045": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "605",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477548/944-605-55-11"
  },
  "r1046": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "605",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477548/944-605-55-14"
  },
  "r1047": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1048": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1049": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477439/946-210-55-1"
  },
  "r1050": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r1051": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1052": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1053": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1054": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1055": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1056": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1057": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1058": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-10"
  },
  "r1059": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-11"
  },
  "r1060": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-12"
  },
  "r1061": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12"
  },
  "r1062": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r1063": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1064": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-23"
  },
  "r1065": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r1066": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-K",
   "Number": "249",
   "Section": "310"
  },
  "r1067": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Number": "249",
   "Section": "220",
   "Subsection": "f"
  },
  "r1068": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16",
   "Subsection": "J",
   "Paragraph": "a"
  },
  "r1069": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K"
  },
  "r1070": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r1071": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1072": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1073": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1074": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "b",
   "Paragraph": "2"
  },
  "r1075": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "1"
  },
  "r1076": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "2"
  },
  "r1077": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r1078": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r1079": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16K",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r1080": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1"
  },
  "r1081": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1082": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r1083": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r1084": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r1085": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r1086": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r1087": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1088": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1089": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "2"
  },
  "r1090": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Number": "249",
   "Section": "240",
   "Subsection": "f"
  },
  "r1091": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a"
  },
  "r1092": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1093": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r1094": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r1095": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r1096": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r1097": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r1098": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1099": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1100": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "b"
  },
  "r1101": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form F-3"
  },
  "r1102": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2"
  },
  "r1103": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10"
  },
  "r1104": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a"
  },
  "r1105": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1106": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1107": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1108": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "4"
  },
  "r1109": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "5"
  },
  "r1110": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "6"
  },
  "r1111": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "Instruction 2"
  },
  "r1112": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "b",
   "Subparagraph": "1"
  },
  "r1113": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "b",
   "Subparagraph": "2"
  },
  "r1114": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "c"
  },
  "r1115": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "d"
  },
  "r1116": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2"
  },
  "r1117": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2",
   "Paragraph": "a"
  },
  "r1118": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2",
   "Paragraph": "b"
  },
  "r1119": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2",
   "Paragraph": "c"
  },
  "r1120": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2",
   "Paragraph": "e"
  },
  "r1121": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "3"
  },
  "r1122": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5"
  },
  "r1123": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5",
   "Paragraph": "1"
  },
  "r1124": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5",
   "Paragraph": "2"
  },
  "r1125": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5",
   "Paragraph": "3"
  },
  "r1126": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5",
   "Paragraph": "4"
  },
  "r1127": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r1128": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 1"
  },
  "r1129": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "a"
  },
  "r1130": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "a, g, h"
  },
  "r1131": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "f"
  },
  "r1132": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "g"
  },
  "r1133": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "i"
  },
  "r1134": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 11"
  },
  "r1135": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 4"
  },
  "r1136": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 5"
  },
  "r1137": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 6"
  },
  "r1138": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 7",
   "Subparagraph": "a"
  },
  "r1139": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 7",
   "Subparagraph": "b"
  },
  "r1140": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 8"
  },
  "r1141": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 9"
  },
  "r1142": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4"
  },
  "r1143": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "1",
   "Paragraph": "Instruction 2"
  },
  "r1144": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "1",
   "Paragraph": "Instruction 3"
  },
  "r1145": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "1",
   "Paragraph": "Instruction 8"
  },
  "r1146": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3"
  },
  "r1147": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "2"
  },
  "r1148": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "3",
   "Subparagraph": "Instruction 2"
  },
  "r1149": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "5"
  },
  "r1150": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "Instruction 1"
  },
  "r1151": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "Instruction 4"
  },
  "r1152": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "Instruction 5"
  },
  "r1153": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8"
  },
  "r1154": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "2",
   "Paragraph": "b, d"
  },
  "r1155": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "a"
  },
  "r1156": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "b"
  },
  "r1157": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "b",
   "Subparagraph": "1"
  },
  "r1158": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "b",
   "Subparagraph": "2"
  },
  "r1159": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "b",
   "Subparagraph": "3"
  },
  "r1160": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b"
  },
  "r1161": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "4"
  },
  "r1162": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "Instruction 2"
  },
  "r1163": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "Instruction 3"
  },
  "r1164": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "Instruction 4"
  },
  "r1165": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "Instructions 4, 5"
  },
  "r1166": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "c"
  },
  "r1167": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "e"
  },
  "r1168": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-3"
  },
  "r1169": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-4"
  },
  "r1170": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-6"
  },
  "r1171": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a"
  },
  "r1172": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1173": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r1174": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r1175": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r1176": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r1177": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r1178": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1179": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1180": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "b"
  },
  "r1181": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form S-3"
  },
  "r1182": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r1183": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Investment Company Act",
   "Number": "270"
  },
  "r1184": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v"
  },
  "r1185": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "1"
  },
  "r1186": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r1187": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r1188": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Subclause": "ii"
  },
  "r1189": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "i"
  },
  "r1190": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "ii"
  },
  "r1191": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "iii"
  },
  "r1192": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "iv"
  },
  "r1193": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "v"
  },
  "r1194": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "vi"
  },
  "r1195": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r1196": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "vi"
  },
  "r1197": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "3"
  },
  "r1198": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "4"
  },
  "r1199": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "i"
  },
  "r1200": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "ii"
  },
  "r1201": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iii"
  },
  "r1202": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iv"
  },
  "r1203": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6"
  },
  "r1204": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6",
   "Subparagraph": "i"
  },
  "r1205": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w"
  },
  "r1206": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1"
  },
  "r1207": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1208": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r1209": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r1210": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r1211": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r1212": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r1213": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1214": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1215": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "2"
  },
  "r1216": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "1"
  },
  "r1217": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2"
  },
  "r1218": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "A"
  },
  "r1219": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "C"
  },
  "r1220": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "D"
  },
  "r1221": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "E"
  },
  "r1222": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "F"
  },
  "r1223": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a"
  },
  "r1224": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r1225": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "A"
  },
  "r1226": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "B"
  },
  "r1227": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "C"
  },
  "r1228": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "D"
  },
  "r1229": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r1230": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106"
  },
  "r1231": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r1232": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1233": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1234": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1235": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "b",
   "Paragraph": "2"
  },
  "r1236": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "1"
  },
  "r1237": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "2"
  },
  "r1238": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r1239": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r1240": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "106",
   "Subsection": "c",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r1241": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Number": "229",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1"
  },
  "r1242": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "A",
   "Number": "229"
  },
  "r1243": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Number": "229"
  },
  "r1244": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Subclause": "i",
   "Number": "229"
  },
  "r1245": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  },
  "r1246": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r1247": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "405"
  },
  "r1248": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "413",
   "Subsection": "b"
  },
  "r1249": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "462",
   "Subsection": "b"
  },
  "r1250": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "462",
   "Subsection": "c"
  },
  "r1251": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "462",
   "Subsection": "d"
  },
  "r1252": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "462",
   "Subsection": "e"
  },
  "r1253": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "486",
   "Subsection": "a"
  },
  "r1254": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "486",
   "Subsection": "b"
  },
  "r1255": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "7A",
   "Section": "B",
   "Subsection": "2"
  },
  "r1256": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Section": "8",
   "Subsection": "c"
  },
  "r1257": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-3"
  },
  "r1258": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478156/740-323-50-2"
  },
  "r1259": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478156/740-323-50-2"
  },
  "r1260": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478156/740-323-50-2"
  },
  "r1261": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "321",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-1"
  },
  "r1262": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "SubTopic": "740",
   "Topic": "946",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478205/946-740-55-2"
  },
  "r1263": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Investment Company Act of 1940",
   "Section": "61",
   "Paragraph": "a",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r1264": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r1265": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r1266": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r1267": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r1268": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(i)",
   "Publisher": "SEC"
  },
  "r1269": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r1270": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(iii)",
   "Publisher": "SEC"
  },
  "r1271": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r1272": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r1273": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r1274": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483504/205-10-50-1"
  },
  "r1275": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1276": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1277": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1278": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1279": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1280": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1281": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1282": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1283": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1284": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-10"
  },
  "r1285": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-12"
  },
  "r1286": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1287": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1288": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1289": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(9)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1290": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r1291": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2A"
  },
  "r1292": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-8"
  },
  "r1293": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-4"
  },
  "r1294": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-1"
  },
  "r1295": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-4"
  },
  "r1296": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1297": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1298": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1299": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1300": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1301": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1302": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r1303": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r1304": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r1305": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r1306": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r1307": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "55",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-55"
  },
  "r1308": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r1309": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r1310": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1311": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1312": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1313": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1314": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1315": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-18"
  },
  "r1316": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r1317": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r1318": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-9"
  },
  "r1319": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1320": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1321": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1322": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r1323": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/405-30/tableOfContent"
  },
  "r1324": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1325": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1326": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1327": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "410",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481931/410-30-50-10"
  },
  "r1328": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/450/tableOfContent"
  },
  "r1329": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483049/450-30-50-1"
  },
  "r1330": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r1331": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1332": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1333": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1334": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1335": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r1336": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r1337": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r1338": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r1339": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r1340": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-15"
  },
  "r1341": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r1342": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-4"
  },
  "r1343": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1344": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1345": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r1346": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1347": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1348": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1349": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1350": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1351": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1352": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1353": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1354": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1355": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1356": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1357": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1358": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1359": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1360": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1361": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1362": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1363": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1364": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1365": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1366": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1367": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1368": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1369": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1370": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1371": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1372": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1373": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1374": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-4"
  },
  "r1375": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-10"
  },
  "r1376": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-15"
  },
  "r1377": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-2"
  },
  "r1378": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-22"
  },
  "r1379": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-23"
  },
  "r1380": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-6"
  },
  "r1381": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r1382": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478156/740-323-50-1A"
  },
  "r1383": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478156/740-323-50-1A"
  },
  "r1384": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478156/740-323-50-1A"
  },
  "r1385": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478156/740-323-50-1A"
  },
  "r1386": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r1387": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1388": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1389": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1390": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r1391": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482134/820-10-35-54B"
  },
  "r1392": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1393": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1394": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1395": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1396": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1397": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2E"
  },
  "r1398": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r1399": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-10"
  },
  "r1400": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r1401": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r1402": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-13"
  },
  "r1403": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r1404": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r1405": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-1A"
  },
  "r1406": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r1407": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-3"
  },
  "r1408": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r1409": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-4"
  },
  "r1410": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-3"
  },
  "r1411": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-6"
  },
  "r1412": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r1413": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r1414": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r1415": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r1416": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r1417": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1418": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1419": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1420": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1421": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1422": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1423": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r1424": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r1425": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-2"
  },
  "r1426": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1427": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1428": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1429": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1430": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1431": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1432": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479432/944-30-50-2B"
  },
  "r1433": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r1434": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r1435": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4D"
  },
  "r1436": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4G",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4G"
  },
  "r1437": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1438": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1439": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1440": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1441": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1442": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1443": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1444": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1445": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1446": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1447": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1448": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1449": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1450": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1451": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1452": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1453": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1454": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1455": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1456": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1457": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1458": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r1459": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r1460": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r1461": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-11"
  },
  "r1462": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-15"
  },
  "r1463": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-16"
  },
  "r1464": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-9"
  },
  "r1465": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-3"
  },
  "r1466": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r1467": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-10"
  },
  "r1468": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-14"
  },
  "r1469": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-18"
  },
  "r1470": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-27"
  },
  "r1471": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1472": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1473": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1474": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1475": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1476": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1477": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1478": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1479": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1480": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1481": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1482": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1483": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1484": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1485": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1486": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-6"
  },
  "r1487": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-6"
  },
  "r1488": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-6"
  },
  "r1489": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-6"
  },
  "r1490": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1491": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1492": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1493": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1494": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1495": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "230",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477867/946-230-45-1"
  },
  "r1496": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1497": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1498": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1499": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1500": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1501": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1502": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1503": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1504": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1505": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1506": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1507": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1508": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1509": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "37",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477346/946-830-45-37"
  },
  "r1510": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "39",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477346/946-830-45-39"
  }
 }
}
