.csx-acc-calc {
  display: grid;
  gap: 1rem;
}

.csx-acc-calc__section {
  display: grid;
  gap: 0.5rem;
}

.csx-acc-calc__options {
  display: grid;
  gap: 0.5rem;
}

.csx-acc-calc__option {
  display: grid;
  gap: 0.25rem;
}

.csx-acc-calc__option-description {
  margin: 0;
  font-size: 0.9em;
  color: #4a4a4a;
}

.csx-acc-calc__employees {
  display: grid;
  gap: 0.5rem;
  max-width: 220px;
}

.csx-acc-calc__option label, label.payroll {
  font-weight: 800;
  font-size: 17px !important;
  color: var(--global-palette1) !important;
}

.csx-acc-calc__label {
  font-weight: 600;
}

.csx-acc-calc input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #d0d0d0;
  outline: none;
  margin: 0;
}

.csx-acc-calc input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #222;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.csx-acc-calc input[type='range']::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #222;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.csx-acc-calc input[type='range']::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: #d0d0d0;
}

.csx-acc-calc__option-description {
  margin: 0px !important;
}

.csx-acc-calc__marker-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85em;
  color: #4a4a4a;
  gap: 0.5rem;
  padding-left: 14px;
  padding-right: 10px;
}

.csx-acc-calc__total-value {
  color: var(--global-palette1) !important;
  text-transform: lowercase;
}

.csx-acc-calc__marker-labels span {
  white-space: nowrap;
}

.csx-acc-calc__value {
  font-size: 0.95em;
}

.csx-acc-calc__total {
  padding-top: 0.5rem;
  border-top: 1px solid currentColor;
}

.csx-acc-calc__total-value {
  font-weight: 700;
}

@media (max-width: 600px) {
  .csx-acc-calc input[type='range'] {
    overflow: visible;
  }

  .csx-acc-calc__section {
    overflow: visible;
  }
}
