.zz-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
  margin: 0 0 1.5rem;
}

.zz-chart-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  padding: 1.25rem 1.35rem 1.3rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px rgba(15, 23, 42, 0.05);
}

.zz-chart-card h2 {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  min-height: 0 !important;
  max-width: none !important;
  line-height: 1.3 !important;
}

.zz-chart-empty {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  align-self: center;
}

.zz-chart {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.4rem;
  align-items: center;
}

.zz-chart-visual {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
}

.zz-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 16px 22px rgba(71, 85, 105, 0.22));
  animation: zz-chart-in 0.7s cubic-bezier(0.22, 0.8, 0.28, 1) both;
}

.zz-chart-track {
  fill: #eef3f7;
}

.zz-chart-track-hole {
  fill: #fff;
}

.zz-chart-slice {
  cursor: pointer;
  transform-box: view-box;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.28, 1), opacity 0.2s ease;
}

.zz-chart-slice path {
  stroke: none;
}

.zz-chart.is-dim .zz-chart-slice {
  opacity: 0.72;
}

.zz-chart.is-dim .zz-chart-slice.is-on,
.zz-chart-slice:hover,
.zz-chart-slice:focus,
.zz-chart-slice.is-on {
  opacity: 1;
  outline: none;
  transform: translate(var(--ox, 0), var(--oy, 0));
}

.zz-chart-pct {
  fill: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  pointer-events: none;
  paint-order: stroke fill;
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 0.6;
}

.zz-chart-hole {
  position: absolute;
  inset: 27.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.35rem;
  pointer-events: none;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    inset 0 8px 18px rgba(15, 23, 42, 0.12),
    inset 0 -2px 6px rgba(255, 255, 255, 0.85);
}

.zz-chart-hole strong {
  font-size: clamp(0.95rem, 2.6vw, 1.45rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b3a5b;
}

.zz-chart-hole span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #8a94a6;
  margin-top: 0.15rem;
  font-weight: 500;
}

.zz-chart-legend {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zz-chart-legend li {
  display: grid;
  grid-template-columns: 8px 1fr auto auto;
  gap: 0.45rem 0.65rem;
  align-items: center;
  padding: 0.42rem 0.5rem;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.zz-chart-legend li:hover,
.zz-chart-legend li.is-on {
  background: #f4f8fb;
}

.zz-chart-legend i {
  width: 8px;
  height: 22px;
  border-radius: 99px;
}

.zz-chart-legend span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a;
}

.zz-chart-legend b {
  font-weight: 700;
  white-space: nowrap;
  color: #0f172a;
}

.zz-chart-legend em {
  font-style: normal;
  color: #475569;
  background: #f1f5f9;
  border-radius: 999px;
  min-width: 2.6rem;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
}

@keyframes zz-chart-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.zz-dash-insights {
  margin: 0 0 1.2rem;
  color: #444;
  font-size: 14px;
}

.zz-sales-hero {
  background: linear-gradient(135deg, #00a0e3 0%, #0077b3 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.65rem 1.4rem;
  margin: 0 0 1.5rem;
}

.zz-dash > .zz-sales-hero,
.zz-dash > .zz-share-cta {
  margin-top: 0.4rem;
}

.zz-sales-hero .zz-kicker {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.35rem;
}

.zz-sales-hero h2 {
  color: #fff !important;
  font-size: clamp(1.4rem, 2.4vw, 2rem) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 0 0.45rem !important;
  line-height: 1.2 !important;
}

.zz-sales-hero p {
  margin: 0;
  opacity: 0.95;
}

.zz-sales-hero__lead {
  margin-top: 0.65rem !important;
  font-weight: 600;
}

.zz-share-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  margin: 0 0 2rem;
}

.zz-share-cta h2,
.zz-share-cta p,
.zz-share-cta code {
  color: #fff;
}

.zz-share-cta h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  min-height: 0 !important;
}

.zz-share-cta p {
  margin: 0 0 0.55rem;
}

.zz-share-cta code {
  display: block;
  word-break: break-all;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
}

.zz-share-cta .button {
  background: #00a0e3;
  color: #fff;
  border: 0;
}

.zz-share-cta .zz-qr {
  background: #fff;
  padding: 0.6rem;
  border-radius: 12px;
  margin: 0;
}

@media (max-width: 720px) {
  .zz-chart,
  .zz-share-cta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .zz-chart-legend {
    width: 100%;
  }

  .zz-share-cta {
    text-align: left;
  }
}
