/* Now (website2, the overnight pass): one row per agent, and that row does not
   move when a recording dot appears or a start note grows. The first line is
   the row. The rest opens as Markdown, in the versions row's own classes. */

.ab-now-h {
	margin: 18px 0 6px;
	font-size: 13px;
	font-weight: 650;
	letter-spacing: 0;
	color: var(--muted);
}

.ab-now-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--rule);
}

.ab-now-agent {
	display: grid;
	grid-template-columns: 14px minmax(9rem, 13rem) minmax(0, 1fr) 5.5rem 5.5rem;
	column-gap: 12px;
	align-items: start;
	min-height: 34px;
	padding: 7px 2px;
	border-bottom: 1px solid var(--rule);
	font-size: 14px;
	line-height: 1.35;
}

/* The dot's slot is always there, so a pulse does not push the name. */
.ab-now-rec {
	width: 14px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ab-now-rec .rec {
	margin-right: 0;
}

.ab-now-who {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* The edits state stays on the mark's tooltip. The row does not print "no mod". */
.ab-now .mark[data-edits]::after {
	content: none;
}

.ab-now-note {
	min-width: 0;
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.ab-now-note > .ab-oline {
	margin-left: 0;
	min-width: 0;
	flex: 1 1 auto;
}

.ab-now .ab-oline.has-more > summary {
	font-weight: 450;
}

.ab-now-state {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ab-now-agent.is-quiet .ab-now-state {
	color: var(--muted);
}

.ab-now-meta {
	min-width: 0;
	flex: 0 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--muted);
	font-size: 13px;
}

.ab-now-note > .ab-now-meta:only-child {
	flex: 1 1 auto;
}

.ab-now-heard {
	grid-column: 4 / 6;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ab-now-files,
.ab-now-edits {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--muted);
	text-align: right;
	white-space: nowrap;
}

.ab-now-hint {
	margin: 4px 0 0;
	font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
	.ab-now-rec {
		width: 2.5rem;
	}
}

@media (max-width: 700px) {
	.ab-now-agent {
		grid-template-columns: 14px minmax(0, 1fr) auto;
	}

	.ab-now-who {
		grid-column: 2;
		grid-row: 1;
	}

	.ab-now-note {
		grid-column: 2;
		grid-row: 2;
	}

	.ab-now-files {
		display: none;
	}

	.ab-now-edits {
		grid-column: 3;
		grid-row: 1;
	}
}
