/* A deliberately plain, print-like ledger: black text on white, Times New Roman.
   It looks like a raw HTML document on purpose; the one flourish is a dotted
   leader that stretches between an event's kind and its readable description. */
main {
	max-width: 880px;
	margin: 0 auto;
	padding: 24px 16px 96px;
}
h1 {
	font-size: 32px;
	font-weight: 700;
}
p.intro {
	margin: 8px 0 16px;
}
p.intro a {
	color: #00e;
}
.controls {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
	margin-bottom: 12px;
}
.controls button {
	font: inherit;
	padding: 2px 10px;
	border: 1px solid #000;
	background: #fff;
	cursor: pointer;
}
.controls button[aria-pressed='true'] {
	background: #000;
	color: #fff;
}
.controls .status {
	margin-left: auto;
}
ul.feed {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid #000;
}
li.row {
	padding: 4px 0;
	border-bottom: 1px solid #ddd;
}
.kind {
	font-weight: 700;
}
.kind::before {
	content: '[';
}
.kind::after {
	content: ']';
}
.chain {
	color: #555;
}
.leader {
	visibility: hidden;
}
li.row:hover .leader {
	visibility: visible;
}
li.row:hover {
	background: #fffbcc;
}
.row time {
	color: #555;
}
.row .summary {
	margin: 2px 0 0 0;
}
.row .meta {
	margin: 0;
	color: #333;
}
.row .meta button {
	font: inherit;
	padding: 0 4px;
	border: 1px solid #999;
	background: #fff;
	cursor: pointer;
}
.row .meta button[disabled] {
	color: #777;
	border-color: #ccc;
	cursor: wait;
}
.row dl {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0 12px;
	margin: 2px 0 0 12px;
}
.row dt {
	color: #555;
}
.row dt::after {
	content: ':';
}
.row dd {
	margin: 0;
}
.row dd a {
	color: #00e;
}
details.notes {
	margin-top: 24px;
	font-size: 14px;
	color: #333;
}
details.notes summary {
	cursor: pointer;
}
code {
	background: #f2f2f2;
	padding: 0 3px;
}
.status[data-state='error'] {
	font-weight: 700;
}
@media (prefers-reduced-motion: no-preference) {
	li.row[data-fresh='true'] {
		animation: row-enter 400ms ease-out;
	}
	@keyframes row-enter {
		from {
			background: #fffbcc;
		}
	}
}
@media (prefers-reduced-motion: reduce) {
	li.row[data-fresh='true'] {
		background: #fffbcc;
	}
}

.controls .status { width: 12ch; min-height: 1.5em; white-space: nowrap; }
p.empty { height: 1.5em; margin: 0 0 12px; }
.meta button { min-width: 12ch; }

.market-detail { height: 4.5em; overflow: auto; }
