/* Scoped Media Library / attachment UI. */
.compat-field-gdaiidl_media_source_type > .label,
.compat-field-gdaiidl_media_source_type > .field {
	vertical-align: top;
}

.compat-field-gdaiidl_media_source_type > .field {
	padding-top: 4px;
	padding-bottom: 10px;
}

.gdaiidl-media-source-control {
	box-sizing: border-box;
	max-width: 620px;
}

.gdaiidl-media-source-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.gdaiidl-media-source-select {
	box-sizing: border-box;
	width: min(100%, 320px);
	min-width: 220px;
	margin: 0;
}

.gdaiidl-media-source-help {
	max-width: 580px;
	margin: 6px 0 0;
	color: #646970;
	font-size: 12px;
	line-height: 1.45;
}

.column-gdaiidl_ai_status {
	width: 145px;
}

.gdaiidl-status-chip {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 24px;
	padding: 2px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 999px;
	background: #f6f7f7;
	color: #3c434a;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}

.gdaiidl-status-generated {
	border-color: #72aee6;
	background: #f0f6fc;
	color: #135e96;
}

.gdaiidl-status-edited {
	border-color: #b8a1d9;
	background: #f7f3fb;
	color: #674399;
}

.gdaiidl-status-enhanced {
	border-color: #6cc0b7;
	background: #edf8f7;
	color: #006b60;
}

.gdaiidl-status-no-ai {
	border-color: #68b878;
	background: #eff8f1;
	color: #116329;
}

.gdaiidl-status-unclassified {
	border-color: #c3c4c7;
	background: #f6f7f7;
	color: #646970;
}

#gdaiidl-ai-status-filter {
	max-width: 220px;
}

@media screen and (max-width: 782px) {
	.gdaiidl-media-source-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.gdaiidl-media-source-select {
		width: 100%;
		min-width: 0;
	}

	.gdaiidl-status-chip {
		width: max-content;
	}

	.column-gdaiidl_ai_status {
		width: auto;
	}
}

.gdaiidl-status-modified {
	font-weight: 600;
}
