/* A named draft's page. Split from files.css so each sheet has one job. Tokens only. */
/* A named draft's page (Drafts step 2, board Draft; issue 35). */
.ab-page:has(> .ab-nd) {
	max-width: 1180px;
	padding: var(--space-6) 32px 64px;
}
.ab-nd {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	min-width: 0;
}
.ab-nd-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 16px;
}
.ab-nd-head h1 {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 24px;
	line-height: 32px;
	font-weight: 650;
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
}
.ab-nd-tag {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	border-radius: 5px;
	box-shadow: inset 0 0 0 1px var(--faint);
	color: var(--muted);
	font-size: 12px;
}
.ab-nd-facts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0;
	color: var(--muted);
	font: var(--type-ui);
}
.ab-nd-facts .sep {
	color: var(--faint);
}
.ab-nd-facts .mono {
	color: var(--ink);
}
.ab-nd-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: start;
	margin-top: var(--space-3);
}
.ab-nd-main {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	min-width: 0;
}
.ab-nd h2 {
	margin: 0 0 var(--space-2);
	font-size: 13px;
	font-weight: 650;
	display: flex;
	align-items: baseline;
	gap: var(--space-2);
}
.ab-nd h2 .mono {
	font-size: 12px;
	color: var(--muted);
	font-weight: 500;
}
.ab-nd-desc {
	margin: 0;
	max-width: 72ch;
	font-size: 15px;
	line-height: 23px;
	overflow-wrap: anywhere;
}
.ab-nd-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	padding: 12px 14px;
	border-radius: var(--radius-lg, 8px);
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--rule);
}
.ab-nd-note {
	display: block;
	color: var(--muted);
	font-size: 12px;
	line-height: 18px;
	overflow-wrap: anywhere;
}
.ab-nd-box .ab-nd-note {
	display: inline;
}
.ab-nd-activity {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ab-nd-event {
	display: grid;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
	column-gap: 12px;
	align-items: start;
	padding: 10px 0;
	border-top: 1px solid var(--rule);
}
.ab-nd-event .what {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.ab-nd-event .when {
	color: var(--muted);
	font-size: 12px;
	white-space: nowrap;
}
.ab-nd-files ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ab-nd-files li {
	display: flex;
	align-items: center;
	height: 28px;
	border-top: 1px solid var(--rule);
	min-width: 0;
}
.ab-nd-files li a {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ab-nd-files .ab-btn {
	margin-top: 10px;
}
@media (max-width: 900px) {
	.ab-page:has(> .ab-nd) {
		padding: var(--space-4) var(--space-4) 48px;
	}
	.ab-nd-cols {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-6);
	}
}
