.hot-tool .pace-tool {
  max-width: 42rem;
  margin: 1.5rem auto 2rem;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid #d7e1df;
  border-radius: 1rem;
  background: #f7faf9;
  color: #17312b;
}

.hot-tool .pace-tool h2 { margin-top: 0; }
.hot-tool .pace-mode { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.25rem; }
.hot-tool .mode-button, .hot-tool .calculate-button, .hot-tool .copy-button {
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border: 1px solid #397764;
  border-radius: .55rem;
  background: #fff;
  color: #173f33;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.hot-tool .mode-button.is-active, .hot-tool .calculate-button {
  background: #17664e;
  color: #fff;
}
.hot-tool .mode-button:focus-visible, .hot-tool .calculate-button:focus-visible, .hot-tool .copy-button:focus-visible,
.hot-tool input:focus-visible { outline: 3px solid #e6a52e; outline-offset: 2px; }
.hot-tool .input-panel { margin: 1rem 0; }
.hot-tool .input-panel label, .hot-tool .input-panel legend { display: block; margin: 0 0 .4rem; font-weight: 650; }
.hot-tool .input-panel label span, .hot-tool .input-panel legend span { font-weight: 400; }
.hot-tool .input-panel input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.9rem;
  margin: 0 0 .75rem;
  padding: .55rem .7rem;
  border: 1px solid #8da69e;
  border-radius: .45rem;
  background: #fff;
  color: #172b26;
  font: inherit;
}
.hot-tool .input-panel fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; padding: 0; border: 0; }
.hot-tool .input-panel fieldset legend { grid-column: 1 / -1; }
.hot-tool .field-help, .hot-tool .tool-disclaimer { margin: .1rem 0 .9rem; color: #49635b; font-size: .94rem; }
.hot-tool .calculate-button { width: 100%; }
.hot-tool .result-panel { min-height: 1rem; margin-top: 1rem; padding: 0; }
.hot-tool .result-panel:not(:empty) { padding: 1rem; border-radius: .6rem; background: #e6f2ed; }
.hot-tool .result-value { margin: 0 0 .35rem; font-size: 1.45rem; font-weight: 750; }
.hot-tool .result-basis { margin: 0 0 .8rem; overflow-wrap: anywhere; font-size: .93rem; }
.hot-tool .result-error { margin: 0; color: #8b2f28; font-weight: 650; }
.hot-tool .copy-button { min-height: 2.4rem; }
.hot-tool .tool-disclaimer { margin: 1rem 0 0; }
.hot-tool .guide-copy { max-width: 44rem; margin: 2rem auto; }
@media (max-width: 420px) {
  .hot-tool .pace-mode { display: grid; }
  .hot-tool .input-panel fieldset { gap: 0 .5rem; }
}
