.results-section {
  --report-ink: #173a31;
  --report-muted: #45675d;
  --report-jade: #176951;
  --report-line: #d8e7df;
  --report-tint: #e9f5ee;
  background: linear-gradient(150deg, #f8faf3, #eef8f3 54%, #f5f7ff);
}

.results-section .results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(1rem, 2.6vw, 2rem);
}

.results-section .report-card,
.results-section .metric-guide {
  min-width: 0;
  color: var(--report-ink);
  border: 1px solid var(--report-line);
  border-radius: 1.125rem;
  background: #fffffc;
}

.results-section .report-card {
  position: relative;
  padding: clamp(1.1rem, 2.7vw, 2rem);
  box-shadow: 0 1rem 3rem #1b624718;
}

.results-section .report-card::before {
  position: absolute;
  top: -1px;
  left: clamp(1.1rem, 2.7vw, 2rem);
  width: 3.5rem;
  height: 3px;
  border-radius: 0 0 0.2rem 0.2rem;
  background: var(--report-jade);
  content: "";
}

.results-section .report-top,
.results-section .report-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.results-section .report-title-group {
  min-width: 0;
  flex: 1 1 10rem;
}

.results-section .report-title-group h3,
.results-section .metric-guide h3 {
  margin: 0;
  color: var(--report-ink);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 740;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.results-section .report-conditions {
  margin: 0.35rem 0 0;
  color: var(--report-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.results-section .report-chip {
  padding: 0.25rem 0.625rem;
  border: 1px solid #cae4d4;
  border-radius: 999px;
  background: var(--report-tint);
  color: #245e47;
  font-size: 0.8125rem;
  font-weight: 680;
  line-height: 1.4;
}

.results-section .report-toolbar {
  align-items: center;
  margin-top: 1.25rem;
  padding: 0.6rem 0.65rem;
  border: 1px solid var(--report-line);
  border-radius: 0.75rem;
  background: #f3faf5;
}

.results-section .match-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  color: var(--report-muted);
  font-size: 0.875rem;
  font-weight: 580;
  overflow-wrap: anywhere;
}

.results-section .match-label strong {
  color: var(--report-jade);
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
  line-height: 1.1;
}

.results-section .report-modes {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  min-width: 0;
  padding: 0.15rem;
  gap: 0.15rem;
  border: 1px solid var(--report-line);
  border-radius: 0.625rem;
  background: #e8f3eb;
}

.results-section [data-report-mode] {
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.3rem 0.62rem;
  border: 1px solid transparent;
  border-radius: 0.48rem;
  background: transparent;
  color: #30574a;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 640;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.results-section [data-report-mode][aria-pressed="true"] {
  border-color: #c6e0d0;
  background: #fff;
  color: var(--report-ink);
  box-shadow: 0 1px 2px #173a3115;
}

.results-section [data-report-mode]:hover:not([aria-pressed="true"]) {
  background: #dbeee2;
}

.results-section [data-report-mode]:focus-visible {
  outline: 2px solid var(--report-jade);
  outline-offset: 2px;
}

.results-section .report-table {
  min-width: 0;
  width: 100%;
  margin-top: 0.85rem;
}

.results-section .report-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.875rem;
  line-height: 1.4;
}

.results-section .report-table th,
.results-section .report-table td {
  padding: 0.8rem 0.55rem;
  border-bottom: 1px solid var(--report-line);
  text-align: right;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.results-section .report-table th:first-child {
  width: 37%;
  padding-inline-start: 0;
  text-align: left;
}

.results-section .report-table :is(th, td):last-child {
  width: 26%;
  padding-inline-end: 0;
}

.results-section .report-table thead th {
  color: var(--report-muted);
  font-size: 0.8125rem;
  font-weight: 650;
}

.results-section .report-table tbody th {
  color: var(--report-ink);
  font-weight: 650;
}

.results-section .report-table tbody td {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.results-section .report-table [data-report-after] {
  color: var(--report-jade);
  font-weight: 760;
}

.results-section .report-table [data-report-delta] {
  color: #436358;
  font-size: 0.8125rem;
}

.results-section .report-table tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}

.results-section .metric-guide {
  padding: clamp(1.1rem, 2.35vw, 1.65rem);
  background: #f8fcf9;
}

.results-section .metric-guide h3 {
  margin-bottom: 0.85rem;
}

.results-section .metric-guide dl,
.results-section .metric-guide dd {
  margin: 0;
}

.method-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #d4e0da;
}
.method-section h3 { color: #23463b; font-size: 1.125rem; line-height: 1.4; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
}
.method-grid > div {
  padding: 14px 16px;
  border: 1px solid #dce7df;
  border-radius: 12px;
  background: #ffffffa8;
}
.method-grid dt { color: #23463b; font-size: .9375rem; font-weight: 760; }
.method-grid dd { margin: 4px 0 0; color: #3d554f; font-size: .875rem; line-height: 1.6; }

@media (max-width: 680px) {
  .method-grid { grid-template-columns: minmax(0, 1fr); }
}

.results-section .metric-guide dt {
  color: var(--report-jade);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.results-section .metric-guide dt:not(:first-child),
.results-section .metric-guide dl > div + div {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--report-line);
}

.results-section .metric-guide dd {
  margin-top: 0.3rem;
  color: var(--report-muted);
  font-size: 0.9375rem;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

@media (max-width: 52rem) {
  .results-section .results-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 27rem) {
  .results-section .report-card,
  .results-section .metric-guide {
    padding: 1rem;
  }

  .results-section .report-toolbar {
    gap: 0.45rem;
  }

  .results-section .report-modes {
    flex: 1 1 100%;
  }

  .results-section [data-report-mode] {
    flex: 1 1 0;
  }

  .results-section .report-table th,
  .results-section .report-table td {
    padding-inline: 0.25rem;
  }

  .results-section .report-table :is(th, td):last-child {
    width: 24%;
  }
}
