/**
 * Cap the YITH WAPO add-on tooltip width — companion to includes/wapo-tooltip-overflow.php.
 *
 * The tooltip is hidden but still laid out, and measured 953px wide with no constraint below a
 * ~820px viewport. That set the page's scroll width to 683px against a 393px viewport, so mobile
 * browsers zoomed out and shrank all page text.
 *
 * min(100%, ...) preserves the parent-width behavior that already applies above ~820px and adds
 * a viewport ceiling below it. !important is required or the declaration loses the cascade and the
 * computed value stays `none`.
 */

.yith-wapo-addon-label .tooltip {
	max-width: min( 100%, calc( 100vw - 32px ) ) !important;
}
