.hist {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 14px;
	padding: 12px 18px;
	border-top: 1px solid var(--line);
}

.hist:first-child {
	border-top: 0;
}

.hist .dot {
	width: 34px;
	height: 34px;
	border-radius: 4px;
	display: grid;
	place-content: center;
	background: var(--bg);
	color: var(--muted);
}

.hist-title {
	font-size: 14px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hist.undone .hist-title {
	text-decoration: line-through;
	color: var(--muted);
}

@media (max-width: 640px) {
	.hist {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.hist .pill {
		display: none;
	}
}
