.asc-chart {
  position: relative;
  width: 100%;
  min-height: 14rem;
}

.asc-chart__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.asc-chart__grid path {
  display: none;
}

.asc-chart__grid line {
  stroke: rgba(148, 163, 184, 0.2);
  stroke-dasharray: 4 4;
}

.asc-chart__axis path,
.asc-chart__axis line {
  stroke: rgba(148, 163, 184, 0.35);
}

.asc-chart__axis text {
  fill: var(--bs-secondary-color, #8592a3);
  font-size: 0.72rem;
  font-weight: 600;
}

.asc-chart__value {
  fill: var(--bs-emphasis-color, #22303e);
  font-size: 0.75rem;
  font-weight: 700;
}

.asc-chart__line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.asc-chart__line--trend {
  stroke-width: 3.2;
}

.asc-chart__area {
  pointer-events: none;
}

.asc-chart__dot {
  stroke: var(--bs-body-bg, #fff);
  stroke-width: 2;
}

.asc-chart__dot--trend {
  stroke-width: 2.5;
}

.asc-chart__point-label {
  fill: var(--bs-emphasis-color, #22303e);
  font-size: 0.64rem;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--bs-body-bg, #fff);
  stroke-width: 3;
  stroke-linejoin: round;
}

.asc-chart__arc-label {
  fill: var(--bs-body-bg, #fff);
  font-size: 0.72rem;
  font-weight: 700;
  pointer-events: none;
}

.asc-chart__center-label {
  fill: var(--bs-secondary-color, #8592a3);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.asc-chart__center-value {
  fill: var(--bs-emphasis-color, #22303e);
  font-size: 1.4rem;
  font-weight: 800;
}

.asc-chart__tooltip {
  position: absolute;
  inset: auto auto 0 0;
  z-index: 5;
  min-width: 9rem;
  max-width: 14rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(34, 48, 62, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.14);
  color: var(--bs-emphasis-color, #22303e);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0.35rem, 0);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.asc-chart__tooltip.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.asc-chart__tooltip-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--bs-secondary-color, #8592a3);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.asc-chart__tooltip-value {
  display: block;
  color: var(--bs-emphasis-color, #22303e);
  font-size: 0.95rem;
  font-weight: 800;
}

.asc-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
}

.asc-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--bs-body-color, #566a7f);
  font-size: 0.82rem;
  font-weight: 600;
}

.asc-chart__legend-swatch {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.asc-chart__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.38);
  border-radius: 1rem;
  color: var(--bs-secondary-color, #8592a3);
  font-size: 0.9rem;
  text-align: center;
}

.asc-analytics-widget-chart {
  padding: 0.5rem 0 0.25rem;
}

.asc-analytics-widget-chart .asc-chart {
  min-height: 16rem;
}

@media (max-width: 575.98px) {
  .asc-chart__tooltip {
    min-width: 8rem;
    max-width: 11rem;
  }

  .asc-chart__axis text {
    font-size: 0.68rem;
  }
}