/* Arrow buttons — see button-arrow.js. */

/* Measuring pass: lay out the hover state instantly (mirrors the .btn class hover CSS). */
.btn.btn--measure {
	gap: var(--space-2) !important;
	transition: none !important;
}
.btn.btn--measure .icon-arrow {
	width: 1em !important;
	transition: none !important;
}

/* Only set on buttons whose label would re-wrap on hover: wrap it at rest instead. */
.btn.btn--prewrap {
	max-width: var(--btn-rest-max);
}
.btn.btn--prewrap:hover,
.btn.btn--prewrap:focus-visible {
	max-width: none;
}
