.hot-tool .converter-panel {
  border: 1px solid #d7dee7;
  border-radius: 12px;
  padding: 1rem;
  background: #f7f9fc;
}

.hot-tool .control-grid {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr);
  gap: 0.65rem 0.8rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.hot-tool label {
  font-weight: 650;
}

.hot-tool select,
.hot-tool textarea,
.hot-tool button {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid #9aa8b8;
  border-radius: 7px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #182230;
  background: #fff;
}

.hot-tool textarea {
  display: block;
  min-height: 9rem;
  margin-top: 0.4rem;
  resize: vertical;
  line-height: 1.5;
}

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

.hot-tool .field-help {
  margin: 0.4rem 0 0.9rem;
  font-size: 0.92rem;
  color: #435268;
}

.hot-tool .actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.9rem;
}

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

.hot-tool #convert {
  color: #fff;
  background: #174ea6;
  border-color: #174ea6;
}

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

.hot-tool .result {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #fff;
  overflow-wrap: anywhere;
}

.hot-tool .result-total {
  font-weight: 700;
}

.hot-tool .result li {
  margin: 0.3rem 0;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 420px) {
  .hot-tool .converter-panel {
    padding: 0.75rem;
  }

  .hot-tool .control-grid {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hot-tool .actions {
    grid-template-columns: 1fr;
  }
}
