.ranking-note {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #f2d39a;
  border-radius: 14px;
  background: #fff7e9;
}
.ranking-note p { margin: 4px 0 0; color: #5e513d; }
.ranking-chart,
.influence-map {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7faff;
}
.ranking-chart figcaption,
.influence-map figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.ranking-chart figcaption strong,
.influence-map figcaption strong { font: 700 19px "Space Grotesk", sans-serif; }
.ranking-chart figcaption span,
.influence-map figcaption span { color: var(--muted); font-size: 12px; }
.ranking-chart ol { margin: 0; padding: 0; list-style: none; }
.ranking-chart li {
  display: grid;
  grid-template-columns: 160px 1fr 38px;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
}
.ranking-chart li > span { font-size: 13px; font-weight: 700; }
.ranking-chart li i {
  display: block;
  width: var(--rank-width);
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  box-shadow: 0 5px 12px rgba(47, 110, 229, .14);
}
.ranking-chart li b { color: var(--blue); font-size: 13px; }
.ranking-chart > small,
.influence-map > small { display: block; margin-top: 16px; color: var(--muted); }
.leader-profiles { display: grid; gap: 18px; margin: 30px 0; }
.leader-card {
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 50, 90, .06);
}
.leader-media { position: relative; align-self: start; }
.leader-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 15px;
  background: #e7edf5;
}
.leader-media > span {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  min-width: 45px;
  height: 38px;
  padding: 0 9px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.company-logo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 58px;
  height: 45px;
  padding: 8px;
  object-fit: contain;
  border-radius: 9px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
}
.company-logo.wide { width: 86px; }
.leader-card h3 { margin: 2px 0 8px; font: 700 27px "Space Grotesk", sans-serif; }
.leader-card > div:last-child > p:not(.leader-company) { margin: 0; color: #4d5b70; }
.leader-card ul { margin: 14px 0 0; padding-left: 20px; }
.leader-card li { margin: 5px 0; font-size: 14px; }
.leader-company {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.leader-media.double { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.leader-media.double .leader-photo { height: 220px; aspect-ratio: auto; }
.dual-logos { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 5px; }
.dual-logos .company-logo { position: static; width: 48px; height: 40px; }
.dual-logos .company-logo.wide { width: 80px; }
.comparison-wrap {
  margin: 30px 0;
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(20, 50, 90, .06);
}
.leader-table { width: 100%; min-width: 780px; border-collapse: collapse; background: #fff; font-size: 13px; }
.leader-table caption {
  padding: 16px;
  background: var(--navy);
  color: #fff;
  font: 700 18px "Space Grotesk", sans-serif;
  text-align: left;
}
.leader-table th,
.leader-table td { padding: 13px 14px; border: 1px solid #d9e1eb; text-align: left; vertical-align: middle; }
.leader-table th { background: #dceafe; color: #18345e; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.leader-table tbody tr:nth-child(even) { background: #f5f8fc; }
.leader-table td:first-child { text-align: center; font-weight: 800; color: var(--blue); }
.influence-map { overflow-x: auto; }
.influence-grid {
  display: grid;
  grid-template-columns: minmax(150px, 1.7fr) repeat(5, minmax(88px, 1fr));
  min-width: 700px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.influence-grid > * {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.influence-grid > b { background: var(--navy); color: #fff; font-size: 11px; }
.influence-grid > strong { justify-content: start; background: #fff; font-size: 12px; }
.influence-grid > i { background: #fff; color: #91a0b5; font-size: 18px; font-style: normal; }
.influence-grid > i.high { color: var(--teal); }
.leader-table td:first-child { text-align: left; color: var(--ink); }
.systems-chart { margin: 30px 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #f4f6fa; }
.systems-chart figcaption { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.systems-chart figcaption strong { font: 700 19px "Space Grotesk", sans-serif; }
.systems-chart figcaption span { color: var(--muted); font-size: 12px; }
.system-row { display: grid; grid-template-columns: 190px 1fr 34px; gap: 12px; align-items: center; margin: 11px 0; }
.system-row span { color: #4f5d70; font-size: 12px; text-align: right; }
.system-row i { display: block; width: var(--score); height: 32px; border-radius: 0 8px 8px 0; background: linear-gradient(90deg, #2d64e8, #416ff0); box-shadow: 0 5px 12px rgba(45, 100, 232, .15); }
.system-row b { color: #465267; font-size: 12px; }
.systems-chart > small { display: block; margin-top: 17px; color: var(--muted); }
.leaders-module { border-color: #64c9bf; box-shadow: 0 16px 38px rgba(15, 159, 145, .1); }
.photo-credits { margin-top: 24px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); font-size: 13px; }
.photo-credits summary { cursor: pointer; color: var(--ink); font-weight: 800; }
.photo-credits p { margin-bottom: 0; }

@media (max-width: 850px) {
  .leader-card { grid-template-columns: 180px 1fr; }
  .leader-media.double .leader-photo { height: 175px; }
}
@media (max-width: 560px) {
  .ranking-chart { padding: 17px; }
  .ranking-chart figcaption,
  .influence-map figcaption { display: block; }
  .ranking-chart li { grid-template-columns: 110px 1fr 30px; gap: 7px; }
  .ranking-chart li > span { font-size: 11px; }
  .leader-card { grid-template-columns: 1fr; padding: 16px; }
  .leader-media { max-width: 280px; }
  .leader-media.double .leader-photo { height: 180px; }
  .leader-card h3 { font-size: 24px; }
  .systems-chart { padding: 16px; }
  .systems-chart figcaption { display: block; }
  .system-row { grid-template-columns: 105px 1fr 26px; gap: 7px; }
  .system-row span { font-size: 10px; }
  .system-row i { height: 25px; }
}
