.hot-tool .calculator-panel {
  border: 1px solid #d6dfdf;
  border-radius: 14px;
  background: #f7faf9;
  padding: clamp(16px, 4vw, 28px);
  margin: 1.5rem 0 2rem;
}

.hot-tool .panel-intro,
.hot-tool .field-help,
.hot-tool .result-caveat {
  color: #435454;
}

.hot-tool .input-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 12px 16px;
  max-width: 620px;
}

.hot-tool .measurement {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.hot-tool input,
.hot-tool select,
.hot-tool button {
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid #829494;
  border-radius: 8px;
  padding: 8px 11px;
  font: inherit;
}

.hot-tool input {
  width: 100%;
  min-width: 0;
  background: #fff;
}

.hot-tool select {
  max-width: 100%;
  background: #fff;
}

.hot-tool .measurement select {
  flex: 0 0 auto;
}

.hot-tool .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hot-tool button {
  cursor: pointer;
  background: #135c55;
  border-color: #135c55;
  color: #fff;
  font-weight: 650;
}

.hot-tool button.secondary {
  background: #fff;
  border-color: #55706e;
  color: #183c39;
}

.hot-tool button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hot-tool button:focus-visible,
.hot-tool input:focus-visible,
.hot-tool select:focus-visible {
  outline: 3px solid #e6a23c;
  outline-offset: 2px;
}

.hot-tool .error-message {
  color: #9b2525;
  font-weight: 650;
}

.hot-tool .results {
  margin-top: 24px;
  padding-top: 8px;
}

.hot-tool .result-summary {
  font-weight: 650;
}

.hot-tool .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.hot-tool table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.hot-tool caption {
  text-align: left;
  font-weight: 650;
  margin-bottom: 8px;
}

.hot-tool th,
.hot-tool td {
  border-bottom: 1px solid #cbd6d5;
  padding: 10px 12px;
}

.hot-tool th {
  background: #eaf1ef;
}

.hot-tool .copy-section {
  max-width: 76ch;
}

@media (max-width: 480px) {
  .hot-tool .input-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hot-tool .input-grid label:not(:first-child) {
    margin-top: 8px;
  }

  .hot-tool .button-row button {
    flex: 1 1 130px;
  }

  .hot-tool th,
  .hot-tool td {
    padding: 9px 8px;
  }
}

@media print {
  .hot-tool .button-row,
  .hot-tool .input-grid,
  .hot-tool .field-help {
    display: none;
  }
}
