.hot-tool {
  --tool-ink: #172b25;
  --tool-muted: #586a63;
  --tool-line: #d9e4de;
  --tool-green: #17634b;
  --tool-green-dark: #104d39;
  color: var(--tool-ink);
  max-width: 760px;
  margin: 0 auto;
}

.hot-tool .calculator-card {
  padding: clamp(20px, 5vw, 34px);
  border: 1px solid var(--tool-line);
  border-radius: 22px;
  background: #f6faf7;
  box-shadow: 0 12px 32px rgba(20, 55, 39, 0.08);
}

.hot-tool .tool-kicker,
.hot-tool .result-label {
  margin: 0 0 18px;
  color: var(--tool-muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hot-tool .input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hot-tool .field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  font-weight: 700;
}

.hot-tool .field label span { color: var(--tool-muted); font-weight: 400; }
.hot-tool .input-with-prefix,
.hot-tool .input-with-suffix {
  display: flex;
  align-items: center;
  min-height: 50px;
  border: 1px solid #bdcec4;
  border-radius: 11px;
  background: #fff;
  color: var(--tool-muted);
}

.hot-tool .input-with-prefix > span,
.hot-tool .input-with-suffix > span { padding: 0 13px; font-weight: 700; }
.hot-tool input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  outline: none;
  background: transparent;
  color: var(--tool-ink);
  font: inherit;
  font-size: 1.05rem;
}

.hot-tool .input-with-prefix input { padding-left: 0; }
.hot-tool input:focus-visible,
.hot-tool button:focus-visible { outline: 3px solid #8bc9aa; outline-offset: 2px; }
.hot-tool .field-tax { grid-column: 1 / -1; }

.hot-tool .calculate-button,
.hot-tool .copy-button {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hot-tool .calculate-button {
  width: 100%;
  margin-top: 20px;
  padding: 12px 18px;
  background: var(--tool-green);
  color: #fff;
}

.hot-tool .calculate-button:hover { background: var(--tool-green-dark); }
.hot-tool .input-error { margin: 12px 0 0; color: #a22d2d; font-weight: 700; }
.hot-tool [hidden] { display: none !important; }

.hot-tool .result-panel {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid #c5ddd0;
  border-radius: 16px;
  background: #fff;
}

.hot-tool .result-label { margin-bottom: 4px; }
.hot-tool .sale-price {
  margin: 0 0 14px;
  color: var(--tool-green-dark);
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hot-tool .result-pair {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #edf1ee;
  font-size: 1rem;
}

.hot-tool .result-pair strong { font-variant-numeric: tabular-nums; }
.hot-tool .total-pair { font-size: 1.08rem; }
.hot-tool .estimate-note { margin: 7px 0 0; color: var(--tool-muted); font-size: 0.88rem; }
.hot-tool .calculation-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--tool-line); }
.hot-tool #calculation-text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 0.9rem; line-height: 1.55; }
.hot-tool .copy-button { flex: 0 0 auto; padding: 10px 14px; background: #e8f2ec; color: var(--tool-green-dark); }
.hot-tool .copy-button:hover { background: #dcece2; }
.hot-tool .copy-status { min-height: 1.3em; margin: 8px 0 0; color: var(--tool-muted); font-size: 0.88rem; }
.hot-tool .guide-copy { margin-top: 34px; }
.hot-tool .guide-copy h2 { margin: 1.7em 0 0.6em; color: var(--tool-ink); font-size: 1.5rem; line-height: 1.25; }
.hot-tool .guide-copy h2:first-child { margin-top: 0; }
.hot-tool .guide-copy h3 { margin: 1.2em 0 0.4em; color: var(--tool-ink); font-size: 1.12rem; }
.hot-tool .formula { padding: 14px 16px; border-left: 4px solid #5f9b7b; border-radius: 0 10px 10px 0; background: #f1f7f3; }

@media (max-width: 480px) {
  .hot-tool .input-grid { gap: 12px; }
  .hot-tool .calculator-card { border-radius: 16px; }
  .hot-tool .calculation-row { flex-direction: column; }
  .hot-tool .copy-button { width: 100%; }
}
