/* Figma 2182:171150 / 2182:182773 / 2182:182768 — presentation only. Existing charts, controls, values,
   links, model identities, complete rosters, and caveats remain live in every panel. */
.industry-sr-only { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important; }
#boards { scroll-margin-top:var(--nav-h); }
#boards .industry-category { padding:64px 0;border-bottom:1px solid var(--fw-border);scroll-margin-top:calc(var(--nav-h) + 96px); }
#boards .industry-category:last-child { border-bottom:0;padding-bottom:0; }
#boards .industry-category > .industry-title { margin:0;font:600 24px/30px var(--fw-font-sans,'Inter',sans-serif);font-weight:600!important;letter-spacing:-.48px!important; }
#boards .subcategory-tabs { scroll-margin-top:calc(var(--nav-h) + 96px);display:flex;align-items:center;flex-wrap:wrap;gap:0 20px;margin-top:10px;padding-top:16px;border-bottom:1px solid var(--fw-border); }
#boards .subcategory-tab { position:relative;appearance:none;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:5px 0 8px;border:0;background:transparent;font:600 16px/24px var(--fw-font-sans,'Inter',sans-serif);letter-spacing:-.09px;color:var(--fw-text-soft, #706666);cursor:pointer; }
#boards .subcategory-tab::after { content:"";position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:9999px;background:transparent; }
#boards .subcategory-tab[aria-selected="true"] { color:var(--fw-text, #280016); }
#boards .subcategory-tab[aria-selected="true"]::after { background:var(--fw-ember-02, #4D0F31); }
#boards .subcategory-tab:hover { color:var(--fw-ink); }
#boards .industry-section { padding:20px 0 0!important;margin:0!important;border:0!important; }
#boards .nexus-matrix { --leader-width:252px;--leader-gap:28px;--matrix-bottom-space:0px;--model-row-height:44px;--industry-header-height:54px; }
#boards .board-chart { position:relative;border-radius:20px;border-color:var(--fw-divider, #E2DDD8);box-shadow:none!important; }
#boards .board-chart:hover, #boards .board-chart:focus-within { box-shadow:none!important; }
#boards .board-chart-head { align-items:flex-end;justify-content:flex-start;height:calc(var(--industry-header-height) - 1px);min-height:0;padding:10px 16px 0;gap:20px;container-type:inline-size; }
#boards .board-chart-pick { flex:1 1 0%;width:auto;min-width:0;height:42px;gap:0; }
#boards .bench-tabs { width:100%;height:42px;gap:20px;align-items:stretch;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none; }
#boards .bench-tabs::-webkit-scrollbar { display:none; }
/* A row that still overflows scrolls, with a fade and a step button at each edge that has more. */
#boards .board-chart-pick { position:relative; }
#boards .bench-tabs { scroll-behavior:smooth; }
#boards .bench-tabs-step { display:none;position:absolute;z-index:2;top:0;bottom:10px;width:56px;padding:0;border:0;align-items:center;cursor:pointer; }
#boards .bench-tabs-next { right:0;justify-content:flex-end;background:linear-gradient(90deg,rgba(249,247,245,0),var(--fw-surface, #F9F7F5) 60%); }
#boards .bench-tabs-prev { left:0;justify-content:flex-start;background:linear-gradient(270deg,rgba(249,247,245,0),var(--fw-surface, #F9F7F5) 60%); }
#boards .board-chart-pick[data-overflow="1"]:not([data-end="1"]) .bench-tabs-next,
#boards .board-chart-pick[data-overflow="1"]:not([data-start="1"]) .bench-tabs-prev { display:flex; }
#boards .bench-tabs-step > span { width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--fw-ink, #16181D);color:#FFFFFF;box-shadow:0 4px 14px rgba(40,0,22,.16);transition:transform 120ms cubic-bezier(0.2,0.8,0.2,1); }
#boards .bench-tabs-next:hover > span { transform:translateX(2px); }
#boards .bench-tabs-prev:hover > span { transform:translateX(-2px); }
#boards .bench-tabs-step:focus-visible { outline:3px solid var(--fw-brand, #6726FE);outline-offset:-3px; }
#boards .bench-tab { position:relative;text-decoration:none;flex:none;height:42px;min-height:0;max-width:none;padding:4px 0 14px;gap:4px;border:0;border-radius:0;background:transparent;font:500 14px/20px var(--fw-font-sans,'Inter',sans-serif);letter-spacing:-.14px;color:var(--fw-ink); }
#boards .bench-tab::after { content:"";position:absolute;left:0;right:0;bottom:1px;height:2px;border-radius:9999px;background:transparent; }
#boards .bench-tab.on { background:transparent;border:0;color:var(--fw-ink);font-weight:500; }
#boards .bench-tab.on::after { background:var(--fw-ember-02, #4D0F31); }
#boards .bench-tab:focus-visible { outline-offset:-3px; }
#boards .bench-tab-name { white-space:nowrap;overflow:visible;text-overflow:clip; }
#boards .bench-tab-mark { display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;overflow:hidden;border:1px solid var(--fw-divider, #E2DDD8);border-radius:50%;background:white; }
#boards .bench-tab-logo { display:block;width:14px;height:14px;max-width:none;object-fit:contain;object-position:center; }
#boards .bench-tab-mark.is-dark { background:var(--fw-text, #280016);border-color:var(--fw-text, #280016); }
#boards .bench-tab-mark.is-dark .bench-tab-logo { width:9px;height:8.1px; }
#boards .bench-tab-mark.is-wordmark { width:42px;border:0;border-radius:0;background:transparent; }
#boards .bench-tab-mark.is-wordmark .bench-tab-logo { width:42px; }
/* A descender wordmark centered by its box rides high; drop it onto the text baseline. */
#boards .bench-tab-mark.has-descenders .bench-tab-logo { transform:translateY(2px); }
#boards .board-chart-body { padding:16px 20px; }
#boards .board-chart-body:has(+ .board-chart-empty) .board-chart-meta { margin-bottom:0; }
#boards .board-chart-empty { padding:4px 20px 20px; }
#boards .board-chart-meta { align-items:center;gap:12px;margin-bottom:16px; }
#boards .board-chart-identity { display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0; }
#boards .board-benchmark-title { font:600 16px/24px var(--fw-font-sans,'Inter',sans-serif);letter-spacing:-.16px;color:var(--fw-text, #280016);overflow-wrap:anywhere; }
/* The drill-in belongs to the tab row. Only this link, not its chart, owns
   the purple hover/focus treatment; both icon and text inherit one color. */
#boards .board-chart-open { align-self:stretch;align-items:center;padding-bottom:10px;font-size:12px;line-height:18px;letter-spacing:-.24px;color:var(--fw-text-soft, #706666);text-decoration:underline;text-underline-offset:2px; }
#boards .board-chart-open:hover, #boards .board-chart-open:focus-visible { color:var(--fw-brand); }
#boards .board-chart-open-arrow { width:16px;height:16px;background-color:currentColor;-webkit-mask:url("assets/rebrand/icons/small/arrow-right.svg") center/contain no-repeat;mask:url("assets/rebrand/icons/small/arrow-right.svg") center/contain no-repeat;pointer-events:none; }
/* A narrow card keeps every partner tab on one row: the data link drops to its arrow,
   with its text kept for its tooltip and screen readers, and the tabs close up. */
@container (max-width:640px) {
  #boards .bench-tabs { gap:16px; }
  #boards .board-chart-open { font-size:0;gap:0;min-width:24px;justify-content:center; }
}
#boards .board-dim-picker { gap:4px;margin-left:auto; }
#boards .board-dim-picker .dim-btn { height:28px;min-height:28px;max-width:100%;padding:4px 10px;font:500 12px/17.4px var(--fw-font-sans,'Inter',sans-serif);letter-spacing:-.12px;border-radius:9999px;color:var(--fw-text, #280016);white-space:normal;text-align:center; }
#boards .board-dim-picker .dim-btn.on { color:var(--fw-accent, #A71E7E);background:var(--fw-surface-01, #F4F0EC);border-color:transparent; }
#boards .board-plot-ytitle { width:24px; }
#boards .board-plot-ytitle .graph-axis-label { left:0;transform-origin:0 0;transform:rotate(-90deg) translateX(-50%); }
#boards .board-plot-yticks { width:48px; }
#boards .board-plot.plot { border:0;border-radius:12px;background:var(--fw-surface-01, #F4F0EC); }
/* Compress only the gray 2-D plot; preserve 1-D height and the 3-D projection ratio. */
#boards .board-plot.plot:not(.line):not(.cube) { height:424px; }
#boards .board-chart-legend { justify-content:center; }
#boards .model-leaderboard { display:flex;flex-direction:column; }
#boards .leaderboard-heading { position:relative;z-index:8;flex:none;height:var(--industry-header-height);padding:0;gap:8px;justify-content:space-between; }
#boards .leaderboard-heading-copy { position:static;width:auto;flex:1;gap:4px; }
#boards .leaderboard-heading strong { font-size:14px;line-height:20px;white-space:nowrap; }
#boards .leaderboard-heading-meta { gap:0; }
#boards .leaderboard-info-tooltip { width:300px;max-width:100%; }
#boards .leaderboard-heading .board-config { flex:none;gap:0; }
#boards .leaderboard-heading .config-group { gap:0; }
#boards .leaderboard-heading .rank-menu { left:auto;right:0;transform:none; }
/* The internal preview's Rank by and Scored on pickers, a row under the heading. Labels share a
   width so the two triggers line up when the narrow column stacks them. */
#boards .leaderboard-controls { position:relative;z-index:7;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:2px 0 14px;border-bottom:1px solid var(--fw-divider, var(--fw-surface-elevated, #EEEEF2)); }
#boards .leaderboard-control { display:inline-flex;align-items:center;gap:8px;min-width:0; }
#boards .leaderboard-control-label { flex:none;min-width:10ch;font-family:var(--fw-font-label, var(--mono));font-size:11px;line-height:1.4;font-weight:550;letter-spacing:var(--fw-label-tracking, .04em);text-transform:uppercase;color:var(--fw-ink-secondary, #5A5E63); }
/* A label and its help icon share the width, in the label's face so the ch units agree. The
   tooltip hangs from the pair, and the phone tap target spans the label and stays off the pill. */
#boards .leaderboard-control-head { position:relative;flex:none;display:inline-flex;align-items:center;gap:4px;min-width:calc(10ch + 20px);font-family:var(--fw-font-label, var(--mono));font-size:11px; }
#boards .leaderboard-control-head .leaderboard-control-label { min-width:0; }
#boards .leaderboard-control-head .leaderboard-info { position:static; }
#boards .leaderboard-control-head .leaderboard-info::after { inset:-12px 0; }
#boards .leaderboard-control-head .leaderboard-info-tooltip { max-width:calc(100vw - 32px); }
/* Each trigger is its pill's only button, so its hover fill takes the pill's corners. */
#boards .leaderboard-controls .rank-anchor { border-radius:inherit; }
#boards .leaderboard-controls .rank-trigger { gap:4px;padding:0 8px 0 12px;border-radius:inherit !important; }
#boards .leaderboard-controls .rank-chevron { flex:none;display:block;width:14px;height:14px; }
#boards .leaderboard-controls .rank-menu { left:0;right:auto;transform:none;max-width:calc(100vw - 32px);max-height:min(360px,60vh);overflow-y:auto; }
#boards .leaderboard-controls .rank-opt-meta { margin-left:auto;padding-left:20px;font-weight:400;font-variant-numeric:tabular-nums;color:var(--fw-ink-muted, #696969); }
#boards .leaderboard-row { height:auto;min-height:44px;padding:10px 0;column-gap:12px; }
#boards .model-leaderboard > .model-row-reveal { flex:none; }
#boards .leaderboard-model .mx-model-name, #boards .leaderboard-model .mx-model-link { font-size:14px;line-height:20px; }
#boards .industry-footer { display:flex;flex:1;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;padding-top:12px; }
#boards .industry-note { margin-top:auto;padding:10px 12px;border-radius:8px;background:var(--fw-surface-01, #F4F0EC);font:400 10px/14.5px var(--fw-font-sans,'Inter',sans-serif);letter-spacing:-.05px;color:var(--fw-text, #280016); }
@media(max-width:1080px) {
  #boards .board-plot.plot:not(.line):not(.cube) { height:324px; }
  #boards .model-leaderboard { width:100%; }
  #boards .industry-footer { flex:none; }
  #boards .industry-note { margin-top:4px; }
}
@media(max-width:640px) {
  #boards .board-plot.plot:not(.line):not(.cube) { height:268px; }
  #boards .industry-category { padding:48px 0; }
  #boards .subcategory-tabs { gap:0 18px; }
  #boards .subcategory-tab { font-size:16px;line-height:24px; }
  /* Let every partner remain visible; the drill-in never competes with tabs. It keeps
     the desktop reading, sitting on the last tab's line rather than a line of its own. */
  #boards .board-chart-head { display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-end;height:auto;padding:10px 14px 0;gap:0 12px; }
  #boards .board-chart-pick { flex:1 1 auto;width:auto;min-width:0;height:auto; }
  #boards .bench-tabs { height:auto;flex-wrap:wrap;gap:0 20px;overflow:visible; }
  #boards .bench-tab { height:auto;min-height:44px;max-width:100%;padding:10px 0; }
  #boards .bench-tab-name { white-space:normal;text-align:left;overflow-wrap:anywhere; }
  #boards .board-chart-open { flex:none;align-self:flex-end;min-height:44px;padding:8px 0; }  #boards .board-chart-body { padding:14px; }
  #boards .board-chart-meta { align-items:flex-start; }
  #boards .board-dim-picker { margin-left:0;width:100%; }
  #boards .board-dim-picker .dim-btn { font-size:12px;line-height:17.4px;padding:4px 10px; }
  #boards .board-plot-yticks { width:38px; }
  #boards .board-chart-legend { align-items:flex-start;justify-content:flex-start;gap:8px; }
  #boards .leaderboard-heading { gap:12px; }
  /* On a phone the Models trigger ends the row at the screen's edge, so its menu opens leftward. */
  #boards .leaderboard-control:last-child:not(:first-child) .rank-menu { left:auto;right:0; }
}
@media print {
  #boards .industry-section[aria-hidden="true"] { display:block!important; }
  #boards .subcategory-tabs { display:none; }
  #boards .industry-section { break-inside:avoid; }
  #boards .industry-section::before { content:attr(data-domain);display:block;margin-bottom:16px;font-weight:600; }
}

/* View controls progressively enhance to a one-line overflow picker. Without the
   controller, every original metric button remains visible and usable. */
#boards .board-chart-meta { flex-wrap:nowrap;gap:16px; }
#boards .board-chart-identity { flex:0 1 auto;min-width:128px;max-width:45%; }
#boards .board-dim-picker { position:relative;display:flex;flex:1 1 0%;align-items:center;justify-content:flex-end;min-width:0;gap:4px;margin-left:auto; }
#boards .metric-inline { position:relative;display:flex;justify-content:flex-end;flex:1 1 auto;flex-wrap:wrap;min-width:0;gap:4px; }
#boards .board-dim-picker[data-overflow-ready="true"] .metric-inline { flex-wrap:nowrap;min-height:28px; }
#boards .board-dim-picker .metric-inline .dim-btn { flex:none;max-width:none;white-space:nowrap; }
#boards .metric-inline .dim-btn[data-in-overflow="true"] { position:absolute;left:0;top:0;visibility:hidden;pointer-events:none; }
#boards .metric-overflow-trigger { display:none;flex:0 0 32px;width:32px;height:28px;padding:0;align-items:center;justify-content:center;border:1px solid var(--fw-border);border-radius:9999px;background:white;color:var(--fw-ink);font:600 18px/1 var(--fw-font-sans,'Inter',sans-serif);cursor:pointer; }
#boards .metric-overflow-icon { display:block;width:16px;height:16px;flex:none;background-color:currentColor;-webkit-mask:url("assets/domain-icons/ellipsis.svg") center/contain no-repeat;mask:url("assets/domain-icons/ellipsis.svg") center/contain no-repeat;pointer-events:none; }
#boards .board-dim-picker[data-has-overflow="true"] .metric-overflow-trigger { display:inline-flex; }
#boards .metric-overflow-trigger[data-has-selection="true"], #boards .metric-overflow-trigger[aria-expanded="true"] { border-color:transparent;background:var(--fw-surface-01, #F4F0EC);color:var(--fw-accent, #A71E7E); }
#boards .metric-overflow-menu { position:absolute;right:0;top:calc(100% + 8px);z-index:25;display:none;flex-direction:column;gap:2px;width:max-content;min-width:220px;max-width:min(320px,calc(100vw - 48px));max-height:320px;overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid var(--fw-border);border-radius:10px;background:white;box-shadow:0 8px 24px rgba(40,0,22,.1); }
#boards .board-dim-picker[data-menu-open="true"] .metric-overflow-menu { display:flex; }
#boards .metric-overflow-menu[hidden], #boards .metric-menu-option[hidden] { display:none!important; }
#boards .board-dim-picker .metric-menu-option { display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:36px;height:auto;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:var(--fw-ink);font:500 12px/17.4px var(--fw-font-sans,'Inter',sans-serif);text-align:left;white-space:normal; }
#boards .metric-menu-option:hover:not(:disabled), #boards .metric-menu-option[aria-checked="true"] { background:var(--fw-surface-01, #F4F0EC);color:var(--fw-accent, #A71E7E); }
#boards .metric-menu-option:disabled { opacity:.5; }
#boards .metric-menu-check { flex:none;width:14px;height:14px;visibility:hidden; }
#boards .metric-menu-option[aria-checked="true"] .metric-menu-check { visibility:visible; }
#boards .board-chart-stage { position:relative; }
#boards .chart-transition-host { position:absolute;z-index:3;pointer-events:none;overflow:hidden; }
#boards .chart-transition-host:empty { display:none; }
#boards .chart-transition-host .board-chart-stage { width:100%;margin:0;pointer-events:none; }
@media(max-width:640px) {
  #boards .board-chart-meta { flex-wrap:wrap;gap:12px; }
  #boards .board-chart-identity { flex:1 1 100%;min-width:0;max-width:100%; }
  #boards .board-dim-picker { flex:1 1 100%;width:100%;margin-left:0; }
  #boards .metric-inline { justify-content:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
  #boards .chart-transition-host { display:none!important; }
}
@media print {
  #boards .chart-transition-host, #boards .metric-overflow-trigger, #boards .metric-overflow-menu { display:none!important; }
  #boards .board-dim-picker .metric-inline { flex-wrap:wrap!important; }
  #boards .metric-inline .dim-btn[data-in-overflow="true"] { position:static;visibility:visible; }
}
/* Controls and their menu stay above the plotted scene and its inert fade layer. */
#boards .board-chart-meta { position:relative;z-index:15; }
#boards .board-chart-stage { z-index:1; }

.reasoning-filter { margin:0 0 16px; }
.reasoning-toggle { display:flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:6px 0;border:0;background:transparent;color:var(--fw-ink, #16181D);font:500 11px/1.6 var(--fw-font-label, 'JetBrains Mono', monospace);letter-spacing:.04em;text-transform:uppercase;text-align:left;cursor:pointer; }
.reasoning-toggle:focus-visible { outline:3px solid var(--fw-brand, #6726FE);outline-offset:3px; }
.reasoning-switch { display:block;position:relative;flex:0 0 32px;width:32px;height:20px;border:1px solid var(--fw-ink-muted, #696969);border-radius:9999px;background:var(--fw-surface, #FFFFFF); }
.reasoning-switch::after { content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:var(--fw-ink-muted, #696969); }
.reasoning-toggle[aria-checked="true"] .reasoning-switch { border-color:var(--fw-brand, #6726FE);background:var(--fw-brand, #6726FE); }
.reasoning-toggle[aria-checked="true"] .reasoning-switch::after { left:15px;background:var(--fw-surface, #FFFFFF); }
.reasoning-filter-note { margin:2px 0 0 42px;color:var(--fw-ink-secondary, #5A5E63);font:400 12px/1.5 var(--fw-font-sans, 'Inter', sans-serif); }

#boards .board-chart[data-chart-transition="running"] .board-chart-body > .board-chart-stage { overflow:clip; }

#boards .board-dim-picker[data-menu-side="above"] .metric-overflow-menu { top:auto;bottom:calc(100% + 8px); }
