:root {
  --benchmark-bg: #f7fbff;
  --benchmark-surface: #ffffff;
  --benchmark-surface-alt: #f0f7ff;
  --benchmark-ink: #10243f;
  --benchmark-muted: #57708f;
  --benchmark-border: rgba(16, 36, 63, 0.1);
  --benchmark-primary: #0d5bdd;
  --benchmark-primary-deep: #0a3c8e;
  --benchmark-soft: #dceafe;
  --benchmark-shadow:
    0 30px 70px rgba(10, 39, 85, 0.08), 0 10px 24px rgba(10, 39, 85, 0.06);
}

.benchmark-report-page {
  background:
    radial-gradient(
      circle at top left,
      rgba(70, 132, 255, 0.1),
      transparent 30%
    ),
    linear-gradient(180deg, #ffffff 0%, var(--benchmark-bg) 100%);
  color: var(--benchmark-ink);
}

.benchmark-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.benchmark-section {
  padding: 48px 0;
}

.benchmark-section--muted {
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(16, 36, 63, 0.05);
  border-bottom: 1px solid rgba(16, 36, 63, 0.05);
}

.benchmark-section-heading {
  margin-bottom: 28px;
}

.benchmark-section-heading span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 91, 221, 0.08);
  color: var(--benchmark-primary-deep);
  font:
    700 12px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benchmark-section-heading h2 {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.benchmark-section-heading p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--benchmark-muted);
}

.benchmark-hero-section {
  padding: 40px 0 56px;
}

.benchmark-hero-section .benchmark-shell {
  display: block;
}

.benchmark-hero-card,
.benchmark-hero-copy-card,
.benchmark-hero-visual-card,
.benchmark-panel-card,
.benchmark-methodology-card,
.benchmark-language-card,
.benchmark-cta-card {
  background: var(--benchmark-surface);
  border: 1px solid var(--benchmark-border);
  border-radius: 28px;
  box-shadow: var(--benchmark-shadow);
}

.benchmark-pr1-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benchmark-pr1-card {
  border: 1px solid var(--benchmark-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f6faff);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(10, 39, 85, 0.05);
}

.benchmark-pr1-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.benchmark-pr1-card__header h3 {
  margin: 0;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.benchmark-pr1-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font:
    700 11px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.benchmark-pr1-pill.is-merged {
  background: rgba(12, 166, 120, 0.12);
  color: #0a7a59;
}

.benchmark-pr1-pill.is-open {
  background: rgba(13, 91, 221, 0.12);
  color: #0a3c8e;
}

.benchmark-pr1-pill.is-closed,
.benchmark-pr1-pill.is-missing {
  background: rgba(132, 145, 166, 0.16);
  color: #3f4f66;
}

.benchmark-pr1-card__meta {
  margin: 0 0 10px;
  color: var(--benchmark-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.benchmark-pr1-card__meta a {
  color: var(--benchmark-primary-deep);
  text-decoration: none;
}

.benchmark-pr1-card__meta a:hover {
  text-decoration: underline;
}

.benchmark-pr1-card__title {
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--benchmark-ink);
}

.benchmark-pr1-card__desc {
  margin: 0;
  color: var(--benchmark-muted);
}

.benchmark-pr1-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.benchmark-pr1-stats span {
  border: 1px solid rgba(16, 36, 63, 0.08);
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
  color: var(--benchmark-muted);
  font-size: 0.8rem;
}

.benchmark-pr1-stats strong {
  color: var(--benchmark-ink);
  font-size: 0.94rem;
  margin-right: 4px;
}

.benchmark-pr1-empty {
  border: 1px dashed rgba(16, 36, 63, 0.2);
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
  color: var(--benchmark-muted);
}

.benchmark-pr1-grid {
  display: block;
}

.benchmark-proof-root {
  border: 1px solid #d6d8dd;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.benchmark-proof-controls {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr auto;
  align-items: end;
  gap: 14px;
  border-bottom: 1px solid #d6d8dd;
  padding: 18px;
}

.benchmark-proof-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benchmark-proof-field label {
  color: #a0a3ab;
  font:
    700 12px "IBM Plex Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.benchmark-proof-field select {
  height: 46px;
  border: 1px solid #d2d5db;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 14px;
  color: #22252b;
  font-size: 0.9rem;
}

.benchmark-proof-action {
  min-width: 172px;
}

.benchmark-proof-pr-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  border: 1px solid #435231;
  border-radius: 10px;
  background: #344426;
  color: #f4f9ec;
  font-weight: 700;
  text-decoration: none;
  padding: 0 16px;
  white-space: nowrap;
}

.benchmark-proof-pr-link:hover {
  background: #29371d;
}

.benchmark-proof-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.benchmark-proof-card {
  border: 1px solid #d2d5db;
  border-radius: 12px;
  background: #f7f7f8;
  overflow: hidden;
}

.benchmark-proof-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid #d6d8dd;
}

.benchmark-proof-card-header h3 {
  margin: 0;
  color: #242730;
  font-size: 1.45rem;
  font-weight: 600;
}

.benchmark-proof-card-header span {
  color: #242730;
  font:
    600 1.2rem "IBM Plex Mono",
    monospace;
}

.benchmark-proof-list {
  min-height: 240px;
}

.benchmark-proof-comment-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid #e1e4e8;
}

.benchmark-proof-comment-row:last-child {
  border-bottom: 0;
}

.benchmark-proof-comment-num {
  text-align: center;
  color: #7a7f89;
  font-size: 0.95rem;
  padding-top: 2px;
}

.benchmark-proof-comment-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benchmark-proof-comment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.benchmark-proof-comment-link {
  color: #676d78;
  font-size: 0.95rem;
  text-decoration: none;
}

.benchmark-proof-comment-link:hover {
  text-decoration: underline;
}

.benchmark-proof-comment-link--muted,
.benchmark-proof-comment-link--muted:hover {
  color: #a0a3ab;
  text-decoration: none;
}

.benchmark-proof-golden {
  color: #777a82;
  font-size: 0.9rem;
  white-space: nowrap;
}

.benchmark-proof-comment-body {
  margin: 0;
  color: #1f2229;
  font-size: 1rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.benchmark-proof-comment-body.is-expanded {
  display: block;
  overflow: visible;
}

.benchmark-proof-toggle {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #6c717c;
  font-size: 0.95rem;
  padding: 0;
  cursor: pointer;
}

.benchmark-proof-empty {
  color: #7b818c;
  padding: 18px 16px;
  font-size: 1rem;
}

.benchmark-hero-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.benchmark-hero-copy-card {
  padding: 36px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.benchmark-report-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(16, 36, 63, 0.04);
  color: var(--benchmark-primary-deep);
  font:
    700 13px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benchmark-report-title {
  margin: 24px 0 16px;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.benchmark-report-summary,
.benchmark-report-legitimacy {
  max-width: none;
  color: var(--benchmark-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.benchmark-report-legitimacy {
  margin-top: 10px;
}

.benchmark-report-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.benchmark-report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.benchmark-report-button:hover {
  transform: translateY(-1px);
}

.benchmark-report-button--primary {
  background: linear-gradient(135deg, var(--benchmark-primary), #3a8dff);
  color: #fff;
  box-shadow: 0 14px 30px rgba(13, 91, 221, 0.22);
}

.benchmark-report-button--secondary {
  border: 1px solid var(--benchmark-border);
  color: var(--benchmark-ink);
  background: #fff;
}

.benchmark-report-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.benchmark-report-stat-card {
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f5f9ff);
  border: 1px solid rgba(13, 91, 221, 0.09);
}

.benchmark-report-stat-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 8px;
}

.benchmark-report-stat-card span {
  color: var(--benchmark-muted);
  font-size: 0.92rem;
}

.benchmark-hero-visual-card {
  padding: 0 36px 36px;
  background: transparent;
  color: var(--benchmark-ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.benchmark-chart-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.benchmark-chart-card__header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.benchmark-chart-card__header span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.benchmark-chart-card__header strong {
  font:
    700 13px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #dceafe;
}

.benchmark-chart {
  --chart-floor-height: 28rem;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.75rem 0 0.2rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  position: relative;
}

.benchmark-chart::before {
  content: "";
  position: absolute;
  inset: 0.75rem 0 4.6rem;
  border-radius: 0;
  background:
    linear-gradient(
      to top,
      rgba(16, 36, 63, 0.08) 0,
      rgba(16, 36, 63, 0.08) 1px,
      transparent 1px,
      transparent 25%
    ),
    linear-gradient(
      to right,
      rgba(16, 36, 63, 0.04) 0,
      rgba(16, 36, 63, 0.04) 1px,
      transparent 1px,
      transparent calc(100% / 8)
    );
  pointer-events: none;
}

.benchmark-bar {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 1;
}

.benchmark-bar-track {
  width: 100%;
  height: var(--chart-floor-height);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.benchmark-bar-track::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: rgba(16, 36, 63, 0.08);
}

.benchmark-bar-fill {
  width: calc(100% - 0.3rem);
  min-height: 0;
  border-radius: 1rem 1rem 0.4rem 0.4rem;
  background: linear-gradient(180deg, #d9eaff 0%, #9ec6ff 100%);
  border: 1px solid rgba(84, 136, 211, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 18px rgba(22, 83, 186, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.32rem 1rem;
  transition: height 0.35s ease;
}

.benchmark-bar.is-leader .benchmark-bar-fill {
  background: linear-gradient(180deg, #f3f9ff 0%, #c7e1ff 100%);
}

.benchmark-bar:nth-child(2) .benchmark-bar-fill {
  background: linear-gradient(180deg, #e0eeff 0%, #a9ceff 100%);
}

.benchmark-bar:nth-child(3) .benchmark-bar-fill {
  background: linear-gradient(180deg, #dcecff 0%, #a2c8ff 100%);
}

.benchmark-bar:nth-child(4) .benchmark-bar-fill {
  background: linear-gradient(180deg, #d7e9ff 0%, #99c0fb 100%);
}

.benchmark-bar:nth-child(5) .benchmark-bar-fill {
  background: linear-gradient(180deg, #d2e6ff 0%, #91b8f4 100%);
}

.benchmark-bar:nth-child(6) .benchmark-bar-fill {
  background: linear-gradient(180deg, #cce2ff 0%, #88afea 100%);
}

.benchmark-bar:nth-child(7) .benchmark-bar-fill {
  background: linear-gradient(180deg, #c6deff 0%, #7fa6e0 100%);
}

.benchmark-bar:nth-child(8) .benchmark-bar-fill {
  background: linear-gradient(180deg, #bfd8fb 0%, #779bd4 100%);
}

.benchmark-bar-score {
  color: #143867;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.benchmark-bar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
  margin-top: auto;
}

.benchmark-bar-rank {
  color: rgba(231, 242, 255, 0.7);
  font:
    700 11px "IBM Plex Mono",
    monospace;
}

.benchmark-bar-icon {
  width: clamp(3.6rem, 76%, 5rem);
  aspect-ratio: 1;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: #eef6ff;
  flex-shrink: 0;
  box-shadow: none;
}

.benchmark-bar-icon img {
  width: 50%;
  height: 50%;
  display: block;
  object-fit: contain;
}

.benchmark-bar-name {
  color: #143867;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.05;
  font-weight: 600;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: 6.8rem;
  transform: rotate(180deg);
}

.benchmark-bar.is-leader .benchmark-bar-score,
.benchmark-bar.is-leader .benchmark-bar-icon,
.benchmark-bar.is-leader .benchmark-bar-rank,
.benchmark-bar.is-leader .benchmark-bar-name {
  color: #143867;
}

.benchmark-bar.is-leader .benchmark-bar-icon {
  background: transparent;
  border-color: transparent;
}

.benchmark-hero-comparison-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.benchmark-uplift-card--hero {
  background: var(--benchmark-surface);
  border-color: var(--benchmark-border);
  box-shadow: var(--benchmark-shadow);
}

.benchmark-uplift-card--hero strong,
.benchmark-uplift-card--hero span {
  color: inherit;
}

.benchmark-hero-footnote {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.7;
}

.benchmark-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.benchmark-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 12.5rem));
  justify-content: start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.benchmark-stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 36, 63, 0.12);
  border-radius: 1.1rem;
  padding: 0.8rem 0.95rem;
  box-shadow: 0 10px 24px rgba(16, 36, 63, 0.08);
}

.benchmark-stat-card strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--benchmark-ink);
  margin-bottom: 0.25rem;
}

.benchmark-stat-card span {
  color: var(--benchmark-muted);
  font-size: 0.9rem;
}

.benchmark-stat-card--accent strong {
  color: var(--benchmark-primary-deep);
}

.benchmark-takeaway-grid,
.benchmark-repository-grid,
.benchmark-methodology-grid,
.benchmark-howto-grid {
  display: grid;
  gap: 18px;
}

.benchmark-takeaway-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benchmark-takeaway-card,
.benchmark-repository-card,
.benchmark-method-step,
.benchmark-command-card,
.benchmark-uplift-card {
  background: var(--benchmark-surface);
  border: 1px solid var(--benchmark-border);
  border-radius: 22px;
  box-shadow: var(--benchmark-shadow);
}

.benchmark-takeaway-card {
  padding: 24px;
}

.benchmark-takeaway-card h3,
.benchmark-repository-card h3,
.benchmark-method-step h3,
.benchmark-command-card code {
  margin: 0 0 10px;
}

.benchmark-takeaway-card p,
.benchmark-method-step p,
.benchmark-command-card p {
  margin: 0;
  color: var(--benchmark-muted);
  line-height: 1.7;
}

.benchmark-panel-card,
.benchmark-methodology-card,
.benchmark-language-card,
.benchmark-cta-card {
  padding: 28px;
}

.benchmark-scoring-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.benchmark-scoring-list li {
  color: var(--benchmark-muted);
  line-height: 1.7;
}

.benchmark-scoring-list strong {
  color: var(--benchmark-ink);
}

.benchmark-scoring-formula {
  margin-left: 8px;
  color: var(--benchmark-primary-deep);
  font:
    700 12px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.02em;
}

.benchmark-scoring-list p {
  margin: 4px 0 0;
}

.benchmark-scoring-note {
  margin: 18px 0 0;
  color: var(--benchmark-muted);
  line-height: 1.75;
  font-style: italic;
}

.benchmark-table-wrap,
.benchmark-language-table-wrap {
  overflow-x: auto;
}

.benchmark-results-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(16, 36, 63, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f6faff);
}

.benchmark-results-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.benchmark-results-filter label {
  color: var(--benchmark-muted);
  font:
    700 11px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benchmark-results-filter select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(16, 36, 63, 0.14);
  border-radius: 10px;
  background: #ffffff;
  color: var(--benchmark-ink);
  font: inherit;
  font-size: 0.92rem;
  padding: 0 12px;
}

.benchmark-results-graph {
  margin-top: 24px;
  border: 1px solid rgba(16, 36, 63, 0.1);
  border-radius: 24px;
  background: #ffffff;
  padding: 24px 28px 32px;
}

.benchmark-results-graph-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.benchmark-results-graph-tabs button {
  border: 1px solid var(--benchmark-border);
  background: #fff;
  color: var(--benchmark-muted);
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.benchmark-results-graph-tabs button.is-active {
  background: linear-gradient(135deg, var(--benchmark-primary), #428fff);
  color: #fff;
  border-color: transparent;
}

.benchmark-results-graph-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.benchmark-results-graph-head h3 {
  flex: 1 1 100%;
}

.benchmark-results-graph-head h3 {
  margin: 0;
  color: #15171a;
  font-size: 1.35rem;
  line-height: 1.25;
}

.benchmark-results-graph-head .benchmark-results-graph-tabs {
  flex: 1 1 auto;
}

.benchmark-results-graph-head span {
  border: 1px solid #5b3fff;
  color: #5b3fff;
  padding: 7px 10px;
  font-size: 0.9rem;
}

.benchmark-results-bar-plot {
  position: relative;
  height: 29rem;
  padding: 0 0 5.5rem 3.2rem;
}

.benchmark-plotly-chart {
  width: 100%;
  min-height: 34rem;
}

.benchmark-f1-icon-row {
  display: grid;
  grid-template-columns: repeat(var(--f1-icon-count), minmax(0, 1fr));
  gap: 0;
  margin: 0 24px 0 56px;
  pointer-events: none;
}

.benchmark-f1-icon-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
}

.benchmark-f1-icon-row .benchmark-results-graph-icon {
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.benchmark-f1-icon-label {
  color: #4c5564;
  font-size: clamp(0.68rem, 0.78vw, 0.84rem);
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  min-height: 7.2rem;
  white-space: nowrap;
}

.benchmark-plotly-chart--scatter {
  min-height: 38rem;
}

.benchmark-scatter-plot-wrap {
  position: relative;
}

.benchmark-scatter-labels,
.benchmark-scatter-tooltip-layer {
  position: absolute;
  pointer-events: none;
}

.benchmark-scatter-labels {
  z-index: 2;
}

.benchmark-scatter-tooltip-layer {
  z-index: 20;
}

.benchmark-scatter-tool-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.28rem 0.6rem 0.28rem 0.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-12px, -50%);
  pointer-events: auto;
}

.benchmark-scatter-tool-label.top-rank {
  border-color: #4f46e5;
  box-shadow:
    0 0 0 2px rgba(79, 70, 229, 0.14),
    0 8px 18px rgba(15, 23, 42, 0.18);
}

.benchmark-scatter-tool-icon {
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 0.42rem;
  color: #fff;
  font-size: 0.7rem;
}

.benchmark-scatter-tool-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0.35rem;
  background: #fff;
}

.benchmark-scatter-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.benchmark-scatter-tooltip {
  position: absolute;
  min-width: 13.5rem;
  padding: 0.9rem 1rem;
  border: 2px solid #4f46e5;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
  color: #64748b;
  font-size: 1rem;
  line-height: 1.45;
}

.benchmark-scatter-tooltip-title {
  margin-bottom: 0.25rem;
  color: #111827;
  font-weight: 800;
}

.benchmark-results-graph-grid {
  position: absolute;
  inset: 0 0 5.5rem 3.2rem;
  background-color: #ffffff;
  background:
    linear-gradient(to top, rgba(16, 36, 63, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 100% 25%;
  border-left: 1px solid #5b3fff;
  border-bottom: 1px solid rgba(16, 36, 63, 0.12);
}

.benchmark-results-bar-list {
  position: absolute;
  inset: 0 0 0 3.2rem;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(var(--bar-count), minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(6px, 0.8vw, 14px);
  min-width: 0;
}

.benchmark-results-bar-item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 5.4rem;
  min-width: 0;
}

.benchmark-results-bar-area {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

.benchmark-results-bar {
  position: relative;
  width: min(2.15rem, 76%);
  min-height: 0.5rem;
  background: #5b3fff;
  border-radius: 0;
}

.benchmark-results-bar span {
  position: absolute;
  left: 50%;
  top: -1.55rem;
  color: #5b3fff;
  font-size: clamp(0.68rem, 0.76vw, 0.82rem);
  font-weight: 600;
  transform: translateX(-50%);
  white-space: nowrap;
}

.benchmark-results-bar-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  min-width: 0;
}

.benchmark-results-graph-icon {
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--marker-color) 16%, #ffffff);
  color: var(--marker-color);
  flex: 0 0 auto;
  overflow: hidden;
}

.benchmark-results-graph-icon img {
  width: 82%;
  height: 82%;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.benchmark-results-graph-icon span {
  font-size: 0.78rem;
}

.benchmark-results-bar-name {
  color: #4c5564;
  font-size: clamp(0.68rem, 0.76vw, 0.82rem);
  line-height: 1.1;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-height: 4.1rem;
}

.benchmark-results-graph-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 4;
  display: none;
  min-width: 13rem;
  padding: 14px 16px;
  border: 2px solid #5b55f7;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(16, 36, 63, 0.18);
  color: var(--benchmark-muted);
  font-weight: 500;
  line-height: 1.45;
  transform: translateX(-50%);
}

.benchmark-results-graph-tooltip strong,
.benchmark-results-graph-tooltip span {
  display: block;
}

.benchmark-results-graph-tooltip strong {
  color: #111827;
  font-size: 1rem;
  margin-bottom: 8px;
}

.benchmark-results-bar-area:hover {
  z-index: 5;
}

.benchmark-results-bar-area:hover .benchmark-results-graph-tooltip {
  display: block;
}

.benchmark-results-scatter {
  margin-top: 24px;
  border: 1px solid rgba(16, 36, 63, 0.1);
  border-radius: 24px;
  background: #ffffff;
  padding: 24px 28px 42px;
}

.benchmark-results-scatter-plot {
  position: relative;
  height: 32rem;
  padding: 0 0 3.8rem 5.2rem;
}

.benchmark-results-scatter-grid,
.benchmark-results-scatter-points {
  position: absolute;
  inset: 0 0 3.8rem 5.2rem;
}

.benchmark-results-scatter-grid {
  background:
    linear-gradient(to right, rgba(16, 36, 63, 0.08) 1px, transparent 1px),
    linear-gradient(to top, rgba(16, 36, 63, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size:
    20% 100%,
    100% 20%;
  border-left: 1px solid rgba(16, 36, 63, 0.14);
  border-bottom: 1px solid rgba(16, 36, 63, 0.14);
}

.benchmark-results-scatter-points {
  z-index: 2;
}

.benchmark-results-scatter-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  max-width: 13rem;
  padding: 4px 11px 4px 5px;
  border: 1px solid rgba(16, 36, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  box-shadow: 0 8px 20px rgba(16, 36, 63, 0.14);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.benchmark-results-scatter-marker.is-top-rank {
  border-color: #5b55f7;
  box-shadow:
    0 0 0 2px rgba(91, 85, 247, 0.16),
    0 10px 22px rgba(16, 36, 63, 0.16);
}

.benchmark-results-scatter-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.benchmark-results-scatter-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.55rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: #5b55f7;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

.benchmark-results-scatter-marker:hover {
  z-index: 5;
}

.benchmark-results-scatter-marker .benchmark-results-graph-tooltip {
  left: calc(100% + 10px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.benchmark-results-scatter-marker:hover .benchmark-results-graph-tooltip {
  display: block;
}

.benchmark-results-scatter-y-label,
.benchmark-results-scatter-x-label {
  position: absolute;
  color: #111827;
  font-size: 0.94rem;
  font-weight: 500;
}

.benchmark-results-scatter-y-label {
  left: -4.7rem;
  top: 44%;
  transform: rotate(-90deg);
  transform-origin: center;
}

.benchmark-results-scatter-x-label {
  left: 44%;
  bottom: -0.8rem;
}

.benchmark-results-scatter-y-ticks,
.benchmark-results-scatter-x-ticks {
  position: absolute;
  color: #111827;
  font-size: 0.95rem;
}

.benchmark-results-scatter-y-ticks {
  inset: 0 auto 3.8rem 0;
  width: 2.4rem;
}

.benchmark-results-scatter-y-ticks span,
.benchmark-results-scatter-x-ticks span {
  position: absolute;
}

.benchmark-results-scatter-y-ticks span {
  right: 0;
  transform: translateY(50%);
}

.benchmark-results-scatter-x-ticks {
  left: 5.2rem;
  right: 0;
  bottom: 2.2rem;
}

.benchmark-results-scatter-x-ticks span {
  transform: translateX(-50%);
}

.benchmark-results-graph-y-ticks {
  position: absolute;
  inset: 0 auto 5.5rem 0;
  width: 2.4rem;
  color: #5b3fff;
  font-size: 0.95rem;
}

.benchmark-results-graph-y-ticks span {
  position: absolute;
  right: 0;
  transform: translateY(50%);
}

.benchmark-table,
.benchmark-language-table {
  width: 100%;
  border-collapse: collapse;
}

.benchmark-table th,
.benchmark-table td,
.benchmark-language-table th,
.benchmark-language-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(16, 36, 63, 0.08);
  text-align: left;
}

.benchmark-language-tool {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.benchmark-language-tool__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.14);
  flex: 0 0 auto;
}

.benchmark-language-tool__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.benchmark-table th,
.benchmark-language-table th {
  color: var(--benchmark-muted);
  font:
    700 12px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benchmark-table tr.is-leader td {
  background: linear-gradient(
    180deg,
    rgba(13, 91, 221, 0.06),
    rgba(13, 91, 221, 0.02)
  );
}

.benchmark-comparison-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.benchmark-uplift-card {
  padding: 20px;
}

.benchmark-uplift-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--benchmark-primary-deep);
}

.benchmark-uplift-card span {
  color: var(--benchmark-muted);
}

.benchmark-repository-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.benchmark-repository-card {
  padding: 22px 18px;
  color: inherit;
  text-decoration: none;
}

.benchmark-repository-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
}

.benchmark-repository-card__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.benchmark-repository-card__title h3 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.benchmark-repository-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.52rem;
  color: #fff;
  flex-shrink: 0;
}

.benchmark-repository-card__icon img {
  width: 0.92rem;
  height: 0.92rem;
  display: block;
}

.chip-cal {
  background: linear-gradient(135deg, #2d3440, #717a8f);
}

.chip-sentry {
  background: linear-gradient(135deg, #5c21d2, #8d52ff);
}

.chip-discourse {
  background: linear-gradient(135deg, #f06a49, #f2bf4f);
}

.chip-keycloak {
  background: linear-gradient(135deg, #39c3eb, #5177ff);
}

.chip-grafana {
  background: linear-gradient(135deg, #f5792a, #f2b84b);
}

.benchmark-repository-card__language {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(13, 91, 221, 0.08);
  color: var(--benchmark-primary-deep);
  justify-self: end;
  flex-shrink: 0;
  font:
    700 11px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.04em;
}

.benchmark-repository-card p {
  min-height: 44px;
  color: var(--benchmark-muted);
}

.benchmark-methodology-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benchmark-methodology-copy {
  /* max-width: 900px; */
}

.benchmark-methodology-copy h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.benchmark-methodology-copy p {
  margin: 0 0 16px;
  color: var(--benchmark-muted);
  line-height: 1.75;
}

.benchmark-method-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
}

.benchmark-method-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(13, 91, 221, 0.14),
    rgba(58, 141, 255, 0.12)
  );
  color: var(--benchmark-primary-deep);
  font:
    700 14px "IBM Plex Mono",
    monospace;
}

.benchmark-language-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.benchmark-language-tabs button {
  border: 1px solid var(--benchmark-border);
  background: #fff;
  color: var(--benchmark-muted);
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.benchmark-language-tabs button.is-active {
  background: linear-gradient(135deg, var(--benchmark-primary), #428fff);
  color: #fff;
  border-color: transparent;
}

.benchmark-language-panel {
  border: 1px solid rgba(16, 36, 63, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  padding: 22px;
}

.benchmark-language-panel__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 8px;
}

.benchmark-language-panel__label {
  display: block;
  margin-bottom: 6px;
  color: var(--benchmark-muted);
  font:
    700 11px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benchmark-language-panel__meta strong {
  font-size: 1.25rem;
}

.benchmark-language-panel__meta a {
  color: var(--benchmark-primary-deep);
  text-decoration: none;
  font-weight: 700;
}

.benchmark-language-panel__note {
  margin: 0 0 18px;
  color: var(--benchmark-muted);
  line-height: 1.7;
}

.benchmark-critical-card {
  overflow: hidden;
}

.benchmark-critical-panel {
  padding: 0;
  overflow: hidden;
}

.benchmark-critical-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid rgba(16, 36, 63, 0.08);
  background: rgba(16, 36, 63, 0.08);
}

.benchmark-critical-summary__item {
  background: #ffffff;
  padding: 16px;
}

.benchmark-critical-summary__item span {
  display: block;
  color: var(--benchmark-muted);
  font:
    700 11px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.benchmark-critical-summary__item strong {
  display: block;
  margin-top: 6px;
  color: var(--benchmark-ink);
  font-size: 1.35rem;
}

.benchmark-critical-table-wrap {
  overflow-x: auto;
}

.benchmark-critical-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
}

.benchmark-critical-table th,
.benchmark-critical-table td {
  border-bottom: 1px solid rgba(16, 36, 63, 0.08);
  padding: 16px 14px;
  text-align: left;
  vertical-align: middle;
}

.benchmark-critical-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7fbff;
  color: var(--benchmark-muted);
  font:
    700 12px "IBM Plex Mono",
    monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.benchmark-critical-table th:nth-child(n + 4),
.benchmark-critical-table td:nth-child(n + 4) {
  text-align: center;
  width: 124px;
}

.benchmark-critical-table a {
  color: var(--benchmark-primary-deep);
  font-weight: 700;
  text-decoration: none;
}

.benchmark-critical-table a:hover {
  text-decoration: underline;
}

.benchmark-critical-bug {
  display: -webkit-box;
  max-width: 390px;
  overflow: hidden;
  color: #1f2937;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.benchmark-critical-severity {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
  font:
    700 12px "IBM Plex Mono",
    monospace;
  text-transform: uppercase;
}

.benchmark-critical-detection {
  font-size: 1rem;
  font-weight: 700;
}

.benchmark-critical-detection span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 10px;
}

.benchmark-critical-detection.is-detected {
  background: rgba(34, 197, 94, 0.12);
  color: #3f7f19;
}

.benchmark-critical-detection.is-missed {
  color: #dc2626;
}

.benchmark-critical-detection.is-missed span {
  background: rgba(220, 38, 38, 0.08);
}

.benchmark-critical-empty {
  padding: 22px;
  color: var(--benchmark-muted);
  background: #ffffff;
}

.benchmark-findings-grid {
  display: grid;
  gap: 0;
  margin-top: 22px;
}

.benchmark-critical-card .benchmark-findings-grid {
  margin-top: 0;
  padding: 24px;
  border-top: 1px solid rgba(16, 36, 63, 0.08);
  background: #ffffff;
}

.benchmark-findings-card {
  display: none;
}

.benchmark-findings-card.is-active {
  display: block;
}

.benchmark-findings-card__header {
  padding: 0 0 18px;
}

.benchmark-findings-card__header h3 {
  margin: 0;
  color: var(--benchmark-ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.benchmark-findings-card__header p {
  margin: 8px 0 0;
  color: var(--benchmark-muted);
  font:
    500 0.94rem "IBM Plex Mono",
    monospace;
  line-height: 1.55;
}

.benchmark-findings-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  background: transparent;
}

.benchmark-findings-column {
  padding: 0;
}

.benchmark-findings-column h4 {
  margin: 0 0 14px;
  color: var(--benchmark-ink);
  font-size: 1rem;
}

.benchmark-findings-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.benchmark-findings-column li {
  color: #4b5563;
  line-height: 1.55;
}

.benchmark-findings-column code {
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(13, 91, 221, 0.08);
  color: var(--benchmark-primary-deep);
  font-size: 0.88em;
}

.benchmark-howto-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.benchmark-command-card {
  padding: 22px;
}

.benchmark-command-card code {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  background: #0f2347;
  color: #dceafe;
  font-size: 0.96rem;
}

.benchmark-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 20px;
}

.benchmark-sources a {
  color: var(--benchmark-primary-deep);
  font-weight: 700;
  text-decoration: none;
}

.benchmark-footer {
  padding: 56px 0 40px;
  border-top: 1px solid rgba(16, 36, 63, 0.08);
  background: #ffffff;
}

.benchmark-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 20px;
}

.benchmark-footer__brand p,
.benchmark-footer__column a {
  color: var(--benchmark-muted);
  line-height: 1.8;
}

.benchmark-footer__brand p {
  max-width: 340px;
}

.benchmark-footer__column h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.benchmark-footer__column a {
  display: block;
  text-decoration: none;
}

.benchmark-footer__legal {
  margin-top: 26px;
  color: var(--benchmark-muted);
}

@media (max-width: 1120px) {
  .benchmark-repository-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benchmark-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .benchmark-hero-card {
    grid-template-columns: 1fr;
  }

  .benchmark-methodology-grid,
  .benchmark-takeaway-grid,
  .benchmark-howto-grid {
    grid-template-columns: 1fr;
  }

  .benchmark-report-stat-grid,
  .benchmark-stats,
  .benchmark-comparison-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benchmark-repository-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benchmark-results-filters {
    grid-template-columns: 1fr;
  }

  .benchmark-results-graph {
    padding: 24px 20px 32px;
    overflow-x: auto;
  }

  .benchmark-results-graph-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .benchmark-results-bar-plot {
    min-width: 42rem;
    height: 27rem;
  }

  .benchmark-results-scatter {
    padding: 24px 20px 42px;
    overflow-x: auto;
  }

  .benchmark-results-scatter-plot {
    min-width: 48rem;
    height: 29rem;
  }

  .benchmark-pr1-grid {
    grid-template-columns: 1fr;
  }

  .benchmark-proof-controls {
    grid-template-columns: 1fr;
  }

  .benchmark-proof-panels {
    grid-template-columns: 1fr;
  }

  .benchmark-chart {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    --chart-floor-height: 20rem;
  }

  .benchmark-hero-comparison-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benchmark-language-panel__meta {
    flex-direction: column;
    align-items: start;
  }

  .benchmark-critical-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benchmark-findings-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .benchmark-shell {
    padding: 0 16px;
  }

  .benchmark-hero-copy-card,
  .benchmark-hero-visual-card,
  .benchmark-panel-card,
  .benchmark-methodology-card,
  .benchmark-language-card,
  .benchmark-cta-card {
    border-radius: 22px;
  }

  .benchmark-report-title {
    font-size: 2.55rem;
  }

  .benchmark-report-stat-grid,
  .benchmark-stats,
  .benchmark-comparison-cards,
  .benchmark-repository-grid,
  .benchmark-pr1-grid,
  .benchmark-footer__grid {
    grid-template-columns: 1fr;
  }

  .benchmark-section {
    padding: 36px 0;
  }

  .benchmark-chart {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    --chart-floor-height: 14rem;
    gap: 0.9rem 0.75rem;
    padding: 1rem 0.85rem 0.9rem;
  }

  .benchmark-chart::before {
    inset: 1rem 0.85rem 4rem;
  }

  .benchmark-hero-comparison-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benchmark-bar-name {
    font-size: 0.78rem;
  }

  .benchmark-bar {
    gap: 0.7rem;
  }

  .benchmark-bar-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .benchmark-bar-icon img {
    width: 1.25rem;
    height: 1.25rem;
  }

  .benchmark-repository-card__header {
    grid-template-columns: 1fr;
    row-gap: 8px;
    align-items: start;
  }

  .benchmark-repository-card__language {
    justify-self: start;
  }

  .benchmark-pr1-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benchmark-proof-comment-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .benchmark-critical-summary {
    grid-template-columns: 1fr;
  }

  .benchmark-findings-card {
    display: block;
  }

  .benchmark-findings-card__header,
  .benchmark-findings-column {
    padding: 0;
  }

  .benchmark-critical-card .benchmark-findings-grid {
    padding: 18px;
  }
}
