.hot-tool .calculator-panel {
  padding: 1.25rem;
  border: 1px solid #d8e0e8;
  border-radius: 0.8rem;
  background: #f7f9fb;
}

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

.hot-tool .field-hint {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.hot-tool textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 7rem;
  padding: 0.75rem;
  border: 1px solid #8a9aab;
  border-radius: 0.45rem;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

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

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

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

.hot-tool button.secondary-button {
  background: #fff;
  color: #174c7e;
}

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

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

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

.hot-tool .results:empty {
  display: none;
}

.hot-tool .results.has-error {
  padding: 0.75rem;
  border-left: 4px solid #a3332b;
  background: #fff1ef;
  color: #76231e;
}

.hot-tool .drawdown-summary {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #b9d4c4;
  border-radius: 0.6rem;
  background: #f0f8f3;
}

.hot-tool .drawdown-summary h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}

.hot-tool .drawdown-summary p {
  margin: 0.25rem 0 0;
}

.hot-tool .maximum-value {
  font-size: 1.75rem;
  font-weight: 800;
}

.hot-tool .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.hot-tool table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hot-tool caption {
  padding: 0.5rem 0;
  text-align: left;
  font-weight: 700;
}

.hot-tool th,
.hot-tool td {
  padding: 0.55rem 0.65rem;
  border: 1px solid #d8e0e8;
  text-align: right;
}

.hot-tool th:first-child,
.hot-tool td:first-child {
  text-align: left;
}

.hot-tool th {
  background: #edf2f6;
}

@media (max-width: 400px) {
  .hot-tool .calculator-panel {
    padding: 0.85rem;
  }

  .hot-tool th,
  .hot-tool td {
    padding: 0.45rem 0.35rem;
    font-size: 0.9rem;
  }
}
