/* The other half of tooltip_escape.js (EC-3674, completed in EC-3839).
 *
 * The escape *swaps* mechanisms: when an ancestor clips, the tip is drawn into
 * a floating node and the element's own ::after has to stop drawing. That
 * second half lived in components.css and named two classes — `.icon-tooltip`
 * and `.help-tooltip`. A scan of the tree found **18 rules across 14
 * stylesheets** whose body is `content: attr(data-tip)`, so thirteen files drew
 * a second tip that nothing suppressed. The most-used of them is the generic
 * `.twp [data-tip]:hover::after` in modern/_shell_assets.html, the only rule
 * behind 143 of the tree's 277 data-tip elements — which is why the bug was
 * reported from a stock-in row that carries no tooltip class at all.
 *
 * Why here and not in components.css: admin/base_site.html loads
 * tooltip_escape.js and does NOT load components.css, so classic admin had the
 * script with no suppression available to it. This file is the pairing —
 * wherever the script is loaded, this is loaded beside it.
 *
 * Why `!important`: the rules it must beat are already as specific as
 * `.twp [data-tip]:hover::after` (0,3,1) and are free to get more specific
 * tomorrow. A kill-switch that can be out-specified is not one, and losing that
 * race is invisible — it looks exactly like the bug it fixes.
 *
 * Not scoped to .twp: the escape runs on classic admin and the hubs too.
 */
.tip-escaped::after {
    content: none !important;
}

/* The arrow, which is a separate pseudo-element, is killed by class rather than
 * globally — and that asymmetry is measured, not stylistic. Every ::after on a
 * data-tip element in the tree draws `attr(data-tip)` or `attr(data-help)`, so
 * suppressing all of them is free. Two ::before rules draw something real:
 * `.pp-unpaid-chip::before` and `.pp-ready-chip::before` in pick_and_pack_v2.css
 * put a 💳 / 📦 on chips that also carry data-tip, and a global ::before kill
 * would blank them on hover.
 *
 * All three tooltip arrows in the tree hang off these two classes
 * (components.css, product_custom_admin.css, seo_perf_hub.css). A fourth is
 * caught by common/tests/test_overlay_position.py rather than by memory.
 */
.icon-tooltip.tip-escaped::before,
.help-tooltip.tip-escaped::before {
    content: none !important;
}
