/* SlackBench: the MCP vs. CLI figure (charts.js) and its value tooltip. */

/* series colours: grey is MCP tools, teal is direct CLI access. --ct is a darker shade for text. */
.sb-s-mcp { --c: #9c968e; --ct: #6b6660; }
.sb-s-cli { --c: #2f7f86; --ct: #11484e; }

.po-body > .sb-fig { margin-top: 40px; }
.po-body .sb-fig-title { margin: 0; font: 600 17px/1.3 var(--sans); letter-spacing: -.01em; color: var(--teal); }
.po-body .sb-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.po-body .sb-legend span { display: inline-flex; align-items: center; gap: 7px; cursor: default; }
.sb-sw { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 1px; box-shadow: inset 0 0 0 1.25px var(--c);
  background: repeating-linear-gradient(135deg, var(--c) 0 1.6px, color-mix(in srgb, var(--c) 22%, transparent) 1.6px 4.2px); }
.po-body .sb-chart { margin-top: 14px; }
.po-body .sb-chart svg { display: block; max-width: none; overflow: visible; -webkit-tap-highlight-color: transparent; }
.po-body .sb-fig > figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
/* captions of the picture figures, smaller than the text (the site default is the text size) */
.po-body figure > figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* chart parts */
.sb-svg text { font-family: var(--sans); fill: var(--teal); }
.sb-svg .panel-title { font-size: 13px; font-weight: 600; }
.sb-svg .tick { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.sb-svg .cat { font-size: 12px; font-weight: 600; }
.sb-svg .cat-sub { font-size: 11.5px; fill: var(--muted); }
.sb-svg .val { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; fill: var(--ct); }
.sb-svg .delta { font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; fill: var(--teal); }
.sb-svg .delta-bg { fill: #dfe9e6; }
.sb-svg .grid { stroke: #e5e0d6; stroke-width: 1; }
.sb-svg .base { stroke: #bcb6ac; stroke-width: 1; }
.sb-svg .bar { stroke: var(--c); stroke-width: 1.5; } /* filled by charts.js with a hatch pattern */
.sb-svg .hatch-bg { fill: var(--c); fill-opacity: .22; }
.sb-svg .hatch-ln { stroke: var(--c); stroke-width: 2.2; }
.sb-svg .mark { outline: none; cursor: default; transition: opacity .25s ease; }
.sb-svg.is-hover .mark:not(.on) { opacity: .3; }
.sb-svg .mark:focus-visible .bar { stroke-width: 2.5; }
.sb-svg .mark:focus-visible .lb-bar { stroke: var(--teal); stroke-width: 2; }

/* the leaderboard: solid bars in each maker's colour */
.sb-svg .lb-label { font-size: 13px; }
.sb-svg .lb-model { font-weight: 500; fill: var(--teal); }
.sb-svg .lb-harness { fill: var(--muted); }
.sb-svg .lb-val { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; fill: var(--teal); }
.sb-svg .hit { fill: transparent; }
.sb-sw.is-solid { background: var(--c); box-shadow: none; }

/* the value tooltip */
.sb-tip { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; padding: 8px 10px; border-radius: 6px;
  background: #fff; box-shadow: 0 2px 10px rgba(17, 72, 78, .16); font: 12.5px/1.4 var(--sans); color: var(--teal);
  opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility 0s linear .15s; }
.sb-tip.show { opacity: 1; visibility: visible; transition: opacity .15s ease, visibility 0s; }
.sb-tip-h { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.sb-tip-b b { font-size: 14px; font-variant-numeric: tabular-nums; }
.sb-tip-b span { margin-left: 6px; color: var(--muted); }
