.results-block { margin: 0; padding: 0; }
.results-block + .results-block { margin-top: 44px; }
.results-comparison-title { margin: 0 0 12px; font-size: 18px; line-height: 1.4; font-weight: 650; color: var(--ink, #333); }
.results-comparison-note { margin: 0 0 18px; font-size: 13px; line-height: 1.75; color: var(--muted, #666); }
.chart-foot { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted, #666); }

/* Legend */
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 13px; color: #444; }
.chart-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 1px 4px; border-radius: 6px; transition: opacity .15s ease; }
.chart-legend li[tabindex] { cursor: default; }
.chart-legend li:focus { outline: none; }
.chart-legend li:focus-visible { background: #efefef; }
.chart-legend li.is-ours { font-weight: 650; color: #1b1b1b; }
.chart-legend li.is-dim { opacity: .4; }
.legend-line { position: relative; display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--c); }
.legend-line::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--c); transform: translate(-50%, -50%); }

/* Tooltip */
.chart-tip { position: absolute; z-index: 5; left: 0; top: 0; padding: 7px 10px 8px; border: 1px solid var(--line, #e5e5e5); border-radius: 8px; background: #fff; box-shadow: 0 6px 18px #0000001a; font-size: 12px; line-height: 1.45; color: #555; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .12s ease; }
.chart-tip.is-visible { opacity: 1; }
.tip-value { display: flex; align-items: center; gap: 7px; font-size: 14px; color: #1f1f1f; font-variant-numeric: tabular-nums; }
.tip-value strong { font-weight: 700; }
.tip-label { font-size: 12px; color: #666; }
.tip-key { display: block; width: 14px; height: 2px; border-radius: 1px; }
.tip-name { margin-top: 1px; font-weight: 600; color: #333; }
.tip-context { color: #777; }

/* Benchmark radars */
.radar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.radar-grid > .radar-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
.radar-card { position: relative; margin: 0; padding: 14px 16px 10px; border: 1px solid var(--line, #e5e5e5); border-radius: 12px; background: #fff; }
.radar-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; font-size: 14px; color: var(--ink, #333); }
.radar-heading { display: inline-flex; align-items: baseline; gap: 8px; }
.radar-heading strong { font-weight: 650; }
.radar-task { font-size: 12px; color: var(--muted, #666); }
.radar-sub { font-size: 11.5px; color: var(--muted, #666); white-space: nowrap; font-variant-numeric: tabular-nums; }
.radar-plot { position: relative; margin-top: 4px; }
.radar-svg { display: block; margin: 0 auto; overflow: visible; font-family: inherit; }
.radar-ring { fill: none; stroke: #ebebeb; stroke-width: 1; }
.radar-ring.is-outer { stroke: #d4d4d4; }
.radar-spoke { stroke: #ebebeb; stroke-width: 1; }
.radar-axis-label { fill: #444; font-size: 12px; font-weight: 600; }
.radar-axis-label .dir { fill: #8a8a8a; font-weight: 500; }
.radar-series { transform: scale(.001); transform-box: view-box; transition: opacity .18s ease, transform .8s cubic-bezier(.2, .75, .25, 1); }
.radar-plot.is-revealed .radar-series { transform: scale(1); }
.radar-area { stroke-linejoin: round; }
.radar-dot { stroke: #fff; stroke-width: 2; }
.radar-plot[data-focus] .radar-series { opacity: .15; }
.radar-plot[data-focus] .radar-series.is-focus { opacity: 1; }
.radar-hit { fill: transparent; }

/* Clock-time line chart */
.line-card { position: relative; margin: 0; padding: 16px 18px 12px; border: 1px solid var(--line, #e5e5e5); border-radius: 12px; background: #fff; }
.line-plot { position: relative; }
.line-svg { display: block; overflow: visible; font-family: inherit; }
.line-grid { stroke: #ececec; stroke-width: 1; shape-rendering: crispEdges; }
.line-baseline { stroke: #cfcfcf; stroke-width: 1; shape-rendering: crispEdges; }
.line-tick { fill: #777; font-size: 12px; font-variant-numeric: tabular-nums; }
.line-axis-title { fill: #666; font-size: 12px; }
.line-path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.line-dot { stroke: #fff; stroke-width: 2; }
.line-end { fill: #333; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.line-cross { stroke: #9a9a9a; stroke-width: 1; opacity: 0; shape-rendering: crispEdges; }
.line-cross.is-visible { opacity: 1; }
.line-overlay { fill: transparent; }

.results-chart-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .radar-grid { grid-template-columns: minmax(0, 1fr); }
  .radar-grid > .radar-card:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
}
@media (max-width: 520px) {
  .radar-card { padding: 12px 10px 8px; }
  .radar-axis-label { font-size: 11px; }
  .chart-legend { gap: 4px 12px; font-size: 12px; }
  .line-card { padding: 12px 10px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .radar-series { transition: none !important; transform: none !important; }
}
