/* Infographics — light theme */
.infographic {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.infographic svg {
  width: 100%;
  height: auto;
  display: block;
}

.viz-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.viz-panel.lg {
  padding: 1.5rem 1.35rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 0.85rem;
  text-align: left;
}

.stat .v {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.stat .v em {
  font-style: normal;
  color: var(--accent);
}

.stat .l {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.flow-track {
  display: grid;
}

.flow-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
  position: relative;
}

.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(22, 163, 74, 0.2));
}

.flow-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.8rem;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid #bbf7d0;
  position: relative;
  z-index: 1;
}

.flow-step h3 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--font);
  font-size: 1rem;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
  align-items: end;
  height: 160px;
  margin-top: 0.5rem;
}

.bar-chart .col {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.4rem;
  height: 100%;
  align-items: end;
}

.bar-chart .bar {
  width: 100%;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #4ade80, #16a34a);
  min-height: 8px;
}

.bar-chart .bar.muted {
  background: linear-gradient(180deg, #e5e5e5, #d4d4d4);
}

.bar-chart .lbl {
  text-align: center;
  font-size: 0.68rem;
  color: var(--faint);
  font-weight: 600;
}

.lane-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lane {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.lane.flash {
  border-color: #bbf7d0;
  background: linear-gradient(160deg, #ecfdf5, #fff 70%);
}

.lane h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: 0.95rem;
}

.lane p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.lane .tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.lane.flash .tag {
  color: var(--accent-2);
}

@media (max-width: 900px) {
  .stat-row,
  .lane-map {
    grid-template-columns: 1fr;
  }
}
