.hot-tool .calculator-panel {
  max-width: 46rem;
  margin: 1.5rem auto 2rem;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid #d5dce5;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.6rem 1.8rem rgb(24 42 65 / 8%);
}

.hot-tool label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.hot-tool #input-help,
.hot-tool .status-message {
  margin: 0.35rem 0 0.75rem;
  color: #536274;
}

.hot-tool textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 8rem;
  padding: 0.8rem;
  border: 1px solid #8a99aa;
  border-radius: 0.55rem;
  color: #182638;
  background: #fff;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.hot-tool textarea:focus,
.hot-tool button:focus-visible {
  outline: 3px solid #83c9ff;
  outline-offset: 2px;
}

.hot-tool .tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.hot-tool button {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #1555a5;
  border-radius: 0.55rem;
  color: #fff;
  background: #1555a5;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.hot-tool button.secondary-button {
  border-color: #9aa8b8;
  color: #24364a;
  background: #f6f8fa;
}

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

.hot-tool .error-message {
  margin: 0.9rem 0 0;
  padding: 0.75rem;
  border-left: 4px solid #bd2933;
  border-radius: 0.25rem;
  color: #7b1820;
  background: #fff0f0;
}

.hot-tool .result-panel {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #d5dce5;
  overflow-wrap: anywhere;
}

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

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

.hot-tool .result-grid div {
  padding: 0.75rem;
  border-radius: 0.55rem;
  background: #f0f5fb;
}

.hot-tool .result-grid dt {
  color: #536274;
  font-size: 0.9rem;
}

.hot-tool .result-grid dd {
  margin: 0.2rem 0 0;
  color: #123d72;
  font-size: 1.35rem;
  font-weight: 750;
}

.hot-tool .formula-callout {
  padding: 0.85rem 1rem;
  border-left: 4px solid #1555a5;
  background: #f0f5fb;
}

.hot-tool .tool-copy h2 {
  margin-top: 2rem;
}

.hot-tool .tool-copy h3 {
  margin-top: 1.25rem;
}

@media print {
  .hot-tool .calculator-panel {
    box-shadow: none;
  }

  .hot-tool .tool-actions,
  .hot-tool #input-help,
  .hot-tool label,
  .hot-tool textarea {
    display: none;
  }
}
