.mcs-test-summary {
	display: grid;
	gap: 14px;
}

.mcs-test-summary__overview {
	display: grid;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--mcs-test-border);
	border-radius: 8px;
	background: var(--mcs-test-surface);
	color: var(--mcs-test-text);
	font-weight: 800;
}

.mcs-test-summary__overview h4 {
	margin: 0;
	font-size: 2.8rem;
	line-height: 1.3;
}

.mcs-test-summary__overview dl {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 18px;
	margin: 0;
}

.mcs-test-summary__overview dt,
.mcs-test-summary__overview dd {
	margin: 0;
}

.mcs-test-summary__overview dd {
	text-align: right;
}

.mcs-test-summary__grand-total {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 4px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--mcs-test-border);
}

.mcs-test-summary__grand-total strong {
	font-size: 1.4rem;
	line-height: 1.2;
}

.mcs-test-summary__section {
	padding: 16px;
	border: 1px solid var(--mcs-test-border);
	border-radius: 8px;
	background: var(--mcs-test-surface);
}

.mcs-test-summary__section h4 {
	margin: 0 0 10px;
	font-size: 2.8rem;
	line-height: 1.3;
}

.mcs-test-summary__subheading {
	margin: 14px 0 8px;
	color: var(--mcs-test-muted-strong);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.3;
}

.mcs-test-summary__section h4+.mcs-test-summary__subheading {
	margin-top: 0;
}

.mcs-test-summary__section dl {
	display: grid;
	grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
	gap: 8px 14px;
	margin: 0;
}

.mcs-test-summary__section dt {
	color: var(--mcs-test-muted);
	font-weight: 700;
}

.mcs-test-summary__section dd {
	margin: 0;
}

.mcs-test-summary-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--mcs-test-border);
	border-radius: 8px;
	background: var(--mcs-test-surface);
}

.mcs-test-summary-table {
	width: 100%;
	min-width: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.mcs-test-summary-table th,
.mcs-test-summary-table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--mcs-test-accent-dark);
	text-align: left;
	vertical-align: top;
}

.mcs-test-summary-table th {
	background: var(--mcs-test-table-head);
	color: var(--mcs-test-muted-strong);
	font-size: 1.4rem;
	font-weight: 800;
}

.mcs-test-summary-table td {
	font-size: 1.4rem;
}

.mcs-test-summary-table tr:last-child td {
	border-bottom: 0;
}

.mcs-test-summary-table--food td:first-child {
	width: 130px;
}

.mcs-test-summary-table--food td:first-child strong,
.mcs-test-summary-table--food td:first-child span {
	display: block;
}

.mcs-test-summary-table--food td:first-child span {
	margin-top: 2px;
	color: var(--mcs-test-muted);
	font-size: 1.4rem;
	font-weight: 700;
}

.mcs-test-summary-table--food td:nth-last-child(2),
.mcs-test-summary-table--food td:last-child {
	width: 78px;
}

.mcs-test-summary__total {
	margin: 12px 0 0;
	text-align: right;
	font-weight: 800;
}

.mcs-test-summary__not-ordered,
.mcs-test-summary__empty {
	margin: 0;
	color: var(--mcs-test-muted);
}






