.editorial-contents {
  margin-block-end: 2rem;
  padding: .9rem clamp(.75rem, 3vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: .625rem;
  background: var(--muted);
  font-size: .9375rem;
}

.editorial-contents p { margin: 0; font-weight: 700; }
.editorial-contents ul { margin: .3rem 0 0; padding-inline-start: 1.4rem; }

.editorial-figure {
  --figure-border: #d4dce5;
  --figure-bg: #f8fafc;
  --figure-blue: #1765a9;
  --figure-teal: #126b71;
  margin: 1.4rem 0 1.7rem;
  padding: clamp(.75rem, 3vw, 1.25rem);
  border: 1px solid var(--figure-border);
  border-radius: .625rem;
  font-size: .875rem;
  line-height: 1.6;
}

.editorial-figure figcaption {
  margin-block-end: .875rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
}

.editorial-figure p { margin: .35rem 0 0; }
.editorial-figure .figure-note {
  margin-block-start: .8rem;
  padding-block-start: .55rem;
  border-block-start: 1px solid var(--figure-border);
  font-size: .8125rem;
}

.editorial-figure .flex {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.editorial-figure .box,
.editorial-figure .tile,
.editorial-figure .node {
  min-width: 0;
  padding: .65rem .75rem;
  border: 1px solid var(--figure-border);
  border-radius: .5rem;
  background: var(--figure-bg);
  overflow-wrap: anywhere;
}

.editorial-figure .box { flex: 1 1 7.5rem; }
.editorial-figure .accent { border-color: #78a9e4; background: #edf5ff; }
.editorial-figure .ai { border-color: #8ab9b6; background: #e7f4f3; }
.editorial-figure .muted { color: var(--sub); }
.editorial-figure .tag { color: var(--figure-blue); font-size: .8125rem; font-weight: 700; }
.editorial-figure .card-heading { margin: .3rem 0; color: var(--ink); font-weight: 700; }
.editorial-figure .arrow { flex: none; color: #52697c; text-align: center; font-weight: 700; }
.editorial-figure .centered,
.editorial-figure .review-result { text-align: center; }
.editorial-figure .review-result { font-weight: 700; }

.editorial-figure .position-example { align-items: center; }
.editorial-figure .search-page {
  position: relative;
  flex: none;
  width: 9rem;
  height: 13.75rem;
  padding: .5rem;
  border: 1px solid #9daabd;
  border-radius: .3rem;
}

.editorial-figure .search-header { height: .75rem; border-radius: .2rem; background: #dce3eb; }
.editorial-figure .search-result { height: 1.3rem; margin-block-start: .55rem; background: #edf1f5; }
.editorial-figure .search-product {
  position: absolute;
  inset: 25% .5rem auto;
  display: grid;
  place-items: center;
  height: 3rem;
  border: 1px solid #78a9e4;
  border-radius: .25rem;
  background: #d8eaff;
  color: var(--figure-blue);
  font-weight: 700;
}

.editorial-figure .more-results {
  position: absolute;
  inset: 53% .5rem .55rem;
  background: repeating-linear-gradient(to bottom, #edf1f5 0 1.25rem, #fff 1.25rem 1.75rem);
}

.editorial-figure .position-calculation { flex-basis: 9.7rem; }
.editorial-figure .calculation-rule { border: 0; border-block-start: 1px solid var(--figure-border); }
.editorial-figure .big { color: var(--figure-blue); font-size: 1.55rem; font-weight: 700; }

.editorial-figure .bar-row,
.editorial-figure .bar-scale {
  display: grid;
  grid-template-columns: minmax(4.2rem, 6.75rem) minmax(1rem, 1fr) 3rem;
  align-items: center;
  gap: .5rem;
}

.editorial-figure .bar-row { margin-block: .85rem; }
.editorial-figure .bar-row > :last-child { text-align: end; }
.editorial-figure .line,
.editorial-figure .bar { height: .5rem; border-radius: .3rem; background: #e3e8ef; }
.editorial-figure .full-match { width: 61.7%; background: #397fc4; }
.editorial-figure .partial-match { width: 63.2%; background: #829bb5; }
.editorial-figure .no-match { width: 65.7%; background: #829bb5; }
.editorial-figure .bar-scale { position: relative; color: var(--sub); font-size: .75rem; }
.editorial-figure .bar-scale > span { grid-area: 1 / 2; }
.editorial-figure .bar-scale > :last-child { justify-self: end; }

.editorial-figure .title-before { margin-block-end: .75rem; }
.editorial-figure .title-after { font-size: 1.0625rem; }
.editorial-figure .title-highlight { color: var(--figure-blue); }
.editorial-figure .pills { display: flex; flex-wrap: wrap; gap: .3rem; }
.editorial-figure .title-keywords { margin-block-start: .55rem; }
.editorial-figure .pill {
  padding: .2rem .5rem;
  border-radius: .25rem;
  background: #e5effa;
  color: #174d83;
  font-weight: 650;
}

.editorial-figure .grid,
.editorial-figure .split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

.editorial-figure .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-figure .tile,
.editorial-figure .node { text-align: center; }
.editorial-figure .grid strong { display: block; color: var(--figure-teal); font-size: clamp(1.1rem, 4.25vw, 1.7rem); }
.editorial-figure .grid span { font-size: .8125rem; }
.editorial-figure .flow { display: flex; align-items: center; gap: .45rem; margin-block: .4rem .75rem; }
.editorial-figure .flow .node { flex: 1; }
.editorial-figure .label { margin-block: .65rem .3rem; color: var(--sub); font-size: .8125rem; font-weight: 700; }
.editorial-figure .vflow { display: grid; gap: .25rem; width: min(100%, 32rem); margin-inline: auto; }
.editorial-figure .step {
  display: grid;
  grid-template-columns: minmax(5.5rem, 30%) minmax(0, 1fr);
  gap: .5rem;
  padding: .6rem .3rem;
  border-block-end: 1px solid var(--figure-border);
}

.editorial-figure .step b { color: var(--figure-teal); }
.editorial-figure .step small { display: block; color: var(--sub); font-size: .8125rem; }

@media (max-width: 30rem) {
  .editorial-figure .grid { gap: .35rem; }
  .editorial-figure .tile,
  .editorial-figure .node { padding: .45rem .3rem; }
  .editorial-figure .grid .tile,
  .editorial-figure .flow .node { font-size: .8125rem; }
  .editorial-figure .flow { gap: .25rem; }
}

@media (max-width: 24rem) {
  .editorial-figure .bar-row,
  .editorial-figure .bar-scale { grid-template-columns: 5.5rem minmax(1rem, 1fr) 2.7rem; }
  .editorial-figure .grid span { font-size: .75rem; }
}
