.hot-tool .tool-card {
  border: 1px solid #d8d2c7;
  border-radius: 12px;
  padding: 1rem;
  background: #fbfaf7;
}

.hot-tool .tool-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}

.hot-tool label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.hot-tool input[type="number"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid #aaa397;
  border-radius: 6px;
  padding: 0.55rem;
  background: #fff;
  color: inherit;
  font: inherit;
}

.hot-tool .tool-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
}

.hot-tool .tool-check input {
  width: 1.1rem;
  height: 1.1rem;
}

.hot-tool button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  background: #315a46;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.hot-tool .tool-result {
  margin-top: 1rem;
}

.hot-tool .tool-layout {
  margin: 0.75rem 0;
  border: 1px solid #d8d2c7;
  border-radius: 8px;
  padding: 0.85rem;
  background: #fff;
}

.hot-tool .tool-layout h3 {
  margin-top: 0;
}

.hot-tool .tool-layout dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 1rem;
  margin: 0;
}

.hot-tool .tool-layout dt {
  font-weight: 600;
}

.hot-tool .tool-layout dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hot-tool .tool-error {
  border-left: 4px solid #a5322c;
  padding: 0.6rem 0.8rem;
  background: #fff1ef;
}

.hot-tool .tool-assumptions {
  font-size: 0.95rem;
}

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

  .hot-tool .tool-layout dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .hot-tool .tool-layout dd {
    margin-bottom: 0.45rem;
    text-align: left;
  }
}
