{
 "version": "2.2",
 "instance": {
  "d66642dncsrs.htm": {
   "nsprefix": "alliancebernstein",
   "nsuri": "http://alliancebernstein/20260531",
   "dts": {
    "schema": {
     "local": [
      "alliancebernstein-20260531.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/lrr/arcrole/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-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/2022-03-31/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/country/2025/country-2025.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025_def.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025.xsd",
      "https://xbrl.sec.gov/oef/2025/oef-2025.xsd",
      "https://xbrl.sec.gov/oef/2025/oef-2025_lab.xsd",
      "https://xbrl.sec.gov/oef/2025/oef-sr-2025.xsd",
      "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd"
     ]
    },
    "inline": {
     "local": [
      "d66642dncsrs.htm"
     ]
    }
   },
   "keyStandard": 31,
   "keyCustom": 0,
   "axisStandard": 7,
   "axisCustom": 0,
   "memberStandard": 1,
   "memberCustom": 170,
   "hidden": {
    "total": 6,
    "http://xbrl.sec.gov/dei/2025": 6
   },
   "contextCount": 387,
   "entityCount": 1,
   "segmentCount": 171,
   "elementCount": 290,
   "unitCount": 3,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/oef/2025": 651,
    "http://xbrl.sec.gov/dei/2025": 116,
    "http://fasb.org/us-gaap/2025": 44
   },
   "report": {
    "R1": {
     "role": "http://xbrl.sec.gov/oef/role/NcsrCover",
     "longName": "030000 - Disclosure - Form N-CSR Cover",
     "shortName": "Form N-CSR Cover",
     "isDefault": "true",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": null,
     "uniqueAnchor": null
    },
    "R2": {
     "role": "http://xbrl.sec.gov/oef/role/ShareholderReport",
     "longName": "030001 - Disclosure - Shareholder Report",
     "shortName": "Shareholder Report",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "2",
     "firstAnchor": {
      "contextRef": "From2025-12-01to2026-05-31",
      "name": "oef:ShareholderReportAnnualOrSemiAnnual",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "h2",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d66642dncsrs.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "From2025-12-01to2026-05-31",
      "name": "oef:ShareholderReportAnnualOrSemiAnnual",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "h2",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d66642dncsrs.htm",
      "first": true,
      "unique": true
     }
    },
    "R3": {
     "role": "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
     "longName": "040020 - Disclosure - Shareholder Report, Holdings (Details)",
     "shortName": "Shareholder Report, Holdings (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "3",
     "firstAnchor": {
      "contextRef": "AsOf2026-05-31_C000262410Member_NotRatedCTIMember",
      "name": "oef:PctOfTotalInv",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "oef:HoldingsTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d66642dncsrs.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "AsOf2026-05-31_C000262410Member_NotRatedCTIMember",
      "name": "oef:PctOfTotalInv",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "oef:HoldingsTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d66642dncsrs.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "alliancebernstein_A17137273CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "A17137273CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "17137273"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_A17137518CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "A17137518CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "17137518"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_A17139351CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "A17139351CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "17139351"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_A17142019CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "A17142019CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "17142019"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_A17142367CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "A17142367CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "17142367"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_A3iGroupPLCMinusABFRB1YW44908CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "A3iGroupPLCMinusABFRB1YW44908CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "3i Group PLC - ABFR_B1YW44908"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AAACTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AAACTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AAA"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AACTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AACTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AA"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_ABBLtdMinusABFR710889908CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "ABBLtdMinusABFR710889908CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ABB Ltd. - ABFR_710889908"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_ACTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "ACTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "A"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AIBGroupPLCMinusABFRBF0L35906CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AIBGroupPLCMinusABFRBF0L35906CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AIB Group PLC - ABFR_BF0L35906"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AMinus1PlusCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AMinus1PlusCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "A-1+"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_ASMLHoldingNVMinusABFRACI02GTQ9CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "ASMLHoldingNVMinusABFRACI02GTQ9CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ASML Holding NV - ABFR_ACI02GTQ9"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_ASMLHoldingNVMinusABFRN07059210CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "ASMLHoldingNVMinusABFRN07059210CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ASML Holding NV - ABFR_N07059210"
       }
      }
     },
     "auth_ref": []
    },
    "oef_AccmVal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AccmVal",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Value"
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "oef_AccountValueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AccountValueLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AccountValueTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AccountValueTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value [Table]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AccountValueTableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AccountValueTableAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Account Value Table [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AccountantChngDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AccountantChngDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Date"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "oef_AccountantChngDisagreementsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AccountantChngDisagreementsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Disagreements [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "oef_AccountantChngStatementTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AccountantChngStatementTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accountant Change Statement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "oef_AdditionalIndexAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AdditionalIndexAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Index [Axis]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AdditionalIndexDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AdditionalIndexDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Index [Domain]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_AddlFundStatisticsSignificanceOrLimitsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AddlFundStatisticsSignificanceOrLimitsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Fund Statistics Significance or Limits [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "oef_AddlFundStatisticsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AddlFundStatisticsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Fund Statistics [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "oef_AddlInfoEmail": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AddlInfoEmail",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Email"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "oef_AddlInfoPhoneNumber": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AddlInfoPhoneNumber",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Phone Number"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "oef_AddlInfoTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AddlInfoTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "oef_AddlInfoWebsite": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AddlInfoWebsite",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Information Website"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "alliancebernstein_AdvancedMicroDevicesIncMinusABFR007903107CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AdvancedMicroDevicesIncMinusABFR007903107CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Advanced Micro Devices, Inc. - ABFR_007903107"
       }
      }
     },
     "auth_ref": []
    },
    "oef_AdvisoryFeesPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AdvisoryFeesPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Advisory Fees Paid, Amount"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "alliancebernstein_AlabamaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AlabamaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Alabama"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AlphabetIncMinusABFR02079K107CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AlphabetIncMinusABFR02079K107CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Alphabet, Inc. - ABFR_02079K107"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AlphabetIncMinusABFR02079K305CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AlphabetIncMinusABFR02079K305CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Alphabet, Inc. - ABFR_02079K305"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AmazoncomIncMinusABFR023135106CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AmazoncomIncMinusABFR023135106CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amazon.com, Inc. - ABFR_023135106"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentDescription",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "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://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AmericanSamoaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AmericanSamoaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "American Samoa"
       }
      }
     },
     "auth_ref": []
    },
    "oef_AnnlOrSemiAnnlStatementTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AnnlOrSemiAnnlStatementTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual or Semi-Annual Statement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "alliancebernstein_AppleIncMinusABFR037833100CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AppleIncMinusABFR037833100CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Apple, Inc. - ABFR_037833100"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetAgenciesCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetAgenciesCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetAgencies"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetAssetMinusBackedSecuritiesCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetAssetMinusBackedSecuritiesCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetAsset-Backed Securities"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetBankLoansCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetBankLoansCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetBank Loans"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetCollateralizedLoanObligationsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetCollateralizedLoanObligationsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetCollateralized Loan Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetCollateralizedMortgageObligationsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetCollateralizedMortgageObligationsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetCollateralized Mortgage Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetCommercialMortgageMinusBackedSecuritiesCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetCommercialMortgageMinusBackedSecuritiesCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetCommercial Mortgage-Backed Securities"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetCommonStocksCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetCommonStocksCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetCommon Stocks"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetCorporatesMinusInvestmentGradeCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetCorporatesMinusInvestmentGradeCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetCorporates - Investment Grade"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetCorporatesMinusNonMinusInvestmentGradeCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetCorporatesMinusNonMinusInvestmentGradeCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetCorporates - Non-Investment Grade"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetEmergingMarketsMinusCorporateBondsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetEmergingMarketsMinusCorporateBondsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetEmerging Markets - Corporate Bonds"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetEmergingMarketsMinusSovereignsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetEmergingMarketsMinusSovereignsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetEmerging Markets - Sovereigns"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetGovernmentsMinusSovereignBondsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetGovernmentsMinusSovereignBondsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetGovernments - Sovereign Bonds"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetGovernmentsMinusTreasuriesCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetGovernmentsMinusTreasuriesCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetGovernments - Treasuries"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetLongMinusTermMunicipalBondsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetLongMinusTermMunicipalBondsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetLong-Term Municipal Bonds"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetMortgagePassMinusThroughsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetMortgagePassMinusThroughsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetMortgage Pass-Throughs"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetOtherNetLineCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetOtherNetLineCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Other Net Line"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetPreferredStocksCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetPreferredStocksCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetPreferred Stocks"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetPurchasedOptionsMinusCallsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetPurchasedOptionsMinusCallsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetPurchased Options - Calls"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetPurchasedOptionsMinusPutsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetPurchasedOptionsMinusPutsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetPurchased Options - Puts"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetQuasiMinusSovereignsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetQuasiMinusSovereignsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetQuasi-Sovereigns"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_AssetShortMinusTermMunicipalNotesCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "AssetShortMinusTermMunicipalNotesCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetShort-Term Municipal Notes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsNet",
     "crdr": "debit",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetsNet",
        "documentation": "Amount of net assets (liabilities)."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "oef_AverageAnnualReturnAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AverageAnnualReturnAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return:"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "oef_AverageAnnualReturnLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AverageAnnualReturnLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "oef_AverageAnnualReturnTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AverageAnnualReturnTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Table]"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "oef_AvgAnnlRtrPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AvgAnnlRtrPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Percent"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_AvgAnnlRtrTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "AvgAnnlRtrTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "alliancebernstein_BAESystemsPLCMinusABFR026349902CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "BAESystemsPLCMinusABFR026349902CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BAE Systems PLC - ABFR_026349902"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_BBBCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "BBBCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BBB"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_BBCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "BBCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BB"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_BCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "BCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "B"
       }
      }
     },
     "auth_ref": []
    },
    "oef_BroadBasedIndexAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BroadBasedIndexAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Broad Based Index [Axis]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_BroadBasedIndexDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "BroadBasedIndexDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Broad Based Index [Domain]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "alliancebernstein_BroadcomIncMinusABFR11135F101CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "BroadcomIncMinusABFR11135F101CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Broadcom, Inc. - ABFR_11135F101"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000237018Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000237018Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000237018"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000237019Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000237019Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000237019"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000240507Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000240507Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000240507"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000240508Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000240508Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000240508"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000240509Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000240509Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000240509"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000241312Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000241312Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000241312"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000241953Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000241953Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000241953"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000245882Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000245882Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000245882"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000245883Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000245883Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000245883"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000245884Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000245884Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000245884"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000245885Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000245885Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000245885"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000245886Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000245886Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000245886"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000247934Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000247934Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000247934"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000247935Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000247935Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000247935"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000247940Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000247940Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000247940"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000254634Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000254634Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000254634"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000254635Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000254635Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000254635"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000262396Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000262396Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000262396"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000262410Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000262410Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000262410"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000262411Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000262411Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000262411"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000262412Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000262412Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000262412"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_C000264974Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "C000264974Member",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C000264974"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CaliforniaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CaliforniaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "California"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CanadianPacificKansasCityLtdMinusABFR13646K959CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CanadianPacificKansasCityLtdMinusABFR13646K959CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Canadian Pacific Kansas City Ltd. - ABFR_13646K959"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CaterpillarIncMinusABFR149123101CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CaterpillarIncMinusABFR149123101CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Caterpillar, Inc. - ABFR_149123101"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CiscoSystemsIncMinusABFR17275R102CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CiscoSystemsIncMinusABFR17275R102CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cisco Systems, Inc. - ABFR_17275R102"
       }
      }
     },
     "auth_ref": []
    },
    "oef_ClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ClassAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class [Axis]"
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "oef_ClassName": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ClassName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class Name"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "alliancebernstein_ConnecticutCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "ConnecticutCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Connecticut"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryAustraliaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryAustraliaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryAustralia"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryBrazilCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryBrazilCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryBrazil"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryCanadaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryCanadaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryCanada"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryChinaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryChinaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryChina"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryDenmarkCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryDenmarkCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryDenmark"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryFranceCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryFranceCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryFrance"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryGermanyCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryGermanyCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryGermany"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryHongKongCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryHongKongCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryHong Kong"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryIrelandCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryIrelandCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryIreland"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryIsraelCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryIsraelCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryIsrael"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryItalyCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryItalyCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryItaly"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryJapanCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryJapanCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryJapan"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryLuxembourgCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryLuxembourgCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryLuxembourg"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryNetherlandsCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryNetherlandsCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryNetherlands"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryPuertoRicoCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryPuertoRicoCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryPuerto Rico"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummarySingaporeCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummarySingaporeCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummarySingapore"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummarySouthAfricaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummarySouthAfricaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummarySouth Africa"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummarySouthKoreaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummarySouthKoreaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummarySouth Korea"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummarySpainCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummarySpainCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummarySpain"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummarySwedenCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummarySwedenCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummarySweden"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummarySwitzerlandCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummarySwitzerlandCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummarySwitzerland"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryTaiwanCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryTaiwanCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryTaiwan"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryUnitedKingdomCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryUnitedKingdomCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryUnited Kingdom"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_CountrySummaryUnitedStatesCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "CountrySummaryUnitedStatesCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country SummaryUnited States"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "oef_CreditQualityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "CreditQualityAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_CreditQualityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "CreditQualityDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_CreditQualityExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "CreditQualityExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Quality Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_CreditRatingsSelectionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "CreditRatingsSelectionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Ratings Selection [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "alliancebernstein_DCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "DCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "D"
       }
      }
     },
     "auth_ref": []
    },
    "oef_DistOfCapitalTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "DistOfCapitalTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution of Capital [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "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_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "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": []
    },
    "alliancebernstein_EatonCorpPLCMinusABFRG29183103CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "EatonCorpPLCMinusABFRG29183103CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Eaton Corp. PLC - ABFR_G29183103"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_EliLillyCoMinusABFR532457108CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "EliLillyCoMinusABFR532457108CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Eli Lilly &amp; Co. - ABFR_532457108"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "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": [
      "r18"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series",
        "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_EntityInvCompanyType": {
     "xbrltype": "invCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityInvCompanyType",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Investment 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": [
      "r62"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "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": [
      "r18"
     ]
    },
    "oef_EtfDiscountNumDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "EtfDiscountNumDays",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Discount, Number of Days"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_EtfPastPerfTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "EtfPastPerfTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Past Performance [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_EtfPremiumDiscountTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "EtfPremiumDiscountTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Premium Discount [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_EtfPremiumNumDays": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "EtfPremiumNumDays",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Premium, Number of Days"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_EtfPurchaseExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "EtfPurchaseExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETF Purchase Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_ExpenseRatioPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpenseRatioPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Ratio, Percent"
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "oef_ExpensesExclExtraordinaryExpensesPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesExclExtraordinaryExpensesPct",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Excluding Extraordinary Expenses, Percent"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpensesPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Paid, Amount"
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "oef_ExpensesRepresentBothMasterAndFeeder": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesRepresentBothMasterAndFeeder",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Represent Both Master and Feeder [Text]"
       }
      }
     },
     "auth_ref": [
      "r29",
      "r59"
     ]
    },
    "oef_ExpensesShortPeriodFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesShortPeriodFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Short Period Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExpensesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "oef_ExposureBasisExplanationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExposureBasisExplanationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exposure Basis Explanation [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_ExtraordinaryExpensesFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ExtraordinaryExpensesFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Extraordinary Expenses Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "alliancebernstein_ExxonMobilCorpMinusABFR30231G102CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "ExxonMobilCorpMinusABFR30231G102CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exxon Mobil Corp. - ABFR_30231G102"
       }
      }
     },
     "auth_ref": []
    },
    "oef_FactorsAffectingPerfTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "FactorsAffectingPerfTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Factors Affecting Performance [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_FundName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "FundName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fund Name"
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "oef_GeographicRegionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "GeographicRegionAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographic Region [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_GeographicRegionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "GeographicRegionDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographic Region [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "alliancebernstein_GeorgiaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "GeorgiaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Georgia"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_GuamCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "GuamCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Guam"
       }
      }
     },
     "auth_ref": []
    },
    "oef_HoldingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "HoldingsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_HoldingsCount": {
     "xbrltype": "integerItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "HoldingsCount",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings Count"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "oef_HoldingsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "HoldingsLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_HoldingsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "HoldingsTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Table]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_HoldingsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "HoldingsTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdings [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "alliancebernstein_IllinoisCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "IllinoisCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Illinois"
       }
      }
     },
     "auth_ref": []
    },
    "oef_InabilityToMeetDistLevelTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "InabilityToMeetDistLevelTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inability to Meet Distribution Level [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "oef_IndustrySectorAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "IndustrySectorAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Industry Sector [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_IndustrySectorDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "IndustrySectorDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Industry Sector [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "us-gaap_InvestmentCompanyPortfolioTurnover": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentCompanyPortfolioTurnover",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "InvestmentCompanyPortfolioTurnover",
        "documentation": "Percentage of lesser of purchase or sale of portfolio securities to average value of portfolio securities owned."
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Type [Axis]",
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r2",
      "r3",
      "r4",
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r2",
      "r3",
      "r4",
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17"
     ]
    },
    "alliancebernstein_KentuckyCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "KentuckyCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Kentucky"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_KingspanGroupPLCMinusABFR449123900CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "KingspanGroupPLCMinusABFR449123900CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Kingspan Group PLC - ABFR_449123900"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_LamResearchCorpMinusABFR512807306CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "LamResearchCorpMinusABFR512807306CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lam Research Corp. - ABFR_512807306"
       }
      }
     },
     "auth_ref": []
    },
    "oef_LargestHoldingAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "LargestHoldingAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holding [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_LargestHoldingsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "LargestHoldingsDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holdings [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_LargestHoldingsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "LargestHoldingsTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Largest Holdings [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "oef_LineGraphAndTableMeasureName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "LineGraphAndTableMeasureName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line Graph and Table Measure Name"
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "oef_LineGraphTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "LineGraphTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line Graph [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_MaterialChngDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialChngDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Change Date"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_MaterialChngDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialChngDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Change Description [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_MaterialFundChngAdviserTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialFundChngAdviserTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Adviser [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r55"
     ]
    },
    "oef_MaterialFundChngExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialFundChngExpensesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Expenses [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_MaterialFundChngNameTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialFundChngNameTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Name [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r50"
     ]
    },
    "oef_MaterialFundChngNoticeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialFundChngNoticeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Notice [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "oef_MaterialFundChngObjectivesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialFundChngObjectivesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Objectives [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_MaterialFundChngRisksChngTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialFundChngRisksChngTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Risks Change [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "oef_MaterialFundChngStrategiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialFundChngStrategiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change Strategies [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_MaterialFundChngTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaterialFundChngTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Fund Change [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_MaturityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaturityAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_MaturityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "MaturityDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "alliancebernstein_MerckCoIncMinusABFR58933Y105CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "MerckCoIncMinusABFR58933Y105CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Merck &amp; Co., Inc. - ABFR_58933Y105"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_MetaPlatformsIncMinusABFR30303M102CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "MetaPlatformsIncMinusABFR30303M102CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Meta Platforms, Inc. - ABFR_30303M102"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_MichiganCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "MichiganCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Michigan"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_MicronTechnologyIncMinusABFR595112103CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "MicronTechnologyIncMinusABFR595112103CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Micron Technology, Inc. - ABFR_595112103"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_MicrosoftCorpMinusABFR594918104CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "MicrosoftCorpMinusABFR594918104CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Microsoft Corp. - ABFR_594918104"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_NVIDIACorpMinusABFR67066G104CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "NVIDIACorpMinusABFR67066G104CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NVIDIA Corp. - ABFR_67066G104"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_NebraskaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "NebraskaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nebraska"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_NewJerseyCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "NewJerseyCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Jersey"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_NewYorkCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "NewYorkCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New York"
       }
      }
     },
     "auth_ref": []
    },
    "oef_NoDeductionOfTaxesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "NoDeductionOfTaxesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Deduction of Taxes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "dei_NoTradingSymbolFlag": {
     "xbrltype": "trueItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "NoTradingSymbolFlag",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading Symbol [Flag]",
        "documentation": "Boolean flag that is true only for a security having no trading symbol."
       }
      }
     },
     "auth_ref": []
    },
    "srt_NorthAmericaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "NorthAmericaMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "North America"
       }
      }
     },
     "auth_ref": [
      "r64",
      "r65",
      "r66",
      "r67"
     ]
    },
    "alliancebernstein_NotRatedCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "NotRatedCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Not Rated"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_NovartisAGMinusABFR710306903CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "NovartisAGMinusABFR710306903CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Novartis AG - ABFR_710306903"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_OhioCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "OhioCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ohio"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_OtherCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "OtherCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other"
       }
      }
     },
     "auth_ref": []
    },
    "oef_OtherCategory1Axis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "OtherCategory1Axis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 1 [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_OtherCategory1Domain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "OtherCategory1Domain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 1 [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_OtherCategory2Axis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "OtherCategory2Axis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 2 [Axis]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_OtherCategory2Domain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "OtherCategory2Domain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Category 2 [Domain]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "alliancebernstein_OtherLineCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "OtherLineCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Line"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_OverseaMinusChineseBankingCorpLtdMinusABFRB0F9V2906CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "OverseaMinusChineseBankingCorpLtdMinusABFRB0F9V2906CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Oversea-Chinese Banking Corp., Ltd. - ABFR_B0F9V2906"
       }
      }
     },
     "auth_ref": []
    },
    "oef_PctOfNav": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PctOfNav",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Asset Value"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfNetLongExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PctOfNetLongExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Long Exposure"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfNetShortExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PctOfNetShortExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Net Short Exposure"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfTotalInv": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PctOfTotalInv",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Investments"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfTotalLongExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PctOfTotalLongExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Long Exposure"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_PctOfTotalShortExposure": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PctOfTotalShortExposure",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percent of Total Short Exposure"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "alliancebernstein_PennsylvaniaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "PennsylvaniaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pennsylvania"
       }
      }
     },
     "auth_ref": []
    },
    "oef_PerfInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerfInceptionDate",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Inception Date"
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "oef_PerfTableMarketIndexChngdTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerfTableMarketIndexChngdTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Market Index Changed [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "oef_PerformancePastDoesNotIndicateFuture": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PerformancePastDoesNotIndicateFuture",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Past Does Not Indicate Future [Text]"
       }
      }
     },
     "auth_ref": [
      "r36",
      "r60"
     ]
    },
    "oef_PreviousInvestmentAdviserTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PreviousInvestmentAdviserTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Previous Investment Adviser [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "oef_PriorMarketIndexComparisonTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "PriorMarketIndexComparisonTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prior Market Index Comparison [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "alliancebernstein_PrysmianSpAMinusABFRB1W4V6907CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "PrysmianSpAMinusABFRB1W4V6907CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prysmian SpA - ABFR_B1W4V6907"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_PuertoRicoCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "PuertoRicoCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Puerto Rico"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_RocheHoldingAGMinusABFRACI38LVK6CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "RocheHoldingAGMinusABFRACI38LVK6CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Roche Holding AG - ABFR_ACI38LVK6"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SKhynixIncMinusABFR645026907CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SKhynixIncMinusABFR645026907CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SK hynix, Inc. - ABFR_645026907"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SafranSAMinusABFRB058TZ909CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SafranSAMinusABFRB058TZ909CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Safran SA - ABFR_B058TZ909"
       }
      }
     },
     "auth_ref": []
    },
    "oef_SalesLoadAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "SalesLoadAxis",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Axis]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "alliancebernstein_SamsungElectronicsCoLtdMinusABFR677172009CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SamsungElectronicsCoLtdMinusABFR677172009CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Samsung Electronics Co., Ltd. - ABFR_677172009"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SchneiderElectricSEMinusABFR483410007CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SchneiderElectricSEMinusABFR483410007CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schneider Electric SE - ABFR_483410007"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SeaLtdMinusABFR81141R100CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SeaLtdMinusABFR81141R100CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sea Ltd. - ABFR_81141R100"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorAgencyFixedRate30MinusYearSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorAgencyFixedRate30MinusYearSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorAgency Fixed Rate 30-Year"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorAutosMinusFixedRateSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorAutosMinusFixedRateSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorAutos - Fixed Rate"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorCLOMinusFloatingRateSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorCLOMinusFloatingRateSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCLO - Floating Rate"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorCollateralizedMortgageObligationsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorCollateralizedMortgageObligationsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCollateralized Mortgage Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorCommercialMortgageMinusBackedSecuritiesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorCommercialMortgageMinusBackedSecuritiesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCommercial Mortgage-Backed Securities"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorCommunicationServicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorCommunicationServicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCommunication Services"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorConsumerDiscretionarySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorConsumerDiscretionarySectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorConsumer Discretionary"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorConsumerStaplesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorConsumerStaplesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorConsumer Staples"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorCreditCardsMinusFixedRateSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorCreditCardsMinusFixedRateSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorCredit Cards - Fixed Rate"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorEnergySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorEnergySectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorEnergy"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorFinancialInstitutionsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorFinancialInstitutionsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorFinancial Institutions"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorFinancialsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorFinancialsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorFinancials"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorFundsandInvestmentTrustsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorFundsandInvestmentTrustsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorFunds and Investment Trusts"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorGovernmentsMinusTreasuriesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorGovernmentsMinusTreasuriesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorGovernments - Treasuries"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorHealthCareSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorHealthCareSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorHealth Care"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorIndustrialSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorIndustrialSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorIndustrial"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorIndustrialsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorIndustrialsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorIndustrials"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorInformationTechnologySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorInformationTechnologySectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorInformation Technology"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorMaterialsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorMaterialsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorMaterials"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorMunicipalObligationsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorMunicipalObligationsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorMunicipal Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorOptionsonEquityIndicesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorOptionsonEquityIndicesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorOptions on Equity Indices"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorOtherABSMinusFixedRateSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorOtherABSMinusFixedRateSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorOther ABS - Fixed Rate"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorOtherNetLineSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorOtherNetLineSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sector Other Net Line"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorRealEstateSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorRealEstateSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorReal Estate"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorUtilitiesSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorUtilitiesSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorUtilities"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorUtilitySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorUtilitySectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorUtility"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_SectorWarrantsSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SectorWarrantsSectorMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SectorWarrants"
       }
      }
     },
     "auth_ref": []
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "terseLabel": "Exchange",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "oef_ShareClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareClassDomain",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport",
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails",
      "http://xbrl.sec.gov/oef/role/ShareholderReportLineGraphDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Classes"
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "oef_ShareholderReportAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderReportAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_ShareholderReportAnnualOrSemiAnnual": {
     "xbrltype": "shareholderReportTypeItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderReportAnnualOrSemiAnnual",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report Annual or Semi-Annual"
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "oef_ShareholderReportLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderReportLineItems",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_ShareholderReportTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "ShareholderReportTable",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/NcsrCover",
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Report [Table]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "alliancebernstein_SouthCarolinaCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "SouthCarolinaCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "South Carolina"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_StandardCharteredPLCMinusABFR040828907CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "StandardCharteredPLCMinusABFR040828907CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Standard Chartered PLC - ABFR_040828907"
       }
      }
     },
     "auth_ref": []
    },
    "oef_SummaryOfChngLegendTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "SummaryOfChngLegendTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Change Legend [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "alliancebernstein_TaiwanSemiconductorManufacturingCoLtdMinusABFR688910900CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "TaiwanSemiconductorManufacturingCoLtdMinusABFR688910900CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Taiwan Semiconductor Manufacturing Co., Ltd. - ABFR_688910900"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_TaiwanSemiconductorManufacturingCoLtdMinusABFR874039100CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "TaiwanSemiconductorManufacturingCoLtdMinusABFR874039100CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Taiwan Semiconductor Manufacturing Co., Ltd. - ABFR_874039100"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_TencentHoldingsLtdMinusABFRBMMV2K903CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "TencentHoldingsLtdMinusABFRBMMV2K903CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tencent Holdings Ltd. - ABFR_BMMV2K903"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_TennesseeCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "TennesseeCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tennessee"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_TexasCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "TexasCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Texas"
       }
      }
     },
     "auth_ref": []
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "TradingSymbol",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "terseLabel": "Ticker",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_UnitedHealthGroupIncMinusABFR91324P102CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "UnitedHealthGroupIncMinusABFR91324P102CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "UnitedHealth Group, Inc. - ABFR_91324P102"
       }
      }
     },
     "auth_ref": []
    },
    "oef_UpdPerfInfoLocationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "UpdPerfInfoLocationTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Performance Information Location [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_UpdProspectusEmailAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "UpdProspectusEmailAddress",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Email Address"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "oef_UpdProspectusPhoneNumber": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "UpdProspectusPhoneNumber",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Phone Number"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "oef_UpdProspectusWebAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "UpdProspectusWebAddress",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReport"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Updated Prospectus Web Address"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "alliancebernstein_VisaIncMinusABFR92826C839CTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "VisaIncMinusABFR92826C839CTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Visa, Inc. - ABFR_92826C839"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_WashingtonCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "WashingtonCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Washington"
       }
      }
     },
     "auth_ref": []
    },
    "alliancebernstein_WisconsinCTIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://alliancebernstein/20260531",
     "localname": "WisconsinCTIMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportHoldingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Wisconsin"
       }
      }
     },
     "auth_ref": []
    },
    "oef_WithSalesLoadMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "WithSalesLoadMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "With Sales Load [Member]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_WithoutSalesLoadMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2025",
     "localname": "WithoutSalesLoadMember",
     "presentation": [
      "http://xbrl.sec.gov/oef/role/ShareholderReportAverageAnnualReturnDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Without Sales Load [Member]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "30",
   "Topic": "205",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479910/205-30-50-1"
  },
  "r1": {
   "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"
  },
  "r2": {
   "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"
  },
  "r3": {
   "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"
  },
  "r4": {
   "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"
  },
  "r5": {
   "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"
  },
  "r6": {
   "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"
  },
  "r7": {
   "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"
  },
  "r8": {
   "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"
  },
  "r9": {
   "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"
  },
  "r10": {
   "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"
  },
  "r11": {
   "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"
  },
  "r12": {
   "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"
  },
  "r13": {
   "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"
  },
  "r14": {
   "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"
  },
  "r15": {
   "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"
  },
  "r16": {
   "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"
  },
  "r17": {
   "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"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "3"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "4"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "5"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "b",
   "Paragraph": "instruction",
   "Subparagraph": "2"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "ii"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "iii"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Sentence": "1",
   "Clause": "b"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Subparagraph": "1",
   "Clause": "c"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Subparagraph": "1",
   "Clause": "d"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "1"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Clause": "B"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "iiii",
   "Clause": "A"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "12"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "14"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "15"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "7"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "8"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "3"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4",
   "Subparagraph": "instruction",
   "Clause": "3"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "4",
   "Subparagraph": "instruction",
   "Clause": "4"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "e"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "e",
   "Paragraph": "instruction",
   "Subparagraph": "6"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "f"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "1"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "2"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "3"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "4"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "5"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "6"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "g",
   "Paragraph": "instruction",
   "Subparagraph": "2"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "h",
   "Paragraph": "1"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "h",
   "Paragraph": "2"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "1",
   "Subparagraph": "d",
   "Sentence": "i"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  },
  "r63": {
   "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"
  },
  "r64": {
   "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"
  },
  "r65": {
   "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"
  },
  "r66": {
   "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"
  },
  "r67": {
   "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"
  }
 }
}
