#contractor-estimator .tsc-wp-empty-state {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid #dedbd5;
  color: #657080;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.65;
}

#contractor-estimator .tsc-wp-estimate-line {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(120px, 0.35fr) auto;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid #dedbd5;
}

#contractor-estimator .tsc-wp-estimate-line > div > strong,
#contractor-estimator .tsc-wp-estimate-line > div > small {
  display: block;
}

#contractor-estimator .tsc-wp-estimate-line > div > strong {
  font-size: 0.82rem;
  text-transform: uppercase;
}

#contractor-estimator .tsc-wp-estimate-line > div > small {
  margin-top: 5px;
  color: #6a7481;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  line-height: 1.45;
}

#contractor-estimator .tsc-wp-estimate-line > span {
  font-family: Arial, sans-serif;
  font-size: 0.83rem;
}

#contractor-estimator .tsc-wp-estimate-line button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #707986;
  background: transparent;
  color: #606b79;
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  #contractor-estimator .tsc-wp-estimate-line {
    grid-template-columns: minmax(220px, 1fr) minmax(120px, auto) auto;
  }

  #contractor-estimator .tsc-wp-estimate-line button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  #contractor-estimator .tsc-wp-estimate-line {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  #contractor-estimator .tsc-wp-estimate-line button {
    grid-column: auto;
  }
}

@media print {
  #contractor-estimator .tsc-wp-estimate-line {
    break-inside: avoid;
  }

  #contractor-estimator .tsc-wp-estimate-line button {
    display: none !important;
  }
}
