.paper-page {
	background: #f4f5f1;
	color: #1b211e;
}

.paper-page .site-header {
	border-color: #cfd5cf;
}

.paper-page .wordmark,
.paper-page .nav a:hover,
.paper-page .nav a[aria-current="page"] {
	color: #152019;
}

.paper-page .nav a {
	color: #5d6862;
}

.paper-shell {
	width: min(calc(100% - 2.5rem), 1280px);
	margin: 0 auto;
}

.paper-masthead {
	max-width: 1000px;
	padding: 5.5rem 0 3rem;
}

.paper-masthead .eyebrow {
	color: #6d5414;
}

.paper-masthead h1 {
	max-width: 18ch;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 3.7rem;
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1.04;
}

.paper-byline {
	margin: 1.25rem 0 0;
	color: #59635e;
}

.paper-status {
	max-width: 760px;
	margin: 2rem 0 0;
	padding: 1rem 1.15rem;
	border-left: 3px solid #b36355;
	background: #e8eae5;
	color: #414a45;
	font-size: 0.92rem;
}

.paper-page .button {
	border-color: #1d4b38;
	background: #1d4b38;
	color: #fff;
}

.paper-page .button:hover {
	background: transparent;
	color: #1d4b38;
}

.paper-page .text-link,
.paper-page .paper-article a {
	color: #205f70;
}

.source-fingerprint {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem 2.2rem;
	margin: 2rem 0 0;
}

.source-fingerprint div {
	display: grid;
	gap: 0.2rem;
}

.source-fingerprint dt {
	color: #737e78;
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.source-fingerprint dd {
	margin: 0;
	font-size: 0.82rem;
}

.paper-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 790px);
	gap: 4rem;
	align-items: start;
	padding-bottom: 6rem;
}

.paper-toc {
	position: sticky;
	top: 1.5rem;
	display: grid;
	gap: 0.55rem;
	padding-top: 1.1rem;
	border-top: 1px solid #c6cdc7;
}

.paper-toc .toc-title {
	margin: 0 0 0.4rem;
	color: #505b55;
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.paper-toc a {
	color: #5c6761;
	font-size: 0.78rem;
	line-height: 1.35;
	text-decoration: none;
}

.paper-toc a:hover {
	color: #1d4b38;
}

.paper-article {
	min-width: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.04rem;
	line-height: 1.72;
}

.paper-article h2 {
	margin: 4rem 0 1.2rem;
	padding-top: 0.65rem;
	border-top: 1px solid #c6cdc7;
	font-family: "Aptos", "Segoe UI", Arial, sans-serif;
	font-size: 2rem;
	line-height: 1.14;
}

.paper-article h3 {
	margin: 2.4rem 0 0.8rem;
	font-family: "Aptos", "Segoe UI", Arial, sans-serif;
	font-size: 1.28rem;
}

.paper-article p,
.paper-article li {
	max-width: 76ch;
	overflow-wrap: anywhere;
}

.paper-article code {
	padding: 0.08rem 0.2rem;
	background: #e4e7e1;
	font-size: 0.84em;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.paper-article pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 1rem;
	background: #1b211e;
	color: #eef3ec;
	font-size: 0.82rem;
	white-space: pre-wrap;
	word-break: break-word;
}

.paper-article blockquote {
	margin: 1.5rem 0;
	padding: 0.3rem 1.2rem;
	border-left: 3px solid #7a9587;
	color: #4e5953;
}

.paper-article table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.6rem 0;
	overflow-x: auto;
	border-collapse: collapse;
	font-family: "Aptos", "Segoe UI", Arial, sans-serif;
	font-size: 0.82rem;
}

.paper-article th,
.paper-article td {
	min-width: 120px;
	padding: 0.65rem;
	border-bottom: 1px solid #c8cec9;
	text-align: left;
	vertical-align: top;
}

.paper-article th {
	background: #e5e8e2;
}

.paper-lead-figure {
	margin: 0 0 3.2rem;
}

.paper-lead-figure img {
	width: 100%;
	border: 1px solid #bcc5be;
}

.paper-lead-figure figcaption {
	margin-top: 0.6rem;
	color: #647069;
	font-family: "Aptos", "Segoe UI", Arial, sans-serif;
	font-size: 0.76rem;
}

.citation {
	white-space: nowrap;
}

.references {
	padding-left: 1.4rem;
	font-family: "Aptos", "Segoe UI", Arial, sans-serif;
	font-size: 0.8rem;
}

.references li {
	margin-bottom: 0.9rem;
}

.reference-back {
	font-size: 0.72rem;
}

.paper-page .site-footer {
	border-color: #cfd5cf;
	color: #66716b;
}

@media (max-width: 980px) {
	.paper-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.paper-toc {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.paper-toc .toc-title {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.paper-shell {
		width: min(calc(100% - 1.25rem), 1280px);
	}

	.paper-masthead {
		padding: 3.5rem 0 2.5rem;
	}

	.paper-masthead h1 {
		font-size: 2.55rem;
	}

	.paper-toc {
		grid-template-columns: 1fr;
	}

	.paper-article h2 {
		font-size: 1.7rem;
	}
}

@media print {
	@page {
		size: Letter;
		margin: 0.7in 0.72in 0.75in;
	}

	.paper-page {
		background: #fff;
		font-size: 10pt;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.paper-page .site-header,
	.paper-actions,
	.paper-toc,
	.paper-page .site-footer {
		display: none;
	}

	.paper-shell,
	.paper-layout {
		display: block;
		width: auto;
		margin: 0;
		padding: 0;
	}

	.paper-masthead {
		max-width: none;
		padding: 0 0 0.35in;
		break-after: page;
	}

	.paper-masthead h1 {
		font-size: 30pt;
	}

	.paper-article {
		font-size: 10pt;
		line-height: 1.48;
	}

	.paper-article h2 {
		margin-top: 0.28in;
		break-after: avoid;
	}

	.paper-article h3,
	.paper-article table,
	.paper-article figure {
		break-inside: avoid;
	}

	.paper-article a {
		color: inherit;
		text-decoration: none;
	}

	.reference-back {
		display: none;
	}
}
