.lcp-bibliography {
	margin-block: clamp(2.75rem, 6vw, 5rem);
	padding: clamp(1.4rem, 3vw, 2.5rem);
	border: 1px solid rgba(49, 28, 49, 0.16);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(9, 104, 111, 0.07), transparent 45%),
		#fbf8f1;
	box-shadow: 0 22px 55px rgba(49, 28, 49, 0.08);
}

.lcp-bibliography > header {
	max-width: 52rem;
}

.lcp-bibliography > header h2 {
	margin-block: 0.3rem 0.75rem;
}

.lcp-bibliography__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.lcp-bibliography__format {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.55rem;
	padding: 1rem;
	border: 1px solid rgba(49, 28, 49, 0.14);
	border-radius: 12px;
	background: #fff;
}

.lcp-bibliography__format label {
	color: #4b2748;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.lcp-bibliography__format textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 10.5rem;
	margin: 0;
	padding: 0.85rem;
	resize: vertical;
	border: 1px solid #cdc4bc;
	border-radius: 8px;
	background: #fffdf9;
	color: #262126;
	font: 0.9rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.lcp-bibliography__format textarea:focus,
.lcp-bibliography__copy:focus-visible,
.lcp-bibliography__downloads a:focus-visible {
	outline: 3px solid #e5ad2f;
	outline-offset: 2px;
}

.lcp-bibliography__copy-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
}

.lcp-bibliography__copy,
.lcp-bibliography__downloads a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.65rem;
	padding: 0.65rem 0.95rem;
	border: 1px solid #09686f;
	border-radius: 999px;
	background: #09686f;
	color: #fff;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.lcp-bibliography__copy:hover,
.lcp-bibliography__downloads a:hover {
	border-color: #4b2748;
	background: #4b2748;
	color: #fff;
}

.lcp-bibliography__status {
	min-height: 1.2em;
	color: #09686f;
	font-size: 0.82rem;
	font-weight: 700;
}

.lcp-bibliography__downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.lcp-bibliography__downloads a {
	border-color: #4b2748;
	background: transparent;
	color: #4b2748;
}

.lcp-bibliography__note {
	max-width: 54rem;
	margin: 1rem 0 0;
	color: #5d565a;
	font-size: 0.88rem;
}

.lcp-bibliography__coins {
	display: none;
}

@media (max-width: 960px) {
	.lcp-bibliography__grid {
		grid-template-columns: 1fr;
	}

	.lcp-bibliography__format textarea {
		min-height: 7.5rem;
	}
}

@media (max-width: 520px) {
	.lcp-bibliography {
		padding: 1.1rem;
		border-radius: 12px;
	}

	.lcp-bibliography__copy-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.lcp-bibliography__copy,
	.lcp-bibliography__downloads a {
		width: 100%;
	}
}
