.foogallery-usage {
	width: 100%;
}

.foogallery-usage p {
	max-width: 80ch;
}

.foogallery-usage-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0;
}

.foogallery-usage-inline-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.foogallery-usage-heading {
	display: flex;
	align-items: center;
	gap: 8px;
}

.foogallery-usage-heading .components-spinner {
	margin: 0;
}

.foogallery-usage-status dt {
	font-weight: 600;
	margin-top: 12px;
}

.foogallery-usage-status dd {
	margin: 4px 0 0;
}

.foogallery-usage code {
	overflow-wrap: anywhere;
}

.foogallery-usage pre {
	max-height: 320px;
	overflow: auto;
	padding: 12px;
	background: #f6f7f7;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.foogallery-usage details {
	margin: 16px 0;
}

.foogallery-usage summary {
	cursor: pointer;
	font-weight: 600;
	padding: 8px 0;
}

.foogallery-usage-disclosure > summary {
	color: var(--wp-admin-theme-color, #2271b1);
	font-weight: 400;
	text-decoration: underline;
}

.foogallery-usage-disclosure > ul {
	list-style: disc;
	padding-left: 24px;
	max-width: 80ch;
}

.foogallery-usage .widefat td {
	vertical-align: top;
}

.foogallery-usage-catalog .widefat th {
	width: auto;
	padding: 8px 10px;
	vertical-align: top;
}

.foogallery-usage-invitation[hidden] {
	display: none;
}

.foogallery-usage-enabled {
	display: flex;
	align-items: center;
	gap: 8px;
}

.foogallery-usage-opt-in {
	padding-top: 12px;
}

.foogallery-usage-enabled .dashicons {
	color: #008a20;
}

.foogallery-usage-preview-modal {
	width: min(900px, calc(100vw - 32px));
}

.foogallery-usage-preview-modal pre {
	max-height: 60vh;
	overflow: auto;
	padding: 16px;
	background: #f6f7f7;
	white-space: pre;
}

@media screen and (min-width: 1200px) {

	.foogallery-usage p,
	.foogallery-usage-disclosure > ul {
		max-width: 100ch;
	}
}
