.report-dashboard {
  --report-correct: #126246;
  --report-wrong: #9a3818;
  --report-skipped: #475569;
  min-width: 0;
  margin-block: 24px 36px;
}
.report-dashboard h2 { margin: 0 0 16px; }
.report-dashboard h3 { margin: 0 0 4px; }
.report-dashboard p { margin: 0 0 16px; color: var(--muted, #475569); }
.report-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.report-dashboard-metrics > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: 3px;
  padding: 12px 14px;
  min-height: 80px;
  background: #eef6ff;
  border: 1px solid #dce8f5;
  border-radius: 12px;
}
.report-dashboard-metrics dt { color: var(--muted, #475569); font-size: .875rem; }
.report-dashboard-metrics dd { margin: 0; font-size: clamp(1.2rem, 2.1vw, 1.75rem); font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.report-dashboard-map, .report-dashboard-time, .report-dashboard-context { margin-top: 24px; }
.report-dashboard .is-correct { --report-state: var(--report-correct); --report-bg: #e9f7ef; --report-border: #b8dfca; }
.report-dashboard .is-wrong { --report-state: var(--report-wrong); --report-bg: #fff0e7; --report-border: #efc9b7; }
.report-dashboard .is-skipped { --report-state: var(--report-skipped); --report-bg: #eef2f7; --report-border: #d3dce8; }
.report-dashboard-legend, .report-dashboard-answers { list-style: none; padding: 0; }
.report-dashboard-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 12px; font-size: .875rem; }
.report-dashboard-legend li { color: var(--report-state); }
.report-dashboard-legend span { font-weight: 800; }
.report-dashboard-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 6px; margin: 0; }
.report-dashboard-answer, .report-dashboard-bar { font: inherit; cursor: pointer; }
.report-dashboard-answer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  min-height: 44px;
  padding: 0 2px;
  border: 1px solid var(--report-border);
  border-radius: 8px;
  background: var(--report-bg);
  color: var(--report-state);
  font-size: .8125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.report-dashboard-answer:hover, .report-dashboard-bar:hover { border-color: var(--report-state); }
.report-dashboard-answer:focus-visible, .report-dashboard-bar:focus-visible, .report-dashboard-values summary:focus-visible { outline: 2px solid #0074c7; outline-offset: 2px; }
.report-dashboard-metrics-time { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; }
.report-dashboard-chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 2px;
  overflow-x: auto;
  padding: 4px;
  background: #f7f9fc;
  border-radius: 8px;
}
.report-dashboard-bar { display: flex; align-items: end; justify-content: center; min-width: 0; height: 92px; padding: 0; border: 0; border-radius: 4px; background: transparent; }
.report-dashboard-bar span { display: block; width: 100%; height: var(--bar); min-height: 2px; border-radius: 3px 3px 0 0; background: var(--report-state); }
.report-dashboard-bar.is-unmeasured span { background: transparent; border-bottom: 2px dotted #94a3b8; }
.report-dashboard-axis { display: flex; justify-content: space-between; margin: 4px 0 10px; font-size: .8125rem; color: var(--muted, #475569); }
.report-dashboard-values summary { width: fit-content; cursor: pointer; font-weight: 700; color: #0065a9; }
.report-dashboard-values table { width: 100%; margin-top: 10px; border-collapse: collapse; text-align: left; font-size: .875rem; }
.report-dashboard-values th, .report-dashboard-values td { padding: 6px; border-bottom: 1px solid #e2e8f0; }
.report-dashboard-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.report-dashboard-chips > div { display: flex; flex-wrap: wrap; gap: 2px 6px; padding: 5px 10px; border-radius: 8px; background: #eef6ff; }
.report-dashboard-chips dt { color: var(--muted, #475569); }
.report-dashboard-chips dd { margin: 0; font-weight: 700; }
.report-dashboard-context p { margin-bottom: 0; font-size: .875rem; }
@media (max-width: 520px) {
  .report-dashboard-chart {gap:1px}
  .report-dashboard-metrics:not(.report-dashboard-metrics-time) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-dashboard-metrics-time > div { padding-inline: 8px; }
}
