/**
 * Variations mode: hide WooCommerce's variations tab in `native` mode.
 *
 * L3 step A (`docs/adr/0003-l3-variations-bridge-first.md`) keeps WooCommerce's
 * own variations tab as the editor of variations; step C replaces it with our
 * table. The gate that tells the two modes apart is `?bpe_legacy_variations`,
 * and this file is the only visible effect of `native` until our table exists.
 *
 * **Hidden, never removed.** `#variable_product_options` has to keep existing in
 * the DOM in both modes: WooCommerce's Backbone binds to it
 * (`assets/js/admin/meta-boxes-product-variation.js`) and `WC_AJAX::add_variation()` /
 * `load_variations()` render *into* it. Deleting the node would break the
 * product type switcher, the attributes panel and every third-party variations
 * integration. `display: none` leaves all of that intact - the node is still
 * there for `backbone` and for `jQuery`, and `#woocommerce-product-data` stays
 * the single descendant of `form.metabox-location-normal` that the serialised
 * form needs.
 *
 * **No body-class guard on purpose.** `Modules\VariationModeModule` enqueues this
 * file only when the resolved mode is `native`, so the rules do not need one -
 * and must not rely on one: the metabox area is rendered inside the block
 * editor's iframe, where the admin `<body>` classes (`body.bpe-variations-native`,
 * printed for the CSS/browser probe) are not guaranteed to be present. Scoping on
 * a class that may be missing would silently hide nothing at all.
 *
 * `!important` is required: WooCommerce's own variation script calls
 * `.show()`/`.hide()`, which writes an inline `display`, and an inline style
 * beats a plain author rule.
 *
 * **Not loaded when `native` was refused.** `docs/waves/wave-6-brief.md` §C3
 * makes an active `variations_state=incompatible` plugin force the screen back to
 * `legacy`; `Modules\VariationModeModule::enqueue()` then returns before the
 * enqueue, so this file stays what its name says - the `native` mode's only
 * stylesheet - and the refused screen keeps the tab visible. Nothing here may
 * ever remove a node, in either mode.
 */

#woocommerce-product-data .variations_tab,
#woocommerce-product-data #variable_product_options {
	display: none !important;
}
