.source-figure {
  margin: 1.4rem 0 1.7rem;
  padding: clamp(.75rem, 3vw, 1.25rem);
  border: 1px solid #dce5e9;
  border-radius: .625rem;
  color: #20344e;
  font-size: .875rem;
  line-height: 1.6;
}

.source-figure figcaption {
  margin-block-end: .75rem;
  font-size: 1.125rem;
  font-weight: 750;
  line-height: 1.45;
}

.article-body .source-figure h3 {
  margin: 0 0 .35rem;
  font-size: .9375rem;
}

.article-body .source-figure p { margin: 0; }
.source-figure small { color: #526778; }

.article-body .source-figure .note,
.article-body .source-figure .illustration-note {
  margin-block-start: .75rem;
  padding-block-start: .55rem;
  border-block-start: 1px solid #dce5e9;
  color: #526778;
  font-size: .8125rem;
}

.source-figure svg { display: block; width: 100%; height: auto; }
.source-figure .figure-scroll,
.source-figure .comparison-scroll { overflow-x: auto; }
.source-figure .figure-scroll svg { min-width: 34rem; }
.source-figure .comparison-scroll table { min-width: 27rem; }
.article-body .source-figure .figure-scroll-note {
  display: none;
  margin-block-end: .35rem;
  color: #526778;
  font-size: .8125rem;
}

.source-figure [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.article-body .source-figure table {
  margin: .65rem 0;
  font-size: .8125rem;
}

.article-body .source-figure th,
.article-body .source-figure td {
  padding: .45rem .4rem;
  border: 0;
  border-block-end: 1px solid #e0e8ef;
  color: inherit;
}

.article-body .source-figure th { background: #edf3fa; }

.source-figure--search .cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem;
}

.source-figure--search .panel {
  padding: .75rem;
  border: 1px solid #dbe5ef;
  border-radius: .625rem;
}

.source-figure--search .surface-labels { display: flex; flex-wrap: wrap; gap: .375rem; }
.source-figure--search .surface-label { padding: .25rem .4rem; border-radius: .875rem; background: #edf3fa; }
.source-figure--search .cross-arrow { color: #507cac; font-size: 1.375rem; text-align: center; }
.source-figure--search .bar,
.source-figure--search .track { overflow: hidden; border-radius: .25rem; background: #e8eef5; }
.source-figure--search .bar { display: flex; height: 1rem; margin: .5rem 0; }
.source-figure--search .track { height: .8125rem; margin: .25rem 0; }
.source-figure--search .bar i,
.source-figure--search .fill { height: 100%; background: #507cac; }
.source-figure--search .bar b,
.source-figure--search .fill.video { background: #a9c4e0; }
.source-figure--search .decision { color: #315d8a; font-weight: 700; }
.source-figure--search .comparison-scroll td { vertical-align: middle; }
.source-figure--search .width-20 { width: 20%; }
.source-figure--search .width-21 { width: 21%; }
.source-figure--search .width-25 { width: 25%; }
.source-figure--search .width-27 { width: 27%; }
.source-figure--search .width-60 { width: 60%; }
.source-figure--search .width-80 { width: 80%; }
.source-figure--search .width-90 { width: 90%; }

.source-figure--analytics .row { display: flex; align-items: stretch; gap: .625rem; }

.source-figure--analytics .cell {
  flex: 1;
  min-width: 0;
  padding: .75rem;
  border: 1px solid #dce5e9;
  border-radius: .5rem;
  background: #f5f8fa;
  text-align: center;
  overflow-wrap: anywhere;
}

.source-figure--analytics .blue { border-color: #a8c6e7; background: #eaf2fb; color: #214c76; }
.source-figure--analytics .teal { border-color: #a3cfc0; background: #e9f6f2; color: #215c4e; }
.source-figure--analytics .amber { border-color: #e6c88c; background: #fff5e5; color: #79501a; }
.source-figure--analytics .arrow { flex: none; align-self: center; color: #6c8190; font-size: 1.25rem; }
.source-figure--analytics .down-arrow { color: #6c8190; font-size: 1.375rem; text-align: center; }
.source-figure--analytics .label { margin-block-end: .375rem; color: #526674; font-size: .8125rem; font-weight: 700; }
.source-figure--analytics .lane,
.source-figure--analytics .spaced { margin-block: .75rem; }
.source-figure--analytics .metric { font-size: 1.5rem; font-weight: 750; line-height: 1.3; font-variant-numeric: tabular-nums; }
.source-figure--analytics .bar { display: flex; height: 1.5rem; margin: .625rem 0; overflow: hidden; border-radius: .3rem; }
.source-figure--analytics .human { background: #5d86b3; }
.source-figure--analytics .ai { background: #d5a24e; }
.source-figure--analytics .width-full { width: 100%; }
.source-figure--analytics .width-five-sixths { width: 83.333%; }
.source-figure--analytics .width-sixth { width: 16.667%; }
.article-body .source-figure--analytics .legend { margin-block-start: .625rem; }
.source-figure--analytics .legend-human { color: #3f6695; }
.source-figure--analytics .legend-ai { color: #865d15; }

.source-figure--analytics .tag {
  display: inline-block;
  padding: .125rem .45rem;
  border-radius: .25rem;
  background: #dce9f6;
  color: #234f7e;
  font-size: .75rem;
  font-weight: 700;
}

.source-figure--analytics .tag-amber { background: #fff0d5; color: #79501a; }
.source-figure--analytics .stack { display: grid; gap: .5rem; }
.source-figure--analytics .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.source-figure--analytics .branch { padding-inline-start: .75rem; border-inline-start: 3px solid #9eb7c9; }
.source-figure--analytics .divider { margin-block: .75rem; border-block-start: 1px solid #dce5e9; }
.source-figure--analytics .big { font-size: .9375rem; font-weight: 750; }
.source-figure--analytics .left { text-align: start; }

@media (max-width: 39rem) {
  .article-body .source-figure .figure-scroll-note { display: block; }
}

@media (min-width: 31.5rem) {
  .article-body .source-figure .figure-scroll-note--table { display: none; }
}

@media (max-width: 34rem) {
  .source-figure--search .cols,
  .source-figure--analytics .split { grid-template-columns: 1fr; }
  .source-figure--analytics .row { flex-direction: column; gap: .375rem; }
  .source-figure--analytics .arrow { transform: rotate(90deg); line-height: 1; }
  .source-figure--analytics .cell { padding: .55rem; }
}
