.hot-tool .converter-panel {
  border: 1px solid #d8d0c3;
  border-radius: 1rem;
  background: #fffdf8;
  padding: clamp(1rem, 4vw, 1.5rem);
  margin: 0 0 2rem;
}

.hot-tool .tool-kicker {
  margin-top: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hot-tool label,
.hot-tool legend {
  display: block;
  font-weight: 700;
  margin: 1rem 0 0.4rem;
}

.hot-tool select,
.hot-tool input,
.hot-tool button {
  box-sizing: border-box;
  font: inherit;
  min-height: 44px;
  max-width: 100%;
}

.hot-tool select,
.hot-tool #cups {
  width: 100%;
  border: 1px solid #756b5e;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.6rem 0.75rem;
}

.hot-tool .tool-hint {
  margin: 0.35rem 0 0.8rem;
  color: #514a40;
  font-size: 0.92rem;
}

.hot-tool .reference-fieldset {
  min-width: 0;
  margin: 1.25rem 0;
  padding: 0.75rem;
  border: 1px solid #d8d0c3;
  border-radius: 0.65rem;
}

.hot-tool .reference-fieldset legend {
  padding: 0 0.35rem;
  margin: 0;
}

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

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

.hot-tool th,
.hot-tool td {
  padding: 0.35rem 0.25rem;
  border-bottom: 1px solid #e3ddd3;
}

.hot-tool th {
  font-weight: 600;
}

.hot-tool thead th {
  font-size: 0.9rem;
}

.hot-tool .reference-value {
  width: 7rem;
  border: 1px solid #756b5e;
  border-radius: 0.4rem;
  background: #fff;
  padding: 0.4rem;
}

.hot-tool button {
  width: 100%;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.7rem 1rem;
  background: #245c46;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.hot-tool button:hover {
  background: #194733;
}

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

.hot-tool .result {
  min-height: 1.5rem;
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 0.5rem;
  background: #f0eadf;
  font-weight: 700;
}

@media (max-width: 380px) {
  .hot-tool th,
  .hot-tool td {
    padding-right: 0.15rem;
    padding-left: 0.15rem;
  }

  .hot-tool .reference-value {
    width: 5.5rem;
  }
}
