/* Baton edit screen */

.baton-steps {
	counter-reset: baton-step;
	list-style: none;
	margin: 0;
	padding: 0;
}

.baton-step {
	align-items: flex-start;
	border-bottom: 1px solid #f0f0f1;
	counter-increment: baton-step;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 12px 0;
}

.baton-step::before {
	background: #2271b1;
	border-radius: 50%;
	color: #fff;
	content: counter(baton-step);
	flex: none;
	font-weight: 600;
	height: 28px;
	line-height: 28px;
	margin-top: 2px;
	text-align: center;
	width: 28px;
}

.baton-drag {
	color: #8c8f94;
	cursor: grab;
	flex: none;
	margin-top: 4px;
	padding: 2px;
}

.baton-drag:hover {
	color: #1d2327;
}

.baton-step.ui-sortable-helper {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	cursor: grabbing;
	padding-left: 8px;
	padding-right: 8px;
}

.baton-step.ui-sortable-helper .baton-drag {
	cursor: grabbing;
}

.baton-step-placeholder {
	background: #f0f6fc;
	border: 2px dashed #72aee6;
	border-radius: 6px;
	list-style: none;
	margin: 6px 0;
	visibility: visible !important;
}

.baton-step-main {
	flex: 1;
	min-width: 0;
}

.baton-step-text.widefat {
	font-size: 15px;
	font-weight: 600;
}

.baton-step-meta {
	color: #646970;
	display: block;
	font-size: 12px;
	margin-top: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.baton-step-actions {
	display: flex;
	flex: none;
	gap: 2px;
	margin-top: 4px;
}

.baton-step-actions .button-link {
	color: #50575e;
	padding: 2px;
}

.baton-step-actions .baton-step-preview {
	color: #50575e;
	padding: 2px;
	text-decoration: none;
}

.baton-step-actions .baton-step-preview:hover {
	color: #2271b1;
}

.baton-step-actions .baton-remove:hover {
	color: #b32d2e;
}

.baton-ai-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.baton-field {
	margin: 0 0 14px;
}

.baton-field legend {
	font-weight: 600;
	margin-bottom: 6px;
}

.baton-how p {
	max-width: 760px;
}

.column-baton_steps {
	width: 70px;
}
