/*
 * Presentation for the interaction affordances the runtime provides itself.
 *
 * The only such affordance today is the close control a modal disclosure gets
 * when its component package ships none. The rules stay deliberately neutral —
 * colour and type are inherited, nothing is forced with !important — so the
 * package keeps ownership of its own visual language and the control still
 * reads as part of the panel it closes.
 */

.noe-modal-close {
	display: inline-flex;
	order: 999;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	margin-inline-start: auto;
	padding: 0 14px;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1;
	gap: 8px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.noe-modal-close__icon {
	font-size: 1.25em;
}

.noe-modal-close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
