.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat-box {
  text-align: center;
  padding: 16px 12px;
  background-color: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 22px;
  }
}

/* ================================
   MOBILE RESPONSIVE â€” Tool Page Fix
   ================================ */

/* Inherit from global */
input, textarea, select {
  font-size: 16px; /* prevents iOS auto-zoom */
  width: 100%;
  max-width: 100%;
}

/* Responsive tool UI */
@media (max-width: 540px) {
  .tool-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
