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

/* The general comment, quoted the way every other piece of somebody's prose is. */
.read-review__comment {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: var(--space-5);
	border: var(--border-1) solid var(--app-rule);
	border-radius: var(--app-sheet-radius);
	background: var(--background-surface);
}

/* One sheet, one row per indicator: the same register as everywhere else. */
.read-review__lines {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--app-sheet);
	border: var(--border-1) solid var(--app-rule);
	border-radius: var(--app-sheet-radius);
	overflow: hidden;
}

.read-review__line {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: var(--space-3);
	align-items: start;
	padding: var(--space-4) var(--space-5);
}

.read-review__line + .read-review__line {
	border-top: var(--border-1) solid var(--app-hairline);
}

.read-review__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
}

.read-review__label {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
	flex-wrap: wrap;
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-medium);
	color: var(--text-primary);
}

.read-review__category {
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-regular);
	color: var(--text-tertiary);
}

.read-review__flag {
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-semibold);
	color: var(--note-owed-fg);
}

/* The scale's own wording: upright, the way it reads in the form they filled in. */
.read-review__anchor {
	font-size: var(--font-size-sm);
	line-height: var(--font-line-height-base);
	color: var(--text-secondary);
}
