.download {
	/* the 50x50 download box (2026-09-22, danja's call): 2px border, 80%
	   transparent background, the file's type inside. The size is
	   CSS-driven on purpose - download_save_state strips object-width and
	   object-height, so the box is always exactly this. */
	background-color: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.download-mime {
	/* the file's type: the MIME subtype where it fits, the extension
	   otherwise - full MIMEs do not fit at 50x50, and the full string is
	   the title. */
	font-size: 9px;
	line-height: 1;
	text-align: center;
	word-break: break-all;
	max-width: 44px;
	color: rgba(0, 0, 0, 0.75);
}

.glue-download-wrapped {
	/* the editor's hidden form of a wrapped download box: the object must
	   exist for undo and detach to reach it, but it stays off-screen */
	display: none;
}
