.hot-tool .tool-panel {
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  padding: 1.25rem;
  background: #f8fafc;
}

.hot-tool .input-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hot-tool label,
.hot-tool input,
.hot-tool button {
  font: inherit;
}

.hot-tool label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-weight: 650;
}

.hot-tool input {
  box-sizing: border-box;
  width: min(10rem, 100%);
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #64748b;
  border-radius: 0.5rem;
  background: #fff;
  color: #0f172a;
}

.hot-tool button {
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 0.5rem;
  background: #14532d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

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

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

.hot-tool .hint,
.hot-tool .assumption {
  color: #475569;
  font-size: 0.94rem;
}

.hot-tool .error {
  color: #b91c1c;
  font-weight: 650;
}

.hot-tool .comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.hot-tool .result-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #fff;
}

.hot-tool .result-card h4 {
  margin: 0 0 0.65rem;
}

.hot-tool dl {
  margin: 0;
}

.hot-tool dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.hot-tool dl div:last-child {
  border-bottom: 0;
}

.hot-tool dt,
.hot-tool dd {
  margin: 0;
}

.hot-tool dd {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.hot-tool .total {
  color: #14532d;
  font-weight: 750;
}

.hot-tool #copy-status {
  display: inline-block;
  margin-left: 0.6rem;
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .hot-tool .tool-panel {
    padding: 1rem;
  }

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

  .hot-tool #calculate {
    width: 100%;
  }
}
