/* Scoped editorial performance figure. Shared colors come from article.css. */
.vcb-performance {
  --vcbp-border: var(--vcb-grid, #e3e3dc);
  color: var(--vcb-ink, #171715);
  background: var(--vcb-surface, #fcfcfa);
  border: 1px solid var(--vcbp-border);
  border-radius: 13px;
  padding: 25px 24px 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  min-width: 0;
  overflow: clip;
}
.vcb-performance *, .vcb-performance *::before, .vcb-performance *::after { box-sizing: border-box; }
.vcb-performance button, .vcb-performance select { font: inherit; }
.vcb-performance button { cursor: pointer; }
.vcb-performance [hidden] { display: none !important; }
.vcb-performance .vcbp-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.vcb-performance .vcbp-kicker { margin: 0 0 5px; font-size: 10px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--vcb-muted, #73736b); }
.vcb-performance .vcbp-title { margin: 0; font-family: inherit; font-size: 19px; font-weight: 560; line-height: 1.3; letter-spacing: -.035em; }
.vcb-performance .vcbp-sample { margin: 6px 0 0; font-size: 11px; color: var(--vcb-muted, #73736b); }
.vcb-performance .vcbp-actions { display: flex; align-items: center; gap: 6px; padding-top: 2px; flex-shrink: 0; }
.vcb-performance .vcbp-button {
  appearance: none; position: relative; border: 1px solid transparent; border-radius: 6px;
  padding: 6px 10px; min-height: 31px; margin: 0; color: var(--vcb-muted, #73736b);
  background: transparent; line-height: 1.2; font-weight: 450;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.vcb-performance .vcbp-button:hover { color: var(--vcb-ink, #171715); background: color-mix(in srgb, var(--vcb-grid, #e3e3dc) 43%, transparent); }
.vcb-performance .vcbp-button:focus-visible, .vcb-performance select:focus-visible,
.vcb-performance summary:focus-visible, .vcb-performance a:focus-visible, .vcb-performance .vcbp-table-wrap:focus-visible {
  outline: 2px solid var(--vcb-accent, #49788a); outline-offset: 3px;
}
.vcb-performance .vcbp-replay { border-color: var(--vcbp-border); white-space: nowrap; font-size: 11px; }
.vcb-performance .vcbp-stop { font-size: 10px; white-space: nowrap; }
.vcb-performance .vcbp-axis-label { font-size: 9px; font-weight: 650; letter-spacing: .09em; color: var(--vcb-muted, #73736b); margin: 0 0 8px 8px; }
.vcb-performance .vcbp-charts { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; }
.vcb-performance .vcbp-panel { min-width: 0; margin: 0; padding: 0; }
.vcb-performance .vcbp-panel-unknown { border-left: 1px dashed var(--vcbp-border); padding-left: 15px; }
.vcb-performance .vcbp-panel-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 15px 0 43px; font-size: 10px; font-weight: 550; color: var(--vcb-ink, #171715); }
.vcb-performance .vcbp-panel-count { font-size: 9px; font-weight: 400; color: var(--vcb-muted, #73736b); white-space: nowrap; }
.vcb-performance .vcbp-host { position: relative; min-width: 0; height: 380px; margin-top: 5px; }
.vcb-performance .vcbp-story, .vcb-performance .vcbp-plot { position: absolute; inset: 0; width: 100%; height: 100%; }
.vcb-performance .vcbp-story { pointer-events: none; }
.vcb-performance .vcbp-story svg { display: block; width: 100%; height: 100%; overflow: visible; }
.vcb-performance .vcbp-plot { opacity: 0; pointer-events: none; }
.vcb-performance .vcbp-grid line { stroke: var(--vcb-grid, #e3e3dc); stroke-width: 1; }
.vcb-performance .vcbp-grid text { fill: var(--vcb-muted, #73736b); font-size: 11px; }
.vcb-performance .vcbp-axis-title { fill: var(--vcb-muted, #73736b); font-size: 10px; }
.vcb-performance .vcbp-frontier { stroke: var(--vcb-accent, #49788a); stroke-width: 1.6; stroke-linecap: round; opacity: .72; }
.vcb-performance .vcbp-leader { stroke: var(--vcb-muted, #73736b); stroke-width: .7; opacity: .5; }
.vcb-performance .vcbp-label-paper { fill: var(--vcb-surface, #fcfcfa); }
.vcb-performance .vcbp-model-label { fill: var(--vcb-ink, #171715); font-size: 11px; font-weight: 700; }
.vcb-performance .vcbp-detail-label { fill: var(--vcb-muted, #73736b); font-size: 10px; }
.vcb-performance .vcbp-controls { margin: 10px 0 0; padding-top: 15px; border-top: 1px solid var(--vcbp-border); }
.vcb-performance .vcbp-family-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.vcb-performance .vcbp-family { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; border-color: var(--vcbp-border); padding: 6px 9px; min-height: 28px; overflow: hidden; isolation: isolate; }
.vcb-performance .vcbp-family::before { content: ''; position: absolute; inset: 0; right: auto; width: var(--vcbp-tour-progress, 0%); background: var(--vcb-grid, #e3e3dc); z-index: -1; opacity: .8; }
.vcb-performance .vcbp-family[aria-pressed="true"] { border-color: color-mix(in srgb, var(--vcb-ink, #171715) 36%, var(--vcb-grid, #e3e3dc)); color: var(--vcb-ink, #171715); background: color-mix(in srgb, var(--vcb-grid, #e3e3dc) 30%, transparent); }
.vcb-performance .vcbp-swatch { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; }
.vcb-performance .vcbp-controls-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; margin-top: 13px; }
.vcb-performance .vcbp-model-select-label { display: inline-flex; align-items: center; gap: 8px; color: var(--vcb-muted, #73736b); font-size: 10px; flex-shrink: 0; margin: 0; }
.vcb-performance .vcbp-model-select { max-width: 220px; min-height: 30px; color: var(--vcb-ink, #171715); background: var(--vcb-surface, #fcfcfa); border: 1px solid var(--vcbp-border); border-radius: 5px; padding: 4px 28px 4px 9px; font-size: 10px; }
.vcb-performance .vcbp-status { flex: 1; min-width: 180px; margin: 0; font-size: 10px; color: var(--vcb-muted, #73736b); line-height: 1.5; }
.vcb-performance .vcbp-note { margin: 16px 0 20px; font-size: 10px; color: var(--vcb-muted, #73736b); line-height: 1.65; }
.vcb-performance .vcbp-data { margin: 0 -24px; border: 0; border-top: 1px solid var(--vcbp-border); border-radius: 0; background: transparent; font-size: 11px; }
.vcb-performance .vcbp-data summary { cursor: pointer; padding: 13px 24px; color: var(--vcb-muted, #73736b); font-size: 10px; font-weight: 500; letter-spacing: .015em; }
.vcb-performance .vcbp-data summary:hover { color: var(--vcb-ink, #171715); }
.vcb-performance .vcbp-table-wrap { max-width: 100%; overflow-x: auto; padding: 0 24px 17px; -webkit-overflow-scrolling: touch; }
.vcb-performance table { width: 100%; border-collapse: collapse; font-family: inherit; font-size: 10px; text-align: left; line-height: 1.5; margin: 0; }
.vcb-performance caption { text-align: left; color: var(--vcb-muted, #73736b); font-size: 10px; line-height: 1.6; padding: 0 0 12px; }
.vcb-performance th, .vcb-performance td { border: 0; border-bottom: 1px solid var(--vcbp-border); padding: 8px 12px 8px 0; white-space: nowrap; background: transparent; }
.vcb-performance thead th { font-weight: 550; color: var(--vcb-muted, #73736b); font-size: 9px; }
.vcb-performance tbody th { font-weight: 500; }
.vcb-performance td:nth-last-child(-n+2) { font-variant-numeric: tabular-nums; }
.vcb-performance .vcbp-source { display: inline-block; margin-left: 5px; color: var(--vcb-muted, #73736b); font-size: 9px; text-underline-offset: 2px; text-decoration: underline; }

@media (max-width: 980px) {
  .vcb-performance { padding: 20px 17px 0; }
  .vcb-performance .vcbp-charts { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vcb-performance .vcbp-panel-unknown { border-left: 0; border-top: 1px dashed var(--vcbp-border); padding: 17px 0 0; }
  .vcb-performance .vcbp-panel-label { font-size: 11px; }
  .vcb-performance .vcbp-panel-count { font-size: 10px; }
  .vcb-performance .vcbp-actions { flex-direction: column-reverse; align-items: flex-end; gap: 3px; }
  .vcb-performance .vcbp-title { font-size: 18px; }
  .vcb-performance .vcbp-data { margin: 0 -17px; }
  .vcb-performance .vcbp-data summary { padding-inline: 17px; }
  .vcb-performance .vcbp-table-wrap { padding-inline: 17px; }
}
@media (max-width: 420px) {
  .vcb-performance { padding: 18px 10px 0; border-radius: 10px; }
  .vcb-performance .vcbp-header { flex-direction: column; gap: 10px; }
  .vcb-performance .vcbp-actions { flex-direction: row; align-self: flex-start; align-items: center; }
  .vcb-performance .vcbp-title { font-size: 16px; letter-spacing: -.03em; }
  .vcb-performance .vcbp-sample { font-size: 10px; }
  .vcb-performance .vcbp-replay { padding-inline: 7px; }
  .vcb-performance .vcbp-family { min-height: 32px; }
  .vcb-performance .vcbp-status { min-width: 100%; }
  .vcb-performance .vcbp-data { margin: 0 -10px; }
  .vcb-performance .vcbp-data summary { padding-inline: 10px; }
  .vcb-performance .vcbp-table-wrap { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .vcb-performance *, .vcb-performance *::before { transition: none !important; animation: none !important; }
}
