/**
 * Survey results: what the screen still needs beside the library's recipes, on the chrome's tokens. Enqueued on its own
 * screen only (AIEO_DMM_Questionnaire_Results::enqueue_admin_assets()). It was the template's inline <style> (the owner,
 * 7 Nov 2026: clean up every remaining Rooster One admin issue); the response's window is the library's dialog now, so
 * the hand-made modal's rules are gone.
 */

/* Improvement and degradation, on the line rather than on one figure: the three reports' own tables (the wrap's
   data-report survives every sort and page, its table does not). */
.aieo-t-wrap[data-report^="questionnaire_"] tbody tr:has(.aieo-t-tone--success) {
	background: color-mix(in srgb, var(--ra-success) 7%, transparent);
}

.aieo-t-wrap[data-report^="questionnaire_"] tbody tr:has(.aieo-t-tone--danger) {
	background: color-mix(in srgb, var(--ra-destructive) 7%, transparent);
}

.aieo-t-wrap[data-report^="questionnaire_"] tbody tr:has(.aieo-t-tone--success):hover,
.aieo-t-wrap[data-report^="questionnaire_"] tbody tr:has(.aieo-t-tone--danger):hover {
	background: var(--ra-muted);
}

/* Only the responses' rows open something: the two aggregate tables have nothing to open. */
.aieo-t-wrap[data-report="questionnaire_responses"] tbody tr[data-row-key] {
	cursor: pointer;
}

.aieo-t-wrap[data-report="questionnaire_responses"] tbody tr[data-row-key]:focus-visible {
	outline: 2px solid var(--ra-ring);
	outline-offset: -2px;
}

/* The window's answers: the answer carries the weight, the question is the label above it. */
.aieo-qr-qa > div {
	padding: calc(var(--ra-spacing) * 2.5) 0;
	border-bottom: 1px solid var(--ra-border);
}

.aieo-qr-qa > div:last-child {
	border-bottom: 0;
}

.aieo-qr-q {
	color: var(--ra-secondary-foreground);
	font-size: var(--ra-text-xs);
}

.aieo-qr-a {
	margin-top: 2px;
	font-size: var(--ra-text-base);
}

.aieo-qr-a.is-empty {
	color: var(--ra-secondary-foreground);
	font-style: italic;
}
