.rhr-history {
	display: grid;
	gap: 12px;
	margin: 18px 0;
	border: 1px solid #d8dde3;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
	color: #202124;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rhr-history h2,
.rhr-history p {
	margin: 0;
}

.rhr-history-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.rhr-history-header span {
	color: #52616f;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.rhr-title-toggle {
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 900;
	text-align: left;
	cursor: pointer;
}

.rhr-title-toggle::after {
	content: "+";
	display: inline-block;
	margin-left: 8px;
	color: #52616f;
	font-weight: 900;
}

.rhr-history:not(.is-collapsed) .rhr-title-toggle::after {
	content: "-";
}

.rhr-history-body[hidden] {
	display: none;
}

.rhr-history p {
	color: #52616f;
	font-weight: 800;
}

.rhr-login-prompt {
	background: #f8fafb;
}

.rhr-login-prompt h2 {
	color: #1f2933;
}

.rhr-login-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.rhr-login-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 6px;
	background: #246b5f;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

.rhr-login-link:hover {
	color: #fff;
	text-decoration: none;
}

.rhr-detail-group {
	display: grid;
	gap: 8px;
}

.rhr-history-actions {
	display: flex;
	justify-content: flex-end;
}

.rhr-retest-actions {
	display: grid;
	gap: 10px;
	margin: 14px 0 0;
	border: 1px solid #d8dde3;
	border-radius: 8px;
	padding: 12px;
	background: #fff;
}

.rhr-retest-actions h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 900;
	color: #1f2933;
}

.rhr-retest-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.rhr-retest-button {
	min-height: 36px;
	border: 1px solid #b9d2cc;
	border-radius: 999px;
	padding: 0 14px;
	background: #f4faf8;
	color: #1b4d45;
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	cursor: pointer;
}

.rhr-retest-button:hover,
.rhr-retest-button:focus {
	border-color: #246b5f;
	background: #e9f4f1;
	color: #123b35;
	outline: none;
}

.rhr-delete-result {
	min-height: 32px;
	border: 1px solid #e5b8b8;
	border-radius: 6px;
	padding: 0 10px;
	background: #fff6f6;
	color: #9b2c2c;
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	cursor: pointer;
}

.rhr-delete-result:hover,
.rhr-delete-result:focus {
	border-color: #cf6f6f;
	background: #ffecec;
	color: #7f1d1d;
}

.rhr-delete-result:disabled {
	cursor: wait;
	opacity: 0.65;
}

.rhr-empty {
	border: 1px dashed #d8dde3;
	border-radius: 6px;
	padding: 12px;
	background: #f8fafb;
}

.rhr-detail-group h3 {
	margin: 0;
	color: #1f2933;
	font-size: 16px;
}

.rhr-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.rhr-detail-grid div {
	border: 1px solid #edf0f3;
	border-radius: 6px;
	padding: 8px 10px;
	background: #f8fafb;
}

.rhr-detail-grid span {
	display: block;
	color: #52616f;
	font-size: 12px;
	font-weight: 800;
	text-transform: capitalize;
}

.rhr-detail-grid strong {
	display: block;
	color: #1f2933;
	font-weight: 900;
	overflow-wrap: anywhere;
}

.rhr-graph {
	width: 100%;
	max-width: 100%;
	height: 180px;
	border: 1px solid #edf0f3;
	border-radius: 6px;
	background: #f8fafb;
}

.rhr-graph polyline {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
	opacity: 0.9;
}

.rhr-graph circle {
	stroke: #fff;
	stroke-width: 1.5;
}

.rhr-graph-point {
	cursor: pointer;
}

.rhr-graph-point:hover,
.rhr-graph-point:focus {
	stroke: #202124;
	stroke-width: 2;
}

.rhr-graph-axis-line {
	stroke: #d8dde3;
	stroke-width: 1;
}

.rhr-graph-axis text {
	fill: #52616f;
	font-size: 10px;
	font-weight: 800;
}

.rhr-progress {
	display: grid;
	gap: 8px;
}

.rhr-progress h3 {
	margin: 0;
	color: #1f2933;
	font-size: 16px;
}

.rhr-graph-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	color: #52616f;
	font-size: 12px;
	font-weight: 800;
}

.rhr-graph-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.rhr-graph-legend i {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 999px;
}

.rhr-faq {
	display: grid;
	gap: 14px;
	margin: 18px 0;
	border: 1px solid #d8dde3;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
	color: #202124;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rhr-faq-header {
	display: grid;
	gap: 6px;
	border-left: 4px solid #246b5f;
	padding-left: 12px;
}

.rhr-faq-header span {
	color: #246b5f;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.rhr-faq-header h2,
.rhr-faq-header p,
.rhr-faq-item p {
	margin: 0;
}

.rhr-faq-header h2 {
	color: #1f2933;
	font-size: 22px;
	line-height: 1.2;
}

.rhr-faq-header p,
.rhr-faq-item p {
	color: #52616f;
	font-weight: 700;
	line-height: 1.55;
}

.rhr-faq-list {
	display: grid;
	gap: 8px;
}

.rhr-faq-item {
	border: 1px solid #edf0f3;
	border-radius: 6px;
	background: #f8fafb;
}

.rhr-faq-item summary {
	display: flex;
	min-height: 44px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	color: #1f2933;
	font-weight: 900;
	cursor: pointer;
	list-style: none;
}

.rhr-faq-item summary::-webkit-details-marker {
	display: none;
}

.rhr-faq-item summary::after {
	content: "+";
	flex: 0 0 auto;
	color: #52616f;
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
}

.rhr-faq-item[open] summary::after {
	content: "-";
}

.rhr-faq-item p {
	padding: 0 12px 12px;
}

@media (max-width: 640px) {
	.rhr-history-header {
		align-items: flex-start;
	}

	.rhr-detail-grid {
		grid-template-columns: 1fr;
	}

	.rhr-graph-axis text {
		font-size: 9px;
	}

	.rhr-faq-header h2 {
		font-size: 20px;
	}
}
