/* Plot colors and symbols follow the discovery figures; typography follows the
   surrounding CyberDual-style leaderboard. */
#discovery-chart{min-width:0;width:100%;--db-sol:#007bb8;--db-opus:#d76605;--db-grok:var(--ink);--db-kimi:#c875a7;--db-glm:#009c76;--db-luna:#54b4ed}
:root[data-theme="dark"] #discovery-chart{--db-sol:#55b6ed;--db-opus:#ee9c55;--db-kimi:#eaa0cd;--db-glm:#51c6a1;--db-luna:#90cdf1}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]) #discovery-chart{--db-sol:#55b6ed;--db-opus:#ee9c55;--db-kimi:#eaa0cd;--db-glm:#51c6a1;--db-luna:#90cdf1}}
.db-color-sol{color:var(--db-sol)}.db-color-opus{color:var(--db-opus)}.db-color-grok{color:var(--db-grok)}.db-color-kimi{color:var(--db-kimi)}.db-color-glm{color:var(--db-glm)}.db-color-luna{color:var(--db-luna)}
.db-chart-canvas{position:relative;min-width:0}.db-chart-svg{display:block;width:100%;height:auto;overflow:visible;font-family:var(--sans);font-variant-numeric:tabular-nums}.db-chart-svg text{user-select:none}.db-chart-svg .db-grid{stroke:var(--line);stroke-width:1}.db-chart-svg .db-grid-vertical{stroke-dasharray:2 4;opacity:.65}.db-chart-svg .db-tick{font-size:12px;fill:var(--muted)}.db-chart-svg .db-axis-title{font-size:13px;font-weight:550;fill:var(--ink2)}.db-chart-svg .db-axis-label{font-size:12px;fill:var(--muted)}
.db-chart-series,.db-end-group{transition:opacity .13s}.db-chart-series.is-muted,.db-end-group.is-muted{opacity:.16}.db-series-path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round}.db-chart-point{cursor:pointer;outline:none}.db-point-hit{fill:transparent;stroke:none}.db-point-marker{fill:currentColor;stroke:currentColor;stroke-width:1.6}.db-marker-open{fill:var(--bg)}.db-chart-point:focus .db-point-hit,.db-chart-point.is-active .db-point-hit{fill:var(--surface);stroke:currentColor;stroke-width:1;opacity:.8}.db-chart-point:focus .db-point-marker,.db-chart-point.is-active .db-point-marker{stroke-width:2.2}.db-end-connector{fill:none;stroke:currentColor;stroke-width:1;opacity:.4}.db-end-label{font-size:12px;font-weight:550;fill:currentColor}.db-end-value{font-size:11px;fill:var(--muted)}
.db-chart-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 19px;margin:16px 0 0}.db-legend-item{display:inline-flex;align-items:center;gap:6px;padding:3px 0;border:0;background:transparent;font:12px/1.5 var(--sans);white-space:nowrap}.db-legend-item svg{display:block;width:27px;height:16px;overflow:visible;flex:none}.db-legend-item svg path{fill:none;stroke:currentColor;stroke-width:1.8}.db-legend-item svg g{fill:currentColor;stroke:currentColor;stroke-width:1.2}.db-legend-item svg g path{fill:currentColor}.db-legend-item svg .db-marker-open{fill:var(--bg)}.db-legend-item span{color:var(--ink2)}.db-legend-item:hover span,.db-legend-item[aria-pressed="true"] span{color:var(--ink)}.db-legend-item[aria-pressed="true"] span{text-decoration:underline;text-underline-offset:4px}
.db-chart-tooltip{position:absolute;z-index:5;width:258px;max-width:calc(100% - 16px);padding:13px 15px;background:var(--surface);border:1px solid var(--line);box-shadow:0 5px 20px #0002;color:var(--ink);font-size:12px;line-height:1.5;pointer-events:none}.db-chart-tooltip[hidden]{display:none}.db-chart-tooltip>strong{font-size:14px;font-weight:600}.db-chart-tooltip>strong>span{font-size:11px;color:var(--muted);font-weight:400}.db-tooltip-sub{font-size:11px;color:var(--muted);margin-top:3px}.db-chart-tooltip dl{display:grid;grid-template-columns:1fr auto;gap:5px 18px;margin:11px 0 0}.db-chart-tooltip dt{color:var(--muted)}.db-chart-tooltip dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:550}.db-tooltip-scope{border-top:1px solid var(--line);padding-top:8px;margin-top:10px;font-size:11px;color:var(--muted)}
@media(max-width:640px){.db-chart-svg .db-tick{font-size:11px}.db-chart-svg .db-axis-label{font-size:10px}.db-chart-svg .db-axis-title{font-size:12px}.db-chart-legend{gap:7px 14px;justify-content:flex-start;margin-top:12px}.db-legend-item{font-size:11px;gap:5px}.db-legend-item svg{width:23px}.db-chart-tooltip{width:246px;padding:12px}.db-chart-tooltip dl{gap:5px 14px}}
@media(prefers-reduced-motion:reduce){.db-chart-series,.db-end-group{transition:none}}
