.hot-tool .tool-panel {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid #d7ded9;
  border-radius: 0.75rem;
  background: #f7faf8;
}

.hot-tool .tool-panel h2 {
  margin-top: 0;
}

.hot-tool label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
}

.hot-tool input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #89968e;
  border-radius: 0.4rem;
  background: #fff;
  color: #17231c;
  font: inherit;
}

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

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

.hot-tool .pause-list {
  margin: 1rem 0;
  padding: 0.75rem;
  border: 1px solid #c8d2cb;
  border-radius: 0.5rem;
}

.hot-tool .pause-list legend {
  padding: 0 0.3rem;
  font-weight: 700;
}

.hot-tool button {
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #285f41;
  border-radius: 0.4rem;
  background: #fff;
  color: #17442c;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.hot-tool #calculate {
  margin-top: 0.75rem;
  background: #205b3a;
  color: #fff;
}

.hot-tool .remove-pause {
  align-self: end;
}

.hot-tool #target-help {
  margin: 0.4rem 0;
  font-size: 0.92em;
}

.hot-tool .result:not(:empty) {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid #26754c;
  border-radius: 0.25rem;
  background: #fff;
}

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

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

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

.hot-tool .result dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.hot-tool .error-message {
  margin: 0;
  color: #9d2424;
}

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

  .hot-tool .time-fields,
  .hot-tool .pause-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hot-tool .remove-pause {
    justify-self: start;
  }

  .hot-tool .result dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }

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