.nros-ai-float {
	position: fixed;
	z-index: 100020;
	display: none;
	align-items: center;
	gap: 2px;
	padding: 4px;
	border-radius: 8px;
	background: #1d2327;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.08);
	max-width: calc(100vw - 16px);
}

.nros-ai-float.is-visible {
	display: inline-flex;
}

.nros-ai-float.is-busy {
	opacity: 0.72;
	pointer-events: none;
}

.nros-ai-float__btn {
	border: 0;
	background: transparent;
	color: #f0f0f1;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	padding: 7px 9px;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
}

.nros-ai-float__btn:hover,
.nros-ai-float__btn:focus {
	background: rgba(255, 255, 255, 0.12);
	outline: none;
}

.nros-ai-float__btn:disabled {
	opacity: 0.5;
	cursor: wait;
}

.nros-ai-float__sep {
	width: 1px;
	height: 18px;
	background: rgba(255, 255, 255, 0.15);
	margin: 0 2px;
}

@media (prefers-color-scheme: dark) {
	body:not(.is-light-theme) .nros-ai-float {
		background: #111827;
		border-color: rgba(255, 255, 255, 0.12);
	}
}

/* Invisible if a RichText format span is ever applied */
.nros-ai-selection-fmt {
	background: transparent !important;
	box-shadow: none !important;
}
