.ecs-dms-wrap {
	display: flex;
	align-items: center;
}

.ecs-dms-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.ecs-dms-icon i, .ecs-dms-icon svg {
	display: block;
}

.ecs-dms-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	background: transparent;
	color: inherit;
	border: 1px solid currentColor;
	border-radius: 4px;
	cursor: pointer;
	font: inherit;
	line-height: 1;
	transition: background .2s, color .2s, border-color .2s;
}

.ecs-dms-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.ecs-dms-state {
	display: none;
}

.ecs-dms-type-toggle .ecs-dms-state-light {
	display: contents;
}

.ecs-dms-type-toggle.is-alt .ecs-dms-state-light {
	display: none;
}

.ecs-dms-type-toggle.is-alt .ecs-dms-state-dark {
	display: contents;
}

.ecs-dms-select {
	padding: 8px 12px;
	border: 1px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}