.lab-estimator {
  padding-block: 2.5rem;
  border-block: 1px solid #dce3de;
}
.lab-estimator [hidden] {
  display: none;
}
.lab-estimator h2 {
  margin-top: 0;
}
.estimate-intro,
.estimate-example {
  max-width: 75ch;
}
.estimate-example {
  padding: 0.85rem 1rem;
  border-left: 3px solid #648572;
  background: #f2f6f3;
}
.estimate-panel,
.estimate-option {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.estimate-panel > legend {
  margin-top: 1.5rem;
  font-weight: 600;
}
.estimate-common h3 {
  margin-bottom: 0.8rem;
}
.estimate-inputs,
.estimate-options {
  display: grid;
  gap: 1rem;
}
.estimate-inputs {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}
.estimate-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 1.25rem;
}
.estimate-option {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid #dce3de;
}
.estimate-option > legend {
  padding-inline: 0.25rem;
  font-weight: 600;
}
.estimate-picker,
.estimate-field {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  line-height: 1.45;
  color: #244b36;
}
.estimate-picker {
  max-width: 30rem;
}
.estimate-picker select,
.estimate-field input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #a4b5aa;
  border-radius: 0;
  background: #fff;
  color: #182a22;
  font: inherit;
}
.estimate-field small {
  color: #43584c;
}
.estimate-method {
  max-width: 75ch;
  margin-block: 1.25rem;
}
.estimate-method summary,
.estimate-breakdown summary {
  cursor: pointer;
  color: #244b36;
  font-weight: 600;
}
.estimate-breakdown {
  margin-block: 1rem;
}
.estimate-actions button:disabled {
  opacity: 0.6;
  cursor: default;
}
.estimate-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid #dce3de;
}
.estimate-scroll table {
  width: 100%;
  border-collapse: collapse;
}
.estimate-scroll th,
.estimate-scroll td,
.estimate-scroll caption {
  padding: 0.65rem;
  text-align: left;
}
.estimate-scroll td,
.estimate-scroll th {
  border-top: 1px solid #dce3de;
}
.estimate-scroll caption,
.estimate-scroll thead {
  background: #f2f6f3;
}
@media (max-width: 740px) {
  .estimate-options {
    grid-template-columns: 1fr;
  }
  .estimate-scroll table {
    min-width: 38rem;
  }
}
