.cssc-wrap {
  --blue: #006434;
  --dark: #0f172a;
  --grey: #001c0e;
  font-family: "tt-commons-pro", Sans-serif;
}

.cssc-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  /* padding: 28px; */
  /* box-shadow: 0 8px 30px rgba(0, 0, 0, .06); */
}

.cssc-headline {
  text-align: center;
  font-size: clamp(34px, 2.2vw, 28px);
  color: #006434;
  margin-bottom: 14px;
  font-weight: 700;
  font-family: "tt-commons-pro", Sans-serif;
}

.cssc-headline strong {
  /* color: var(--blue); */
  margin: 0 6px;
}

.cssc-cta {
  display: inline-block;
  margin: 10px auto 24px;
  padding: 12px 18px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.cssc-cta:hover {
  filter: brightness(0.95);
}

.cssc-slider {
  margin: 8px 0 18px;
  text-align: center;;
}

.cssc-slider-label {
  text-align: center;
  color: #001c0e;
  margin-bottom: 20px;
  font-size: 20px;
}

.cssc-quarterly-display {
  color: #0b1220;
}

.cssc-range {
  width: 100%;
  max-width: 60%;
  height: 6px;
  appearance: none;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) var(--fill, 0%), #e2e8f0 var(--fill, 0%), #e2e8f0 100%);
  accent-color: var(--blue);
}

.cssc-range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  cursor: pointer;
}

.cssc-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  cursor: pointer;
}


.cssc-bars {
  margin-top: 35px;
}

.cssc-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  gap: 14px;
  align-items: center;
  margin: 25px 0;
}

.cssc-row .label {
  color: #334155;
  font-size: 16px;
}

.cssc-row .save {
  color: var(--blue);
  font-weight: 600;
  font-size: 16px;
  text-align: right;
}

.cssc-bar-wrap {
  position: relative;
  width: 100%;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
}

.cssc-bar-grey,
.cssc-bar-dark,
.cssc-bar-blue {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 999px;
  transition: width .45s ease;
}

.cssc-bar-grey {
  background: #006434;
  z-index: 1;
}

.cssc-bar-dark {
  background: #0f172a;
  z-index: 2;
}

.cssc-bar-blue {
  background: #80e14f;
  z-index: 3;
}

.cssc-bar-grey {
  background: #006434;
}

/* dynamic “estimated cost without solar” */
.cssc-bar-dark {
  background: #006434;
}

/* “without solar” (emphasised on last row) */
.cssc-bar-blue {
  background: #80e14f;
}

/* “with solar” */

.cssc-axis {
  position: relative;
  height: 18px;
  margin-top: 8px;
}

.cssc-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 25px;
  color: #475569;
  font-size: 14px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.dot-grey {
  background: #F8F8F5;
}

.dot-dark {
  background: #006434;
}

.dot-blue {
  background: #80e14f;
}

.cssc-footnote {
  color: #64748b;
  font-size: 12px;
  margin-top: 10px;
}