/**
 * 画像ブロック：ソースURL
 */

.swell-plus-image-source {
	--swell-plus-image-source-color: #f59e0b;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .2em .5em;
	box-sizing: border-box;
	margin-top: .6em;
	font-size: .88em;
	line-height: 1.6;
	overflow-wrap: anywhere;
	text-align: center;
}

.swell-plus-image-source__label {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	box-sizing: border-box;
	padding: .05em .48em;
	background: var(--swell-plus-image-source-color);
	border: 1px solid var(--swell-plus-image-source-color);
	border-radius: 0;
	color: #fff;
	font-size: .9em;
	font-weight: 700;
	line-height: 1.45;
	white-space: nowrap;
}

.swell-plus-image-source__label.is-shape-rounded,
.swell-plus-image-source__label.is-style-rounded {
	border-radius: 999px;
}

.swell-plus-image-source__label.is-fill-outline,
.swell-plus-image-source__label.is-style-outline {
	background: transparent;
	color: var(--swell-plus-image-source-color);
}

.swell-plus-image-source__link {
	color: #006ccc;
	text-decoration: underline;
	cursor: pointer;
}

.swell-plus-image-source__link:hover {
	color: #555;
}

.swell-plus-image-source__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.swell-plus-image-source--editor {
	margin-bottom: 1em;
}

.swell-plus-image-source__settings-divider {
	margin: 20px 0 14px;
	padding-top: 14px;
	border-top: 1px solid #ddd;
}

.swell-plus-image-source__settings-divider p {
	margin: 4px 0 0;
	color: #757575;
	font-size: 12px;
}

/* カスタムカラーの丸をプリセット（グレー）の右側へ置く。 */
.swell-plus-image-source-color-palette .components-circular-option-picker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.swell-plus-image-source-color-palette .components-circular-option-picker__swatches {
	order: 1;
}

.swell-plus-image-source-color-palette .components-circular-option-picker__custom-clear-wrapper {
	order: 2;
}
