/* Ported from the Next.js app's page.module.css. */
.cycle__page {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
}

.cycle__lede,
/* Full width: it explains the table above it, so it should not set itself half as wide
   as the thing it is explaining. */
.cycle__note {
	margin: 0;
	color: var(--text-secondary);
	font-size: var(--font-size-sm);
}

.cycle__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	margin: 0;
	background: var(--app-sheet);
	border: var(--border-1) solid var(--app-rule);
	border-radius: var(--app-sheet-radius);
	overflow: hidden;
}

.cycle__stats div {
	padding: var(--space-4) var(--space-5);
	border-left: var(--border-1) solid var(--app-hairline);
}

.cycle__stats div:first-child {
	border-left: 0;
}

.cycle__stats dt {
	font-size: var(--font-size-xs);
	color: var(--text-tertiary);
}

.cycle__stats dd {
	margin: var(--space-1) 0 0;
	font-size: var(--font-size-2xl);
	font-weight: var(--font-weight-semibold);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	color: var(--text-primary);
}

.cycle__section {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.cycle__section-title {
	margin: 0;
	font-size: var(--font-size-lg);
	font-weight: var(--font-weight-semibold);
	color: var(--text-primary);
}

.cycle__people {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.cycle__person {
	/* A containing block for the visually hidden "Discussed" label, which is absolute. */
	position: relative;
	border: var(--border-1) solid var(--border-default);
	border-radius: var(--radius-lg);
	background: var(--background-surface);
}

.cycle__person-row {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-3) var(--space-4);
}

.cycle__person-name {
	font-weight: var(--font-weight-medium);
	color: var(--text-primary);
}

.cycle__person-state {
	margin-left: auto;
	font-size: var(--font-size-sm);
	color: var(--text-tertiary);
}

/* The person's agenda, under their row and inside the same card: it is about them. */
.cycle__agenda {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-4);
	border-top: var(--border-1) solid var(--border-subtle);
}

.cycle__agenda-title {
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-semibold);
	color: var(--text-tertiary);
}

.cycle__agenda-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}

.cycle__agenda-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: var(--space-3);
	font-size: var(--font-size-sm);
}

.cycle__agenda-label {
	color: var(--text-primary);
}

.cycle__agenda-who {
	font-size: var(--font-size-xs);
	color: var(--text-tertiary);
}

/* Covered. Struck through and dimmed, with the word itself for anyone not seeing either. */
.cycle__agenda-list li[data-discussed] .cycle__agenda-label {
	color: var(--text-tertiary);
	text-decoration: line-through;
}
