.hot-tool .calculator {
  border: 1px solid #d8e0e5;
  border-radius: 1rem;
  padding: clamp(1rem, 4vw, 1.75rem);
  background: #f8fbfc;
}

.hot-tool .calculator h2 { margin-top: 0; }
.hot-tool .tool-grid {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(8rem, 1fr);
  gap: .7rem 1rem;
  align-items: center;
  max-width: 36rem;
  margin: .8rem 0;
}
.hot-tool .tool-grid label { font-weight: 600; }
.hot-tool input, .hot-tool select {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: .55rem .7rem;
  border: 1px solid #8797a1;
  border-radius: .45rem;
  background: #fff;
  color: #17252d;
  font: inherit;
}
.hot-tool .check-row { display: flex; gap: .6rem; align-items: center; margin: 1rem 0; }
.hot-tool .check-row input { width: 1.15rem; min-height: 1.15rem; }
.hot-tool fieldset { margin: 1rem 0; padding: .8rem 1rem 1rem; border: 1px solid #c5d1d8; border-radius: .65rem; }
.hot-tool legend { padding: 0 .35rem; font-weight: 700; }
.hot-tool .break-list { display: grid; gap: .6rem; margin: .8rem 0; }
.hot-tool .break-entry { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(8rem, 12rem); gap: .8rem; align-items: center; }
.hot-tool button {
  min-height: 2.75rem;
  padding: .6rem 1rem;
  border: 1px solid #145c50;
  border-radius: .5rem;
  background: #145c50;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hot-tool button:hover { background: #0e473e; }
.hot-tool button:focus-visible, .hot-tool input:focus-visible, .hot-tool select:focus-visible { outline: 3px solid #e2a63b; outline-offset: 2px; }
.hot-tool #add-break { background: #fff; color: #145c50; }
.hot-tool .result { margin-top: 1rem; }
.hot-tool .result:empty { display: none; }
.hot-tool .result h3 { margin-bottom: .4rem; }
.hot-tool .result dl { display: grid; grid-template-columns: minmax(9rem, 1fr) auto; gap: .45rem 1rem; max-width: 30rem; margin: 0; }
.hot-tool .result dt { font-weight: 600; }
.hot-tool .result dd { margin: 0; font-variant-numeric: tabular-nums; }
.hot-tool .error { padding: .8rem; border-left: 4px solid #a52c25; background: #fff2f0; color: #721d18; }
.hot-tool .guide { margin-top: 2rem; }
.hot-tool .guide h2 { margin-top: 2rem; }

@media (max-width: 480px) {
  .hot-tool .tool-grid { grid-template-columns: 1fr; gap: .35rem; }
  .hot-tool .break-entry { grid-template-columns: 1fr; gap: .3rem; }
  .hot-tool .result dl { grid-template-columns: 1fr auto; gap: .5rem; }
}
