.hot-tool .calculator {
  padding: 1.25rem;
  margin: 1rem 0 2rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.hot-tool .field-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(8rem, 12rem);
  gap: 0.75rem 1rem;
  align-items: center;
  max-width: 36rem;
  margin: 1rem 0;
}

.hot-tool .field-grid label {
  font-weight: 600;
}

.hot-tool .field-grid input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #64748b;
  border-radius: 0.35rem;
  background: #fff;
  color: #172033;
  font: inherit;
}

.hot-tool .calculator button {
  min-height: 2.75rem;
  margin: 0.25rem 0.5rem 0.5rem 0;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 0.4rem;
  background: #155e50;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hot-tool .calculator button:hover {
  background: #10483e;
}

.hot-tool .calculator button:focus-visible,
.hot-tool .field-grid input:focus-visible {
  outline: 3px solid #eab308;
  outline-offset: 2px;
}

.hot-tool .result {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #cbd5e1;
}

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

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

.hot-tool .copy-buffer {
  position: fixed;
  left: -10000px;
}

@media (max-width: 480px) {
  .hot-tool .calculator {
    padding: 1rem;
  }

  .hot-tool .field-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}
