.ccc25-annual-report-line-graph {
  --ccc25-text: #fff;
  --ccc25-grid: #d7ddd9;
  --ccc25-axis: #9aa7a1;
  --ccc25-combined: #b1dae3;
  --ccc25-galleria: #f15732;
  --ccc25-energy: #9dc5ce;
  --ccc25-tooltip-bg: rgba(3, 24, 43, 0.96);
  --ccc25-tooltip-text: #ffffff;

  color: var(--ccc25-text);
  position: relative;
  font-family: inherit;
}

.ccc25-annual-report-line-graph__canvas-wrap {
  position: relative;
  width: 100%;
}

.ccc25-annual-report-line-graph__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ccc25-annual-report-line-graph__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 18px;
  padding-top: 18px;
}

.ccc25-annual-report-line-graph__legend-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ccc25-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.ccc25-annual-report-line-graph__legend-btn:not(.is-active) {
  opacity: 0.55;
}

.ccc25-annual-report-line-graph__legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 14px;
}

.ccc25-annual-report-line-graph__legend-dot--combined {
  background: var(--ccc25-combined);
}
.ccc25-annual-report-line-graph__legend-dot--galleria {
  background: var(--ccc25-galleria);
}
.ccc25-annual-report-line-graph__legend-dot--energy {
  background: var(--ccc25-energy);
}

.ccc25-annual-report-line-graph__tooltip {
  position: absolute;
  z-index: 5;
  min-width: 220px;
  max-width: 280px;
  background: var(--ccc25-tooltip-bg);
  color: var(--ccc25-tooltip-text);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.ccc25-annual-report-line-graph__tooltip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}

.ccc25-annual-report-line-graph .ccc25-grid-line {
  stroke: var(--ccc25-grid);
  stroke-width: 1;
}

.ccc25-annual-report-line-graph .ccc25-axis-line {
  stroke: var(--ccc25-axis);
  stroke-width: 1.5;
}

.ccc25-annual-report-line-graph .ccc25-axis-label,
.ccc25-annual-report-line-graph .ccc25-tick-label {
  fill: var(--ccc25-text);
  font-size: 15px;
  line-height: 1;
}
.ccc25-annual-report-line-graph .ccc25-series-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.2s ease;
  opacity: 1;
}

.ccc25-annual-report-line-graph .ccc25-series-line[data-series='combined'] {
  stroke: var(--ccc25-combined);
  stroke-width: 4;
}

.ccc25-annual-report-line-graph .ccc25-series-line[data-series='galleria'] {
  stroke: var(--ccc25-galleria);
  stroke-width: 3.5;
}

.ccc25-annual-report-line-graph .ccc25-series-line[data-series='energy'] {
  stroke: var(--ccc25-energy);
  stroke-width: 3.5;
}

.ccc25-annual-report-line-graph .ccc25-series-line.is-drawing {
  animation: ccc25-draw-line 3.2s ease forwards;
}

.ccc25-annual-report-line-graph .ccc25-point {
  cursor: pointer;
  transition: opacity 0.2s ease;
  opacity: 0;
}

.ccc25-annual-report-line-graph .ccc25-point.is-visible {
  animation: ccc25-point-fade-in 0.35s ease forwards;
}

.ccc25-annual-report-line-graph .ccc25-point[data-series='combined'] {
  fill: var(--ccc25-combined);
}
.ccc25-annual-report-line-graph .ccc25-point[data-series='galleria'] {
  fill: var(--ccc25-galleria);
}
.ccc25-annual-report-line-graph .ccc25-point[data-series='energy'] {
  fill: var(--ccc25-energy);
}

.ccc25-annual-report-line-graph .ccc25-series-faded {
  opacity: 0.12 !important;
}

@keyframes ccc25-draw-line {
  from {
    stroke-dashoffset: var(--path-length);
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ccc25-point-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccc25-annual-report-line-graph .ccc25-series-line.is-drawing,
  .ccc25-annual-report-line-graph .ccc25-point.is-visible {
    animation: none !important;
  }

  .ccc25-annual-report-line-graph .ccc25-point {
    opacity: 1;
  }
}

/* Tax revenue impact donut charts */
.ccc25-tax-revenue-impact {
  --ccc25-tax-text: #ffffff;
  --ccc25-tax-heading: #ffffff;
  --ccc25-tax-track: rgba(255, 255, 255, 0.14);
  --ccc25-tax-galleria: #c27258;
  --ccc25-tax-energy: #aec07c;
  --ccc25-tax-border: rgba(255, 255, 255, 0.28);

  color: var(--ccc25-tax-text);
  font-family: inherit;
}

.ccc25-tax-revenue-impact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  align-items: start;
}

.ccc25-tax-revenue-impact__item {
  min-width: 0;
}

.ccc25-tax-revenue-impact__header {
  margin-bottom: 16px;
}

.ccc25-tax-revenue-impact__title {
  margin: 0 0 8px;
  color: var(--ccc25-tax-heading);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ccc25-tax-revenue-impact__description {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.ccc25-tax-revenue-impact__chart-wrap {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.ccc25-tax-revenue-impact__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.ccc25-tax-revenue-impact__track {
  fill: none;
  stroke: var(--ccc25-tax-track);
  stroke-width: 24;
}

.ccc25-tax-revenue-impact__segment {
    fill: none;
    stroke-width: 24;
    stroke-linecap: round;
}

.ccc25-tax-revenue-impact__segment--galleria {
  stroke: var(--ccc25-tax-galleria);
}

.ccc25-tax-revenue-impact__segment--energy {
  stroke: var(--ccc25-tax-energy);
}

.ccc25-tax-revenue-impact__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 22%;
}

.ccc25-tax-revenue-impact__center-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.ccc25-tax-revenue-impact__center-value {
  display: block;
  font-size: clamp(28px, 2vw, 32px);
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
}

.ccc25-tax-revenue-impact__legend {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ccc25-tax-border);
}

.ccc25-tax-revenue-impact__legend-label {
  min-width: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

.ccc25-tax-revenue-impact__legend-value {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.ccc25-tax-revenue-impact__legend-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.ccc25-tax-revenue-impact__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.ccc25-tax-revenue-impact__legend-dot--galleria {
  background: var(--ccc25-tax-galleria);
}

.ccc25-tax-revenue-impact__legend-dot--energy {
  background: var(--ccc25-tax-energy);
}

@media (prefers-reduced-motion: reduce) {
  .ccc25-tax-revenue-impact__segment {
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  .ccc25-tax-revenue-impact__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ccc25-tax-revenue-impact__chart-wrap {
    width: min(100%, 280px);
  }
}

@media (max-width: 768px) {
  .ccc25-annual-report-line-graph .ccc25-axis-label,
  .ccc25-annual-report-line-graph .ccc25-tick-label {
    font-size: 13px;
  }

  .ccc25-annual-report-line-graph__legend-btn {
    font-size: 14px;
    line-height: 1.3;
  }

  .ccc25-tax-revenue-impact__title {
    font-size: 20px;
    line-height: 1.2;
  }

  .ccc25-tax-revenue-impact__description,
  .ccc25-tax-revenue-impact__legend-label {
    font-size: 15px;
    line-height: 1.35;
  }

  .ccc25-tax-revenue-impact__legend-value {
    font-size: 16px;
    line-height: 1.2;
  }

  .ccc25-tax-revenue-impact__center-label {
    font-size: 13px;
  }

  .ccc25-tax-revenue-impact__center-value {
    font-size: 28px;
    line-height: 1.1;
  }

  .ccc25-tax-revenue-impact__center {
    padding: 0 18%;
  }
}
